diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 3ae5c41..c249419 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: caaaa8c3-6dd7-43a5-841e-c3193e68cc73 management: - docChecksum: 490d5a6e807f06c7644ea7f1a7dd8133 + docChecksum: 4451647c3fecd12e75576c88d6e46844 docVersion: "1.0" speakeasyVersion: 1.396.9 generationVersion: 2.415.7 - releaseVersion: 0.13.0 - configChecksum: 727bf522e8ef5bcc7403ad7762763e41 + releaseVersion: 0.13.1 + configChecksum: 5881ae6eaf79ded36c0abecd2d47bd0c repoURL: https://github.com/panoratech/typescript-sdk.git installationURL: https://github.com/panoratech/typescript-sdk published: true @@ -905,7 +905,7 @@ generatedFiles: - src/funcs/atsUsersList.ts - src/funcs/atsUsersRetrieve.ts - src/funcs/authLoginSignIn.ts - - src/funcs/connectionsGetConnections.ts + - src/funcs/connectionsRetrieve.ts - src/funcs/crmCompaniesCreate.ts - src/funcs/crmCompaniesList.ts - src/funcs/crmCompaniesRetrieve.ts @@ -1883,6 +1883,7 @@ examples: createTicketingComment: speakeasy-default-create-ticketing-comment: parameters: + query: {} header: x-connection-token: "" requestBody: @@ -1964,6 +1965,7 @@ examples: createTicketingAttachment: speakeasy-default-create-ticketing-attachment: parameters: + query: {} header: x-connection-token: "" requestBody: @@ -2089,6 +2091,7 @@ examples: createCrmDeal: speakeasy-default-create-crm-deal: parameters: + query: {} header: x-connection-token: "" requestBody: @@ -2219,6 +2222,7 @@ examples: createCrmTask: speakeasy-default-create-crm-task: parameters: + query: {} header: x-connection-token: "" requestBody: @@ -2488,6 +2492,7 @@ examples: createHrisEmployee: speakeasy-default-create-hris-employee: parameters: + query: {} header: x-connection-token: "" requestBody: @@ -2666,6 +2671,7 @@ examples: createHrisTimeoff: speakeasy-default-create-hris-timeoff: parameters: + query: {} header: x-connection-token: "" requestBody: @@ -2724,6 +2730,7 @@ examples: createHrisTimesheetentry: speakeasy-default-create-hris-timesheetentry: parameters: + query: {} header: x-connection-token: "" requestBody: @@ -2912,6 +2919,7 @@ examples: createMarketingautomationList: speakeasy-default-create-marketingautomation-list: parameters: + query: {} header: x-connection-token: "" retrieveMarketingautomationList: @@ -2959,6 +2967,7 @@ examples: createMarketingautomationTemplate: speakeasy-default-create-marketingautomation-template: parameters: + query: {} header: x-connection-token: "" retrieveMarketingautomationTemplate: @@ -4102,3 +4111,8 @@ examples: responses: "200": application/json: {"carrier": "DHL", "tracking_urls": ["https://tracing-url.sf.com"], "tracking_numbers": ["track_1029_191919"], "items": {}, "order_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", "id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", "remote_id": "id_1", "created_at": "2024-10-01T12:00:00Z", "modified_at": "2024-10-01T12:00:00Z"} + retrieveConnections: + speakeasy-default-retrieve-connections: + responses: + "200": + application/json: [] diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index c58eaac..ee87b3a 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 0.13.0 + version: 0.13.1 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 09c7c0f..88bcf2c 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.396.9 sources: panora-open-api-swagger: sourceNamespace: panora-open-api-swagger - sourceRevisionDigest: sha256:6438bf0103dc5337a79364f6af0b00427c22d58e707f1047b21e026607402c3d - sourceBlobDigest: sha256:5df2c8c11d5a2af74842012bba3e329c8410624e676a46c8b24ce3dda89346e7 + sourceRevisionDigest: sha256:09a41c636f335cafb4d85225a9fdcc98b18cc03fc47615252db414011724c867 + sourceBlobDigest: sha256:713f0a4faf73742f535cfe53b021385e24d65199df45d99217e68df12be7c42b tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: panora-open-api-swagger sourceNamespace: panora-open-api-swagger - sourceRevisionDigest: sha256:6438bf0103dc5337a79364f6af0b00427c22d58e707f1047b21e026607402c3d - sourceBlobDigest: sha256:5df2c8c11d5a2af74842012bba3e329c8410624e676a46c8b24ce3dda89346e7 + sourceRevisionDigest: sha256:09a41c636f335cafb4d85225a9fdcc98b18cc03fc47615252db414011724c867 + sourceBlobDigest: sha256:713f0a4faf73742f535cfe53b021385e24d65199df45d99217e68df12be7c42b codeSamplesNamespace: code-samples-typescript-my-first-target - codeSamplesRevisionDigest: sha256:34d4702aad11138ac78a21166f48f762e05218bf263c4f2fcbe1ac987cff4aa5 + codeSamplesRevisionDigest: sha256:030a224e95feecb4deaf3a55f955f41b15b2be46da8a1c58ba2c97ae63162434 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index c0e2c20..3615975 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,7 @@ run(); ### [connections](docs/sdks/connections/README.md) -* [getConnections](docs/sdks/connections/README.md#getconnections) - List Connections +* [retrieve](docs/sdks/connections/README.md#retrieve) - List Connections ### [crm](docs/sdks/crm/README.md) @@ -1054,7 +1054,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [atsUsersList](docs/sdks/panoraatsusers/README.md#list) - [atsUsersRetrieve](docs/sdks/panoraatsusers/README.md#retrieve) - [authLoginSignIn](docs/sdks/login/README.md#signin) -- [connectionsGetConnections](docs/sdks/connections/README.md#getconnections) +- [connectionsRetrieve](docs/sdks/connections/README.md#retrieve) - [crmCompaniesCreate](docs/sdks/companies/README.md#create) - [crmCompaniesList](docs/sdks/companies/README.md#list) - [crmCompaniesRetrieve](docs/sdks/companies/README.md#retrieve) diff --git a/RELEASES.md b/RELEASES.md index 515ec3b..c0bd253 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -238,4 +238,14 @@ Based on: ### Generated - [typescript v0.13.0] . ### Releases -- [NPM v0.13.0] https://www.npmjs.com/package/@panora/sdk/v/0.13.0 - . \ No newline at end of file +- [NPM v0.13.0] https://www.npmjs.com/package/@panora/sdk/v/0.13.0 - . + +## 2024-09-14 18:49:26 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.396.9 (2.415.7) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.13.1] . +### Releases +- [NPM v0.13.1] https://www.npmjs.com/package/@panora/sdk/v/0.13.1 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index a0d7c4b..e9f3b3f 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -531,8 +531,8 @@ actions: update: x-codeSamples: - lang: typescript - label: getConnections - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.connections.getConnections();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveConnections + source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.connections.retrieve();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - target: $["paths"]["/crm/companies"]["get"] update: x-codeSamples: diff --git a/docs/sdks/connections/README.md b/docs/sdks/connections/README.md index 5678144..c9bc026 100644 --- a/docs/sdks/connections/README.md +++ b/docs/sdks/connections/README.md @@ -5,9 +5,9 @@ ### Available Operations -* [getConnections](#getconnections) - List Connections +* [retrieve](#retrieve) - List Connections -## getConnections +## retrieve List Connections @@ -21,7 +21,7 @@ const panora = new Panora({ }); async function run() { - const result = await panora.connections.getConnections(); + const result = await panora.connections.retrieve(); // Handle the result console.log(result) @@ -36,7 +36,7 @@ The standalone function version of this method: ```typescript import { PanoraCore } from "@panora/sdk/core.js"; -import { connectionsGetConnections } from "@panora/sdk/funcs/connectionsGetConnections.js"; +import { connectionsRetrieve } from "@panora/sdk/funcs/connectionsRetrieve.js"; // Use `PanoraCore` for best tree-shaking performance. // You can create one instance of it to use across an application. @@ -45,7 +45,7 @@ const panora = new PanoraCore({ }); async function run() { - const res = await connectionsGetConnections(panora); + const res = await connectionsRetrieve(panora); if (!res.ok) { throw res.error; diff --git a/jsr.json b/jsr.json index 209fa71..1e71f1d 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@panora/sdk", - "version": "0.13.0", + "version": "0.13.1", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 0ec6238..3a70f66 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@panora/sdk", - "version": "0.13.0", + "version": "0.13.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@panora/sdk", - "version": "0.13.0", + "version": "0.13.1", "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/package.json b/package.json index b4e5748..b9daf37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@panora/sdk", - "version": "0.13.0", + "version": "0.13.1", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/funcs/connectionsGetConnections.ts b/src/funcs/connectionsRetrieve.ts similarity index 96% rename from src/funcs/connectionsGetConnections.ts rename to src/funcs/connectionsRetrieve.ts index 99a04ed..3e83165 100644 --- a/src/funcs/connectionsGetConnections.ts +++ b/src/funcs/connectionsRetrieve.ts @@ -23,7 +23,7 @@ import { Result } from "../types/fp.js"; /** * List Connections */ -export async function connectionsGetConnections( +export async function connectionsRetrieve( client$: PanoraCore, options?: RequestOptions, ): Promise< @@ -47,7 +47,7 @@ export async function connectionsGetConnections( const apiKey$ = await extractSecurity(client$.options$.apiKey); const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { - operationID: "getConnections", + operationID: "retrieveConnections", oAuth2Scopes: [], securitySource: client$.options$.apiKey, }; diff --git a/src/lib/config.ts b/src/lib/config.ts index b194d13..d66e020 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0", - sdkVersion: "0.13.0", + sdkVersion: "0.13.1", genVersion: "2.415.7", - userAgent: "speakeasy-sdk/typescript 0.13.0 2.415.7 1.0 @panora/sdk", + userAgent: "speakeasy-sdk/typescript 0.13.1 2.415.7 1.0 @panora/sdk", } as const; diff --git a/src/sdk/connections.ts b/src/sdk/connections.ts index e25df19..2176c27 100644 --- a/src/sdk/connections.ts +++ b/src/sdk/connections.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { connectionsGetConnections } from "../funcs/connectionsGetConnections.js"; +import { connectionsRetrieve } from "../funcs/connectionsRetrieve.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; @@ -11,10 +11,10 @@ export class Connections extends ClientSDK { /** * List Connections */ - async getConnections( + async retrieve( options?: RequestOptions, ): Promise> { - return unwrapAsync(connectionsGetConnections( + return unwrapAsync(connectionsRetrieve( this, options, ));