Skip to content

Commit 11ddfcf

Browse files
speakeasybotconst-cloudinary
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.567.0
1 parent 5cf4e35 commit 11ddfcf

File tree

34 files changed

+607
-271
lines changed

34 files changed

+607
-271
lines changed

.speakeasy/gen.lock

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 92b56ec8-e19a-476d-afba-926cd2d071b4
33
management:
4-
docChecksum: b3567bbf0c6abb0cdf632a2603c3f278
5-
docVersion: 0.2.5
6-
speakeasyVersion: 1.563.4
7-
generationVersion: 2.630.6
8-
releaseVersion: 0.4.2
9-
configChecksum: b3aa0edf951b0e00dbeb416b750b4dd5
4+
docChecksum: f0901846fc81dda2a70f3b123fbc9f09
5+
docVersion: 0.3.0
6+
speakeasyVersion: 1.567.0
7+
generationVersion: 2.632.0
8+
releaseVersion: 0.5.0
9+
configChecksum: cefed0376bb735e1eac22a0343e7ccc3
1010
repoURL: https://github.com/cloudinary/asset-management-js.git
1111
installationURL: https://github.com/cloudinary/asset-management-js
1212
published: true
1313
features:
1414
typescript:
1515
acceptHeaders: 2.81.2
1616
additionalDependencies: 0.1.0
17-
constsAndDefaults: 0.1.11
17+
constsAndDefaults: 0.1.12
1818
core: 3.21.11
1919
customSecuritySchemes: 0.1.1
2020
defaultEnabledRetries: 0.1.0
@@ -108,6 +108,7 @@ generatedFiles:
108108
- docs/models/components/restoreresponse.md
109109
- docs/models/components/restoreresponseunion.md
110110
- docs/models/components/result.md
111+
- docs/models/components/schemecloudinaryauth.md
111112
- docs/models/components/searchparameters.md
112113
- docs/models/components/searchparametersrange.md
113114
- docs/models/components/searchparameterstype.md
@@ -448,6 +449,7 @@ generatedFiles:
448449
- src/models/components/resourcetypeparameter.ts
449450
- src/models/components/resourceupdaterequest.ts
450451
- src/models/components/restoreresponseunion.ts
452+
- src/models/components/schemecloudinaryauth.ts
451453
- src/models/components/searchparameters.ts
452454
- src/models/components/searchresponse.ts
453455
- src/models/components/security.ts

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
oAuth2PasswordEnabled: true
2222
sdkHooksConfigAccess: true
2323
typescript:
24-
version: 0.4.2
24+
version: 0.5.0
2525
additionalDependencies:
2626
dependencies: {}
2727
devDependencies: {}
@@ -33,6 +33,7 @@ typescript:
3333
- Speakeasy
3434
baseErrorName: CloudinaryAssetMgmtError
3535
clientServerStatusCodesAsErrors: true
36+
constFieldsAlwaysOptional: true
3637
defaultErrorName: SDKError
3738
enableCustomCodeRegions: false
3839
enableMCPServer: true

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.563.4
1+
speakeasyVersion: 1.567.0
22
sources:
33
Asset Management API:
44
sourceNamespace: asset-management-api
5-
sourceRevisionDigest: sha256:41826f8d114e14038bdf072fa90cf30537ca625fc5a8919916798f99e67861b7
6-
sourceBlobDigest: sha256:0c38c2cdc31d3bf27c6cf0f262ce5951986ad47f2b33eb4387d3f433968ce56f
5+
sourceRevisionDigest: sha256:d2ba9cd054ef652ff0e5bd996258688e83afab75a35004586705583d3ebdb721
6+
sourceBlobDigest: sha256:179d489fec56540309c4f7ba9e675ab23f0d259539e4892212254f45de96755d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1750157343
10-
- 0.2.5
9+
- speakeasy-sdk-regen-1750323769
10+
- 0.3.0
1111
targets:
1212
asset-management-js:
1313
source: Asset Management API
1414
sourceNamespace: asset-management-api
15-
sourceRevisionDigest: sha256:41826f8d114e14038bdf072fa90cf30537ca625fc5a8919916798f99e67861b7
16-
sourceBlobDigest: sha256:0c38c2cdc31d3bf27c6cf0f262ce5951986ad47f2b33eb4387d3f433968ce56f
15+
sourceRevisionDigest: sha256:d2ba9cd054ef652ff0e5bd996258688e83afab75a35004586705583d3ebdb721
16+
sourceBlobDigest: sha256:179d489fec56540309c4f7ba9e675ab23f0d259539e4892212254f45de96755d
1717
codeSamplesNamespace: asset-management-api-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:551182bd9887ea4abc847546631555fdc7bfa305a2d7af50210fdcc61aa00245
18+
codeSamplesRevisionDigest: sha256:3f0243df5a55a4fc4d96572f7278e263bade83b95e5e594914217a0dfd965e4c
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ import { uploadUpload } from "@cloudinary/asset-management/funcs/uploadUpload.js
2727
const cloudinaryAssetMgmt = new CloudinaryAssetMgmtCore({
2828
cloudName: "<value>",
2929
security: {
30-
apiKey: "CLOUDINARY_API_KEY",
31-
apiSecret: "CLOUDINARY_API_SECRET",
30+
cloudinaryAuth: {
31+
apiKey: "CLOUDINARY_API_KEY",
32+
apiSecret: "CLOUDINARY_API_SECRET",
33+
},
3234
},
3335
});
3436

