Skip to content

Commit a723d5e

Browse files
speakeasybotconst-cloudinary
authored andcommitted
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.568.0
1 parent a65cf2a commit a723d5e

File tree

25 files changed

+368
-152
lines changed

25 files changed

+368
-152
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: 69cd9a2e-6429-4c97-b659-d491fb64de7b
33
management:
4-
docChecksum: 6f51269379c33885f68a7c403d43ebec
5-
docVersion: 0.2.4
6-
speakeasyVersion: 1.563.4
7-
generationVersion: 2.630.6
8-
releaseVersion: 0.1.2
9-
configChecksum: b34d7877704a43d7ff7209ee93bbc582
4+
docChecksum: d064c00ef7f0732792a22522f2876b03
5+
docVersion: 0.3.0
6+
speakeasyVersion: 1.568.0
7+
generationVersion: 2.632.2
8+
releaseVersion: 0.2.0
9+
configChecksum: a5669510a4b738497e67640b676fdfce
1010
repoURL: https://github.com/cloudinary/structured-metadata-js.git
1111
installationURL: https://github.com/cloudinary/structured-metadata-js
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
16-
constsAndDefaults: 0.1.11
16+
constsAndDefaults: 0.1.12
1717
core: 3.21.11
1818
customSecuritySchemes: 0.1.1
1919
defaultEnabledRetries: 0.1.0
@@ -31,7 +31,7 @@ features:
3131
responseFormat: 0.2.3
3232
retries: 2.83.0
3333
sdkHooks: 0.3.0
34-
unions: 2.85.10
34+
unions: 2.85.11
3535
generatedFiles:
3636
- .devcontainer/README.md
3737
- .devcontainer/devcontainer.json
@@ -62,6 +62,7 @@ generatedFiles:
6262
- docs/models/components/metadataruleupdateresult.md
6363
- docs/models/components/metadataruleupdatestate.md
6464
- docs/models/components/restrictions.md
65+
- docs/models/components/schemecloudinaryauth.md
6566
- docs/models/components/security.md
6667
- docs/models/components/type.md
6768
- docs/models/components/validation.md
@@ -190,6 +191,7 @@ generatedFiles:
190191
- src/models/components/metadatarulecreate.ts
191192
- src/models/components/metadataruleresponse.ts
192193
- src/models/components/metadataruleupdate.ts
194+
- src/models/components/schemecloudinaryauth.ts
193195
- src/models/components/security.ts
194196
- src/models/errors/apierror.ts
195197
- src/models/errors/cloudinarysmderror.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.1.2
24+
version: 0.2.0
2525
additionalDependencies:
2626
dependencies: {}
2727
devDependencies: {}
@@ -33,6 +33,7 @@ typescript:
3333
- Speakeasy
3434
baseErrorName: CloudinarySMDError
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.568.0
22
sources:
33
Structured Metadata API:
44
sourceNamespace: structured-metadata-api
5-
sourceRevisionDigest: sha256:744643cd283992e017bb6c377bddfe075d41076fd80f509767f3378808d09f4d
6-
sourceBlobDigest: sha256:463eba6f7f6c5f101a0a21656baeb65e550702dff668e9f615d6582dc1f7b773
5+
sourceRevisionDigest: sha256:663b31e3f7fd4da9ae3a03690b061367ef5b1fd499f53960ee710d4562beb590
6+
sourceBlobDigest: sha256:2a1934ceed0a384aa6370a9a38d4da6f0ce683be2f5748f456de0737b09df3d3
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1750158093
10-
- 0.2.4
9+
- speakeasy-sdk-regen-1750681507
10+
- 0.3.0
1111
targets:
1212
structured-metadata-js:
1313
source: Structured Metadata API
1414
sourceNamespace: structured-metadata-api
15-
sourceRevisionDigest: sha256:744643cd283992e017bb6c377bddfe075d41076fd80f509767f3378808d09f4d
16-
sourceBlobDigest: sha256:463eba6f7f6c5f101a0a21656baeb65e550702dff668e9f615d6582dc1f7b773
15+
sourceRevisionDigest: sha256:663b31e3f7fd4da9ae3a03690b061367ef5b1fd499f53960ee710d4562beb590
16+
sourceBlobDigest: sha256:2a1934ceed0a384aa6370a9a38d4da6f0ce683be2f5748f456de0737b09df3d3
1717
codeSamplesNamespace: structured-metadata-api-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:8cf7d52f81c05f9b73151d9bb5c1a4089095467fa13db68bc17037f771bfcbf4
18+
codeSamplesRevisionDigest: sha256:224c83e8dd0b37bb04aa2661e202c4ff5eb27a73804165fac45c72c24011ce69
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 { metadataFieldsCreateMetadataField } from "@cloudinary/structured-metada
2727
const cloudinarySMD = new CloudinarySMDCore({
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
@@ -146,8 +146,10 @@ import { CloudinarySMD } from "@cloudinary/structured-metadata";
146146
const cloudinarySMD = new CloudinarySMD({
147147
cloudName: "<value>",
148148
security: {
149-
apiKey: "CLOUDINARY_API_KEY",
150-
apiSecret: "CLOUDINARY_API_SECRET",
149+
cloudinaryAuth: {
150+
apiKey: "CLOUDINARY_API_KEY",
151+
apiSecret: "CLOUDINARY_API_SECRET",
152+
},
151153
},
152154
});
153155

@@ -190,8 +192,10 @@ import { CloudinarySMD } from "@cloudinary/structured-metadata";
190192
const cloudinarySMD = new CloudinarySMD({
191193
cloudName: "<value>",
192194
security: {
193-
apiKey: "CLOUDINARY_API_KEY",
194-
apiSecret: "CLOUDINARY_API_SECRET",
195+
cloudinaryAuth: {
196+
apiKey: "CLOUDINARY_API_KEY",
197+
apiSecret: "CLOUDINARY_API_SECRET",
198+
},
195199
},
196200
});
197201

@@ -214,20 +218,23 @@ run();
214218

215219
### Per-Client Security Schemes
216220

217-
This SDK supports the following security scheme globally:
221+
This SDK supports the following security schemes globally:
218222

219-
| Name | Type | Scheme | Environment Variable |
220-
| ------------------------ | ---- | ----------- | ------------------------------------------------ |
221-
| `apiKey`<br/>`apiSecret` | http | Custom HTTP | `CLOUDINARY_API_KEY`<br/>`CLOUDINARY_API_SECRET` |
223+
| Name | Type | Scheme | Environment Variable |
224+
| ---------------- | ------ | ------------ | ---------------------------- |
225+
| `cloudinaryAuth` | http | Custom HTTP | `CLOUDINARY_CLOUDINARY_AUTH` |
226+
| `oauth2` | oauth2 | OAuth2 token | `CLOUDINARY_OAUTH2` |
222227

223-
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example:
228+
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:
224229
```typescript
225230
import { CloudinarySMD } from "@cloudinary/structured-metadata";
226231

227232
const cloudinarySMD = new CloudinarySMD({
228233
security: {
229-
apiKey: "CLOUDINARY_API_KEY",
230-
apiSecret: "CLOUDINARY_API_SECRET",
234+
cloudinaryAuth: {
235+
apiKey: "CLOUDINARY_API_KEY",
236+
apiSecret: "CLOUDINARY_API_SECRET",
237+
},
231238
},
232239
cloudName: "<value>",
233240
});
@@ -325,8 +332,10 @@ import { CloudinarySMD } from "@cloudinary/structured-metadata";
325332
const cloudinarySMD = new CloudinarySMD({
326333
cloudName: "<value>",
327334
security: {
328-
apiKey: "CLOUDINARY_API_KEY",
329-
apiSecret: "CLOUDINARY_API_SECRET",
335+
cloudinaryAuth: {
336+
apiKey: "CLOUDINARY_API_KEY",
337+
apiSecret: "CLOUDINARY_API_SECRET",
338+
},
330339
},
331340
});
332341

@@ -371,8 +380,10 @@ const cloudinarySMD = new CloudinarySMD({
371380
},
372381
cloudName: "<value>",
373382
security: {
374-
apiKey: "CLOUDINARY_API_KEY",
375-
apiSecret: "CLOUDINARY_API_SECRET",
383+
cloudinaryAuth: {
384+
apiKey: "CLOUDINARY_API_KEY",
385+
apiSecret: "CLOUDINARY_API_SECRET",
386+
},
376387
},
377388
});
378389

@@ -412,8 +423,10 @@ import * as errors from "@cloudinary/structured-metadata/models/errors";
412423
const cloudinarySMD = new CloudinarySMD({
413424
cloudName: "<value>",
414425
security: {
415-
apiKey: "CLOUDINARY_API_KEY",
416-
apiSecret: "CLOUDINARY_API_SECRET",
426+
cloudinaryAuth: {
427+
apiKey: "CLOUDINARY_API_KEY",
428+
apiSecret: "CLOUDINARY_API_SECRET",
429+
},
417430
},
418431
});
419432

@@ -497,8 +510,10 @@ const cloudinarySMD = new CloudinarySMD({
497510
host: "trusting-wheel.name",
498511
cloudName: "<value>",
499512
security: {
500-
apiKey: "CLOUDINARY_API_KEY",
501-
apiSecret: "CLOUDINARY_API_SECRET",
513+
cloudinaryAuth: {
514+
apiKey: "CLOUDINARY_API_KEY",
515+
apiSecret: "CLOUDINARY_API_SECRET",
516+
},
502517
},
503518
});
504519

@@ -525,8 +540,10 @@ const cloudinarySMD = new CloudinarySMD({
525540
serverURL: "https://api.cloudinary.com",
526541
cloudName: "<value>",
527542
security: {
528-
apiKey: "CLOUDINARY_API_KEY",
529-
apiSecret: "CLOUDINARY_API_SECRET",
543+
cloudinaryAuth: {
544+
apiKey: "CLOUDINARY_API_KEY",
545+
apiSecret: "CLOUDINARY_API_SECRET",
546+
},
530547
},
531548
});
532549

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@ Based on:
2828
### Generated
2929
- [typescript v0.1.2] .
3030
### Releases
31-
- [NPM v0.1.2] https://www.npmjs.com/package/@cloudinary/structured-metadata/v/0.1.2 - .
31+
- [NPM v0.1.2] https://www.npmjs.com/package/@cloudinary/structured-metadata/v/0.1.2 - .
32+
33+
## 2025-06-23 12:24:52
34+
### Changes
35+
Based on:
36+
- OpenAPI Doc
37+
- Speakeasy CLI 1.568.0 (2.632.2) https://github.com/speakeasy-api/speakeasy
38+
### Generated
39+
- [typescript v0.2.0] .
40+
### Releases
41+
- [NPM v0.2.0] https://www.npmjs.com/package/@cloudinary/structured-metadata/v/0.2.0 - .

USAGE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { CloudinarySMD } from "@cloudinary/structured-metadata";
55
const cloudinarySMD = new CloudinarySMD({
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/structured-metadata/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/structured-metadata/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)