ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.314.2

This commit is contained in:
speakeasybot
2024-06-22 00:21:28 +00:00
parent 5ffcd10425
commit 6e8b2cfb6d
12 changed files with 5755 additions and 48 deletions

View File

@@ -3,17 +3,17 @@ id: 599a9576-4665-431e-be1e-44cc13ef28aa
management: management:
docChecksum: dd4d04e62622de8f631720b5be68964d docChecksum: dd4d04e62622de8f631720b5be68964d
docVersion: latest docVersion: latest
speakeasyVersion: 1.277.8 speakeasyVersion: 1.314.2
generationVersion: 2.319.10 generationVersion: 2.349.6
releaseVersion: 0.4.5 releaseVersion: 0.4.6
configChecksum: b7dc0c3ce1be927c8837572d3e658d34 configChecksum: a70c78dae324fea828e705cdeba17ded
repoURL: https://github.com/LukeHagar/discoursejs.git repoURL: https://github.com/LukeHagar/discoursejs.git
repoSubDirectory: . repoSubDirectory: .
installationURL: https://github.com/LukeHagar/discoursejs installationURL: https://github.com/LukeHagar/discoursejs
published: true published: true
features: features:
typescript: typescript:
core: 3.4.9 core: 3.4.10
deprecations: 2.81.1 deprecations: 2.81.1
flattening: 2.81.1 flattening: 2.81.1
globalServerURLs: 2.82.2 globalServerURLs: 2.82.2

View File

@@ -119,3 +119,13 @@ Based on:
- [typescript v0.4.5] . - [typescript v0.4.5] .
### Releases ### Releases
- [NPM v0.4.5] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.5 - . - [NPM v0.4.5] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.5 - .
## 2024-06-22 00:20:48
### Changes
Based on:
- OpenAPI Doc latest
- Speakeasy CLI 1.314.2 (2.349.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.4.6] .
### Releases
- [NPM v0.4.6] https://www.npmjs.com/package/@lukehagar/discoursejs/v/0.4.6 - .

View File

@@ -3,6 +3,6 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | | ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | | `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |

View File

@@ -3,6 +3,6 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | | ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | | `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |

File diff suppressed because one or more lines are too long

View File

@@ -168,7 +168,7 @@ import { GetGroupRequest } from "@lukehagar/discoursejs/dist/sdk/models/operatio
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
const id: string = "<value>"; const id: string = "name";
const res = await sdk.groups.getGroup(id); const res = await sdk.groups.getGroup(id);
@@ -182,10 +182,10 @@ run();
### Parameters ### Parameters
| Parameter | Type | Required | Description | | Parameter | Type | Required | Description | Example |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | | `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. | | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. | |
### Response ### Response
@@ -209,7 +209,7 @@ import { ListGroupMembersRequest } from "@lukehagar/discoursejs/dist/sdk/models/
async function run() { async function run() {
const sdk = new SDK(); const sdk = new SDK();
const id: string = "<value>"; const id: string = "name";
const res = await sdk.groups.listGroupMembers(id); const res = await sdk.groups.listGroupMembers(id);
@@ -223,10 +223,10 @@ run();
### Parameters ### Parameters
| Parameter | Type | Required | Description | | Parameter | Type | Required | Description | Example |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `id` | *string* | :heavy_check_mark: | Use group name instead of id | | `id` | *string* | :heavy_check_mark: | Use group name instead of id | name |
| `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. | | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. | |
### Response ### Response

File diff suppressed because one or more lines are too long

View File

@@ -220,8 +220,14 @@ async function run() {
const res = await sdk.uploads.completeMultipart({ const res = await sdk.uploads.completeMultipart({
parts: [ parts: [
"<value>", {
"<value>", "part_number": 1,
"etag": "0c376dcfcc2606f4335bbc732de93344",
},
{
"part_number": 2,
"etag": "09ert8cfcc2606f4335bbc732de91122",
},
], ],
uniqueIdentifier: "66e86218-80d9-4bda-b4d5-2b6def968705", uniqueIdentifier: "66e86218-80d9-4bda-b4d5-2b6def968705",
}); });
@@ -323,9 +329,9 @@ async function run() {
const res = await sdk.uploads.createUpload({ const res = await sdk.uploads.createUpload({
file: { file: {
content: new TextEncoder().encode("0x5d6beD2Fe2"), content: new TextEncoder().encode("0x5d6beD2Fe2"),
fileName: "blanche_centro_white.jpe", fileName: "your_file_here",
}, },
type: TypeT.CardBackground, type: TypeT.Composer,
}); });
if (res.statusCode == 200) { if (res.statusCode == 200) {

View File

@@ -11,7 +11,7 @@ generation:
auth: auth:
oAuth2ClientCredentialsEnabled: false oAuth2ClientCredentialsEnabled: false
typescript: typescript:
version: 0.4.5 version: 0.4.6
author: LukeHagar author: LukeHagar
clientServerStatusCodesAsErrors: false clientServerStatusCodesAsErrors: false
flattenGlobalSecurity: true flattenGlobalSecurity: true

5703
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "@lukehagar/discoursejs", "name": "@lukehagar/discoursejs",
"version": "0.4.5", "version": "0.4.6",
"author": "LukeHagar", "author": "LukeHagar",
"scripts": { "scripts": {
"prepare": "tsc --build", "prepare": "tsc --build",

View File

@@ -61,9 +61,9 @@ export class SDKConfiguration {
serverDefaults: any; serverDefaults: any;
language = "typescript"; language = "typescript";
openapiDocVersion = "latest"; openapiDocVersion = "latest";
sdkVersion = "0.4.5"; sdkVersion = "0.4.6";
genVersion = "2.319.10"; genVersion = "2.349.6";
userAgent = "speakeasy-sdk/typescript 0.4.5 2.319.10 latest @lukehagar/discoursejs"; userAgent = "speakeasy-sdk/typescript 0.4.6 2.349.6 latest @lukehagar/discoursejs";
retryConfig?: utils.RetryConfig; retryConfig?: utils.RetryConfig;
public constructor(init?: Partial<SDKConfiguration>) { public constructor(init?: Partial<SDKConfiguration>) {
Object.assign(this, init); Object.assign(this, init);