Skip to content

Commit 45aded3

Browse files
speakeasybotconst-cloudinary
authored andcommitted
## Typescript SDK Changes Detected:
* `cloudinaryassetmgmt.upload.upload()`: * `request.upload_request.accessControl` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.upload.uploadNoResourceType()`: * `request.accessControl` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.upload.uploadChunk()`: * `request.upload_request.accessControl` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.upload.text()`: `response.access_control.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.listImages()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.listVideos()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.listRawFiles()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.listResourcesByAssetFolder()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.listResourcesByAssetIDs()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.listResourcesByContext()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.listResourcesByModerationKindAndStatus()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.restoreResourcesByAssetIDs()`: `response.{}.[info].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.getResourceByPublicId()`: `response.access_control.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.updateResourceByPublicId()`: * `request.resourceupdaterequest.accessControl` **Changed** **Breaking** ⚠️ * `response.access_control.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.getResourceByAssetId()`: `response.access_control.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.assets.updateResourceByAssetId()`: * `request.resourceupdaterequest.accessControl` **Changed** **Breaking** ⚠️ * `response.access_control.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.moderations.listResourcesByModerationKindAndStatus()`: `response.resources.[].accessControl.[]` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.search.searchAssets()`: `response.resources.[].accessControl` **Changed** **Breaking** ⚠️ * `cloudinaryassetmgmt.search.visualSearchAssets()`: `response.resources.[].accessControl` **Changed** **Breaking** ⚠️
1 parent 19bf317 commit 45aded3

39 files changed

+809
-364
lines changed

.speakeasy/gen.lock

