Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#479)
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 486a19d commit 546e3e0
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 44 deletions.
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@ Methods:

Types:

- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackStatus</a></code>
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">Host</a></code>
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackListResponse</a></code>
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackDeleteResponse</a></code>
Expand Down
50 changes: 28 additions & 22 deletions src/resources/ssl/certificate-packs/certificate-packs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,32 @@ export class CertificatePacks extends APIResource {

export class CertificatePackListResponsesSinglePage extends SinglePage<CertificatePackListResponse> {}

/**
* Status of certificate pack.
*/
export type CertificatePackStatus =
| 'initializing'
| 'pending_validation'
| 'deleted'
| 'pending_issuance'
| 'pending_deployment'
| 'pending_deletion'
| 'pending_expiration'
| 'expired'
| 'active'
| 'initializing_timed_out'
| 'validation_timed_out'
| 'issuance_timed_out'
| 'deployment_timed_out'
| 'deletion_timed_out'
| 'pending_cleanup'
| 'staging_deployment'
| 'staging_active'
| 'deactivating'
| 'inactive'
| 'backup_issued'
| 'holding_deployment';

export type Host = string;

export type HostParam = string;
Expand Down Expand Up @@ -123,28 +149,7 @@ export interface CertificatePackEditResponse {
/**
* Status of certificate pack.
*/
status?:
| 'initializing'
| 'pending_validation'
| 'deleted'
| 'pending_issuance'
| 'pending_deployment'
| 'pending_deletion'
| 'pending_expiration'
| 'expired'
| 'active'
| 'initializing_timed_out'
| 'validation_timed_out'
| 'issuance_timed_out'
| 'deployment_timed_out'
| 'deletion_timed_out'
| 'pending_cleanup'
| 'staging_deployment'
| 'staging_active'
| 'deactivating'
| 'inactive'
| 'backup_issued'
| 'holding_deployment';
status?: CertificatePackStatus;

/**
* Type of certificate pack.
Expand Down Expand Up @@ -203,6 +208,7 @@ export interface CertificatePackGetParams {
}

export namespace CertificatePacks {
export import CertificatePackStatus = CertificatePacksAPI.CertificatePackStatus;
export import Host = CertificatePacksAPI.Host;
export import CertificatePackListResponse = CertificatePacksAPI.CertificatePackListResponse;
export import CertificatePackDeleteResponse = CertificatePacksAPI.CertificatePackDeleteResponse;
Expand Down
1 change: 1 addition & 0 deletions src/resources/ssl/certificate-packs/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export {
CertificatePackStatus,
Host,
CertificatePackListResponse,
CertificatePackDeleteResponse,
Expand Down
23 changes: 1 addition & 22 deletions src/resources/ssl/certificate-packs/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,28 +48,7 @@ export interface OrderCreateResponse {
/**
* Status of certificate pack.
*/
status?:
| 'initializing'
| 'pending_validation'
| 'deleted'
| 'pending_issuance'
| 'pending_deployment'
| 'pending_deletion'
| 'pending_expiration'
| 'expired'
| 'active'
| 'initializing_timed_out'
| 'validation_timed_out'
| 'issuance_timed_out'
| 'deployment_timed_out'
| 'deletion_timed_out'
| 'pending_cleanup'
| 'staging_deployment'
| 'staging_active'
| 'deactivating'
| 'inactive'
| 'backup_issued'
| 'holding_deployment';
status?: CertificatePacksAPI.CertificatePackStatus;

/**
* Type of certificate pack.
Expand Down
1 change: 1 addition & 0 deletions src/resources/ssl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export { AnalyzeCreateResponse, AnalyzeCreateParams, Analyze } from './analyze';
export {
CertificatePackStatus,
Host,
CertificatePackListResponse,
CertificatePackDeleteResponse,
Expand Down
1 change: 1 addition & 0 deletions src/resources/ssl/ssl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export namespace SSL {
export import AnalyzeCreateResponse = AnalyzeAPI.AnalyzeCreateResponse;
export import AnalyzeCreateParams = AnalyzeAPI.AnalyzeCreateParams;
export import CertificatePacks = CertificatePacksAPI.CertificatePacks;
export import CertificatePackStatus = CertificatePacksAPI.CertificatePackStatus;
export import Host = CertificatePacksAPI.Host;
export import CertificatePackListResponse = CertificatePacksAPI.CertificatePackListResponse;
export import CertificatePackDeleteResponse = CertificatePacksAPI.CertificatePackDeleteResponse;
Expand Down

0 comments on commit 546e3e0

Please sign in to comment.