Skip to content

Commit 5178679

Browse files
feat(api): manual updates
1 parent 367f71b commit 5178679

File tree

3 files changed

+50
-50
lines changed

3 files changed

+50
-50
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-76afc867b06fdc43b339f2c7d19f25a46481b25e8264ca24ea43daa1ea9234fc.yml
3-
openapi_spec_hash: a1455d2ab02c48a14551362dd8ec2261
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-4bc3e70493ee36b6dd29a92334f55232a5429d1bf03139d1f072f854c3ba5a6e.yml
3+
openapi_spec_hash: 9b8384f2a421b73c3f03d1ca84c26113
44
config_hash: c434cea5e670c34d574784866661bebd

src/resources/accounts/origins.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ export type OriginCreateResponse =
104104
| OriginCreateResponse.CloudinaryBackup
105105
| OriginCreateResponse.WebFolder
106106
| OriginCreateResponse.WebProxy
107-
| OriginCreateResponse.GoogleCloudStorageGcs
108-
| OriginCreateResponse.AzureBlobStorage
107+
| OriginCreateResponse.Gcs
108+
| OriginCreateResponse.AzureBlob
109109
| OriginCreateResponse.AkeneoPim;
110110

111111
export namespace OriginCreateResponse {
@@ -284,7 +284,7 @@ export namespace OriginCreateResponse {
284284
baseUrlForCanonicalHeader?: string;
285285
}
286286

287-
export interface GoogleCloudStorageGcs {
287+
export interface Gcs {
288288
/**
289289
* Unique identifier for the origin. This is generated by ImageKit when you create
290290
* a new origin.
@@ -315,7 +315,7 @@ export namespace OriginCreateResponse {
315315
baseUrlForCanonicalHeader?: string;
316316
}
317317

318-
export interface AzureBlobStorage {
318+
export interface AzureBlob {
319319
/**
320320
* Unique identifier for the origin. This is generated by ImageKit when you create
321321
* a new origin.
@@ -386,8 +386,8 @@ export type OriginUpdateResponse =
386386
| OriginUpdateResponse.CloudinaryBackup
387387
| OriginUpdateResponse.WebFolder
388388
| OriginUpdateResponse.WebProxy
389-
| OriginUpdateResponse.GoogleCloudStorageGcs
390-
| OriginUpdateResponse.AzureBlobStorage
389+
| OriginUpdateResponse.Gcs
390+
| OriginUpdateResponse.AzureBlob
391391
| OriginUpdateResponse.AkeneoPim;
392392

393393
export namespace OriginUpdateResponse {
@@ -566,7 +566,7 @@ export namespace OriginUpdateResponse {
566566
baseUrlForCanonicalHeader?: string;
567567
}
568568

569-
export interface GoogleCloudStorageGcs {
569+
export interface Gcs {
570570
/**
571571
* Unique identifier for the origin. This is generated by ImageKit when you create
572572
* a new origin.
@@ -597,7 +597,7 @@ export namespace OriginUpdateResponse {
597597
baseUrlForCanonicalHeader?: string;
598598
}
599599

600-
export interface AzureBlobStorage {
600+
export interface AzureBlob {
601601
/**
602602
* Unique identifier for the origin. This is generated by ImageKit when you create
603603
* a new origin.
@@ -665,8 +665,8 @@ export type OriginListResponse = Array<
665665
| OriginListResponse.CloudinaryBackup
666666
| OriginListResponse.WebFolder
667667
| OriginListResponse.WebProxy
668-
| OriginListResponse.GoogleCloudStorageGcs
669-
| OriginListResponse.AzureBlobStorage
668+
| OriginListResponse.Gcs
669+
| OriginListResponse.AzureBlob
670670
| OriginListResponse.AkeneoPim
671671
>;
672672

@@ -846,7 +846,7 @@ export namespace OriginListResponse {
846846
baseUrlForCanonicalHeader?: string;
847847
}
848848

849-
export interface GoogleCloudStorageGcs {
849+
export interface Gcs {
850850
/**
851851
* Unique identifier for the origin. This is generated by ImageKit when you create
852852
* a new origin.
@@ -877,7 +877,7 @@ export namespace OriginListResponse {
877877
baseUrlForCanonicalHeader?: string;
878878
}
879879

880-
export interface AzureBlobStorage {
880+
export interface AzureBlob {
881881
/**
882882
* Unique identifier for the origin. This is generated by ImageKit when you create
883883
* a new origin.
@@ -948,8 +948,8 @@ export type OriginGetResponse =
948948
| OriginGetResponse.CloudinaryBackup
949949
| OriginGetResponse.WebFolder
950950
| OriginGetResponse.WebProxy
951-
| OriginGetResponse.GoogleCloudStorageGcs
952-
| OriginGetResponse.AzureBlobStorage
951+
| OriginGetResponse.Gcs
952+
| OriginGetResponse.AzureBlob
953953
| OriginGetResponse.AkeneoPim;
954954

955955
export namespace OriginGetResponse {
@@ -1128,7 +1128,7 @@ export namespace OriginGetResponse {
11281128
baseUrlForCanonicalHeader?: string;
11291129
}
11301130

1131-
export interface GoogleCloudStorageGcs {
1131+
export interface Gcs {
11321132
/**
11331133
* Unique identifier for the origin. This is generated by ImageKit when you create
11341134
* a new origin.
@@ -1159,7 +1159,7 @@ export namespace OriginGetResponse {
11591159
baseUrlForCanonicalHeader?: string;
11601160
}
11611161

1162-
export interface AzureBlobStorage {
1162+
export interface AzureBlob {
11631163
/**
11641164
* Unique identifier for the origin. This is generated by ImageKit when you create
11651165
* a new origin.
@@ -1231,8 +1231,8 @@ export interface OriginCreateParams {
12311231
| OriginCreateParams.CloudinaryBackup
12321232
| OriginCreateParams.WebFolder
12331233
| OriginCreateParams.WebProxy
1234-
| OriginCreateParams.GoogleCloudStorageGcs
1235-
| OriginCreateParams.AzureBlobStorage
1234+
| OriginCreateParams.Gcs
1235+
| OriginCreateParams.AzureBlob
12361236
| OriginCreateParams.AkeneoPim;
12371237
}
12381238

@@ -1412,7 +1412,7 @@ export namespace OriginCreateParams {
14121412
includeCanonicalHeader?: boolean;
14131413
}
14141414

1415-
export interface GoogleCloudStorageGcs {
1415+
export interface Gcs {
14161416
bucket: string;
14171417

14181418
clientEmail: string;
@@ -1439,7 +1439,7 @@ export namespace OriginCreateParams {
14391439
prefix?: string;
14401440
}
14411441

1442-
export interface AzureBlobStorage {
1442+
export interface AzureBlob {
14431443
accountName: string;
14441444

14451445
container: string;
@@ -1521,8 +1521,8 @@ export interface OriginUpdateParams {
15211521
| OriginUpdateParams.CloudinaryBackup
15221522
| OriginUpdateParams.WebFolder
15231523
| OriginUpdateParams.WebProxy
1524-
| OriginUpdateParams.GoogleCloudStorageGcs
1525-
| OriginUpdateParams.AzureBlobStorage
1524+
| OriginUpdateParams.Gcs
1525+
| OriginUpdateParams.AzureBlob
15261526
| OriginUpdateParams.AkeneoPim;
15271527
}
15281528

@@ -1702,7 +1702,7 @@ export namespace OriginUpdateParams {
17021702
includeCanonicalHeader?: boolean;
17031703
}
17041704

1705-
export interface GoogleCloudStorageGcs {
1705+
export interface Gcs {
17061706
bucket: string;
17071707

17081708
clientEmail: string;
@@ -1729,7 +1729,7 @@ export namespace OriginUpdateParams {
17291729
prefix?: string;
17301730
}
17311731

1732-
export interface AzureBlobStorage {
1732+
export interface AzureBlob {
17331733
accountName: string;
17341734

17351735
container: string;

src/resources/accounts/url-endpoints.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ export interface URLEndpointCreateResponse {
124124
* Configuration for third-party URL rewriting.
125125
*/
126126
urlRewriter?:
127-
| URLEndpointCreateResponse.CloudinaryURLRewriter
128-
| URLEndpointCreateResponse.ImgixURLRewriter
129-
| URLEndpointCreateResponse.AkamaiURLRewriter;
127+
| URLEndpointCreateResponse.Cloudinary
128+
| URLEndpointCreateResponse.Imgix
129+
| URLEndpointCreateResponse.Akamai;
130130
}
131131

132132
export namespace URLEndpointCreateResponse {
133-
export interface CloudinaryURLRewriter {
133+
export interface Cloudinary {
134134
/**
135135
* Whether to preserve `<asset_type>/<delivery_type>` in the rewritten URL.
136136
*/
@@ -139,11 +139,11 @@ export namespace URLEndpointCreateResponse {
139139
type: 'CLOUDINARY';
140140
}
141141

142-
export interface ImgixURLRewriter {
142+
export interface Imgix {
143143
type: 'IMGIX';
144144
}
145145

146-
export interface AkamaiURLRewriter {
146+
export interface Akamai {
147147
type: 'AKAMAI';
148148
}
149149
}
@@ -181,13 +181,13 @@ export interface URLEndpointUpdateResponse {
181181
* Configuration for third-party URL rewriting.
182182
*/
183183
urlRewriter?:
184-
| URLEndpointUpdateResponse.CloudinaryURLRewriter
185-
| URLEndpointUpdateResponse.ImgixURLRewriter
186-
| URLEndpointUpdateResponse.AkamaiURLRewriter;
184+
| URLEndpointUpdateResponse.Cloudinary
185+
| URLEndpointUpdateResponse.Imgix
186+
| URLEndpointUpdateResponse.Akamai;
187187
}
188188

189189
export namespace URLEndpointUpdateResponse {
190-
export interface CloudinaryURLRewriter {
190+
export interface Cloudinary {
191191
/**
192192
* Whether to preserve `<asset_type>/<delivery_type>` in the rewritten URL.
193193
*/
@@ -196,11 +196,11 @@ export namespace URLEndpointUpdateResponse {
196196
type: 'CLOUDINARY';
197197
}
198198

199-
export interface ImgixURLRewriter {
199+
export interface Imgix {
200200
type: 'IMGIX';
201201
}
202202

203-
export interface AkamaiURLRewriter {
203+
export interface Akamai {
204204
type: 'AKAMAI';
205205
}
206206
}
@@ -241,13 +241,13 @@ export namespace URLEndpointListResponse {
241241
* Configuration for third-party URL rewriting.
242242
*/
243243
urlRewriter?:
244-
| URLEndpointListResponseItem.CloudinaryURLRewriter
245-
| URLEndpointListResponseItem.ImgixURLRewriter
246-
| URLEndpointListResponseItem.AkamaiURLRewriter;
244+
| URLEndpointListResponseItem.Cloudinary
245+
| URLEndpointListResponseItem.Imgix
246+
| URLEndpointListResponseItem.Akamai;
247247
}
248248

249249
export namespace URLEndpointListResponseItem {
250-
export interface CloudinaryURLRewriter {
250+
export interface Cloudinary {
251251
/**
252252
* Whether to preserve `<asset_type>/<delivery_type>` in the rewritten URL.
253253
*/
@@ -256,11 +256,11 @@ export namespace URLEndpointListResponse {
256256
type: 'CLOUDINARY';
257257
}
258258

259-
export interface ImgixURLRewriter {
259+
export interface Imgix {
260260
type: 'IMGIX';
261261
}
262262

263-
export interface AkamaiURLRewriter {
263+
export interface Akamai {
264264
type: 'AKAMAI';
265265
}
266266
}
@@ -299,13 +299,13 @@ export interface URLEndpointGetResponse {
299299
* Configuration for third-party URL rewriting.
300300
*/
301301
urlRewriter?:
302-
| URLEndpointGetResponse.CloudinaryURLRewriter
303-
| URLEndpointGetResponse.ImgixURLRewriter
304-
| URLEndpointGetResponse.AkamaiURLRewriter;
302+
| URLEndpointGetResponse.Cloudinary
303+
| URLEndpointGetResponse.Imgix
304+
| URLEndpointGetResponse.Akamai;
305305
}
306306

307307
export namespace URLEndpointGetResponse {
308-
export interface CloudinaryURLRewriter {
308+
export interface Cloudinary {
309309
/**
310310
* Whether to preserve `<asset_type>/<delivery_type>` in the rewritten URL.
311311
*/
@@ -314,11 +314,11 @@ export namespace URLEndpointGetResponse {
314314
type: 'CLOUDINARY';
315315
}
316316

317-
export interface ImgixURLRewriter {
317+
export interface Imgix {
318318
type: 'IMGIX';
319319
}
320320

321-
export interface AkamaiURLRewriter {
321+
export interface Akamai {
322322
type: 'AKAMAI';
323323
}
324324
}

0 commit comments

Comments
 (0)