Skip to content

Commit 247eea8

Browse files
committed
ci: regenerated with OpenAPI Doc 0.4.0 ., Speakeasy CLI 1.277.8
1 parent dc6531f commit 247eea8

File tree

16 files changed

+6952
-999
lines changed

16 files changed

+6952
-999
lines changed

.speakeasy/gen.lock

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 89968bf0-a755-4d50-9acb-d47410010f05
33
management:
4-
docChecksum: e87f7661ef116d09df25c842b1032981
4+
docChecksum: 1710218668d467d8f56c88d745bfdf80
55
docVersion: 0.4.0 .
6-
speakeasyVersion: 1.277.0
7-
generationVersion: 2.317.0
8-
releaseVersion: 3.2.9
9-
configChecksum: 9ddbd175460e245720d00fa873a01975
6+
speakeasyVersion: 1.277.8
7+
generationVersion: 2.319.10
8+
releaseVersion: 3.2.10
9+
configChecksum: 8ca05e7f81f384ade430f32c5449cd26
1010
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-typescript.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/speakeasy-api/speakeasy-client-sdk-typescript
1313
published: true
1414
features:
1515
typescript:
1616
acceptHeaders: 2.81.1
17-
core: 3.4.8
17+
core: 3.4.9
1818
examples: 2.81.3
1919
globalSecurity: 2.82.5
2020
globalServerURLs: 2.82.2
@@ -84,6 +84,7 @@ generatedFiles:
8484
- src/sdk/models/operations/getnamespaces.ts
8585
- src/sdk/models/operations/getrevisions.ts
8686
- src/sdk/models/operations/gettags.ts
87+
- src/sdk/models/operations/posttags.ts
8788
- src/sdk/models/operations/preflight.ts
8889
- src/sdk/models/operations/getaccesstoken.ts
8990
- src/sdk/models/operations/getuser.ts
@@ -122,6 +123,7 @@ generatedFiles:
122123
- src/sdk/models/shared/revision.ts
123124
- src/sdk/models/shared/gettagsresponse.ts
124125
- src/sdk/models/shared/tag.ts
126+
- src/sdk/models/shared/addtags.ts
125127
- src/sdk/models/shared/preflighttoken.ts
126128
- src/sdk/models/shared/preflightrequest.ts
127129
- src/sdk/models/shared/accesstoken.ts
@@ -207,6 +209,8 @@ generatedFiles:
207209
- docs/sdk/models/operations/getrevisionsresponse.md
208210
- docs/sdk/models/operations/gettagsrequest.md
209211
- docs/sdk/models/operations/gettagsresponse.md
212+
- docs/sdk/models/operations/posttagsrequest.md
213+
- docs/sdk/models/operations/posttagsresponse.md
210214
- docs/sdk/models/operations/preflightresponse.md
211215
- docs/sdk/models/operations/getaccesstokenrequest.md
212216
- docs/sdk/models/operations/getaccesstokenresponse.md
@@ -264,6 +268,7 @@ generatedFiles:
264268
- docs/sdk/models/shared/revision.md
265269
- docs/sdk/models/shared/gettagsresponse.md
266270
- docs/sdk/models/shared/tag.md
271+
- docs/sdk/models/shared/addtags.md
267272
- docs/sdk/models/shared/preflighttoken.md
268273
- docs/sdk/models/shared/preflightrequest.md
269274
- docs/sdk/models/shared/claims.md

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ run();
9898
* [getNamespaces](docs/sdks/artifacts/README.md#getnamespaces) - Each namespace contains many revisions.
9999
* [getRevisions](docs/sdks/artifacts/README.md#getrevisions)
100100
* [getTags](docs/sdks/artifacts/README.md#gettags)
101+
* [postTags](docs/sdks/artifacts/README.md#posttags) - Add tags to an existing revision
101102
* [preflight](docs/sdks/artifacts/README.md#preflight) - Get access token for communicating with OCI distribution endpoints
102103

103104
### [auth](docs/sdks/auth/README.md)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,4 +1416,14 @@ Based on:
14161416
### Generated
14171417
- [typescript v3.2.9] .
14181418
### Releases
1419-
- [NPM v3.2.9] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/3.2.9 - .
1419+
- [NPM v3.2.9] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/3.2.9 - .
1420+
1421+
## 2024-05-03 00:11:56
1422+
### Changes
1423+
Based on:
1424+
- OpenAPI Doc 0.4.0 . https://docs.speakeasyapi.dev/openapi.yaml
1425+
- Speakeasy CLI 1.277.8 (2.319.10) https://github.com/speakeasy-api/speakeasy
1426+
### Generated
1427+
- [typescript v3.2.10] .
1428+
### Releases
1429+
- [NPM v3.2.10] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/3.2.10 - .
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# PostTagsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
8+
| `addTags` | [shared.AddTags](../../../sdk/models/shared/addtags.md) | :heavy_minus_sign: | A JSON representation of the tags to add |
9+
| `namespaceName` | *string* | :heavy_check_mark: | N/A |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PostTagsResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
8+
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `error` | [shared.ErrorT](../../../sdk/models/shared/errort.md) | :heavy_minus_sign: | Default error response |
10+
| `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

docs/sdk/models/shared/addtags.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AddTags
2+
3+
Request body of tags to add to a revision
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
10+
| `revisionDigest` | *string* | :heavy_check_mark: | revision digest to add tags too sha256:... |
11+
| `tags` | *string*[] | :heavy_check_mark: | string tags to add to the revision |

docs/sdks/artifacts/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* [getNamespaces](#getnamespaces) - Each namespace contains many revisions.
99
* [getRevisions](#getrevisions)
1010
* [getTags](#gettags)
11+
* [postTags](#posttags) - Add tags to an existing revision
1112
* [preflight](#preflight) - Get access token for communicating with OCI distribution endpoints
1213

1314
## getBlob
@@ -239,6 +240,58 @@ run();
239240
| --------------- | --------------- | --------------- |
240241
| errors.SDKError | 4xx-5xx | */* |
241242

243+
## postTags
244+
245+
Add tags to an existing revision
246+
247+
### Example Usage
248+
249+
```typescript
250+
import { Speakeasy } from "@speakeasy-api/speakeasy-client-sdk-typescript";
251+
252+
async function run() {
253+
const sdk = new Speakeasy({
254+
security: {
255+
apiKey: "<YOUR_API_KEY_HERE>",
256+
},
257+
workspaceID: "<value>",
258+
});
259+
260+
const res = await sdk.artifacts.postTags({
261+
addTags: {
262+
revisionDigest: "<value>",
263+
tags: [
264+
"<value>",
265+
],
266+
},
267+
namespaceName: "<value>",
268+
});
269+
270+
if (res.statusCode == 200) {
271+
// handle response
272+
}
273+
}
274+
275+
run();
276+
```
277+
278+
### Parameters
279+
280+
| Parameter | Type | Required | Description |
281+
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
282+
| `request` | [operations.PostTagsRequest](../../sdk/models/operations/posttagsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
283+
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
284+
285+
286+
### Response
287+
288+
**Promise<[operations.PostTagsResponse](../../sdk/models/operations/posttagsresponse.md)>**
289+
### Errors
290+
291+
| Error Object | Status Code | Content Type |
292+
| --------------- | --------------- | --------------- |
293+
| errors.SDKError | 4xx-5xx | */* |
294+
242295
## preflight
243296

244297
Get access token for communicating with OCI distribution endpoints

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ generation:
1010
auth:
1111
oAuth2ClientCredentialsEnabled: false
1212
typescript:
13-
version: 3.2.9
13+
version: 3.2.10
1414
author: Speakeasy
1515
clientServerStatusCodesAsErrors: false
1616
flattenGlobalSecurity: false

0 commit comments

Comments
 (0)