README.md

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,10 @@ import { CloudinaryAssetMgmt } from "@cloudinary/asset-management";
147147
const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
148148
cloudName: "<value>",
149149
security: {
150-
apiKey: "CLOUDINARY_API_KEY",
151-
apiSecret: "CLOUDINARY_API_SECRET",
150+
cloudinaryAuth: {
151+
apiKey: "CLOUDINARY_API_KEY",
152+
apiSecret: "CLOUDINARY_API_SECRET",
153+
},
152154
},
153155
});
154156

@@ -198,8 +200,10 @@ import { CloudinaryAssetMgmt } from "@cloudinary/asset-management";
198200
const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
199201
cloudName: "<value>",
200202
security: {
201-
apiKey: "CLOUDINARY_API_KEY",
202-
apiSecret: "CLOUDINARY_API_SECRET",
203+
cloudinaryAuth: {
204+
apiKey: "CLOUDINARY_API_KEY",
205+
apiSecret: "CLOUDINARY_API_SECRET",
206+
},
203207
},
204208
});
205209

@@ -229,20 +233,23 @@ run();
229233

230234
### Per-Client Security Schemes
231235

232-
This SDK supports the following security scheme globally:
236+
This SDK supports the following security schemes globally:
233237

234-
| Name | Type | Scheme | Environment Variable |
235-
| ------------------------ | ---- | ----------- | ------------------------------------------------ |
236-
| `apiKey`<br/>`apiSecret` | http | Custom HTTP | `CLOUDINARY_API_KEY`<br/>`CLOUDINARY_API_SECRET` |
238+
| Name | Type | Scheme | Environment Variable |
239+
| ---------------- | ------ | ------------ | ---------------------------- |
240+
| `cloudinaryAuth` | http | Custom HTTP | `CLOUDINARY_CLOUDINARY_AUTH` |
241+
| `oauth2` | oauth2 | OAuth2 token | `CLOUDINARY_OAUTH2` |
237242

