Skip to content

Commit 546e3e0

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#479)
1 parent 486a19d commit 546e3e0

File tree

6 files changed

+33
-44
lines changed

6 files changed

+33
-44
lines changed

api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,7 @@ Methods:
10931093

10941094
Types:
10951095

1096+
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackStatus</a></code>
10961097
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">Host</a></code>
10971098
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackListResponse</a></code>
10981099
- <code><a href="./src/resources/ssl/certificate-packs/certificate-packs.ts">CertificatePackDeleteResponse</a></code>

src/resources/ssl/certificate-packs/certificate-packs.ts

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,32 @@ export class CertificatePacks extends APIResource {
8282

8383
export class CertificatePackListResponsesSinglePage extends SinglePage<CertificatePackListResponse> {}
8484

85+
/**
86+
* Status of certificate pack.
87+
*/
88+
export type CertificatePackStatus =
89+
| 'initializing'
90+
| 'pending_validation'
91+
| 'deleted'
92+
| 'pending_issuance'
93+
| 'pending_deployment'
94+
| 'pending_deletion'
95+
| 'pending_expiration'
96+
| 'expired'
97+
| 'active'
98+
| 'initializing_timed_out'
99+
| 'validation_timed_out'
100+
| 'issuance_timed_out'
101+
| 'deployment_timed_out'
102+
| 'deletion_timed_out'
103+
| 'pending_cleanup'
104+
| 'staging_deployment'
105+
| 'staging_active'
106+
| 'deactivating'
107+
| 'inactive'
108+
| 'backup_issued'
109+
| 'holding_deployment';
110+
85111
export type Host = string;
86112

87113
export type HostParam = string;
@@ -123,28 +149,7 @@ export interface CertificatePackEditResponse {
123149
/**
124150
* Status of certificate pack.
125151
*/
126-
status?:
127-
| 'initializing'
128-
| 'pending_validation'
129-
| 'deleted'
130-
| 'pending_issuance'
131-
| 'pending_deployment'
132-
| 'pending_deletion'
133-
| 'pending_expiration'
134-
| 'expired'
135-
| 'active'
136-
| 'initializing_timed_out'
137-
| 'validation_timed_out'
138-
| 'issuance_timed_out'
139-
| 'deployment_timed_out'
140-
| 'deletion_timed_out'
141-
| 'pending_cleanup'
142-
| 'staging_deployment'
143-
| 'staging_active'
144-
| 'deactivating'
145-
| 'inactive'
146-
| 'backup_issued'
147-
| 'holding_deployment';
152+
status?: CertificatePackStatus;
148153

149154
/**
150155
* Type of certificate pack.
@@ -203,6 +208,7 @@ export interface CertificatePackGetParams {
203208
}
204209

205210
export namespace CertificatePacks {
211+
export import CertificatePackStatus = CertificatePacksAPI.CertificatePackStatus;
206212
export import Host = CertificatePacksAPI.Host;
207213
export import CertificatePackListResponse = CertificatePacksAPI.CertificatePackListResponse;
208214
export import CertificatePackDeleteResponse = CertificatePacksAPI.CertificatePackDeleteResponse;

src/resources/ssl/certificate-packs/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
export {
4+
CertificatePackStatus,
45
Host,
56
CertificatePackListResponse,
67
CertificatePackDeleteResponse,

src/resources/ssl/certificate-packs/order.ts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,7 @@ export interface OrderCreateResponse {
4848
/**
4949
* Status of certificate pack.
5050
*/
51-
status?:
52-
| 'initializing'
53-
| 'pending_validation'
54-
| 'deleted'
55-
| 'pending_issuance'
56-
| 'pending_deployment'
57-
| 'pending_deletion'
58-
| 'pending_expiration'
59-
| 'expired'
60-
| 'active'
61-
| 'initializing_timed_out'
62-
| 'validation_timed_out'
63-
| 'issuance_timed_out'
64-
| 'deployment_timed_out'
65-
| 'deletion_timed_out'
66-
| 'pending_cleanup'
67-
| 'staging_deployment'
68-
| 'staging_active'
69-
| 'deactivating'
70-
| 'inactive'
71-
| 'backup_issued'
72-
| 'holding_deployment';
51+
status?: CertificatePacksAPI.CertificatePackStatus;
7352

7453
/**
7554
* Type of certificate pack.

src/resources/ssl/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
export { AnalyzeCreateResponse, AnalyzeCreateParams, Analyze } from './analyze';
44
export {
5+
CertificatePackStatus,
56
Host,
67
CertificatePackListResponse,
78
CertificatePackDeleteResponse,

src/resources/ssl/ssl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export namespace SSL {
2222
export import AnalyzeCreateResponse = AnalyzeAPI.AnalyzeCreateResponse;
2323
export import AnalyzeCreateParams = AnalyzeAPI.AnalyzeCreateParams;
2424
export import CertificatePacks = CertificatePacksAPI.CertificatePacks;
25+
export import CertificatePackStatus = CertificatePacksAPI.CertificatePackStatus;
2526
export import Host = CertificatePacksAPI.Host;
2627
export import CertificatePackListResponse = CertificatePacksAPI.CertificatePackListResponse;
2728
export import CertificatePackDeleteResponse = CertificatePacksAPI.CertificatePackDeleteResponse;

0 commit comments

Comments
 (0)