diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 0b59630..8b8ec56 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -4,16 +4,16 @@ management: docChecksum: dd4d04e62622de8f631720b5be68964d docVersion: latest speakeasyVersion: internal - generationVersion: 2.258.2 - releaseVersion: 0.4.2 - configChecksum: ff90f8eb07dba1c9d4f645a5eb1b0cf4 + generationVersion: 2.272.4 + releaseVersion: 0.4.3 + configChecksum: 21d41a702a8be1db8d9e1ac81d563179 repoURL: https://github.com/LukeHagar/discoursejs.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/discoursejs published: true features: typescript: - core: 3.4.7 + core: 3.4.8 deprecations: 2.81.1 flattening: 2.81.1 globalServerURLs: 2.82.1 diff --git a/RELEASES.md b/RELEASES.md index 22d69b1..66f5e96 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -88,4 +88,14 @@ Based on: ### Generated - [typescript v0.4.2] . ### Releases -- [NPM v0.4.2] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.2 - . \ No newline at end of file +- [NPM v0.4.2] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.2 - . + +## 2024-02-24 01:05:17 +### Changes +Based on: +- OpenAPI Doc latest +- Speakeasy CLI 1.193.4 (2.272.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.4.3] . +### Releases +- [NPM v0.4.3] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.3 - . \ No newline at end of file diff --git a/docs/sdk/models/operations/batchpresignmultipartpartsrequestbody.md b/docs/sdk/models/operations/batchpresignmultipartpartsrequestbody.md index 2dd6163..fe55beb 100644 --- a/docs/sdk/models/operations/batchpresignmultipartpartsrequestbody.md +++ b/docs/sdk/models/operations/batchpresignmultipartpartsrequestbody.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | -| `partNumbers` | *any*[] | :heavy_check_mark: | The part numbers to generate the presigned URLs for, must be between 1 and 10000. | [1,2,3] | +| `partNumbers` | *any*[] | :heavy_check_mark: | The part numbers to generate the presigned URLs for, must be between 1 and 10000. | [
1,
2,
3
] | | `uniqueIdentifier` | *string* | :heavy_check_mark: | The unique identifier returned in the original /create-multipart request. | 66e86218-80d9-4bda-b4d5-2b6def968705 | \ No newline at end of file diff --git a/docs/sdk/models/operations/batchpresignmultipartpartsresponsebody.md b/docs/sdk/models/operations/batchpresignmultipartpartsresponsebody.md index f3d91c1..3477a02 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 | 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 +| 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\u0026uploadId=123456abcd\u0026X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=test\u0026X-Amz-Date=20211222T012336Z\u0026X-Amz-Expires=600\u0026X-Amz-SignedHeaders=host\u0026X-Amz-Signature=abc123"
} | \ No newline at end of file diff --git a/docs/sdk/models/operations/completemultipartrequestbody.md b/docs/sdk/models/operations/completemultipartrequestbody.md index 234fe82..5ffcbe2 100644 --- a/docs/sdk/models/operations/completemultipartrequestbody.md +++ b/docs/sdk/models/operations/completemultipartrequestbody.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `parts` | *any*[] | :heavy_check_mark: | All of the part numbers and their corresponding ETags that have been uploaded must be provided. | [{"etag":"0c376dcfcc2606f4335bbc732de93344","part_number":1},{"etag":"09ert8cfcc2606f4335bbc732de91122","part_number":2}] | -| `uniqueIdentifier` | *string* | :heavy_check_mark: | The unique identifier returned in the original /create-multipart request. | 66e86218-80d9-4bda-b4d5-2b6def968705 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `parts` | *any*[] | :heavy_check_mark: | All of the part numbers and their corresponding ETags that have been uploaded must be provided. | [
{
"part_number": 1,
"etag": "0c376dcfcc2606f4335bbc732de93344"
},
{
"part_number": 2,
"etag": "09ert8cfcc2606f4335bbc732de91122"
}
] | +| `uniqueIdentifier` | *string* | :heavy_check_mark: | The unique identifier returned in the original /create-multipart request. | 66e86218-80d9-4bda-b4d5-2b6def968705 | \ No newline at end of file diff --git a/docs/sdk/models/operations/generatepresignedputresponsebody.md b/docs/sdk/models/operations/generatepresignedputresponsebody.md index 8d19880..49a4ec7 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. | {"x-amz-acl":"private","x-amz-meta-sha1-checksum":"sha1"} | +| `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/gen.yaml b/gen.yaml index 301f4ce..120f6f4 100644 --- a/gen.yaml +++ b/gen.yaml @@ -8,8 +8,10 @@ generation: nameResolutionDec2023: false parameterOrderingFeb2024: false requestResponseComponentNamesFeb2024: false + auth: + oAuth2ClientCredentialsEnabled: false typescript: - version: 0.4.2 + version: 0.4.3 author: LukeHagar clientServerStatusCodesAsErrors: false flattenGlobalSecurity: true diff --git a/package-lock.json b/package-lock.json index 68628b9..7321da9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lukehagar/discoursejs", - "version": "0.4.2", + "version": "0.4.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lukehagar/discoursejs", - "version": "0.4.2", + "version": "0.4.3", "dependencies": { "axios": "^1.1.3", "class-transformer": "^0.5.1", diff --git a/package.json b/package.json index 0c58440..da11e91 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lukehagar/discoursejs", - "version": "0.4.2", + "version": "0.4.3", "author": "LukeHagar", "scripts": { "prepare": "tsc --build", diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index a336720..27c9457 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.2"; - genVersion = "2.258.2"; - userAgent = "speakeasy-sdk/typescript 0.4.2 2.258.2 latest @lukehagar/discoursejs"; + sdkVersion = "0.4.3"; + genVersion = "2.272.4"; + userAgent = "speakeasy-sdk/typescript 0.4.3 2.272.4 latest @lukehagar/discoursejs"; retryConfig?: utils.RetryConfig; public constructor(init?: Partial) { Object.assign(this, init);