Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent b27aa06 commit bc21852
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Types:

- <code><a href="./src/resources/shared.ts">ASN</a></code>
- <code><a href="./src/resources/shared.ts">AuditLog</a></code>
- <code><a href="./src/resources/shared.ts">CertificatePackRequestType</a></code>
- <code><a href="./src/resources/shared.ts">CertificateRequestType</a></code>
- <code><a href="./src/resources/shared.ts">CloudflareTunnel</a></code>
- <code><a href="./src/resources/shared.ts">ErrorData</a></code>
- <code><a href="./src/resources/shared.ts">Identifier</a></code>
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ export namespace Cloudflare {

export import ASN = API.ASN;
export import AuditLog = API.AuditLog;
export import CertificatePackRequestType = API.CertificatePackRequestType;
export import CertificateRequestType = API.CertificateRequestType;
export import CloudflareTunnel = API.CloudflareTunnel;
export import ErrorData = API.ErrorData;
export import Identifier = API.Identifier;
Expand Down
4 changes: 2 additions & 2 deletions src/resources/origin-ca-certificates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface OriginCACertificate {
* Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa),
* or "keyless-certificate" (for Keyless SSL servers).
*/
request_type: Shared.CertificatePackRequestType;
request_type: Shared.CertificateRequestType;

/**
* The number of days for which the certificate should be valid.
Expand Down Expand Up @@ -141,7 +141,7 @@ export interface OriginCACertificateCreateParams {
* Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa),
* or "keyless-certificate" (for Keyless SSL servers).
*/
request_type?: Shared.CertificatePackRequestTypeParam;
request_type?: Shared.CertificateRequestTypeParam;

/**
* The number of days for which the certificate should be valid.
Expand Down
4 changes: 2 additions & 2 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ export namespace AuditLog {
* Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa),
* or "keyless-certificate" (for Keyless SSL servers).
*/
export type CertificatePackRequestType = 'origin-rsa' | 'origin-ecc' | 'keyless-certificate';
export type CertificateRequestType = 'origin-rsa' | 'origin-ecc' | 'keyless-certificate';

/**
* Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa),
* or "keyless-certificate" (for Keyless SSL servers).
*/
export type CertificatePackRequestTypeParam = 'origin-rsa' | 'origin-ecc' | 'keyless-certificate';
export type CertificateRequestTypeParam = 'origin-rsa' | 'origin-ecc' | 'keyless-certificate';

/**
* A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
Expand Down

0 comments on commit bc21852

Please sign in to comment.