From f877f9040a3d69022b3807e7f195f0fa69ed220f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 13 Feb 2024 01:09:41 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.178.0 --- .speakeasy/gen.lock | 6 +++--- RELEASES.md | 12 +++++++++++- .../batchpresignmultipartpartsresponsebody.md | 6 +++--- .../operations/generatepresignedputresponsebody.md | 2 +- docs/sdks/topics/README.md | 2 +- docs/sdks/uploads/README.md | 6 +++--- gen.yaml | 4 +++- package-lock.json | 4 ++-- package.json | 2 +- src/sdk/sdk.ts | 6 +++--- 10 files changed, 31 insertions(+), 19 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 891e9de..ffad677 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -4,9 +4,9 @@ management: docChecksum: dd4d04e62622de8f631720b5be68964d docVersion: latest speakeasyVersion: internal - generationVersion: 2.237.3 - releaseVersion: 0.4.0 - configChecksum: 0757161c605cbd250db3b4e7c570efff + generationVersion: 2.253.0 + releaseVersion: 0.4.1 + configChecksum: 1da325d148fe2fccc89aea4ace43e139 repoURL: https://github.com/LukeHagar/discoursejs.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/discoursejs diff --git a/RELEASES.md b/RELEASES.md index eab3b40..55fb6f8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -68,4 +68,14 @@ Based on: ### Generated - [typescript v0.4.0] . ### Releases -- [NPM v0.4.0] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.0 - . \ No newline at end of file +- [NPM v0.4.0] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.0 - . + +## 2024-02-13 01:08:58 +### Changes +Based on: +- OpenAPI Doc latest +- Speakeasy CLI 1.178.0 (2.253.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.4.1] . +### Releases +- [NPM v0.4.1] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.1 - . \ No newline at end of file diff --git a/docs/sdk/models/operations/batchpresignmultipartpartsresponsebody.md b/docs/sdk/models/operations/batchpresignmultipartpartsresponsebody.md index 7e48764..f3d91c1 100644 --- a/docs/sdk/models/operations/batchpresignmultipartpartsresponsebody.md +++ b/docs/sdk/models/operations/batchpresignmultipartpartsresponsebody.md @@ -5,6 +5,6 @@ external upload initialized ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `presignedUrls` | [operations.PresignedUrls](../../../sdk/models/operations/presignedurls.md) | :heavy_check_mark: | The presigned URLs for each part number, which has the part numbers as keys. | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `presignedUrls` | [operations.PresignedUrls](../../../sdk/models/operations/presignedurls.md) | :heavy_check_mark: | The presigned URLs for each part number, which has the part numbers as keys. | {"1":"https://discourse-martin-uploads-test.s3.us-east-2.amazonaws.com/temp/uploads/default/123abc/123abc.jpg?partNumber=1&uploadId=123456abcd&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=test&X-Amz-Date=20211222T012336Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=abc123"} | \ No newline at end of file diff --git a/docs/sdk/models/operations/generatepresignedputresponsebody.md b/docs/sdk/models/operations/generatepresignedputresponsebody.md index 1168cfc..8d19880 100644 --- a/docs/sdk/models/operations/generatepresignedputresponsebody.md +++ b/docs/sdk/models/operations/generatepresignedputresponsebody.md @@ -8,6 +8,6 @@ external upload initialized | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `key` | *string* | :heavy_minus_sign: | The path of the temporary file on the external storage service. | temp/site/uploads/default/12345/67890.jpg | -| `signedHeaders` | [operations.SignedHeaders](../../../sdk/models/operations/signedheaders.md) | :heavy_minus_sign: | A map of headers that must be sent with the PUT request. | | +| `signedHeaders` | [operations.SignedHeaders](../../../sdk/models/operations/signedheaders.md) | :heavy_minus_sign: | A map of headers that must be sent with the PUT request. | {"x-amz-acl":"private","x-amz-meta-sha1-checksum":"sha1"} | | `uniqueIdentifier` | *string* | :heavy_minus_sign: | A unique string that identifies the external upload. This must be stored and then sent in the /complete-external-upload endpoint to complete the direct upload. | 66e86218-80d9-4bda-b4d5-2b6def968705 | | `url` | *string* | :heavy_minus_sign: | A presigned PUT URL which must be used to upload the file binary blob to. | https://file-uploads.s3.us-west-2.amazonaws.com/temp/site/uploads/default/123/456.jpg?x-amz-acl=private&x-amz-meta-sha1-checksum=sha1&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AAAAus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211221T011246Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=12345678 | \ No newline at end of file diff --git a/docs/sdks/topics/README.md b/docs/sdks/topics/README.md index 431f890..eb2a2cc 100644 --- a/docs/sdks/topics/README.md +++ b/docs/sdks/topics/README.md @@ -121,7 +121,7 @@ const apiKey: string = "string"; const apiUsername: string = "string"; const id: string = "string"; const requestBody: CreateTopicTimerRequestBody = { - time: "string", + time: "", }; const res = await sdk.topics.createTopicTimer(apiKey, apiUsername, id, requestBody); diff --git a/docs/sdks/uploads/README.md b/docs/sdks/uploads/README.md index 46219a4..a9e5602 100644 --- a/docs/sdks/uploads/README.md +++ b/docs/sdks/uploads/README.md @@ -99,9 +99,9 @@ async function run() { const res = await sdk.uploads.batchPresignMultipartParts({ partNumbers: [ - "string", - "string", - "string", + 1, + 2, + 3, ], uniqueIdentifier: "66e86218-80d9-4bda-b4d5-2b6def968705", }); diff --git a/gen.yaml b/gen.yaml index ed6dda5..b4d29f8 100644 --- a/gen.yaml +++ b/gen.yaml @@ -6,8 +6,10 @@ generation: useClassNamesForArrayFields: true fixes: nameResolutionDec2023: false + parameterOrderingFeb2024: false + requestResponseComponentNamesFeb2024: false typescript: - version: 0.4.0 + version: 0.4.1 author: LukeHagar clientServerStatusCodesAsErrors: false flattenGlobalSecurity: true diff --git a/package-lock.json b/package-lock.json index 644e1f2..917b16c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lukehagar/discoursejs", - "version": "0.4.0", + "version": "0.4.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lukehagar/discoursejs", - "version": "0.4.0", + "version": "0.4.1", "dependencies": { "axios": "^1.1.3", "class-transformer": "^0.5.1", diff --git a/package.json b/package.json index 7ac805a..e4caeaf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lukehagar/discoursejs", - "version": "0.4.0", + "version": "0.4.1", "author": "LukeHagar", "scripts": { "prepare": "tsc --build", diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index e02c0fe..f2adbb1 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -61,9 +61,9 @@ export class SDKConfiguration { serverDefaults: any; language = "typescript"; openapiDocVersion = "latest"; - sdkVersion = "0.4.0"; - genVersion = "2.237.3"; - userAgent = "speakeasy-sdk/typescript 0.4.0 2.237.3 latest @lukehagar/discoursejs"; + sdkVersion = "0.4.1"; + genVersion = "2.253.0"; + userAgent = "speakeasy-sdk/typescript 0.4.1 2.253.0 latest @lukehagar/discoursejs"; retryConfig?: utils.RetryConfig; public constructor(init?: Partial) { Object.assign(this, init);