238-
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example:
243+
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
239244
```typescript
240245
import { CloudinaryAssetMgmt } from "@cloudinary/asset-management";
241246

242247
const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
243248
security: {
244-
apiKey: "CLOUDINARY_API_KEY",
245-
apiSecret: "CLOUDINARY_API_SECRET",
249+
cloudinaryAuth: {
250+
apiKey: "CLOUDINARY_API_KEY",
251+
apiSecret: "CLOUDINARY_API_SECRET",
252+
},
246253
},
247254
cloudName: "<value>",
248255
});
@@ -434,8 +441,10 @@ import { CloudinaryAssetMgmt } from "@cloudinary/asset-management";
434441
const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
435442
cloudName: "<value>",
436443
security: {
437-
apiKey: "CLOUDINARY_API_KEY",
438-
apiSecret: "CLOUDINARY_API_SECRET",
444+
cloudinaryAuth: {
445+
apiKey: "CLOUDINARY_API_KEY",
446+
apiSecret: "CLOUDINARY_API_SECRET",
447+
},
439448
},
440449
});
441450

@@ -487,8 +496,10 @@ const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
487496
},
488497
cloudName: "<value>",
489498
security: {
490-
apiKey: "CLOUDINARY_API_KEY",
491-
apiSecret: "CLOUDINARY_API_SECRET",
499+
cloudinaryAuth: {
500+
apiKey: "CLOUDINARY_API_KEY",
501+
apiSecret: "CLOUDINARY_API_SECRET",
502+
},
492503
},
493504
});
494505

@@ -535,8 +546,10 @@ import * as errors from "@cloudinary/asset-management/models/errors";
535546
const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
536547
cloudName: "<value>",
537548
security: {
538-
apiKey: "CLOUDINARY_API_KEY",
539-
apiSecret: "CLOUDINARY_API_SECRET",
549+
cloudinaryAuth: {
550+
apiKey: "CLOUDINARY_API_KEY",
551+
apiSecret: "CLOUDINARY_API_SECRET",
552+
},
540553
},
541554
});
542555

@@ -633,8 +646,10 @@ const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
633646
host: "nutritious-fisherman.net",
634647
cloudName: "<value>",
635648
security: {
636-
apiKey: "CLOUDINARY_API_KEY",
637-
apiSecret: "CLOUDINARY_API_SECRET",
649+
cloudinaryAuth: {
650+
apiKey: "CLOUDINARY_API_KEY",
651+
apiSecret: "CLOUDINARY_API_SECRET",
652+
},
638653
},
639654
});
640655

@@ -668,8 +683,10 @@ const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
668683
serverURL: "https://api.cloudinary.com",
669684
cloudName: "<value>",
670685
security: {
671-
apiKey: "CLOUDINARY_API_KEY",
672-
apiSecret: "CLOUDINARY_API_SECRET",
686+
cloudinaryAuth: {
687+
apiKey: "CLOUDINARY_API_KEY",
688+
apiSecret: "CLOUDINARY_API_SECRET",
689+
},
673690
},
674691
});
675692

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,14 @@ Based on:
8888
### Generated
8989
- [typescript v0.4.2] .
9090
### Releases
91-
- [NPM v0.4.2] https://www.npmjs.com/package/@cloudinary/asset-management/v/0.4.2 - .
91+
- [NPM v0.4.2] https://www.npmjs.com/package/@cloudinary/asset-management/v/0.4.2 - .
92+
93+
## 2025-06-19 09:02:34
94+
### Changes
95+
Based on:
96+
- OpenAPI Doc
97+
- Speakeasy CLI 1.567.0 (2.632.0) https://github.com/speakeasy-api/speakeasy
98+
### Generated
99+
- [typescript v0.5.0] .
100+
### Releases
101+
- [NPM v0.5.0] https://www.npmjs.com/package/@cloudinary/asset-management/v/0.5.0 - .

USAGE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { CloudinaryAssetMgmt } from "@cloudinary/asset-management";
55
const cloudinaryAssetMgmt = new CloudinaryAssetMgmt({
66
cloudName: "<value>",
77
security: {
8-
apiKey: "CLOUDINARY_API_KEY",
9-
apiSecret: "CLOUDINARY_API_SECRET",
8+
cloudinaryAuth: {
9+
apiKey: "CLOUDINARY_API_KEY",
10+
apiSecret: "CLOUDINARY_API_SECRET",
11+
},
1012
},
1113
});
1214

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SchemeCloudinaryAuth
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { SchemeCloudinaryAuth } from "@cloudinary/asset-management/models/components";
7+
8+
let value: SchemeCloudinaryAuth = {
9+
apiKey: "CLOUDINARY_API_KEY",
10+
apiSecret: "CLOUDINARY_API_SECRET",
11+
};
12+
```
13+
14+
## Fields
15+
16+
| Field | Type | Required | Description | Example |
17+
| --------------------- | --------------------- | --------------------- | --------------------- | --------------------- |
18+
| `apiKey` | *string* | :heavy_check_mark: | N/A | CLOUDINARY_API_KEY |
19+
| `apiSecret` | *string* | :heavy_check_mark: | N/A | CLOUDINARY_API_SECRET |

docs/models/components/security.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
import { Security } from "@cloudinary/asset-management/models/components";
77

88
let value: Security = {
9-
apiKey: "CLOUDINARY_API_KEY",
10-
apiSecret: "CLOUDINARY_API_SECRET",
9+
cloudinaryAuth: {
10+
apiKey: "CLOUDINARY_API_KEY",
11+
apiSecret: "CLOUDINARY_API_SECRET",
12+
},
1113
};
1214
```
1315

1416
## Fields
1517

16-
| Field | Type | Required | Description | Example |
17-
| --------------------- | --------------------- | --------------------- | --------------------- | --------------------- |
18-
| `apiKey` | *string* | :heavy_minus_sign: | N/A | CLOUDINARY_API_KEY |
19-
| `apiSecret` | *string* | :heavy_minus_sign: | N/A | CLOUDINARY_API_SECRET |
18+
| Field | Type | Required | Description |
19+
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
20+
| `cloudinaryAuth` | [components.SchemeCloudinaryAuth](../../models/components/schemecloudinaryauth.md) | :heavy_minus_sign: | N/A |
21+
| `oauth2` | *string* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)