Lines changed: 22 additions & 21 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: false
2626
skipResponseBodyAssertions: false
2727
typescript:
28-
version: 0.5.8
28+
version: 0.5.9
2929
additionalDependencies:
3030
dependencies: {}
3131
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.609.0
22
sources:
33
Asset Management API:
44
sourceNamespace: asset-management-api
5-
sourceRevisionDigest: sha256:fd82355e46532d673772243ae7aae6983e37c8d5e146970ea20c3143e562ffea
6-
sourceBlobDigest: sha256:abc2ea9f1cca4fac5df3d38480f800a3748637bb68bd16d5438b6c9977210cab
5+
sourceRevisionDigest: sha256:195c48465895cdf8aab168c04443bda642b7ca7e31cc8dad806e2a90296a817f
6+
sourceBlobDigest: sha256:c6163cffcf1fb1c68ebc7a3047ea3cd7e872306bd082aec17b5b40f13dc6e08b
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1756980382
10-
- 0.3.3
9+
- speakeasy-sdk-regen-1756988921
10+
- 0.3.4
1111
targets:
1212
asset-management-js:
1313
source: Asset Management API
1414
sourceNamespace: asset-management-api
15-
sourceRevisionDigest: sha256:fd82355e46532d673772243ae7aae6983e37c8d5e146970ea20c3143e562ffea
16-
sourceBlobDigest: sha256:abc2ea9f1cca4fac5df3d38480f800a3748637bb68bd16d5438b6c9977210cab
15+
sourceRevisionDigest: sha256:195c48465895cdf8aab168c04443bda642b7ca7e31cc8dad806e2a90296a817f
16+
sourceBlobDigest: sha256:c6163cffcf1fb1c68ebc7a3047ea3cd7e872306bd082aec17b5b40f13dc6e08b
1717
codeSamplesNamespace: asset-management-api-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:12a7c15ce53b9cc782a9f44301220931d5f0ac1ca249007473ed5fc7b3f26cc5
18+
codeSamplesRevisionDigest: sha256:215e97b9e72c53f2fac942c6e46b0f3a3d40cdf1bacab8b69b00df32a6620209
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,14 @@ Based on:
178178
### Generated
179179
- [typescript v0.5.8] .
180180
### Releases
181-
- [NPM v0.5.8] https://www.npmjs.com/package/@cloudinary/asset-management/v/0.5.8 - .
181+
- [NPM v0.5.8] https://www.npmjs.com/package/@cloudinary/asset-management/v/0.5.8 - .
182+
183+
## 2025-09-04 12:28:20
184+
### Changes
185+
Based on:
186+
- OpenAPI Doc
187+
- Speakeasy CLI 1.609.0 (2.692.0) https://github.com/speakeasy-api/speakeasy
188+
### Generated
189+
- [typescript v0.5.9] .
190+
### Releases
191+
- [NPM v0.5.9] https://www.npmjs.com/package/@cloudinary/asset-management/v/0.5.9 - .
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# AccessControl
2+
3+
4+
## Supported Types
5+
6+
### `components.AccessControlToken`
7+
8+
```typescript
9+
const value: components.AccessControlToken = {
10+
accessType: "token",
11+
key: "prod2024",
12+
};
13+
```
14+
15+
### `components.AccessControlAnonymous`
16+
17+
```typescript
18+
const value: components.AccessControlAnonymous = {
19+
accessType: "anonymous",
20+
start: new Date("2024-03-15T09:00:00Z"),
21+
end: new Date("2024-06-30T23:59:59Z"),
22+
};
23+
```
24+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# AccessControlAnonymous
2+
3+
Anonymous access control that allows public access during a specified time range.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { AccessControlAnonymous } from "@cloudinary/asset-management/models/components";
9+
10+
let value: AccessControlAnonymous = {
11+
accessType: "anonymous",
12+
start: new Date("2024-03-15T09:00:00Z"),
13+
end: new Date("2024-06-30T23:59:59Z"),
14+
};
15+
```
16+
17+
## Fields
18+
19+
| Field | Type | Required | Description | Example |
20+
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
21+
| `accessType` | [components.AccessControlAnonymousAccessType](../../models/components/accesscontrolanonymousaccesstype.md) | :heavy_check_mark: | The type of access control to apply to the asset. | |
22+
| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The start date and time (in ISO 8601 format) when anonymous access becomes available. | 2024-03-15T09:00:00Z |
23+
| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The end date and time (in ISO 8601 format) when anonymous access expires. | 2024-06-30T23:59:59Z |
24+
| `path` | *string* | :heavy_minus_sign: | The specific path pattern for which this access control applies. | /images/public/* |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# AccessControlAnonymousAccessType
2+
3+
The type of access control to apply to the asset.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { AccessControlAnonymousAccessType } from "@cloudinary/asset-management/models/components";
9+
10+
let value: AccessControlAnonymousAccessType = "anonymous";
11+
```
12+
13+
## Values
14+
15+
```typescript
16+
"anonymous"
17+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# AccessControlToken
2+
3+
Token-based access control that requires authentication to access the asset.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { AccessControlToken } from "@cloudinary/asset-management/models/components";
9+
10+
let value: AccessControlToken = {
11+
accessType: "token",
12+
key: "prod2024",
13+
};
14+
```
15+
16+
## Fields
17+
18+
| Field | Type | Required | Description | Example |
19+
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
20+
| `accessType` | [components.AccessControlTokenAccessType](../../models/components/accesscontroltokenaccesstype.md) | :heavy_check_mark: | The type of access control to apply to the asset. | |
21+
| `key` | *string* | :heavy_minus_sign: | The authentication key identifier for token-based access. Default key is used if not specified or if set to 'default'. | prod2024 |
22+
| `path` | *string* | :heavy_minus_sign: | The specific path pattern for which this access control applies. | /images/restricted/* |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# AccessControlTokenAccessType
2+
3+
The type of access control to apply to the asset.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { AccessControlTokenAccessType } from "@cloudinary/asset-management/models/components";
9+
10+
let value: AccessControlTokenAccessType = "token";
11+
```
12+
13+
## Values
14+
15+
```typescript
16+
"token"
17+
```

0 commit comments

Comments
 (0)