Skip to content

Commit

Permalink
Merge pull request #28 from panoratech/speakeasy-sdk-regen-1726339772
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.13.1
  • Loading branch information
naelob authored Sep 14, 2024
2 parents b3a160d + 5810d17 commit 8a965d3
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 31 deletions.
22 changes: 18 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1883,6 +1883,7 @@ examples:
createTicketingComment:
speakeasy-default-create-ticketing-comment:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -1964,6 +1965,7 @@ examples:
createTicketingAttachment:
speakeasy-default-create-ticketing-attachment:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2089,6 +2091,7 @@ examples:
createCrmDeal:
speakeasy-default-create-crm-deal:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2219,6 +2222,7 @@ examples:
createCrmTask:
speakeasy-default-create-crm-task:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2488,6 +2492,7 @@ examples:
createHrisEmployee:
speakeasy-default-create-hris-employee:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2666,6 +2671,7 @@ examples:
createHrisTimeoff:
speakeasy-default-create-hris-timeoff:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2724,6 +2730,7 @@ examples:
createHrisTimesheetentry:
speakeasy-default-create-hris-timesheetentry:
parameters:
query: {}
header:
x-connection-token: "<value>"
requestBody:
Expand Down Expand Up @@ -2912,6 +2919,7 @@ examples:
createMarketingautomationList:
speakeasy-default-create-marketingautomation-list:
parameters:
query: {}
header:
x-connection-token: "<value>"
retrieveMarketingautomationList:
Expand Down Expand Up @@ -2959,6 +2967,7 @@ examples:
createMarketingautomationTemplate:
speakeasy-default-create-marketingautomation-template:
parameters:
query: {}
header:
x-connection-token: "<value>"
retrieveMarketingautomationTemplate:
Expand Down Expand Up @@ -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: []
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.13.0
version: 0.13.1
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ 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
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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
4 changes: 2 additions & 2 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: \"<YOUR_API_KEY_HERE>\",\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: \"<YOUR_API_KEY_HERE>\",\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:
Expand Down
10 changes: 5 additions & 5 deletions docs/sdks/connections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

### Available Operations

* [getConnections](#getconnections) - List Connections
* [retrieve](#retrieve) - List Connections

## getConnections
## retrieve

List Connections

Expand All @@ -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)
Expand All @@ -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.
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@panora/sdk",
"version": "0.13.0",
"version": "0.13.1",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<
Expand All @@ -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,
};
Expand Down
4 changes: 2 additions & 2 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
6 changes: 3 additions & 3 deletions src/sdk/connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -11,10 +11,10 @@ export class Connections extends ClientSDK {
/**
* List Connections
*/
async getConnections(
async retrieve(
options?: RequestOptions,
): Promise<Array<components.Connection>> {
return unwrapAsync(connectionsGetConnections(
return unwrapAsync(connectionsRetrieve(
this,
options,
));
Expand Down

0 comments on commit 8a965d3

Please sign in to comment.