From 8b25c8055aceb24209903bd7a5f36598f62e9f03 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 2 Aug 2024 15:57:42 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.352.0 --- .speakeasy/gen.lock | 8 +- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 10 +- README.md | 2 +- RELEASES.md | 12 +- codeSamples.yaml | 1654 ++++++++--------- docs/models/operations/healthresponse.md | 8 +- docs/models/operations/healthresponsebody.md | 8 - docs/models/operations/helloresponse.md | 8 +- docs/models/operations/helloresponsebody.md | 8 - docs/sdks/companies/README.md | 4 +- jsr.json | 2 +- package-lock.json | 4 +- package.json | 2 +- src/lib/config.ts | 4 +- src/models/operations/health.ts | 51 +- src/models/operations/hello.ts | 48 +- .../operations/listaccountingaccounts.ts | 16 +- .../operations/listaccountingaddress.ts | 16 +- .../operations/listaccountingattachments.ts | 16 +- .../operations/listaccountingbalancesheets.ts | 16 +- .../listaccountingcashflowstatement.ts | 16 +- .../operations/listaccountingcompanyinfos.ts | 16 +- .../operations/listaccountingcontacts.ts | 16 +- .../operations/listaccountingcreditnote.ts | 16 +- .../operations/listaccountingexpense.ts | 16 +- .../listaccountingincomestatement.ts | 16 +- .../operations/listaccountinginvoice.ts | 16 +- src/models/operations/listaccountingitem.ts | 16 +- .../operations/listaccountingjournalentry.ts | 16 +- .../operations/listaccountingpayment.ts | 16 +- .../operations/listaccountingphonenumber.ts | 16 +- .../operations/listaccountingpurchaseorder.ts | 16 +- .../operations/listaccountingtaxrate.ts | 16 +- .../listaccountingtrackingcategorys.ts | 16 +- .../operations/listaccountingtransaction.ts | 16 +- .../operations/listaccountingvendorcredit.ts | 16 +- src/models/operations/listatsactivity.ts | 16 +- src/models/operations/listatsapplication.ts | 16 +- src/models/operations/listatsattachment.ts | 16 +- src/models/operations/listatscandidate.ts | 16 +- src/models/operations/listatsdepartments.ts | 16 +- src/models/operations/listatseeocs.ts | 16 +- src/models/operations/listatsinterview.ts | 16 +- src/models/operations/listatsjob.ts | 16 +- .../operations/listatsjobinterviewstage.ts | 16 +- src/models/operations/listatsoffer.ts | 16 +- src/models/operations/listatsoffice.ts | 16 +- src/models/operations/listatsrejectreasons.ts | 16 +- src/models/operations/listatsscorecard.ts | 16 +- src/models/operations/listatstags.ts | 16 +- src/models/operations/listatsusers.ts | 16 +- src/models/operations/listcrmcompany.ts | 16 +- src/models/operations/listcrmcontacts.ts | 16 +- src/models/operations/listcrmdeals.ts | 16 +- src/models/operations/listcrmengagements.ts | 16 +- src/models/operations/listcrmnote.ts | 16 +- src/models/operations/listcrmstages.ts | 16 +- src/models/operations/listcrmtask.ts | 16 +- src/models/operations/listcrmusers.ts | 16 +- .../operations/listfilestoragedrives.ts | 16 +- src/models/operations/listfilestoragefile.ts | 16 +- .../operations/listfilestoragefolder.ts | 16 +- src/models/operations/listfilestoragegroup.ts | 16 +- src/models/operations/listfilestorageusers.ts | 16 +- src/models/operations/listhrisbankinfo.ts | 16 +- src/models/operations/listhrisbenefit.ts | 16 +- src/models/operations/listhriscompanys.ts | 16 +- src/models/operations/listhrisdependents.ts | 16 +- src/models/operations/listhrisemployee.ts | 16 +- .../operations/listhrisemployeepayrollrun.ts | 16 +- .../operations/listhrisemployerbenefit.ts | 16 +- src/models/operations/listhrisemployment.ts | 16 +- src/models/operations/listhrisgroup.ts | 16 +- src/models/operations/listhrislocation.ts | 16 +- src/models/operations/listhrispaygroup.ts | 16 +- src/models/operations/listhrispayrollruns.ts | 16 +- .../operations/listhristimeoffbalance.ts | 16 +- src/models/operations/listhristimeoffs.ts | 16 +- .../listmarketingautomationaction.ts | 16 +- .../listmarketingautomationautomation.ts | 16 +- .../listmarketingautomationcampaign.ts | 16 +- .../listmarketingautomationcontacts.ts | 16 +- .../listmarketingautomationemails.ts | 16 +- .../listmarketingautomationevents.ts | 16 +- .../listmarketingautomationlists.ts | 16 +- .../listmarketingautomationmessages.ts | 16 +- .../listmarketingautomationtemplates.ts | 16 +- .../listmarketingautomationusers.ts | 16 +- src/models/operations/listticketingaccount.ts | 16 +- .../operations/listticketingattachments.ts | 16 +- .../operations/listticketingcollections.ts | 16 +- .../operations/listticketingcomments.ts | 16 +- .../operations/listticketingcontacts.ts | 16 +- src/models/operations/listticketingtags.ts | 16 +- src/models/operations/listticketingteams.ts | 16 +- src/models/operations/listticketingticket.ts | 16 +- src/models/operations/listticketingusers.ts | 16 +- .../operations/retrieveticketingcomment.ts | 16 +- .../operations/retrieveticketingcontact.ts | 16 +- src/sdk/companies.ts | 2 +- src/sdk/sdk.ts | 6 +- 102 files changed, 1546 insertions(+), 1625 deletions(-) delete mode 100644 docs/models/operations/healthresponsebody.md delete mode 100644 docs/models/operations/helloresponsebody.md diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 11589e27..735e4fc1 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: 6960959175161ea1f250bb468e5fbf98 + docChecksum: 2d1bae22df56eb1788dca7e6d9f4c6ae docVersion: "1.0" speakeasyVersion: 1.352.0 generationVersion: 2.384.4 - releaseVersion: 0.4.0 - configChecksum: 378a5fba374c6d6be00ac827ede50b04 + releaseVersion: 0.4.1 + configChecksum: fcacb3829b5331cc66e628d10359fca9 repoURL: https://github.com/panoratech/typescript-sdk.git installationURL: https://github.com/panoratech/typescript-sdk published: true @@ -500,9 +500,7 @@ generatedFiles: - src/models/errors/index.ts - src/models/operations/index.ts - src/models/components/index.ts - - docs/models/operations/helloresponsebody.md - docs/models/operations/helloresponse.md - - docs/models/operations/healthresponsebody.md - docs/models/operations/healthresponse.md - docs/models/operations/listwebhooksresponse.md - docs/models/operations/createwebhookpublicresponse.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 194262d1..5faf66b3 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 0.4.0 + version: 0.4.1 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 7060ceb1..416a902c 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.352.0 sources: panora-open-api-swagger: sourceNamespace: panora-open-api-swagger - sourceRevisionDigest: sha256:77c016e33496a9fe87a535480d015035f5fc296a990cdab9d4c5a39cad74ac46 - sourceBlobDigest: sha256:63ff9c6f9a5f5997ac84f851ecea82fae64248bf0b0dd3b2ee73f666765cd8f7 + sourceRevisionDigest: sha256:361400a538f79ea697ed07b6cad0a77ac235ea2ee5a25977c39afa58cb57ad7d + sourceBlobDigest: sha256:3e515880c49dcbff333453ebeba6850d8d51a76f24cda62c5a56062f0bfc238e tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: panora-open-api-swagger sourceNamespace: panora-open-api-swagger - sourceRevisionDigest: sha256:77c016e33496a9fe87a535480d015035f5fc296a990cdab9d4c5a39cad74ac46 - sourceBlobDigest: sha256:63ff9c6f9a5f5997ac84f851ecea82fae64248bf0b0dd3b2ee73f666765cd8f7 + sourceRevisionDigest: sha256:361400a538f79ea697ed07b6cad0a77ac235ea2ee5a25977c39afa58cb57ad7d + sourceBlobDigest: sha256:3e515880c49dcbff333453ebeba6850d8d51a76f24cda62c5a56062f0bfc238e codeSamplesNamespace: code-samples-typescript-my-first-target - codeSamplesRevisionDigest: sha256:04a8349ed6e1df2ada02c084b16d46b47bd047424ce0556dbf73544646347554 + codeSamplesRevisionDigest: sha256:df005c7dbc0570b7f1354e6db840c4247cf6055b1293fa465e85ee9474f347d9 outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/README.md b/README.md index ef47e592..74bef031 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ run(); ### [crm.companies](docs/sdks/companies/README.md) -* [list](docs/sdks/companies/README.md#list) - List Companies +* [list](docs/sdks/companies/README.md#list) - List Companies * [create](docs/sdks/companies/README.md#create) - Create Companies * [retrieve](docs/sdks/companies/README.md#retrieve) - Retrieve Companies diff --git a/RELEASES.md b/RELEASES.md index a0600909..b3e349d9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -78,4 +78,14 @@ Based on: ### Generated - [typescript v0.4.0] . ### Releases -- [NPM v0.4.0] https://www.npmjs.com/package/@panora/sdk/v/0.4.0 - . \ No newline at end of file +- [NPM v0.4.0] https://www.npmjs.com/package/@panora/sdk/v/0.4.0 - . + +## 2024-08-02 15:54:51 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.352.0 (2.384.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.4.1] . +### Releases +- [NPM v0.4.1] https://www.npmjs.com/package/@panora/sdk/v/0.4.1 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index d8f07117..4239b913 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -3,11 +3,11 @@ info: title: CodeSamples overlay for typescript target version: 0.0.0 actions: - - target: $["paths"]["/ticketing/contacts/{id}"]["get"] + - target: $["paths"]["/filestorage/drives"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingContact + label: listFilestorageDrives source: |- import { Panora } from "@panora/sdk"; @@ -16,9 +16,8 @@ actions: }); async function run() { - const result = await panora.ticketing.contacts.retrieve({ + const result = await panora.filestorage.drives.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -26,11 +25,11 @@ actions: } run(); - - target: $["paths"]["/linked_users/single"]["get"] + - target: $["paths"]["/ticketing/teams"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveLinkedUser + label: listTicketingTeams source: |- import { Panora } from "@panora/sdk"; @@ -39,8 +38,8 @@ actions: }); async function run() { - const result = await panora.linkedUsers.single.retrieve({ - id: "", + const result = await panora.ticketing.teams.list({ + xConnectionToken: "", }); // Handle the result @@ -48,11 +47,11 @@ actions: } run(); - - target: $["paths"]["/hris/employerbenefits"]["get"] + - target: $["paths"]["/ticketing/teams/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisEmployerBenefit + label: retrieveTicketingTeam source: |- import { Panora } from "@panora/sdk"; @@ -61,8 +60,9 @@ actions: }); async function run() { - const result = await panora.hris.employerbenefits.list({ + const result = await panora.ticketing.teams.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -70,11 +70,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/templates"]["get"] + - target: $["paths"]["/crm/engagements"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationTemplates + label: listCrmEngagements source: |- import { Panora } from "@panora/sdk"; @@ -83,7 +83,7 @@ actions: }); async function run() { - const result = await panora.marketingautomation.templates.list({ + const result = await panora.crm.engagements.list({ xConnectionToken: "", }); @@ -92,11 +92,11 @@ actions: } run(); - - target: $["paths"]["/accounting/transactions"]["get"] + - target: $["paths"]["/marketingautomation/events/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingTransaction + label: retrieveMarketingautomationEvent source: |- import { Panora } from "@panora/sdk"; @@ -105,8 +105,9 @@ actions: }); async function run() { - const result = await panora.accounting.transactions.list({ + const result = await panora.marketingautomation.events.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -114,11 +115,11 @@ actions: } run(); - - target: $["paths"]["/hris/employments/{id}"]["get"] + - target: $["paths"]["/accounting/attachments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployment + label: listAccountingAttachments source: |- import { Panora } from "@panora/sdk"; @@ -127,9 +128,8 @@ actions: }); async function run() { - const result = await panora.hris.employments.retrieve({ + const result = await panora.accounting.attachments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -137,11 +137,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/users"]["get"] + - target: $["paths"]["/accounting/attachments"]["post"] update: x-codeSamples: - lang: typescript - label: listFilestorageUsers + label: createAccountingAttachment source: |- import { Panora } from "@panora/sdk"; @@ -150,8 +150,9 @@ actions: }); async function run() { - const result = await panora.filestorage.users.list({ + const result = await panora.accounting.attachments.create({ xConnectionToken: "", + unifiedAccountingAttachmentInput: {}, }); // Handle the result @@ -159,11 +160,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/teams"]["get"] + - target: $["paths"]["/accounting/companyinfos/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingTeams + label: retrieveAccountingCompanyInfo source: |- import { Panora } from "@panora/sdk"; @@ -172,8 +173,9 @@ actions: }); async function run() { - const result = await panora.ticketing.teams.list({ + const result = await panora.accounting.companyinfos.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -181,11 +183,11 @@ actions: } run(); - - target: $["paths"]["/hris/groups/{id}"]["get"] + - target: $["paths"]["/hris/payrollruns"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisGroup + label: listHrisPayrollRuns source: |- import { Panora } from "@panora/sdk"; @@ -194,9 +196,8 @@ actions: }); async function run() { - const result = await panora.hris.groups.retrieve({ + const result = await panora.hris.payrollruns.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -204,11 +205,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/actions/{id}"]["get"] + - target: $["paths"]["/ats/tags"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationAction + label: listAtsTags source: |- import { Panora } from "@panora/sdk"; @@ -217,9 +218,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.actions.retrieve({ + const result = await panora.ats.tags.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -227,11 +227,11 @@ actions: } run(); - - target: $["paths"]["/accounting/expenses"]["get"] + - target: $["paths"]["/accounting/payments"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingExpense + label: listAccountingPayment source: |- import { Panora } from "@panora/sdk"; @@ -240,7 +240,7 @@ actions: }); async function run() { - const result = await panora.accounting.expenses.list({ + const result = await panora.accounting.payments.list({ xConnectionToken: "", }); @@ -249,11 +249,11 @@ actions: } run(); - - target: $["paths"]["/ats/departments/{id}"]["get"] + - target: $["paths"]["/ticketing/tickets"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAtsDepartment + label: createTicketingTicket source: |- import { Panora } from "@panora/sdk"; @@ -262,9 +262,12 @@ actions: }); async function run() { - const result = await panora.ats.departments.retrieve({ + const result = await panora.ticketing.tickets.create({ xConnectionToken: "", - id: "", + unifiedTicketingTicketInput: { + name: "", + description: "Multi-tiered human-resource model", + }, }); // Handle the result @@ -272,11 +275,11 @@ actions: } run(); - - target: $["paths"]["/hris/employments"]["get"] + - target: $["paths"]["/ticketing/tags"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisEmployment + label: listTicketingTags source: |- import { Panora } from "@panora/sdk"; @@ -285,7 +288,7 @@ actions: }); async function run() { - const result = await panora.hris.employments.list({ + const result = await panora.ticketing.tags.list({ xConnectionToken: "", }); @@ -294,11 +297,11 @@ actions: } run(); - - target: $["paths"]["/hris/groups"]["get"] + - target: $["paths"]["/ats/candidates/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisGroup + label: retrieveAtsCandidate source: |- import { Panora } from "@panora/sdk"; @@ -307,8 +310,9 @@ actions: }); async function run() { - const result = await panora.hris.groups.list({ + const result = await panora.ats.candidates.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -316,11 +320,11 @@ actions: } run(); - - target: $["paths"]["/ats/eeocs"]["get"] + - target: $["paths"]["/ats/jobs"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsEeocs + label: listAtsJob source: |- import { Panora } from "@panora/sdk"; @@ -329,7 +333,7 @@ actions: }); async function run() { - const result = await panora.ats.eeocs.list({ + const result = await panora.ats.jobs.list({ xConnectionToken: "", }); @@ -338,11 +342,11 @@ actions: } run(); - - target: $["paths"]["/health"]["get"] + - target: $["paths"]["/ats/offers/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: health + label: retrieveAtsOffer source: |- import { Panora } from "@panora/sdk"; @@ -351,18 +355,21 @@ actions: }); async function run() { - const result = await panora.health(); + const result = await panora.ats.offers.retrieve({ + xConnectionToken: "", + id: "", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/crm/engagements"]["get"] + - target: $["paths"]["/accounting/invoices/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmEngagements + label: retrieveAccountingInvoice source: |- import { Panora } from "@panora/sdk"; @@ -371,8 +378,9 @@ actions: }); async function run() { - const result = await panora.crm.engagements.list({ + const result = await panora.accounting.invoices.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -380,28 +388,21 @@ actions: } run(); - - target: $["paths"]["/passthrough"]["post"] + - target: $["paths"]["/ticketing/tickets"]["get"] update: x-codeSamples: - lang: typescript - label: request + label: listTicketingTicket source: |- import { Panora } from "@panora/sdk"; - import { Method } from "@panora/sdk/models/components"; const panora = new Panora({ bearer: process.env.BEARER, }); async function run() { - const result = await panora.passthrough.request({ - integrationId: "", - linkedUserId: "", - vertical: "", - passThroughRequestDto: { - method: Method.Get, - path: "/dev", - }, + const result = await panora.ticketing.tickets.list({ + xConnectionToken: "", }); // Handle the result @@ -409,11 +410,11 @@ actions: } run(); - - target: $["paths"]["/hris/employeepayrollruns/{id}"]["get"] + - target: $["paths"]["/crm/companies"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployeePayrollRun + label: createCrmCompany source: |- import { Panora } from "@panora/sdk"; @@ -422,9 +423,11 @@ actions: }); async function run() { - const result = await panora.hris.employeepayrollruns.retrieve({ + const result = await panora.crm.companies.create({ xConnectionToken: "", - id: "", + unifiedCrmCompanyInput: { + name: "", + }, }); // Handle the result @@ -432,11 +435,11 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffs"]["get"] + - target: $["paths"]["/hris/groups"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisTimeoffs + label: listHrisGroup source: |- import { Panora } from "@panora/sdk"; @@ -445,7 +448,7 @@ actions: }); async function run() { - const result = await panora.hris.timeoffs.list({ + const result = await panora.hris.groups.list({ xConnectionToken: "", }); @@ -454,11 +457,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/contacts"]["post"] + - target: $["paths"]["/ats/interviews"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingAutomationContact + label: listAtsInterview source: |- import { Panora } from "@panora/sdk"; @@ -467,9 +470,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.contacts.create({ + const result = await panora.ats.interviews.list({ xConnectionToken: "", - unifiedMarketingautomationContactInput: {}, }); // Handle the result @@ -477,11 +479,11 @@ actions: } run(); - - target: $["paths"]["/ats/users"]["get"] + - target: $["paths"]["/accounting/phonenumbers"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsUsers + label: listAccountingPhonenumber source: |- import { Panora } from "@panora/sdk"; @@ -490,7 +492,7 @@ actions: }); async function run() { - const result = await panora.ats.users.list({ + const result = await panora.accounting.phonenumbers.list({ xConnectionToken: "", }); @@ -499,11 +501,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/comments"]["get"] + - target: $["paths"]["/ticketing/tags/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingComments + label: retrieveTicketingTag source: |- import { Panora } from "@panora/sdk"; @@ -512,8 +514,9 @@ actions: }); async function run() { - const result = await panora.ticketing.comments.list({ + const result = await panora.ticketing.tags.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -521,11 +524,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/files/{id}"]["get"] + - target: $["paths"]["/crm/deals/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageFile + label: retrieveCrmDeal source: |- import { Panora } from "@panora/sdk"; @@ -534,7 +537,7 @@ actions: }); async function run() { - const result = await panora.filestorage.files.retrieve({ + const result = await panora.crm.deals.retrieve({ xConnectionToken: "", id: "", }); @@ -544,11 +547,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/comments"]["post"] + - target: $["paths"]["/accounting/attachments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createTicketingComment + label: retrieveAccountingAttachment source: |- import { Panora } from "@panora/sdk"; @@ -557,11 +560,9 @@ actions: }); async function run() { - const result = await panora.ticketing.comments.create({ + const result = await panora.accounting.attachments.retrieve({ xConnectionToken: "", - unifiedTicketingCommentInput: { - body: "", - }, + id: "", }); // Handle the result @@ -569,11 +570,11 @@ actions: } run(); - - target: $["paths"]["/ats/jobinterviewstages"]["get"] + - target: $["paths"]["/ticketing/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsJobInterviewStage + label: listTicketingContacts source: |- import { Panora } from "@panora/sdk"; @@ -582,7 +583,7 @@ actions: }); async function run() { - const result = await panora.ats.jobinterviewstages.list({ + const result = await panora.ticketing.contacts.list({ xConnectionToken: "", }); @@ -591,11 +592,11 @@ actions: } run(); - - target: $["paths"]["/accounting/invoices"]["get"] + - target: $["paths"]["/ticketing/comments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingInvoice + label: retrieveTicketingComment source: |- import { Panora } from "@panora/sdk"; @@ -604,8 +605,9 @@ actions: }); async function run() { - const result = await panora.accounting.invoices.list({ + const result = await panora.ticketing.comments.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -613,11 +615,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/files"]["get"] + - target: $["paths"]["/marketingautomation/users"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageFile + label: listMarketingAutomationUsers source: |- import { Panora } from "@panora/sdk"; @@ -626,7 +628,7 @@ actions: }); async function run() { - const result = await panora.filestorage.files.list({ + const result = await panora.marketingautomation.users.list({ xConnectionToken: "", }); @@ -635,11 +637,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/accounts/{id}"]["get"] + - target: $["paths"]["/ats/candidates"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingAccount + label: createAtsCandidate source: |- import { Panora } from "@panora/sdk"; @@ -648,9 +650,9 @@ actions: }); async function run() { - const result = await panora.ticketing.accounts.retrieve({ + const result = await panora.ats.candidates.create({ xConnectionToken: "", - id: "", + unifiedAtsCandidateInput: {}, }); // Handle the result @@ -658,11 +660,11 @@ actions: } run(); - - target: $["paths"]["/crm/users"]["get"] + - target: $["paths"]["/accounting/incomestatements"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmUsers + label: listAccountingIncomeStatement source: |- import { Panora } from "@panora/sdk"; @@ -671,7 +673,7 @@ actions: }); async function run() { - const result = await panora.crm.users.list({ + const result = await panora.accounting.incomestatements.list({ xConnectionToken: "", }); @@ -680,11 +682,11 @@ actions: } run(); - - target: $["paths"]["/hris/companies"]["get"] + - target: $["paths"]["/hris/employeepayrollruns/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisCompanys + label: retrieveHrisEmployeePayrollRun source: |- import { Panora } from "@panora/sdk"; @@ -693,8 +695,9 @@ actions: }); async function run() { - const result = await panora.hris.companies.list({ + const result = await panora.hris.employeepayrollruns.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -702,11 +705,11 @@ actions: } run(); - - target: $["paths"]["/ats/activities"]["post"] + - target: $["paths"]["/marketingautomation/emails"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsActivity + label: listMarketingautomationEmails source: |- import { Panora } from "@panora/sdk"; @@ -715,9 +718,8 @@ actions: }); async function run() { - const result = await panora.ats.activities.create({ + const result = await panora.marketingautomation.emails.list({ xConnectionToken: "", - unifiedAtsActivityInput: {}, }); // Handle the result @@ -725,11 +727,11 @@ actions: } run(); - - target: $["paths"]["/ats/tags"]["get"] + - target: $["paths"]["/ats/rejectreasons/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsTags + label: retrieveAtsRejectReason source: |- import { Panora } from "@panora/sdk"; @@ -738,8 +740,9 @@ actions: }); async function run() { - const result = await panora.ats.tags.list({ + const result = await panora.ats.rejectreasons.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -747,11 +750,11 @@ actions: } run(); - - target: $["paths"]["/accounting/accounts"]["get"] + - target: $["paths"]["/ticketing/accounts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingAccounts + label: retrieveTicketingAccount source: |- import { Panora } from "@panora/sdk"; @@ -760,8 +763,9 @@ actions: }); async function run() { - const result = await panora.accounting.accounts.list({ + const result = await panora.ticketing.accounts.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -769,11 +773,11 @@ actions: } run(); - - target: $["paths"]["/accounting/contacts/{id}"]["get"] + - target: $["paths"]["/ticketing/attachments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingContact + label: listTicketingAttachments source: |- import { Panora } from "@panora/sdk"; @@ -782,9 +786,8 @@ actions: }); async function run() { - const result = await panora.accounting.contacts.retrieve({ + const result = await panora.ticketing.attachments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -792,11 +795,11 @@ actions: } run(); - - target: $["paths"]["/crm/engagements"]["post"] + - target: $["paths"]["/marketingautomation/lists/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmEngagement + label: retrieveMarketingautomationList source: |- import { Panora } from "@panora/sdk"; @@ -805,11 +808,9 @@ actions: }); async function run() { - const result = await panora.crm.engagements.create({ + const result = await panora.marketingautomation.lists.retrieve({ xConnectionToken: "", - unifiedCrmEngagementInput: { - type: "", - }, + id: "", }); // Handle the result @@ -817,11 +818,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/messages/{id}"]["get"] + - target: $["paths"]["/marketingautomation/templates/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationMessage + label: retrieveMarketingautomationTemplate source: |- import { Panora } from "@panora/sdk"; @@ -830,7 +831,7 @@ actions: }); async function run() { - const result = await panora.marketingautomation.messages.retrieve({ + const result = await panora.marketingautomation.templates.retrieve({ xConnectionToken: "", id: "", }); @@ -840,11 +841,11 @@ actions: } run(); - - target: $["paths"]["/accounting/taxrates/{id}"]["get"] + - target: $["paths"]["/accounting/invoices"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingTaxRate + label: createAccountingInvoice source: |- import { Panora } from "@panora/sdk"; @@ -853,9 +854,9 @@ actions: }); async function run() { - const result = await panora.accounting.taxrates.retrieve({ + const result = await panora.accounting.invoices.create({ xConnectionToken: "", - id: "", + unifiedAccountingInvoiceInput: {}, }); // Handle the result @@ -863,11 +864,11 @@ actions: } run(); - - target: $["paths"]["/crm/deals/{id}"]["get"] + - target: $["paths"]["/accounting/journalentries"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmDeal + label: listAccountingJournalEntry source: |- import { Panora } from "@panora/sdk"; @@ -876,9 +877,8 @@ actions: }); async function run() { - const result = await panora.crm.deals.retrieve({ + const result = await panora.accounting.journalentries.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -886,11 +886,11 @@ actions: } run(); - - target: $["paths"]["/crm/contacts"]["post"] + - target: $["paths"]["/hris/employerbenefits"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmContact + label: listHrisEmployerBenefit source: |- import { Panora } from "@panora/sdk"; @@ -899,12 +899,8 @@ actions: }); async function run() { - const result = await panora.crm.contacts.create({ + const result = await panora.hris.employerbenefits.list({ xConnectionToken: "", - unifiedCrmContactInput: { - firstName: "Jed", - lastName: "Kuhn", - }, }); // Handle the result @@ -912,11 +908,11 @@ actions: } run(); - - target: $["paths"]["/hris/dependents"]["get"] + - target: $["paths"]["/marketingautomation/events"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisDependents + label: listMarketingAutomationEvents source: |- import { Panora } from "@panora/sdk"; @@ -925,7 +921,7 @@ actions: }); async function run() { - const result = await panora.hris.dependents.list({ + const result = await panora.marketingautomation.events.list({ xConnectionToken: "", }); @@ -934,11 +930,11 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffbalances/{id}"]["get"] + - target: $["paths"]["/ats/applications/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisTimeoffbalance + label: retrieveAtsApplication source: |- import { Panora } from "@panora/sdk"; @@ -947,7 +943,7 @@ actions: }); async function run() { - const result = await panora.hris.timeoffbalances.retrieve({ + const result = await panora.ats.applications.retrieve({ xConnectionToken: "", id: "", }); @@ -957,11 +953,11 @@ actions: } run(); - - target: $["paths"]["/accounting/invoices/{id}"]["get"] + - target: $["paths"]["/accounting/items/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingInvoice + label: retrieveAccountingItem source: |- import { Panora } from "@panora/sdk"; @@ -970,7 +966,7 @@ actions: }); async function run() { - const result = await panora.accounting.invoices.retrieve({ + const result = await panora.accounting.items.retrieve({ xConnectionToken: "", id: "", }); @@ -980,11 +976,11 @@ actions: } run(); - - target: $["paths"]["/accounting/payments"]["get"] + - target: $["paths"]["/ats/activities"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingPayment + label: createAtsActivity source: |- import { Panora } from "@panora/sdk"; @@ -993,8 +989,9 @@ actions: }); async function run() { - const result = await panora.accounting.payments.list({ + const result = await panora.ats.activities.create({ xConnectionToken: "", + unifiedAtsActivityInput: {}, }); // Handle the result @@ -1002,11 +999,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/comments/{id}"]["get"] + - target: $["paths"]["/ats/rejectreasons"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingComment + label: listAtsRejectReasons source: |- import { Panora } from "@panora/sdk"; @@ -1015,9 +1012,8 @@ actions: }); async function run() { - const result = await panora.ticketing.comments.retrieve({ + const result = await panora.ats.rejectreasons.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1025,11 +1021,11 @@ actions: } run(); - - target: $["paths"]["/ats/scorecards"]["get"] + - target: $["paths"]["/accounting/trackingcategories"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsScorecard + label: listAccountingTrackingCategorys source: |- import { Panora } from "@panora/sdk"; @@ -1038,7 +1034,7 @@ actions: }); async function run() { - const result = await panora.ats.scorecards.list({ + const result = await panora.accounting.trackingcategories.list({ xConnectionToken: "", }); @@ -1047,11 +1043,11 @@ actions: } run(); - - target: $["paths"]["/accounting/attachments"]["post"] + - target: $["paths"]["/hris/locations/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingAttachment + label: retrieveHrisLocation source: |- import { Panora } from "@panora/sdk"; @@ -1060,9 +1056,9 @@ actions: }); async function run() { - const result = await panora.accounting.attachments.create({ + const result = await panora.hris.locations.retrieve({ xConnectionToken: "", - unifiedAccountingAttachmentInput: {}, + id: "", }); // Handle the result @@ -1070,11 +1066,11 @@ actions: } run(); - - target: $["paths"]["/accounting/payments"]["post"] + - target: $["paths"]["/marketingautomation/actions/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingPayment + label: retrieveMarketingautomationAction source: |- import { Panora } from "@panora/sdk"; @@ -1083,9 +1079,9 @@ actions: }); async function run() { - const result = await panora.accounting.payments.create({ + const result = await panora.marketingautomation.actions.retrieve({ xConnectionToken: "", - unifiedAccountingPaymentInput: {}, + id: "", }); // Handle the result @@ -1093,11 +1089,11 @@ actions: } run(); - - target: $["paths"]["/crm/tasks"]["get"] + - target: $["paths"]["/ats/attachments"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmTask + label: listAtsAttachment source: |- import { Panora } from "@panora/sdk"; @@ -1106,7 +1102,7 @@ actions: }); async function run() { - const result = await panora.crm.tasks.list({ + const result = await panora.ats.attachments.list({ xConnectionToken: "", }); @@ -1115,11 +1111,11 @@ actions: } run(); - - target: $["paths"]["/ats/attachments"]["get"] + - target: $["paths"]["/ats/candidates"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsAttachment + label: listAtsCandidate source: |- import { Panora } from "@panora/sdk"; @@ -1128,7 +1124,7 @@ actions: }); async function run() { - const result = await panora.ats.attachments.list({ + const result = await panora.ats.candidates.list({ xConnectionToken: "", }); @@ -1137,11 +1133,11 @@ actions: } run(); - - target: $["paths"]["/accounting/balancesheets"]["get"] + - target: $["paths"]["/hris/timeoffbalances/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingBalanceSheets + label: retrieveHrisTimeoffbalance source: |- import { Panora } from "@panora/sdk"; @@ -1150,8 +1146,9 @@ actions: }); async function run() { - const result = await panora.accounting.balancesheets.list({ + const result = await panora.hris.timeoffbalances.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1159,11 +1156,11 @@ actions: } run(); - - target: $["paths"]["/webhooks"]["get"] + - target: $["paths"]["/marketingautomation/contacts"]["post"] update: x-codeSamples: - lang: typescript - label: listWebhooks + label: createMarketingAutomationContact source: |- import { Panora } from "@panora/sdk"; @@ -1172,18 +1169,21 @@ actions: }); async function run() { - const result = await panora.webhooks.list(); + const result = await panora.marketingautomation.contacts.create({ + xConnectionToken: "", + unifiedMarketingautomationContactInput: {}, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/marketingautomation/automations/{id}"]["get"] + - target: $["paths"]["/accounting/accounts"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationAutomation + label: createAccountingAccount source: |- import { Panora } from "@panora/sdk"; @@ -1192,9 +1192,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.automations.retrieve({ + const result = await panora.accounting.accounts.create({ xConnectionToken: "", - id: "", + unifiedAccountingAccountInput: {}, }); // Handle the result @@ -1202,11 +1202,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/events/{id}"]["get"] + - target: $["paths"]["/accounting/balancesheets"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationEvent + label: listAccountingBalanceSheets source: |- import { Panora } from "@panora/sdk"; @@ -1215,9 +1215,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.events.retrieve({ + const result = await panora.accounting.balancesheets.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1225,11 +1224,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/templates"]["post"] + - target: $["paths"]["/ticketing/attachments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationTemplate + label: retrieveTicketingAttachment source: |- import { Panora } from "@panora/sdk"; @@ -1238,9 +1237,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.templates.create({ + const result = await panora.ticketing.attachments.retrieve({ xConnectionToken: "", - unifiedMarketingautomationTemplateInput: {}, + id: "", }); // Handle the result @@ -1248,11 +1247,11 @@ actions: } run(); - - target: $["paths"]["/accounting/expenses/{id}"]["get"] + - target: $["paths"]["/linked_users/single"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingExpense + label: retrieveLinkedUser source: |- import { Panora } from "@panora/sdk"; @@ -1261,8 +1260,7 @@ actions: }); async function run() { - const result = await panora.accounting.expenses.retrieve({ - xConnectionToken: "", + const result = await panora.linkedUsers.single.retrieve({ id: "", }); @@ -1271,11 +1269,11 @@ actions: } run(); - - target: $["paths"]["/crm/notes/{id}"]["get"] + - target: $["paths"]["/marketingautomation/automations/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmNote + label: retrieveMarketingautomationAutomation source: |- import { Panora } from "@panora/sdk"; @@ -1284,7 +1282,7 @@ actions: }); async function run() { - const result = await panora.crm.notes.retrieve({ + const result = await panora.marketingautomation.automations.retrieve({ xConnectionToken: "", id: "", }); @@ -1294,11 +1292,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/drives"]["get"] + - target: $["paths"]["/ats/activities"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageDrives + label: listAtsActivity source: |- import { Panora } from "@panora/sdk"; @@ -1307,7 +1305,7 @@ actions: }); async function run() { - const result = await panora.filestorage.drives.list({ + const result = await panora.ats.activities.list({ xConnectionToken: "", }); @@ -1316,11 +1314,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/emails"]["get"] + - target: $["paths"]["/ats/scorecards"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationEmails + label: listAtsScorecard source: |- import { Panora } from "@panora/sdk"; @@ -1329,7 +1327,7 @@ actions: }); async function run() { - const result = await panora.marketingautomation.emails.list({ + const result = await panora.ats.scorecards.list({ xConnectionToken: "", }); @@ -1338,11 +1336,11 @@ actions: } run(); - - target: $["paths"]["/ats/applications"]["get"] + - target: $["paths"]["/health"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsApplication + label: health source: |- import { Panora } from "@panora/sdk"; @@ -1351,20 +1349,18 @@ actions: }); async function run() { - const result = await panora.ats.applications.list({ - xConnectionToken: "", - }); + const result = await panora.health(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/ats/applications"]["post"] + - target: $["paths"]["/crm/tasks"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsApplication + label: listCrmTask source: |- import { Panora } from "@panora/sdk"; @@ -1373,9 +1369,8 @@ actions: }); async function run() { - const result = await panora.ats.applications.create({ + const result = await panora.crm.tasks.list({ xConnectionToken: "", - unifiedAtsApplicationInput: {}, }); // Handle the result @@ -1383,11 +1378,11 @@ actions: } run(); - - target: $["paths"]["/accounting/items/{id}"]["get"] + - target: $["paths"]["/accounting/invoices"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingItem + label: listAccountingInvoice source: |- import { Panora } from "@panora/sdk"; @@ -1396,9 +1391,8 @@ actions: }); async function run() { - const result = await panora.accounting.items.retrieve({ + const result = await panora.accounting.invoices.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1406,11 +1400,11 @@ actions: } run(); - - target: $["paths"]["/ats/attachments/{id}"]["get"] + - target: $["paths"]["/webhooks/{id}"]["put"] update: x-codeSamples: - lang: typescript - label: retrieveAtsAttachment + label: updateStatus source: |- import { Panora } from "@panora/sdk"; @@ -1419,8 +1413,7 @@ actions: }); async function run() { - const result = await panora.ats.attachments.retrieve({ - xConnectionToken: "", + const result = await panora.webhooks.updateStatus({ id: "", }); @@ -1429,11 +1422,11 @@ actions: } run(); - - target: $["paths"]["/accounting/addresses"]["get"] + - target: $["paths"]["/accounting/expenses"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingAddress + label: createAccountingExpense source: |- import { Panora } from "@panora/sdk"; @@ -1442,8 +1435,9 @@ actions: }); async function run() { - const result = await panora.accounting.addresses.list({ + const result = await panora.accounting.expenses.create({ xConnectionToken: "", + unifiedAccountingExpenseInput: {}, }); // Handle the result @@ -1451,11 +1445,11 @@ actions: } run(); - - target: $["paths"]["/field_mappings/map"]["post"] + - target: $["paths"]["/filestorage/folders/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: map + label: retrieveFilestorageFolder source: |- import { Panora } from "@panora/sdk"; @@ -1464,11 +1458,9 @@ actions: }); async function run() { - const result = await panora.fieldMappings.map.map({ - attributeId: "", - sourceCustomFieldId: "", - sourceProvider: "", - linkedUserId: "", + const result = await panora.filestorage.folders.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -1476,11 +1468,11 @@ actions: } run(); - - target: $["paths"]["/ats/activities"]["get"] + - target: $["paths"]["/filestorage/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsActivity + label: retrieveFilestorageUser source: |- import { Panora } from "@panora/sdk"; @@ -1489,8 +1481,9 @@ actions: }); async function run() { - const result = await panora.ats.activities.list({ + const result = await panora.filestorage.users.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1498,11 +1491,11 @@ actions: } run(); - - target: $["paths"]["/accounting/journalentries"]["get"] + - target: $["paths"]["/ticketing/tickets/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingJournalEntry + label: retrieveTicketingTicket source: |- import { Panora } from "@panora/sdk"; @@ -1511,8 +1504,9 @@ actions: }); async function run() { - const result = await panora.accounting.journalentries.list({ + const result = await panora.ticketing.tickets.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1520,11 +1514,11 @@ actions: } run(); - - target: $["paths"]["/crm/contacts"]["get"] + - target: $["paths"]["/accounting/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmContacts + label: retrieveAccountingContact source: |- import { Panora } from "@panora/sdk"; @@ -1533,8 +1527,9 @@ actions: }); async function run() { - const result = await panora.crm.contacts.list({ + const result = await panora.accounting.contacts.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1542,11 +1537,11 @@ actions: } run(); - - target: $["paths"]["/ats/offers"]["get"] + - target: $["paths"]["/filestorage/folders"]["post"] update: x-codeSamples: - lang: typescript - label: listAtsOffer + label: createFilestorageFolder source: |- import { Panora } from "@panora/sdk"; @@ -1555,20 +1550,31 @@ actions: }); async function run() { - const result = await panora.ats.offers.list({ + const result = await panora.filestorage.folders.create({ xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - - target: $["paths"]["/accounting/journalentries/{id}"]["get"] - update: + remoteData: false, + unifiedFilestorageFolderInput: { + name: "", + size: "", + folderUrl: "", + description: "Multi-tiered human-resource model", + driveId: "", + parentFolderId: "", + sharedLink: "", + permission: "", + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - target: $["paths"]["/crm/companies/{id}"]["get"] + update: x-codeSamples: - lang: typescript - label: retrieveAccountingJournalEntry + label: retrieveCrmCompany source: |- import { Panora } from "@panora/sdk"; @@ -1577,7 +1583,7 @@ actions: }); async function run() { - const result = await panora.accounting.journalentries.retrieve({ + const result = await panora.crm.companies.retrieve({ xConnectionToken: "", id: "", }); @@ -1587,11 +1593,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/automations"]["post"] + - target: $["paths"]["/crm/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationAutomation + label: retrieveCrmUser source: |- import { Panora } from "@panora/sdk"; @@ -1600,9 +1606,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.automations.create({ + const result = await panora.crm.users.retrieve({ xConnectionToken: "", - unifiedMarketingautomationAutomationInput: {}, + id: "", }); // Handle the result @@ -1610,11 +1616,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/campaigns/{id}"]["get"] + - target: $["paths"]["/hris/employeepayrollruns"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationCampaign + label: listHrisEmployeePayrollRun source: |- import { Panora } from "@panora/sdk"; @@ -1623,9 +1629,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.campaigns.retrieve({ + const result = await panora.hris.employeepayrollruns.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -1633,11 +1638,11 @@ actions: } run(); - - target: $["paths"]["/ats/candidates"]["post"] + - target: $["paths"]["/accounting/journalentries/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsCandidate + label: retrieveAccountingJournalEntry source: |- import { Panora } from "@panora/sdk"; @@ -1646,9 +1651,9 @@ actions: }); async function run() { - const result = await panora.ats.candidates.create({ + const result = await panora.accounting.journalentries.retrieve({ xConnectionToken: "", - unifiedAtsCandidateInput: {}, + id: "", }); // Handle the result @@ -1656,11 +1661,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/users/{id}"]["get"] + - target: $["paths"]["/ticketing/comments"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingUser + label: createTicketingComment source: |- import { Panora } from "@panora/sdk"; @@ -1669,9 +1674,11 @@ actions: }); async function run() { - const result = await panora.ticketing.users.retrieve({ + const result = await panora.ticketing.comments.create({ xConnectionToken: "", - id: "", + unifiedTicketingCommentInput: { + body: "", + }, }); // Handle the result @@ -1679,11 +1686,11 @@ actions: } run(); - - target: $["paths"]["/ats/attachments"]["post"] + - target: $["paths"]["/accounting/cashflowstatements/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsAttachment + label: retrieveAccountingCashflowStatement source: |- import { Panora } from "@panora/sdk"; @@ -1692,9 +1699,9 @@ actions: }); async function run() { - const result = await panora.ats.attachments.create({ + const result = await panora.accounting.cashflowstatements.retrieve({ xConnectionToken: "", - unifiedAtsAttachmentInput: {}, + id: "", }); // Handle the result @@ -1702,11 +1709,11 @@ actions: } run(); - - target: $["paths"]["/ats/jobs/{id}"]["get"] + - target: $["paths"]["/marketingautomation/messages/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsJob + label: retrieveMarketingautomationMessage source: |- import { Panora } from "@panora/sdk"; @@ -1715,7 +1722,7 @@ actions: }); async function run() { - const result = await panora.ats.jobs.retrieve({ + const result = await panora.marketingautomation.messages.retrieve({ xConnectionToken: "", id: "", }); @@ -1725,11 +1732,11 @@ actions: } run(); - - target: $["paths"]["/crm/companies"]["post"] + - target: $["paths"]["/ats/attachments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmCompany + label: retrieveAtsAttachment source: |- import { Panora } from "@panora/sdk"; @@ -1738,11 +1745,9 @@ actions: }); async function run() { - const result = await panora.crm.companies.create({ + const result = await panora.ats.attachments.retrieve({ xConnectionToken: "", - unifiedCrmCompanyInput: { - name: "", - }, + id: "", }); // Handle the result @@ -1750,11 +1755,11 @@ actions: } run(); - - target: $["paths"]["/accounting/companyinfos/{id}"]["get"] + - target: $["paths"]["/filestorage/drives/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingCompanyInfo + label: retrieveFilestorageDrive source: |- import { Panora } from "@panora/sdk"; @@ -1763,7 +1768,7 @@ actions: }); async function run() { - const result = await panora.accounting.companyinfos.retrieve({ + const result = await panora.filestorage.drives.retrieve({ xConnectionToken: "", id: "", }); @@ -1773,11 +1778,11 @@ actions: } run(); - - target: $["paths"]["/"]["get"] + - target: $["paths"]["/accounting/trackingcategories/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: hello + label: retrieveAccountingTrackingCategory source: |- import { Panora } from "@panora/sdk"; @@ -1786,18 +1791,21 @@ actions: }); async function run() { - const result = await panora.hello(); + const result = await panora.accounting.trackingcategories.retrieve({ + xConnectionToken: "", + id: "", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/accounting/taxrates"]["get"] + - target: $["paths"]["/filestorage/users"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingTaxRate + label: listFilestorageUsers source: |- import { Panora } from "@panora/sdk"; @@ -1806,7 +1814,7 @@ actions: }); async function run() { - const result = await panora.accounting.taxrates.list({ + const result = await panora.filestorage.users.list({ xConnectionToken: "", }); @@ -1815,11 +1823,11 @@ actions: } run(); - - target: $["paths"]["/hris/bankinfos"]["get"] + - target: $["paths"]["/accounting/transactions/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisBankinfo + label: retrieveAccountingTransaction source: |- import { Panora } from "@panora/sdk"; @@ -1828,8 +1836,9 @@ actions: }); async function run() { - const result = await panora.hris.bankinfos.list({ + const result = await panora.accounting.transactions.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1837,11 +1846,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/tickets"]["get"] + - target: $["paths"]["/filestorage/files"]["post"] update: x-codeSamples: - lang: typescript - label: listTicketingTicket + label: createFilestorageFile source: |- import { Panora } from "@panora/sdk"; @@ -1850,8 +1859,18 @@ actions: }); async function run() { - const result = await panora.ticketing.tickets.list({ + const result = await panora.filestorage.files.create({ xConnectionToken: "", + remoteData: false, + unifiedFilestorageFileInput: { + name: "", + fileUrl: "", + mimeType: "", + size: "", + folderId: "", + permission: "", + sharedLink: "", + }, }); // Handle the result @@ -1859,11 +1878,11 @@ actions: } run(); - - target: $["paths"]["/hris/employees"]["get"] + - target: $["paths"]["/ticketing/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisEmployee + label: retrieveTicketingUser source: |- import { Panora } from "@panora/sdk"; @@ -1872,8 +1891,9 @@ actions: }); async function run() { - const result = await panora.hris.employees.list({ + const result = await panora.ticketing.users.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1881,11 +1901,11 @@ actions: } run(); - - target: $["paths"]["/hris/employees/{id}"]["get"] + - target: $["paths"]["/field_mappings"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployee + label: defineCustomField source: |- import { Panora } from "@panora/sdk"; @@ -1894,9 +1914,14 @@ actions: }); async function run() { - const result = await panora.hris.employees.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.fieldMappings.defineCustomField({ + objectTypeOwner: "", + name: "", + description: "Balanced multimedia policy", + dataType: "point", + sourceCustomFieldId: "", + sourceProvider: "", + linkedUserId: "", }); // Handle the result @@ -1904,11 +1929,11 @@ actions: } run(); - - target: $["paths"]["/hris/locations"]["get"] + - target: $["paths"]["/ticketing/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisLocation + label: retrieveTicketingContact source: |- import { Panora } from "@panora/sdk"; @@ -1917,8 +1942,9 @@ actions: }); async function run() { - const result = await panora.hris.locations.list({ + const result = await panora.ticketing.contacts.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -1926,11 +1952,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/contacts"]["get"] + - target: $["paths"]["/crm/stages"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingContacts + label: listCrmStages source: |- import { Panora } from "@panora/sdk"; @@ -1939,7 +1965,7 @@ actions: }); async function run() { - const result = await panora.ticketing.contacts.list({ + const result = await panora.crm.stages.list({ xConnectionToken: "", }); @@ -1948,11 +1974,11 @@ actions: } run(); - - target: $["paths"]["/ats/departments"]["get"] + - target: $["paths"]["/linked_users"]["post"] update: x-codeSamples: - lang: typescript - label: listAtsDepartments + label: createLinkedUser source: |- import { Panora } from "@panora/sdk"; @@ -1961,8 +1987,9 @@ actions: }); async function run() { - const result = await panora.ats.departments.list({ - xConnectionToken: "", + const result = await panora.linkedUsers.create({ + linkedUserOriginId: "", + alias: "", }); // Handle the result @@ -1970,11 +1997,11 @@ actions: } run(); - - target: $["paths"]["/crm/deals"]["post"] + - target: $["paths"]["/hris/timeoffs"]["post"] update: x-codeSamples: - lang: typescript - label: createCrmDeal + label: createHrisTimeoff source: |- import { Panora } from "@panora/sdk"; @@ -1983,13 +2010,9 @@ actions: }); async function run() { - const result = await panora.crm.deals.create({ + const result = await panora.hris.timeoffs.create({ xConnectionToken: "", - unifiedCrmDealInput: { - name: "", - description: "Multi-tiered human-resource model", - amount: 8592.13, - }, + unifiedHrisTimeoffInput: {}, }); // Handle the result @@ -1997,11 +2020,11 @@ actions: } run(); - - target: $["paths"]["/linked_users"]["post"] + - target: $["paths"]["/webhooks"]["get"] update: x-codeSamples: - lang: typescript - label: createLinkedUser + label: listWebhooks source: |- import { Panora } from "@panora/sdk"; @@ -2010,21 +2033,18 @@ actions: }); async function run() { - const result = await panora.linkedUsers.create({ - linkedUserOriginId: "", - alias: "", - }); + const result = await panora.webhooks.list(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/marketingautomation/campaigns"]["get"] + - target: $["paths"]["/marketingautomation/campaigns/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationCampaign + label: retrieveMarketingautomationCampaign source: |- import { Panora } from "@panora/sdk"; @@ -2033,8 +2053,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.campaigns.list({ + const result = await panora.marketingautomation.campaigns.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2042,11 +2063,11 @@ actions: } run(); - - target: $["paths"]["/ats/offices"]["get"] + - target: $["paths"]["/marketingautomation/templates"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsOffice + label: listMarketingautomationTemplates source: |- import { Panora } from "@panora/sdk"; @@ -2055,7 +2076,7 @@ actions: }); async function run() { - const result = await panora.ats.offices.list({ + const result = await panora.marketingautomation.templates.list({ xConnectionToken: "", }); @@ -2064,11 +2085,11 @@ actions: } run(); - - target: $["paths"]["/ats/scorecards/{id}"]["get"] + - target: $["paths"]["/crm/notes"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsScorecard + label: listCrmNote source: |- import { Panora } from "@panora/sdk"; @@ -2077,9 +2098,8 @@ actions: }); async function run() { - const result = await panora.ats.scorecards.retrieve({ + const result = await panora.crm.notes.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2087,11 +2107,11 @@ actions: } run(); - - target: $["paths"]["/accounting/vendorcredits"]["get"] + - target: $["paths"]["/crm/users"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingVendorCredit + label: listCrmUsers source: |- import { Panora } from "@panora/sdk"; @@ -2100,7 +2120,7 @@ actions: }); async function run() { - const result = await panora.accounting.vendorcredits.list({ + const result = await panora.crm.users.list({ xConnectionToken: "", }); @@ -2109,11 +2129,11 @@ actions: } run(); - - target: $["paths"]["/ats/eeocs/{id}"]["get"] + - target: $["paths"]["/marketingautomation/actions"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsEeocs + label: listMarketingautomationAction source: |- import { Panora } from "@panora/sdk"; @@ -2122,9 +2142,8 @@ actions: }); async function run() { - const result = await panora.ats.eeocs.retrieve({ + const result = await panora.marketingautomation.actions.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2132,11 +2151,11 @@ actions: } run(); - - target: $["paths"]["/accounting/purchaseorders/{id}"]["get"] + - target: $["paths"]["/marketingautomation/campaigns"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingPurchaseOrder + label: listMarketingautomationCampaign source: |- import { Panora } from "@panora/sdk"; @@ -2145,9 +2164,8 @@ actions: }); async function run() { - const result = await panora.accounting.purchaseorders.retrieve({ + const result = await panora.marketingautomation.campaigns.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2155,11 +2173,11 @@ actions: } run(); - - target: $["paths"]["/crm/deals"]["get"] + - target: $["paths"]["/ats/interviews/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmDeals + label: retrieveAtsInterview source: |- import { Panora } from "@panora/sdk"; @@ -2168,8 +2186,9 @@ actions: }); async function run() { - const result = await panora.crm.deals.list({ + const result = await panora.ats.interviews.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2177,11 +2196,11 @@ actions: } run(); - - target: $["paths"]["/crm/users/{id}"]["get"] + - target: $["paths"]["/filestorage/groups"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmUser + label: listFilestorageGroup source: |- import { Panora } from "@panora/sdk"; @@ -2190,9 +2209,8 @@ actions: }); async function run() { - const result = await panora.crm.users.retrieve({ + const result = await panora.filestorage.groups.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2200,11 +2218,11 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffs"]["post"] + - target: $["paths"]["/ats/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createHrisTimeoff + label: retrieveAtsUser source: |- import { Panora } from "@panora/sdk"; @@ -2213,9 +2231,9 @@ actions: }); async function run() { - const result = await panora.hris.timeoffs.create({ + const result = await panora.ats.users.retrieve({ xConnectionToken: "", - unifiedHrisTimeoffInput: {}, + id: "", }); // Handle the result @@ -2223,11 +2241,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/lists"]["post"] + - target: $["paths"]["/accounting/creditnotes/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationList + label: retrieveAccountingCreditNote source: |- import { Panora } from "@panora/sdk"; @@ -2236,9 +2254,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.lists.create({ + const result = await panora.accounting.creditnotes.retrieve({ xConnectionToken: "", - unifiedMarketingautomationListInput: {}, + id: "", }); // Handle the result @@ -2246,11 +2264,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/tickets/{id}"]["get"] + - target: $["paths"]["/hris/timeoffs/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingTicket + label: retrieveHrisTimeoff source: |- import { Panora } from "@panora/sdk"; @@ -2259,7 +2277,7 @@ actions: }); async function run() { - const result = await panora.ticketing.tickets.retrieve({ + const result = await panora.hris.timeoffs.retrieve({ xConnectionToken: "", id: "", }); @@ -2269,11 +2287,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/lists/{id}"]["get"] + - target: $["paths"]["/ats/jobinterviewstages/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationList + label: retrieveAtsJobInterviewStage source: |- import { Panora } from "@panora/sdk"; @@ -2282,7 +2300,7 @@ actions: }); async function run() { - const result = await panora.marketingautomation.lists.retrieve({ + const result = await panora.ats.jobinterviewstages.retrieve({ xConnectionToken: "", id: "", }); @@ -2292,11 +2310,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/tickets"]["post"] + - target: $["paths"]["/crm/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createTicketingTicket + label: retrieveCrmContact source: |- import { Panora } from "@panora/sdk"; @@ -2305,12 +2323,9 @@ actions: }); async function run() { - const result = await panora.ticketing.tickets.create({ + const result = await panora.crm.contacts.retrieve({ xConnectionToken: "", - unifiedTicketingTicketInput: { - name: "", - description: "Multi-tiered human-resource model", - }, + id: "", }); // Handle the result @@ -2318,11 +2333,11 @@ actions: } run(); - - target: $["paths"]["/field_mappings/define"]["post"] + - target: $["paths"]["/hris/employerbenefits/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: definitions + label: retrieveHrisEmployerBenefit source: |- import { Panora } from "@panora/sdk"; @@ -2331,11 +2346,9 @@ actions: }); async function run() { - const result = await panora.fieldMappings.define.definitions({ - objectTypeOwner: "", - name: "", - description: "Universal heuristic matrices", - dataType: "decimal", + const result = await panora.hris.employerbenefits.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -2343,11 +2356,11 @@ actions: } run(); - - target: $["paths"]["/ats/interviews"]["post"] + - target: $["paths"]["/hris/timeoffbalances"]["get"] update: x-codeSamples: - lang: typescript - label: createAtsInterview + label: listHrisTimeoffbalance source: |- import { Panora } from "@panora/sdk"; @@ -2356,9 +2369,8 @@ actions: }); async function run() { - const result = await panora.ats.interviews.create({ + const result = await panora.hris.timeoffbalances.list({ xConnectionToken: "", - unifiedAtsInterviewInput: {}, }); // Handle the result @@ -2366,11 +2378,11 @@ actions: } run(); - - target: $["paths"]["/accounting/payments/{id}"]["get"] + - target: $["paths"]["/accounting/balancesheets/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingPayment + label: retrieveAccountingBalanceSheet source: |- import { Panora } from "@panora/sdk"; @@ -2379,7 +2391,7 @@ actions: }); async function run() { - const result = await panora.accounting.payments.retrieve({ + const result = await panora.accounting.balancesheets.retrieve({ xConnectionToken: "", id: "", }); @@ -2389,11 +2401,11 @@ actions: } run(); - - target: $["paths"]["/accounting/phonenumbers/{id}"]["get"] + - target: $["paths"]["/accounting/items"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingPhonenumber + label: listAccountingItem source: |- import { Panora } from "@panora/sdk"; @@ -2402,9 +2414,8 @@ actions: }); async function run() { - const result = await panora.accounting.phonenumbers.retrieve({ + const result = await panora.accounting.items.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2412,11 +2423,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/attachments/{id}"]["get"] + - target: $["paths"]["/crm/notes/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingAttachment + label: retrieveCrmNote source: |- import { Panora } from "@panora/sdk"; @@ -2425,7 +2436,7 @@ actions: }); async function run() { - const result = await panora.ticketing.attachments.retrieve({ + const result = await panora.crm.notes.retrieve({ xConnectionToken: "", id: "", }); @@ -2435,11 +2446,11 @@ actions: } run(); - - target: $["paths"]["/hris/benefits/{id}"]["get"] + - target: $["paths"]["/ats/jobs/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisBenefit + label: retrieveAtsJob source: |- import { Panora } from "@panora/sdk"; @@ -2448,7 +2459,7 @@ actions: }); async function run() { - const result = await panora.hris.benefits.retrieve({ + const result = await panora.ats.jobs.retrieve({ xConnectionToken: "", id: "", }); @@ -2458,11 +2469,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/groups"]["get"] + - target: $["paths"]["/ats/offers"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageGroup + label: listAtsOffer source: |- import { Panora } from "@panora/sdk"; @@ -2471,7 +2482,7 @@ actions: }); async function run() { - const result = await panora.filestorage.groups.list({ + const result = await panora.ats.offers.list({ xConnectionToken: "", }); @@ -2480,11 +2491,11 @@ actions: } run(); - - target: $["paths"]["/crm/notes"]["post"] + - target: $["paths"]["/accounting/companyinfos"]["get"] update: x-codeSamples: - lang: typescript - label: createCrmNote + label: listAccountingCompanyInfos source: |- import { Panora } from "@panora/sdk"; @@ -2493,11 +2504,8 @@ actions: }); async function run() { - const result = await panora.crm.notes.create({ + const result = await panora.accounting.companyinfos.list({ xConnectionToken: "", - unifiedCrmNoteInput: { - content: "", - }, }); // Handle the result @@ -2505,11 +2513,11 @@ actions: } run(); - - target: $["paths"]["/crm/tasks/{id}"]["get"] + - target: $["paths"]["/hris/bankinfos/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmTask + label: retrieveHrisBankinfo source: |- import { Panora } from "@panora/sdk"; @@ -2518,7 +2526,7 @@ actions: }); async function run() { - const result = await panora.crm.tasks.retrieve({ + const result = await panora.hris.bankinfos.retrieve({ xConnectionToken: "", id: "", }); @@ -2528,11 +2536,11 @@ actions: } run(); - - target: $["paths"]["/hris/employees"]["post"] + - target: $["paths"]["/hris/employees/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createHrisEmployee + label: retrieveHrisEmployee source: |- import { Panora } from "@panora/sdk"; @@ -2541,9 +2549,9 @@ actions: }); async function run() { - const result = await panora.hris.employees.create({ + const result = await panora.hris.employees.retrieve({ xConnectionToken: "", - unifiedHrisEmployeeInput: {}, + id: "", }); // Handle the result @@ -2551,11 +2559,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/users"]["get"] + - target: $["paths"]["/marketingautomation/campaigns"]["post"] update: x-codeSamples: - lang: typescript - label: listMarketingAutomationUsers + label: createMarketingautomationCampaign source: |- import { Panora } from "@panora/sdk"; @@ -2564,8 +2572,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.users.list({ + const result = await panora.marketingautomation.campaigns.create({ xConnectionToken: "", + unifiedMarketingautomationCampaignInput: {}, }); // Handle the result @@ -2573,11 +2582,11 @@ actions: } run(); - - target: $["paths"]["/ats/rejectreasons/{id}"]["get"] + - target: $["paths"]["/accounting/expenses/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsRejectReason + label: retrieveAccountingExpense source: |- import { Panora } from "@panora/sdk"; @@ -2586,7 +2595,7 @@ actions: }); async function run() { - const result = await panora.ats.rejectreasons.retrieve({ + const result = await panora.accounting.expenses.retrieve({ xConnectionToken: "", id: "", }); @@ -2596,11 +2605,11 @@ actions: } run(); - - target: $["paths"]["/accounting/attachments"]["get"] + - target: $["paths"]["/ats/attachments"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingAttachments + label: createAtsAttachment source: |- import { Panora } from "@panora/sdk"; @@ -2609,8 +2618,9 @@ actions: }); async function run() { - const result = await panora.accounting.attachments.list({ + const result = await panora.ats.attachments.create({ xConnectionToken: "", + unifiedAtsAttachmentInput: {}, }); // Handle the result @@ -2618,11 +2628,11 @@ actions: } run(); - - target: $["paths"]["/accounting/contacts"]["get"] + - target: $["paths"]["/accounting/purchaseorders"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingContacts + label: createAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; @@ -2631,8 +2641,9 @@ actions: }); async function run() { - const result = await panora.accounting.contacts.list({ + const result = await panora.accounting.purchaseorders.create({ xConnectionToken: "", + unifiedAccountingPurchaseorderInput: {}, }); // Handle the result @@ -2640,11 +2651,11 @@ actions: } run(); - - target: $["paths"]["/accounting/addresses/{id}"]["get"] + - target: $["paths"]["/webhooks/{id}"]["delete"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingAddress + label: delete source: |- import { Panora } from "@panora/sdk"; @@ -2653,8 +2664,7 @@ actions: }); async function run() { - const result = await panora.accounting.addresses.retrieve({ - xConnectionToken: "", + const result = await panora.webhooks.delete({ id: "", }); @@ -2663,11 +2673,11 @@ actions: } run(); - - target: $["paths"]["/ats/tags/{id}"]["get"] + - target: $["paths"]["/ticketing/users"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsTag + label: listTicketingUsers source: |- import { Panora } from "@panora/sdk"; @@ -2676,9 +2686,8 @@ actions: }); async function run() { - const result = await panora.ats.tags.retrieve({ + const result = await panora.ticketing.users.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2686,11 +2695,11 @@ actions: } run(); - - target: $["paths"]["/crm/stages"]["get"] + - target: $["paths"]["/marketingautomation/automations"]["post"] update: x-codeSamples: - lang: typescript - label: listCrmStages + label: createMarketingautomationAutomation source: |- import { Panora } from "@panora/sdk"; @@ -2699,8 +2708,9 @@ actions: }); async function run() { - const result = await panora.crm.stages.list({ + const result = await panora.marketingautomation.automations.create({ xConnectionToken: "", + unifiedMarketingautomationAutomationInput: {}, }); // Handle the result @@ -2708,11 +2718,11 @@ actions: } run(); - - target: $["paths"]["/hris/paygroups/{id}"]["get"] + - target: $["paths"]["/ticketing/collections/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisPaygroup + label: retrieveCollection source: |- import { Panora } from "@panora/sdk"; @@ -2721,7 +2731,7 @@ actions: }); async function run() { - const result = await panora.hris.paygroups.retrieve({ + const result = await panora.ticketing.collections.retrieve({ xConnectionToken: "", id: "", }); @@ -2731,11 +2741,11 @@ actions: } run(); - - target: $["paths"]["/accounting/companyinfos"]["get"] + - target: $["paths"]["/field_mappings/define"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingCompanyInfos + label: definitions source: |- import { Panora } from "@panora/sdk"; @@ -2744,8 +2754,11 @@ actions: }); async function run() { - const result = await panora.accounting.companyinfos.list({ - xConnectionToken: "", + const result = await panora.fieldMappings.define.definitions({ + objectTypeOwner: "", + name: "", + description: "Universal heuristic matrices", + dataType: "decimal", }); // Handle the result @@ -2753,11 +2766,11 @@ actions: } run(); - - target: $["paths"]["/hris/employeepayrollruns"]["get"] + - target: $["paths"]["/ats/jobinterviewstages"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisEmployeePayrollRun + label: listAtsJobInterviewStage source: |- import { Panora } from "@panora/sdk"; @@ -2766,7 +2779,7 @@ actions: }); async function run() { - const result = await panora.hris.employeepayrollruns.list({ + const result = await panora.ats.jobinterviewstages.list({ xConnectionToken: "", }); @@ -2775,11 +2788,11 @@ actions: } run(); - - target: $["paths"]["/crm/tasks"]["post"] + - target: $["paths"]["/crm/contacts"]["post"] update: x-codeSamples: - lang: typescript - label: createCrmTask + label: createCrmContact source: |- import { Panora } from "@panora/sdk"; @@ -2788,12 +2801,11 @@ actions: }); async function run() { - const result = await panora.crm.tasks.create({ + const result = await panora.crm.contacts.create({ xConnectionToken: "", - unifiedCrmTaskInput: { - subject: "", - content: "", - status: "", + unifiedCrmContactInput: { + firstName: "Jed", + lastName: "Kuhn", }, }); @@ -2802,11 +2814,11 @@ actions: } run(); - - target: $["paths"]["/hris/locations/{id}"]["get"] + - target: $["paths"]["/accounting/expenses"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisLocation + label: listAccountingExpense source: |- import { Panora } from "@panora/sdk"; @@ -2815,9 +2827,8 @@ actions: }); async function run() { - const result = await panora.hris.locations.retrieve({ + const result = await panora.accounting.expenses.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2825,11 +2836,11 @@ actions: } run(); - - target: $["paths"]["/ats/offers/{id}"]["get"] + - target: $["paths"]["/crm/engagements/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsOffer + label: retrieveCrmEngagement source: |- import { Panora } from "@panora/sdk"; @@ -2838,7 +2849,7 @@ actions: }); async function run() { - const result = await panora.ats.offers.retrieve({ + const result = await panora.crm.engagements.retrieve({ xConnectionToken: "", id: "", }); @@ -2848,11 +2859,11 @@ actions: } run(); - - target: $["paths"]["/accounting/accounts/{id}"]["get"] + - target: $["paths"]["/crm/notes"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingAccount + label: createCrmNote source: |- import { Panora } from "@panora/sdk"; @@ -2861,9 +2872,11 @@ actions: }); async function run() { - const result = await panora.accounting.accounts.retrieve({ + const result = await panora.crm.notes.create({ xConnectionToken: "", - id: "", + unifiedCrmNoteInput: { + content: "", + }, }); // Handle the result @@ -2871,11 +2884,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/folders/{id}"]["get"] + - target: $["paths"]["/hris/paygroups"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageFolder + label: listHrisPaygroup source: |- import { Panora } from "@panora/sdk"; @@ -2884,9 +2897,8 @@ actions: }); async function run() { - const result = await panora.filestorage.folders.retrieve({ + const result = await panora.hris.paygroups.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -2894,11 +2906,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/attachments"]["post"] + - target: $["paths"]["/hris/timeoffs"]["get"] update: x-codeSamples: - lang: typescript - label: createTicketingAttachment + label: listHrisTimeoffs source: |- import { Panora } from "@panora/sdk"; @@ -2907,13 +2919,8 @@ actions: }); async function run() { - const result = await panora.ticketing.attachments.create({ + const result = await panora.hris.timeoffs.list({ xConnectionToken: "", - unifiedTicketingAttachmentInput: { - fileName: "your_file_here", - fileUrl: "", - uploader: "", - }, }); // Handle the result @@ -2921,11 +2928,11 @@ actions: } run(); - - target: $["paths"]["/accounting/cashflowstatements"]["get"] + - target: $["paths"]["/accounting/addresses"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingCashflowStatement + label: listAccountingAddress source: |- import { Panora } from "@panora/sdk"; @@ -2934,7 +2941,7 @@ actions: }); async function run() { - const result = await panora.accounting.cashflowstatements.list({ + const result = await panora.accounting.addresses.list({ xConnectionToken: "", }); @@ -2943,11 +2950,11 @@ actions: } run(); - - target: $["paths"]["/accounting/incomestatements"]["get"] + - target: $["paths"]["/linked_users/fromRemoteId"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingIncomeStatement + label: remoteId source: |- import { Panora } from "@panora/sdk"; @@ -2956,8 +2963,8 @@ actions: }); async function run() { - const result = await panora.accounting.incomestatements.list({ - xConnectionToken: "", + const result = await panora.linkedUsers.fromremoteid.remoteId({ + remoteId: "", }); // Handle the result @@ -2965,11 +2972,11 @@ actions: } run(); - - target: $["paths"]["/hris/payrollruns"]["get"] + - target: $["paths"]["/hris/benefits/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisPayrollRuns + label: retrieveHrisBenefit source: |- import { Panora } from "@panora/sdk"; @@ -2978,8 +2985,9 @@ actions: }); async function run() { - const result = await panora.hris.payrollruns.list({ + const result = await panora.hris.benefits.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -2987,11 +2995,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/actions"]["get"] + - target: $["paths"]["/hris/groups/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationAction + label: retrieveHrisGroup source: |- import { Panora } from "@panora/sdk"; @@ -3000,8 +3008,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.actions.list({ + const result = await panora.hris.groups.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3009,11 +3018,11 @@ actions: } run(); - - target: $["paths"]["/ats/activities/{id}"]["get"] + - target: $["paths"]["/marketingautomation/contacts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsActivity + label: retrieveMarketingAutomationContact source: |- import { Panora } from "@panora/sdk"; @@ -3022,7 +3031,7 @@ actions: }); async function run() { - const result = await panora.ats.activities.retrieve({ + const result = await panora.marketingautomation.contacts.retrieve({ xConnectionToken: "", id: "", }); @@ -3032,11 +3041,11 @@ actions: } run(); - - target: $["paths"]["/ats/interviews"]["get"] + - target: $["paths"]["/ats/offices/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsInterview + label: retrieveAtsOffice source: |- import { Panora } from "@panora/sdk"; @@ -3045,8 +3054,9 @@ actions: }); async function run() { - const result = await panora.ats.interviews.list({ + const result = await panora.ats.offices.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3054,11 +3064,11 @@ actions: } run(); - - target: $["paths"]["/ats/jobs"]["get"] + - target: $["paths"]["/accounting/payments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsJob + label: retrieveAccountingPayment source: |- import { Panora } from "@panora/sdk"; @@ -3067,8 +3077,9 @@ actions: }); async function run() { - const result = await panora.ats.jobs.list({ + const result = await panora.accounting.payments.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3076,11 +3087,11 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffbalances"]["get"] + - target: $["paths"]["/hris/benefits"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisTimeoffbalance + label: listHrisBenefit source: |- import { Panora } from "@panora/sdk"; @@ -3089,7 +3100,7 @@ actions: }); async function run() { - const result = await panora.hris.timeoffbalances.list({ + const result = await panora.hris.benefits.list({ xConnectionToken: "", }); @@ -3098,11 +3109,11 @@ actions: } run(); - - target: $["paths"]["/accounting/cashflowstatements/{id}"]["get"] + - target: $["paths"]["/accounting/vendorcredits/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingCashflowStatement + label: retrieveAccountingVendorCredit source: |- import { Panora } from "@panora/sdk"; @@ -3111,7 +3122,7 @@ actions: }); async function run() { - const result = await panora.accounting.cashflowstatements.retrieve({ + const result = await panora.accounting.vendorcredits.retrieve({ xConnectionToken: "", id: "", }); @@ -3121,11 +3132,11 @@ actions: } run(); - - target: $["paths"]["/accounting/phonenumbers"]["get"] + - target: $["paths"]["/filestorage/files"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingPhonenumber + label: listFilestorageFile source: |- import { Panora } from "@panora/sdk"; @@ -3134,7 +3145,7 @@ actions: }); async function run() { - const result = await panora.accounting.phonenumbers.list({ + const result = await panora.filestorage.files.list({ xConnectionToken: "", }); @@ -3143,11 +3154,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/folders"]["post"] + - target: $["paths"]["/crm/companies"]["get"] update: x-codeSamples: - lang: typescript - label: createFilestorageFolder + label: listCrmCompany source: |- import { Panora } from "@panora/sdk"; @@ -3156,19 +3167,8 @@ actions: }); async function run() { - const result = await panora.filestorage.folders.create({ + const result = await panora.crm.companies.list({ xConnectionToken: "", - remoteData: false, - unifiedFilestorageFolderInput: { - name: "", - size: "", - folderUrl: "", - description: "Multi-tiered human-resource model", - driveId: "", - parentFolderId: "", - sharedLink: "", - permission: "", - }, }); // Handle the result @@ -3176,11 +3176,11 @@ actions: } run(); - - target: $["paths"]["/accounting/creditnotes"]["get"] + - target: $["paths"]["/hris/employees"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingCreditNote + label: createHrisEmployee source: |- import { Panora } from "@panora/sdk"; @@ -3189,8 +3189,9 @@ actions: }); async function run() { - const result = await panora.accounting.creditnotes.list({ + const result = await panora.hris.employees.create({ xConnectionToken: "", + unifiedHrisEmployeeInput: {}, }); // Handle the result @@ -3198,11 +3199,11 @@ actions: } run(); - - target: $["paths"]["/hris/benefits"]["get"] + - target: $["paths"]["/linked_users"]["get"] update: x-codeSamples: - lang: typescript - label: listHrisBenefit + label: listLinkedUsers source: |- import { Panora } from "@panora/sdk"; @@ -3211,20 +3212,18 @@ actions: }); async function run() { - const result = await panora.hris.benefits.list({ - xConnectionToken: "", - }); + const result = await panora.linkedUsers.list(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/marketingautomation/emails/{id}"]["get"] + - target: $["paths"]["/ats/scorecards/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationEmail + label: retrieveAtsScorecard source: |- import { Panora } from "@panora/sdk"; @@ -3233,7 +3232,7 @@ actions: }); async function run() { - const result = await panora.marketingautomation.emails.retrieve({ + const result = await panora.ats.scorecards.retrieve({ xConnectionToken: "", id: "", }); @@ -3243,11 +3242,11 @@ actions: } run(); - - target: $["paths"]["/accounting/invoices"]["post"] + - target: $["paths"]["/ats/eeocs"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingInvoice + label: listAtsEeocs source: |- import { Panora } from "@panora/sdk"; @@ -3256,9 +3255,8 @@ actions: }); async function run() { - const result = await panora.accounting.invoices.create({ + const result = await panora.ats.eeocs.list({ xConnectionToken: "", - unifiedAccountingInvoiceInput: {}, }); // Handle the result @@ -3266,11 +3264,11 @@ actions: } run(); - - target: $["paths"]["/accounting/journalentries"]["post"] + - target: $["paths"]["/accounting/cashflowstatements"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingJournalEntry + label: listAccountingCashflowStatement source: |- import { Panora } from "@panora/sdk"; @@ -3279,9 +3277,8 @@ actions: }); async function run() { - const result = await panora.accounting.journalentries.create({ + const result = await panora.accounting.cashflowstatements.list({ xConnectionToken: "", - unifiedAccountingJournalentryInput: {}, }); // Handle the result @@ -3289,11 +3286,11 @@ actions: } run(); - - target: $["paths"]["/accounting/purchaseorders"]["post"] + - target: $["paths"]["/ats/eeocs/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingPurchaseOrder + label: retrieveAtsEeocs source: |- import { Panora } from "@panora/sdk"; @@ -3302,9 +3299,9 @@ actions: }); async function run() { - const result = await panora.accounting.purchaseorders.create({ + const result = await panora.ats.eeocs.retrieve({ xConnectionToken: "", - unifiedAccountingPurchaseorderInput: {}, + id: "", }); // Handle the result @@ -3312,11 +3309,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/folders"]["get"] + - target: $["paths"]["/filestorage/groups/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listFilestorageFolder + label: retrieveFilestorageGroup source: |- import { Panora } from "@panora/sdk"; @@ -3325,8 +3322,9 @@ actions: }); async function run() { - const result = await panora.filestorage.folders.list({ + const result = await panora.filestorage.groups.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3334,11 +3332,11 @@ actions: } run(); - - target: $["paths"]["/accounting/creditnotes/{id}"]["get"] + - target: $["paths"]["/ticketing/accounts"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingCreditNote + label: listTicketingAccount source: |- import { Panora } from "@panora/sdk"; @@ -3347,9 +3345,8 @@ actions: }); async function run() { - const result = await panora.accounting.creditnotes.retrieve({ + const result = await panora.ticketing.accounts.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3357,11 +3354,11 @@ actions: } run(); - - target: $["paths"]["/accounting/transactions/{id}"]["get"] + - target: $["paths"]["/crm/tasks/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingTransaction + label: retrieveCrmTask source: |- import { Panora } from "@panora/sdk"; @@ -3370,7 +3367,7 @@ actions: }); async function run() { - const result = await panora.accounting.transactions.retrieve({ + const result = await panora.crm.tasks.retrieve({ xConnectionToken: "", id: "", }); @@ -3380,11 +3377,11 @@ actions: } run(); - - target: $["paths"]["/crm/notes"]["get"] + - target: $["paths"]["/ats/applications"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmNote + label: listAtsApplication source: |- import { Panora } from "@panora/sdk"; @@ -3393,7 +3390,7 @@ actions: }); async function run() { - const result = await panora.crm.notes.list({ + const result = await panora.ats.applications.list({ xConnectionToken: "", }); @@ -3402,11 +3399,11 @@ actions: } run(); - - target: $["paths"]["/hris/paygroups"]["get"] + - target: $["paths"]["/accounting/payments"]["post"] update: x-codeSamples: - lang: typescript - label: listHrisPaygroup + label: createAccountingPayment source: |- import { Panora } from "@panora/sdk"; @@ -3415,8 +3412,9 @@ actions: }); async function run() { - const result = await panora.hris.paygroups.list({ + const result = await panora.accounting.payments.create({ xConnectionToken: "", + unifiedAccountingPaymentInput: {}, }); // Handle the result @@ -3424,11 +3422,11 @@ actions: } run(); - - target: $["paths"]["/accounting/accounts"]["post"] + - target: $["paths"]["/crm/deals"]["post"] update: x-codeSamples: - lang: typescript - label: createAccountingAccount + label: createCrmDeal source: |- import { Panora } from "@panora/sdk"; @@ -3437,9 +3435,13 @@ actions: }); async function run() { - const result = await panora.accounting.accounts.create({ + const result = await panora.crm.deals.create({ xConnectionToken: "", - unifiedAccountingAccountInput: {}, + unifiedCrmDealInput: { + name: "", + description: "Multi-tiered human-resource model", + amount: 8592.13, + }, }); // Handle the result @@ -3447,11 +3449,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/lists"]["get"] + - target: $["paths"]["/accounting/journalentries"]["post"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationLists + label: createAccountingJournalEntry source: |- import { Panora } from "@panora/sdk"; @@ -3460,8 +3462,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.lists.list({ + const result = await panora.accounting.journalentries.create({ xConnectionToken: "", + unifiedAccountingJournalentryInput: {}, }); // Handle the result @@ -3469,11 +3472,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/users/{id}"]["get"] + - target: $["paths"]["/hris/employees"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingAutomationUser + label: listHrisEmployee source: |- import { Panora } from "@panora/sdk"; @@ -3482,9 +3485,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.users.retrieve({ + const result = await panora.hris.employees.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3492,11 +3494,11 @@ actions: } run(); - - target: $["paths"]["/ats/users/{id}"]["get"] + - target: $["paths"]["/ats/interviews"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAtsUser + label: createAtsInterview source: |- import { Panora } from "@panora/sdk"; @@ -3505,9 +3507,9 @@ actions: }); async function run() { - const result = await panora.ats.users.retrieve({ + const result = await panora.ats.interviews.create({ xConnectionToken: "", - id: "", + unifiedAtsInterviewInput: {}, }); // Handle the result @@ -3515,11 +3517,11 @@ actions: } run(); - - target: $["paths"]["/accounting/attachments/{id}"]["get"] + - target: $["paths"]["/hris/companies"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingAttachment + label: listHrisCompanys source: |- import { Panora } from "@panora/sdk"; @@ -3528,9 +3530,8 @@ actions: }); async function run() { - const result = await panora.accounting.attachments.retrieve({ + const result = await panora.hris.companies.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3538,11 +3539,11 @@ actions: } run(); - - target: $["paths"]["/accounting/balancesheets/{id}"]["get"] + - target: $["paths"]["/hris/employments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingBalanceSheet + label: retrieveHrisEmployment source: |- import { Panora } from "@panora/sdk"; @@ -3551,7 +3552,7 @@ actions: }); async function run() { - const result = await panora.accounting.balancesheets.retrieve({ + const result = await panora.hris.employments.retrieve({ xConnectionToken: "", id: "", }); @@ -3561,11 +3562,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/users/{id}"]["get"] + - target: $["paths"]["/marketingautomation/templates"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageUser + label: createMarketingautomationTemplate source: |- import { Panora } from "@panora/sdk"; @@ -3574,9 +3575,9 @@ actions: }); async function run() { - const result = await panora.filestorage.users.retrieve({ + const result = await panora.marketingautomation.templates.create({ xConnectionToken: "", - id: "", + unifiedMarketingautomationTemplateInput: {}, }); // Handle the result @@ -3584,11 +3585,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/teams/{id}"]["get"] + - target: $["paths"]["/accounting/phonenumbers/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingTeam + label: retrieveAccountingPhonenumber source: |- import { Panora } from "@panora/sdk"; @@ -3597,7 +3598,7 @@ actions: }); async function run() { - const result = await panora.ticketing.teams.retrieve({ + const result = await panora.accounting.phonenumbers.retrieve({ xConnectionToken: "", id: "", }); @@ -3607,11 +3608,11 @@ actions: } run(); - - target: $["paths"]["/accounting/vendorcredits/{id}"]["get"] + - target: $["paths"]["/hris/dependents"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingVendorCredit + label: listHrisDependents source: |- import { Panora } from "@panora/sdk"; @@ -3620,9 +3621,8 @@ actions: }); async function run() { - const result = await panora.accounting.vendorcredits.retrieve({ + const result = await panora.hris.dependents.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3630,11 +3630,11 @@ actions: } run(); - - target: $["paths"]["/webhooks/verifyEvent"]["post"] + - target: $["paths"]["/hris/dependents/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: verifyEvent + label: retrieveHrisDependent source: |- import { Panora } from "@panora/sdk"; @@ -3643,12 +3643,9 @@ actions: }); async function run() { - const result = await panora.webhooks.verifyEvent({ - payload: { - "key": "", - }, - signature: "", - secret: "", + const result = await panora.hris.dependents.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -3656,11 +3653,11 @@ actions: } run(); - - target: $["paths"]["/ats/rejectreasons"]["get"] + - target: $["paths"]["/ats/departments"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsRejectReasons + label: listAtsDepartments source: |- import { Panora } from "@panora/sdk"; @@ -3669,7 +3666,7 @@ actions: }); async function run() { - const result = await panora.ats.rejectreasons.list({ + const result = await panora.ats.departments.list({ xConnectionToken: "", }); @@ -3678,11 +3675,11 @@ actions: } run(); - - target: $["paths"]["/accounting/items"]["get"] + - target: $["paths"]["/sync/resync"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingItem + label: resync source: |- import { Panora } from "@panora/sdk"; @@ -3691,20 +3688,18 @@ actions: }); async function run() { - const result = await panora.accounting.items.list({ - xConnectionToken: "", - }); + const result = await panora.sync.resync(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/crm/contacts/{id}"]["get"] + - target: $["paths"]["/marketingautomation/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmContact + label: listMarketingAutomationContacts source: |- import { Panora } from "@panora/sdk"; @@ -3713,9 +3708,8 @@ actions: }); async function run() { - const result = await panora.crm.contacts.retrieve({ + const result = await panora.marketingautomation.contacts.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3723,11 +3717,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/templates/{id}"]["get"] + - target: $["paths"]["/marketingautomation/lists"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingautomationTemplate + label: listMarketingautomationLists source: |- import { Panora } from "@panora/sdk"; @@ -3736,9 +3730,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.templates.retrieve({ + const result = await panora.marketingautomation.lists.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3746,11 +3739,11 @@ actions: } run(); - - target: $["paths"]["/ats/applications/{id}"]["get"] + - target: $["paths"]["/ats/offices"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsApplication + label: listAtsOffice source: |- import { Panora } from "@panora/sdk"; @@ -3759,9 +3752,8 @@ actions: }); async function run() { - const result = await panora.ats.applications.retrieve({ + const result = await panora.ats.offices.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3769,11 +3761,11 @@ actions: } run(); - - target: $["paths"]["/accounting/purchaseorders"]["get"] + - target: $["paths"]["/accounting/accounts/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listAccountingPurchaseOrder + label: retrieveAccountingAccount source: |- import { Panora } from "@panora/sdk"; @@ -3782,8 +3774,9 @@ actions: }); async function run() { - const result = await panora.accounting.purchaseorders.list({ + const result = await panora.accounting.accounts.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -3791,11 +3784,11 @@ actions: } run(); - - target: $["paths"]["/sync/status/{vertical}"]["get"] + - target: $["paths"]["/webhooks"]["post"] update: x-codeSamples: - lang: typescript - label: status + label: createWebhookPublic source: |- import { Panora } from "@panora/sdk"; @@ -3804,8 +3797,11 @@ actions: }); async function run() { - const result = await panora.sync.status({ - vertical: "", + const result = await panora.webhooks.create({ + url: "http://limp-pastry.org", + scope: [ + "", + ], }); // Handle the result @@ -3813,11 +3809,11 @@ actions: } run(); - - target: $["paths"]["/ats/jobinterviewstages/{id}"]["get"] + - target: $["paths"]["/crm/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsJobInterviewStage + label: listCrmContacts source: |- import { Panora } from "@panora/sdk"; @@ -3826,9 +3822,8 @@ actions: }); async function run() { - const result = await panora.ats.jobinterviewstages.retrieve({ + const result = await panora.crm.contacts.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3836,11 +3831,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/users"]["get"] + - target: $["paths"]["/hris/bankinfos"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingUsers + label: listHrisBankinfo source: |- import { Panora } from "@panora/sdk"; @@ -3849,7 +3844,7 @@ actions: }); async function run() { - const result = await panora.ticketing.users.list({ + const result = await panora.hris.bankinfos.list({ xConnectionToken: "", }); @@ -3858,11 +3853,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/campaigns"]["post"] + - target: $["paths"]["/ats/users"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationCampaign + label: listAtsUsers source: |- import { Panora } from "@panora/sdk"; @@ -3871,9 +3866,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.campaigns.create({ + const result = await panora.ats.users.list({ xConnectionToken: "", - unifiedMarketingautomationCampaignInput: {}, }); // Handle the result @@ -3881,11 +3875,11 @@ actions: } run(); - - target: $["paths"]["/accounting/contacts"]["post"] + - target: $["paths"]["/accounting/taxrates/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingContact + label: retrieveAccountingTaxRate source: |- import { Panora } from "@panora/sdk"; @@ -3894,9 +3888,9 @@ actions: }); async function run() { - const result = await panora.accounting.contacts.create({ + const result = await panora.accounting.taxrates.retrieve({ xConnectionToken: "", - unifiedAccountingContactInput: {}, + id: "", }); // Handle the result @@ -3904,11 +3898,11 @@ actions: } run(); - - target: $["paths"]["/crm/companies/{id}"]["get"] + - target: $["paths"]["/accounting/transactions"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCrmCompany + label: listAccountingTransaction source: |- import { Panora } from "@panora/sdk"; @@ -3917,9 +3911,8 @@ actions: }); async function run() { - const result = await panora.crm.companies.retrieve({ + const result = await panora.accounting.transactions.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -3927,11 +3920,11 @@ actions: } run(); - - target: $["paths"]["/ats/candidates"]["get"] + - target: $["paths"]["/sync/status/{vertical}"]["get"] update: x-codeSamples: - lang: typescript - label: listAtsCandidate + label: status source: |- import { Panora } from "@panora/sdk"; @@ -3940,8 +3933,8 @@ actions: }); async function run() { - const result = await panora.ats.candidates.list({ - xConnectionToken: "", + const result = await panora.sync.status({ + vertical: "", }); // Handle the result @@ -3949,11 +3942,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/actions"]["post"] + - target: $["paths"]["/hris/paygroups/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createMarketingautomationAction + label: retrieveHrisPaygroup source: |- import { Panora } from "@panora/sdk"; @@ -3962,9 +3955,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.actions.create({ + const result = await panora.hris.paygroups.retrieve({ xConnectionToken: "", - unifiedMarketingautomationActionInput: {}, + id: "", }); // Handle the result @@ -3972,11 +3965,11 @@ actions: } run(); - - target: $["paths"]["/crm/engagements/{id}"]["get"] + - target: $["paths"]["/marketingautomation/lists"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveCrmEngagement + label: createMarketingautomationList source: |- import { Panora } from "@panora/sdk"; @@ -3985,9 +3978,9 @@ actions: }); async function run() { - const result = await panora.crm.engagements.retrieve({ + const result = await panora.marketingautomation.lists.create({ xConnectionToken: "", - id: "", + unifiedMarketingautomationListInput: {}, }); // Handle the result @@ -3995,11 +3988,11 @@ actions: } run(); - - target: $["paths"]["/hris/bankinfos/{id}"]["get"] + - target: $["paths"]["/ats/applications"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisBankinfo + label: createAtsApplication source: |- import { Panora } from "@panora/sdk"; @@ -4008,9 +4001,9 @@ actions: }); async function run() { - const result = await panora.hris.bankinfos.retrieve({ + const result = await panora.ats.applications.create({ xConnectionToken: "", - id: "", + unifiedAtsApplicationInput: {}, }); // Handle the result @@ -4018,11 +4011,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/contacts"]["get"] + - target: $["paths"]["/accounting/purchaseorders/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingAutomationContacts + label: retrieveAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; @@ -4031,8 +4024,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.contacts.list({ + const result = await panora.accounting.purchaseorders.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -4040,11 +4034,11 @@ actions: } run(); - - target: $["paths"]["/webhooks"]["post"] + - target: $["paths"]["/webhooks/verifyEvent"]["post"] update: x-codeSamples: - lang: typescript - label: createWebhookPublic + label: verifyEvent source: |- import { Panora } from "@panora/sdk"; @@ -4053,11 +4047,12 @@ actions: }); async function run() { - const result = await panora.webhooks.create({ - url: "http://limp-pastry.org", - scope: [ - "", - ], + const result = await panora.webhooks.verifyEvent({ + payload: { + "key": "", + }, + signature: "", + secret: "", }); // Handle the result @@ -4065,11 +4060,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/accounts"]["get"] + - target: $["paths"]["/accounting/creditnotes"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingAccount + label: listAccountingCreditNote source: |- import { Panora } from "@panora/sdk"; @@ -4078,7 +4073,7 @@ actions: }); async function run() { - const result = await panora.ticketing.accounts.list({ + const result = await panora.accounting.creditnotes.list({ xConnectionToken: "", }); @@ -4087,11 +4082,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/collections"]["get"] + - target: $["paths"]["/filestorage/folders"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingCollections + label: listFilestorageFolder source: |- import { Panora } from "@panora/sdk"; @@ -4100,7 +4095,7 @@ actions: }); async function run() { - const result = await panora.ticketing.collections.list({ + const result = await panora.filestorage.folders.list({ xConnectionToken: "", }); @@ -4109,11 +4104,11 @@ actions: } run(); - - target: $["paths"]["/linked_users/fromRemoteId"]["get"] + - target: $["paths"]["/ticketing/comments"]["get"] update: x-codeSamples: - lang: typescript - label: remoteId + label: listTicketingComments source: |- import { Panora } from "@panora/sdk"; @@ -4122,8 +4117,8 @@ actions: }); async function run() { - const result = await panora.linkedUsers.fromremoteid.remoteId({ - remoteId: "", + const result = await panora.ticketing.comments.list({ + xConnectionToken: "", }); // Handle the result @@ -4131,11 +4126,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/contacts/{id}"]["get"] + - target: $["paths"]["/accounting/accounts"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveMarketingAutomationContact + label: listAccountingAccounts source: |- import { Panora } from "@panora/sdk"; @@ -4144,9 +4139,8 @@ actions: }); async function run() { - const result = await panora.marketingautomation.contacts.retrieve({ + const result = await panora.accounting.accounts.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4154,11 +4148,11 @@ actions: } run(); - - target: $["paths"]["/webhooks/{id}"]["delete"] + - target: $["paths"]["/crm/engagements"]["post"] update: x-codeSamples: - lang: typescript - label: delete + label: createCrmEngagement source: |- import { Panora } from "@panora/sdk"; @@ -4167,8 +4161,11 @@ actions: }); async function run() { - const result = await panora.webhooks.delete({ - id: "", + const result = await panora.crm.engagements.create({ + xConnectionToken: "", + unifiedCrmEngagementInput: { + type: "", + }, }); // Handle the result @@ -4176,11 +4173,11 @@ actions: } run(); - - target: $["paths"]["/accounting/trackingcategories/{id}"]["get"] + - target: $["paths"]["/marketingautomation/automations"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingTrackingCategory + label: listMarketingautomationAutomation source: |- import { Panora } from "@panora/sdk"; @@ -4189,9 +4186,8 @@ actions: }); async function run() { - const result = await panora.accounting.trackingcategories.retrieve({ + const result = await panora.marketingautomation.automations.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4199,11 +4195,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/tags"]["get"] + - target: $["paths"]["/ats/activities/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingTags + label: retrieveAtsActivity source: |- import { Panora } from "@panora/sdk"; @@ -4212,8 +4208,9 @@ actions: }); async function run() { - const result = await panora.ticketing.tags.list({ + const result = await panora.ats.activities.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -4221,11 +4218,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/attachments"]["get"] + - target: $["paths"]["/ats/tags/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listTicketingAttachments + label: retrieveAtsTag source: |- import { Panora } from "@panora/sdk"; @@ -4234,8 +4231,9 @@ actions: }); async function run() { - const result = await panora.ticketing.attachments.list({ + const result = await panora.ats.tags.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -4243,11 +4241,11 @@ actions: } run(); - - target: $["paths"]["/sync/resync"]["post"] + - target: $["paths"]["/accounting/taxrates"]["get"] update: x-codeSamples: - lang: typescript - label: resync + label: listAccountingTaxRate source: |- import { Panora } from "@panora/sdk"; @@ -4256,18 +4254,20 @@ actions: }); async function run() { - const result = await panora.sync.resync(); + const result = await panora.accounting.taxrates.list({ + xConnectionToken: "", + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/linked_users/batch"]["post"] + - target: $["paths"]["/filestorage/files/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: importBatch + label: retrieveFilestorageFile source: |- import { Panora } from "@panora/sdk"; @@ -4276,11 +4276,9 @@ actions: }); async function run() { - const result = await panora.linkedUsers.batch.importBatch({ - linkedUserOriginIds: [ - "", - ], - alias: "", + const result = await panora.filestorage.files.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -4288,11 +4286,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/events"]["get"] + - target: $["paths"]["/marketingautomation/messages"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingAutomationEvents + label: listMarketingautomationMessages source: |- import { Panora } from "@panora/sdk"; @@ -4301,7 +4299,7 @@ actions: }); async function run() { - const result = await panora.marketingautomation.events.list({ + const result = await panora.marketingautomation.messages.list({ xConnectionToken: "", }); @@ -4310,11 +4308,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/groups/{id}"]["get"] + - target: $["paths"]["/accounting/incomestatements/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageGroup + label: retrieveAccountingIncomeStatement source: |- import { Panora } from "@panora/sdk"; @@ -4323,7 +4321,7 @@ actions: }); async function run() { - const result = await panora.filestorage.groups.retrieve({ + const result = await panora.accounting.incomestatements.retrieve({ xConnectionToken: "", id: "", }); @@ -4333,11 +4331,11 @@ actions: } run(); - - target: $["paths"]["/crm/stages/{id}"]["get"] + - target: $["paths"]["/crm/tasks"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveCrmStage + label: createCrmTask source: |- import { Panora } from "@panora/sdk"; @@ -4346,9 +4344,13 @@ actions: }); async function run() { - const result = await panora.crm.stages.retrieve({ + const result = await panora.crm.tasks.create({ xConnectionToken: "", - id: "", + unifiedCrmTaskInput: { + subject: "", + content: "", + status: "", + }, }); // Handle the result @@ -4356,11 +4358,11 @@ actions: } run(); - - target: $["paths"]["/hris/employerbenefits/{id}"]["get"] + - target: $["paths"]["/accounting/contacts"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisEmployerBenefit + label: createAccountingContact source: |- import { Panora } from "@panora/sdk"; @@ -4369,9 +4371,9 @@ actions: }); async function run() { - const result = await panora.hris.employerbenefits.retrieve({ + const result = await panora.accounting.contacts.create({ xConnectionToken: "", - id: "", + unifiedAccountingContactInput: {}, }); // Handle the result @@ -4379,11 +4381,11 @@ actions: } run(); - - target: $["paths"]["/ats/offices/{id}"]["get"] + - target: $["paths"]["/"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsOffice + label: hello source: |- import { Panora } from "@panora/sdk"; @@ -4392,21 +4394,18 @@ actions: }); async function run() { - const result = await panora.ats.offices.retrieve({ - xConnectionToken: "", - id: "", - }); + const result = await panora.hello(); // Handle the result console.log(result) } run(); - - target: $["paths"]["/accounting/expenses"]["post"] + - target: $["paths"]["/ticketing/collections"]["get"] update: x-codeSamples: - lang: typescript - label: createAccountingExpense + label: listTicketingCollections source: |- import { Panora } from "@panora/sdk"; @@ -4415,9 +4414,8 @@ actions: }); async function run() { - const result = await panora.accounting.expenses.create({ + const result = await panora.ticketing.collections.list({ xConnectionToken: "", - unifiedAccountingExpenseInput: {}, }); // Handle the result @@ -4425,11 +4423,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/files"]["post"] + - target: $["paths"]["/crm/stages/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: createFilestorageFile + label: retrieveCrmStage source: |- import { Panora } from "@panora/sdk"; @@ -4438,18 +4436,9 @@ actions: }); async function run() { - const result = await panora.filestorage.files.create({ + const result = await panora.crm.stages.retrieve({ xConnectionToken: "", - remoteData: false, - unifiedFilestorageFileInput: { - name: "", - fileUrl: "", - mimeType: "", - size: "", - folderId: "", - permission: "", - sharedLink: "", - }, + id: "", }); // Handle the result @@ -4457,11 +4446,11 @@ actions: } run(); - - target: $["paths"]["/hris/timeoffs/{id}"]["get"] + - target: $["paths"]["/linked_users/batch"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveHrisTimeoff + label: importBatch source: |- import { Panora } from "@panora/sdk"; @@ -4470,9 +4459,11 @@ actions: }); async function run() { - const result = await panora.hris.timeoffs.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.linkedUsers.batch.importBatch({ + linkedUserOriginIds: [ + "", + ], + alias: "", }); // Handle the result @@ -4480,21 +4471,28 @@ actions: } run(); - - target: $["paths"]["/accounting/trackingcategories"]["get"] + - target: $["paths"]["/passthrough"]["post"] update: x-codeSamples: - lang: typescript - label: listAccountingTrackingCategorys + label: request source: |- import { Panora } from "@panora/sdk"; + import { Method } from "@panora/sdk/models/components"; const panora = new Panora({ bearer: process.env.BEARER, }); async function run() { - const result = await panora.accounting.trackingcategories.list({ - xConnectionToken: "", + const result = await panora.passthrough.request({ + integrationId: "", + linkedUserId: "", + vertical: "", + passThroughRequestDto: { + method: Method.Get, + path: "/dev", + }, }); // Handle the result @@ -4502,11 +4500,11 @@ actions: } run(); - - target: $["paths"]["/filestorage/drives/{id}"]["get"] + - target: $["paths"]["/marketingautomation/actions"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveFilestorageDrive + label: createMarketingautomationAction source: |- import { Panora } from "@panora/sdk"; @@ -4515,9 +4513,9 @@ actions: }); async function run() { - const result = await panora.filestorage.drives.retrieve({ + const result = await panora.marketingautomation.actions.create({ xConnectionToken: "", - id: "", + unifiedMarketingautomationActionInput: {}, }); // Handle the result @@ -4525,11 +4523,11 @@ actions: } run(); - - target: $["paths"]["/field_mappings"]["post"] + - target: $["paths"]["/marketingautomation/emails/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: defineCustomField + label: retrieveMarketingautomationEmail source: |- import { Panora } from "@panora/sdk"; @@ -4538,14 +4536,9 @@ actions: }); async function run() { - const result = await panora.fieldMappings.defineCustomField({ - objectTypeOwner: "", - name: "", - description: "Balanced multimedia policy", - dataType: "point", - sourceCustomFieldId: "", - sourceProvider: "", - linkedUserId: "", + const result = await panora.marketingautomation.emails.retrieve({ + xConnectionToken: "", + id: "", }); // Handle the result @@ -4553,11 +4546,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/collections/{id}"]["get"] + - target: $["paths"]["/crm/deals"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveCollection + label: listCrmDeals source: |- import { Panora } from "@panora/sdk"; @@ -4566,9 +4559,8 @@ actions: }); async function run() { - const result = await panora.ticketing.collections.retrieve({ + const result = await panora.crm.deals.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4576,11 +4568,11 @@ actions: } run(); - - target: $["paths"]["/ticketing/tags/{id}"]["get"] + - target: $["paths"]["/hris/employments"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveTicketingTag + label: listHrisEmployment source: |- import { Panora } from "@panora/sdk"; @@ -4589,9 +4581,8 @@ actions: }); async function run() { - const result = await panora.ticketing.tags.retrieve({ + const result = await panora.hris.employments.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4599,11 +4590,11 @@ actions: } run(); - - target: $["paths"]["/crm/companies"]["get"] + - target: $["paths"]["/accounting/purchaseorders"]["get"] update: x-codeSamples: - lang: typescript - label: listCrmCompany + label: listAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; @@ -4612,7 +4603,7 @@ actions: }); async function run() { - const result = await panora.crm.companies.list({ + const result = await panora.accounting.purchaseorders.list({ xConnectionToken: "", }); @@ -4621,11 +4612,11 @@ actions: } run(); - - target: $["paths"]["/linked_users"]["get"] + - target: $["paths"]["/ticketing/attachments"]["post"] update: x-codeSamples: - lang: typescript - label: listLinkedUsers + label: createTicketingAttachment source: |- import { Panora } from "@panora/sdk"; @@ -4634,18 +4625,25 @@ actions: }); async function run() { - const result = await panora.linkedUsers.list(); + const result = await panora.ticketing.attachments.create({ + xConnectionToken: "", + unifiedTicketingAttachmentInput: { + fileName: "your_file_here", + fileUrl: "", + uploader: "", + }, + }); // Handle the result console.log(result) } run(); - - target: $["paths"]["/marketingautomation/automations"]["get"] + - target: $["paths"]["/accounting/addresses/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationAutomation + label: retrieveAccountingAddress source: |- import { Panora } from "@panora/sdk"; @@ -4654,8 +4652,9 @@ actions: }); async function run() { - const result = await panora.marketingautomation.automations.list({ + const result = await panora.accounting.addresses.retrieve({ xConnectionToken: "", + id: "", }); // Handle the result @@ -4663,11 +4662,11 @@ actions: } run(); - - target: $["paths"]["/ats/interviews/{id}"]["get"] + - target: $["paths"]["/accounting/contacts"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsInterview + label: listAccountingContacts source: |- import { Panora } from "@panora/sdk"; @@ -4676,9 +4675,8 @@ actions: }); async function run() { - const result = await panora.ats.interviews.retrieve({ + const result = await panora.accounting.contacts.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4686,11 +4684,11 @@ actions: } run(); - - target: $["paths"]["/accounting/incomestatements/{id}"]["get"] + - target: $["paths"]["/field_mappings/map"]["post"] update: x-codeSamples: - lang: typescript - label: retrieveAccountingIncomeStatement + label: map source: |- import { Panora } from "@panora/sdk"; @@ -4699,9 +4697,11 @@ actions: }); async function run() { - const result = await panora.accounting.incomestatements.retrieve({ - xConnectionToken: "", - id: "", + const result = await panora.fieldMappings.map.map({ + attributeId: "", + sourceCustomFieldId: "", + sourceProvider: "", + linkedUserId: "", }); // Handle the result @@ -4709,11 +4709,11 @@ actions: } run(); - - target: $["paths"]["/hris/dependents/{id}"]["get"] + - target: $["paths"]["/hris/locations"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveHrisDependent + label: listHrisLocation source: |- import { Panora } from "@panora/sdk"; @@ -4722,9 +4722,8 @@ actions: }); async function run() { - const result = await panora.hris.dependents.retrieve({ + const result = await panora.hris.locations.list({ xConnectionToken: "", - id: "", }); // Handle the result @@ -4732,11 +4731,11 @@ actions: } run(); - - target: $["paths"]["/webhooks/{id}"]["put"] + - target: $["paths"]["/marketingautomation/users/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: updateStatus + label: retrieveMarketingAutomationUser source: |- import { Panora } from "@panora/sdk"; @@ -4745,7 +4744,8 @@ actions: }); async function run() { - const result = await panora.webhooks.updateStatus({ + const result = await panora.marketingautomation.users.retrieve({ + xConnectionToken: "", id: "", }); @@ -4754,11 +4754,11 @@ actions: } run(); - - target: $["paths"]["/marketingautomation/messages"]["get"] + - target: $["paths"]["/accounting/vendorcredits"]["get"] update: x-codeSamples: - lang: typescript - label: listMarketingautomationMessages + label: listAccountingVendorCredit source: |- import { Panora } from "@panora/sdk"; @@ -4767,7 +4767,7 @@ actions: }); async function run() { - const result = await panora.marketingautomation.messages.list({ + const result = await panora.accounting.vendorcredits.list({ xConnectionToken: "", }); @@ -4776,11 +4776,11 @@ actions: } run(); - - target: $["paths"]["/ats/candidates/{id}"]["get"] + - target: $["paths"]["/ats/departments/{id}"]["get"] update: x-codeSamples: - lang: typescript - label: retrieveAtsCandidate + label: retrieveAtsDepartment source: |- import { Panora } from "@panora/sdk"; @@ -4789,7 +4789,7 @@ actions: }); async function run() { - const result = await panora.ats.candidates.retrieve({ + const result = await panora.ats.departments.retrieve({ xConnectionToken: "", id: "", }); diff --git a/docs/models/operations/healthresponse.md b/docs/models/operations/healthresponse.md index 74f96c03..0f1cc97b 100644 --- a/docs/models/operations/healthresponse.md +++ b/docs/models/operations/healthresponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `object` | [operations.HealthResponseBody](../../models/operations/healthresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | +| `number` | *number* | :heavy_minus_sign: | API is healthy | 200 | \ No newline at end of file diff --git a/docs/models/operations/healthresponsebody.md b/docs/models/operations/healthresponsebody.md deleted file mode 100644 index 93e2e2aa..00000000 --- a/docs/models/operations/healthresponsebody.md +++ /dev/null @@ -1,8 +0,0 @@ -# HealthResponseBody - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `code` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/helloresponse.md b/docs/models/operations/helloresponse.md index e9df5f79..42c02063 100644 --- a/docs/models/operations/helloresponse.md +++ b/docs/models/operations/helloresponse.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `object` | [operations.HelloResponseBody](../../models/operations/helloresponsebody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `httpMeta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `res` | *string* | :heavy_minus_sign: | Returns a greeting message | \ No newline at end of file diff --git a/docs/models/operations/helloresponsebody.md b/docs/models/operations/helloresponsebody.md deleted file mode 100644 index ed05ffc6..00000000 --- a/docs/models/operations/helloresponsebody.md +++ /dev/null @@ -1,8 +0,0 @@ -# HelloResponseBody - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `message` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdks/companies/README.md b/docs/sdks/companies/README.md index caccb267..66408557 100644 --- a/docs/sdks/companies/README.md +++ b/docs/sdks/companies/README.md @@ -3,13 +3,13 @@ ### Available Operations -* [list](#list) - List Companies +* [list](#list) - List Companies * [create](#create) - Create Companies * [retrieve](#retrieve) - Retrieve Companies ## list -List Companies +List Companies ### Example Usage diff --git a/jsr.json b/jsr.json index f8613864..e5ca3556 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@panora/sdk", - "version": "0.4.0", + "version": "0.4.1", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index fcc35922..3aece28e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@panora/sdk", - "version": "0.4.0", + "version": "0.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@panora/sdk", - "version": "0.4.0", + "version": "0.4.1", "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/package.json b/package.json index f1f7d48e..38d655c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@panora/sdk", - "version": "0.4.0", + "version": "0.4.1", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/lib/config.ts b/src/lib/config.ts index b442af3a..8b522065 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -63,7 +63,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "1.0", - sdkVersion: "0.4.0", + sdkVersion: "0.4.1", genVersion: "2.384.4", - userAgent: "speakeasy-sdk/typescript 0.4.0 2.384.4 1.0 @panora/sdk", + userAgent: "speakeasy-sdk/typescript 0.4.1 2.384.4 1.0 @panora/sdk", } as const; diff --git a/src/models/operations/health.ts b/src/models/operations/health.ts index 900ea474..438a478b 100644 --- a/src/models/operations/health.ts +++ b/src/models/operations/health.ts @@ -6,56 +6,19 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; import * as z from "zod"; -export type HealthResponseBody = { - code?: number | undefined; -}; - export type HealthResponse = { httpMeta: components.HTTPMetadata; - object?: HealthResponseBody | undefined; + /** + * API is healthy + */ + number?: number | undefined; }; -/** @internal */ -export const HealthResponseBody$inboundSchema: z.ZodType< - HealthResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - code: z.number().optional(), -}); - -/** @internal */ -export type HealthResponseBody$Outbound = { - code?: number | undefined; -}; - -/** @internal */ -export const HealthResponseBody$outboundSchema: z.ZodType< - HealthResponseBody$Outbound, - z.ZodTypeDef, - HealthResponseBody -> = z.object({ - code: z.number().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace HealthResponseBody$ { - /** @deprecated use `HealthResponseBody$inboundSchema` instead. */ - export const inboundSchema = HealthResponseBody$inboundSchema; - /** @deprecated use `HealthResponseBody$outboundSchema` instead. */ - export const outboundSchema = HealthResponseBody$outboundSchema; - /** @deprecated use `HealthResponseBody$Outbound` instead. */ - export type Outbound = HealthResponseBody$Outbound; -} - /** @internal */ export const HealthResponse$inboundSchema: z.ZodType = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, - object: z.lazy(() => HealthResponseBody$inboundSchema).optional(), + number: z.number().optional(), }) .transform((v) => { return remap$(v, { @@ -66,7 +29,7 @@ export const HealthResponse$inboundSchema: z.ZodType = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, - object: z.lazy(() => HealthResponseBody$outboundSchema).optional(), + number: z.number().optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/operations/hello.ts b/src/models/operations/hello.ts index 9292b820..bad947dd 100644 --- a/src/models/operations/hello.ts +++ b/src/models/operations/hello.ts @@ -6,53 +6,19 @@ import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; import * as z from "zod"; -export type HelloResponseBody = { - message?: string | undefined; -}; - export type HelloResponse = { httpMeta: components.HTTPMetadata; - object?: HelloResponseBody | undefined; + /** + * Returns a greeting message + */ + res?: string | undefined; }; -/** @internal */ -export const HelloResponseBody$inboundSchema: z.ZodType = - z.object({ - message: z.string().optional(), - }); - -/** @internal */ -export type HelloResponseBody$Outbound = { - message?: string | undefined; -}; - -/** @internal */ -export const HelloResponseBody$outboundSchema: z.ZodType< - HelloResponseBody$Outbound, - z.ZodTypeDef, - HelloResponseBody -> = z.object({ - message: z.string().optional(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace HelloResponseBody$ { - /** @deprecated use `HelloResponseBody$inboundSchema` instead. */ - export const inboundSchema = HelloResponseBody$inboundSchema; - /** @deprecated use `HelloResponseBody$outboundSchema` instead. */ - export const outboundSchema = HelloResponseBody$outboundSchema; - /** @deprecated use `HelloResponseBody$Outbound` instead. */ - export type Outbound = HelloResponseBody$Outbound; -} - /** @internal */ export const HelloResponse$inboundSchema: z.ZodType = z .object({ HttpMeta: components.HTTPMetadata$inboundSchema, - object: z.lazy(() => HelloResponseBody$inboundSchema).optional(), + res: z.string().optional(), }) .transform((v) => { return remap$(v, { @@ -63,7 +29,7 @@ export const HelloResponse$inboundSchema: z.ZodType = z .object({ httpMeta: components.HTTPMetadata$outboundSchema, - object: z.lazy(() => HelloResponseBody$outboundSchema).optional(), + res: z.string().optional(), }) .transform((v) => { return remap$(v, { diff --git a/src/models/operations/listaccountingaccounts.ts b/src/models/operations/listaccountingaccounts.ts index 5570db11..4d31277a 100644 --- a/src/models/operations/listaccountingaccounts.ts +++ b/src/models/operations/listaccountingaccounts.ts @@ -26,8 +26,8 @@ export type ListAccountingAccountsRequest = { }; export type ListAccountingAccountsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingAccountsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingAccountOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingAccountsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingAccountsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingAccountsResponseBody$outboundSchema: z.ZodType< ListAccountingAccountsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingAccountOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingaddress.ts b/src/models/operations/listaccountingaddress.ts index 2b310449..f68bb2a9 100644 --- a/src/models/operations/listaccountingaddress.ts +++ b/src/models/operations/listaccountingaddress.ts @@ -26,8 +26,8 @@ export type ListAccountingAddressRequest = { }; export type ListAccountingAddressResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingAddressResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingAddressOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingAddressResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingAddressResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingAddressResponseBody$outboundSchema: z.ZodType< ListAccountingAddressResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingAddressOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingattachments.ts b/src/models/operations/listaccountingattachments.ts index 23c03099..28bcc36b 100644 --- a/src/models/operations/listaccountingattachments.ts +++ b/src/models/operations/listaccountingattachments.ts @@ -26,8 +26,8 @@ export type ListAccountingAttachmentsRequest = { }; export type ListAccountingAttachmentsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingAttachmentsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingAttachmentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingAttachmentsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingAttachmentsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingAttachmentsResponseBody$outboundSchema: z.ZodType< ListAccountingAttachmentsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingAttachmentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingbalancesheets.ts b/src/models/operations/listaccountingbalancesheets.ts index 00098e05..2f551b44 100644 --- a/src/models/operations/listaccountingbalancesheets.ts +++ b/src/models/operations/listaccountingbalancesheets.ts @@ -26,8 +26,8 @@ export type ListAccountingBalanceSheetsRequest = { }; export type ListAccountingBalanceSheetsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingBalanceSheetsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingBalancesheetOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingBalanceSheetsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingBalanceSheetsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingBalanceSheetsResponseBody$outboundSchema: z.ZodType< ListAccountingBalanceSheetsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingBalancesheetOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingcashflowstatement.ts b/src/models/operations/listaccountingcashflowstatement.ts index 595f3817..4540ac84 100644 --- a/src/models/operations/listaccountingcashflowstatement.ts +++ b/src/models/operations/listaccountingcashflowstatement.ts @@ -26,8 +26,8 @@ export type ListAccountingCashflowStatementRequest = { }; export type ListAccountingCashflowStatementResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingCashflowStatementResponseBody$inboundSchema: z.ZodTyp unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingCashflowstatementOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingCashflowStatementResponseBody$inboundSchema: z.ZodTyp /** @internal */ export type ListAccountingCashflowStatementResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingCashflowStatementResponseBody$outboundSchema: z.ZodTy ListAccountingCashflowStatementResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingCashflowstatementOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingcompanyinfos.ts b/src/models/operations/listaccountingcompanyinfos.ts index fb0d7025..cc9353a1 100644 --- a/src/models/operations/listaccountingcompanyinfos.ts +++ b/src/models/operations/listaccountingcompanyinfos.ts @@ -26,8 +26,8 @@ export type ListAccountingCompanyInfosRequest = { }; export type ListAccountingCompanyInfosResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingCompanyInfosResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingCompanyinfoOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingCompanyInfosResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingCompanyInfosResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingCompanyInfosResponseBody$outboundSchema: z.ZodType< ListAccountingCompanyInfosResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingCompanyinfoOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingcontacts.ts b/src/models/operations/listaccountingcontacts.ts index 39311c51..a0f502e1 100644 --- a/src/models/operations/listaccountingcontacts.ts +++ b/src/models/operations/listaccountingcontacts.ts @@ -26,8 +26,8 @@ export type ListAccountingContactsRequest = { }; export type ListAccountingContactsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingContactsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingContactOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingContactsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingContactsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingContactsResponseBody$outboundSchema: z.ZodType< ListAccountingContactsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingContactOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingcreditnote.ts b/src/models/operations/listaccountingcreditnote.ts index 2076fdcd..f57b0369 100644 --- a/src/models/operations/listaccountingcreditnote.ts +++ b/src/models/operations/listaccountingcreditnote.ts @@ -26,8 +26,8 @@ export type ListAccountingCreditNoteRequest = { }; export type ListAccountingCreditNoteResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingCreditNoteResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingCreditnoteOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingCreditNoteResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingCreditNoteResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingCreditNoteResponseBody$outboundSchema: z.ZodType< ListAccountingCreditNoteResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingCreditnoteOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingexpense.ts b/src/models/operations/listaccountingexpense.ts index 696d4149..f7dc4e74 100644 --- a/src/models/operations/listaccountingexpense.ts +++ b/src/models/operations/listaccountingexpense.ts @@ -26,8 +26,8 @@ export type ListAccountingExpenseRequest = { }; export type ListAccountingExpenseResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingExpenseResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingExpenseOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingExpenseResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingExpenseResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingExpenseResponseBody$outboundSchema: z.ZodType< ListAccountingExpenseResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingExpenseOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingincomestatement.ts b/src/models/operations/listaccountingincomestatement.ts index 3ae06038..ff2ba76e 100644 --- a/src/models/operations/listaccountingincomestatement.ts +++ b/src/models/operations/listaccountingincomestatement.ts @@ -26,8 +26,8 @@ export type ListAccountingIncomeStatementRequest = { }; export type ListAccountingIncomeStatementResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingIncomeStatementResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingIncomestatementOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingIncomeStatementResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingIncomeStatementResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingIncomeStatementResponseBody$outboundSchema: z.ZodType ListAccountingIncomeStatementResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingIncomestatementOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountinginvoice.ts b/src/models/operations/listaccountinginvoice.ts index cd822b3e..6ea39340 100644 --- a/src/models/operations/listaccountinginvoice.ts +++ b/src/models/operations/listaccountinginvoice.ts @@ -26,8 +26,8 @@ export type ListAccountingInvoiceRequest = { }; export type ListAccountingInvoiceResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingInvoiceResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingInvoiceOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingInvoiceResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingInvoiceResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingInvoiceResponseBody$outboundSchema: z.ZodType< ListAccountingInvoiceResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingInvoiceOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingitem.ts b/src/models/operations/listaccountingitem.ts index c9c582db..5554c413 100644 --- a/src/models/operations/listaccountingitem.ts +++ b/src/models/operations/listaccountingitem.ts @@ -26,8 +26,8 @@ export type ListAccountingItemRequest = { }; export type ListAccountingItemResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingItemResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingItemOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingItemResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingItemResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingItemResponseBody$outboundSchema: z.ZodType< ListAccountingItemResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingItemOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingjournalentry.ts b/src/models/operations/listaccountingjournalentry.ts index 813c46de..08f586ee 100644 --- a/src/models/operations/listaccountingjournalentry.ts +++ b/src/models/operations/listaccountingjournalentry.ts @@ -26,8 +26,8 @@ export type ListAccountingJournalEntryRequest = { }; export type ListAccountingJournalEntryResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingJournalEntryResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingJournalentryOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingJournalEntryResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingJournalEntryResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingJournalEntryResponseBody$outboundSchema: z.ZodType< ListAccountingJournalEntryResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingJournalentryOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingpayment.ts b/src/models/operations/listaccountingpayment.ts index 282cf076..8cba2bdd 100644 --- a/src/models/operations/listaccountingpayment.ts +++ b/src/models/operations/listaccountingpayment.ts @@ -26,8 +26,8 @@ export type ListAccountingPaymentRequest = { }; export type ListAccountingPaymentResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingPaymentResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingPaymentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingPaymentResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingPaymentResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingPaymentResponseBody$outboundSchema: z.ZodType< ListAccountingPaymentResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingPaymentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingphonenumber.ts b/src/models/operations/listaccountingphonenumber.ts index e58b5331..06aa58ae 100644 --- a/src/models/operations/listaccountingphonenumber.ts +++ b/src/models/operations/listaccountingphonenumber.ts @@ -26,8 +26,8 @@ export type ListAccountingPhonenumberRequest = { }; export type ListAccountingPhonenumberResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingPhonenumberResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingPhonenumberOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingPhonenumberResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingPhonenumberResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingPhonenumberResponseBody$outboundSchema: z.ZodType< ListAccountingPhonenumberResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingPhonenumberOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingpurchaseorder.ts b/src/models/operations/listaccountingpurchaseorder.ts index d85e790b..5403c978 100644 --- a/src/models/operations/listaccountingpurchaseorder.ts +++ b/src/models/operations/listaccountingpurchaseorder.ts @@ -26,8 +26,8 @@ export type ListAccountingPurchaseOrderRequest = { }; export type ListAccountingPurchaseOrderResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingPurchaseOrderResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingPurchaseorderOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingPurchaseOrderResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingPurchaseOrderResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingPurchaseOrderResponseBody$outboundSchema: z.ZodType< ListAccountingPurchaseOrderResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingPurchaseorderOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingtaxrate.ts b/src/models/operations/listaccountingtaxrate.ts index 6ddabca5..521a7560 100644 --- a/src/models/operations/listaccountingtaxrate.ts +++ b/src/models/operations/listaccountingtaxrate.ts @@ -26,8 +26,8 @@ export type ListAccountingTaxRateRequest = { }; export type ListAccountingTaxRateResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingTaxRateResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingTaxrateOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingTaxRateResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingTaxRateResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingTaxRateResponseBody$outboundSchema: z.ZodType< ListAccountingTaxRateResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingTaxrateOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingtrackingcategorys.ts b/src/models/operations/listaccountingtrackingcategorys.ts index 047e400d..17a164df 100644 --- a/src/models/operations/listaccountingtrackingcategorys.ts +++ b/src/models/operations/listaccountingtrackingcategorys.ts @@ -26,8 +26,8 @@ export type ListAccountingTrackingCategorysRequest = { }; export type ListAccountingTrackingCategorysResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingTrackingCategorysResponseBody$inboundSchema: z.ZodTyp unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingTrackingcategoryOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingTrackingCategorysResponseBody$inboundSchema: z.ZodTyp /** @internal */ export type ListAccountingTrackingCategorysResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingTrackingCategorysResponseBody$outboundSchema: z.ZodTy ListAccountingTrackingCategorysResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingTrackingcategoryOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingtransaction.ts b/src/models/operations/listaccountingtransaction.ts index a90038ae..88b3f502 100644 --- a/src/models/operations/listaccountingtransaction.ts +++ b/src/models/operations/listaccountingtransaction.ts @@ -26,8 +26,8 @@ export type ListAccountingTransactionRequest = { }; export type ListAccountingTransactionResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingTransactionResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingTransactionOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingTransactionResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingTransactionResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingTransactionResponseBody$outboundSchema: z.ZodType< ListAccountingTransactionResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingTransactionOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listaccountingvendorcredit.ts b/src/models/operations/listaccountingvendorcredit.ts index 5d311fce..2ecf31e3 100644 --- a/src/models/operations/listaccountingvendorcredit.ts +++ b/src/models/operations/listaccountingvendorcredit.ts @@ -26,8 +26,8 @@ export type ListAccountingVendorCreditRequest = { }; export type ListAccountingVendorCreditResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAccountingVendorCreditResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingVendorcreditOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAccountingVendorCreditResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAccountingVendorCreditResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAccountingVendorCreditResponseBody$outboundSchema: z.ZodType< ListAccountingVendorCreditResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAccountingVendorcreditOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsactivity.ts b/src/models/operations/listatsactivity.ts index f147284d..94f6fb72 100644 --- a/src/models/operations/listatsactivity.ts +++ b/src/models/operations/listatsactivity.ts @@ -26,8 +26,8 @@ export type ListAtsActivityRequest = { }; export type ListAtsActivityResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsActivityResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsActivityOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsActivityResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsActivityResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsActivityResponseBody$outboundSchema: z.ZodType< ListAtsActivityResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsActivityOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsapplication.ts b/src/models/operations/listatsapplication.ts index 5d1b0774..d53f9a5d 100644 --- a/src/models/operations/listatsapplication.ts +++ b/src/models/operations/listatsapplication.ts @@ -26,8 +26,8 @@ export type ListAtsApplicationRequest = { }; export type ListAtsApplicationResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsApplicationResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsApplicationOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsApplicationResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsApplicationResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsApplicationResponseBody$outboundSchema: z.ZodType< ListAtsApplicationResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsApplicationOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsattachment.ts b/src/models/operations/listatsattachment.ts index bf45ecbf..fab2ab98 100644 --- a/src/models/operations/listatsattachment.ts +++ b/src/models/operations/listatsattachment.ts @@ -26,8 +26,8 @@ export type ListAtsAttachmentRequest = { }; export type ListAtsAttachmentResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsAttachmentResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsAttachmentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsAttachmentResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsAttachmentResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsAttachmentResponseBody$outboundSchema: z.ZodType< ListAtsAttachmentResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsAttachmentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatscandidate.ts b/src/models/operations/listatscandidate.ts index 801d53a6..327a3fad 100644 --- a/src/models/operations/listatscandidate.ts +++ b/src/models/operations/listatscandidate.ts @@ -26,8 +26,8 @@ export type ListAtsCandidateRequest = { }; export type ListAtsCandidateResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsCandidateResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsCandidateOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsCandidateResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsCandidateResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsCandidateResponseBody$outboundSchema: z.ZodType< ListAtsCandidateResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsCandidateOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsdepartments.ts b/src/models/operations/listatsdepartments.ts index 02afc7ab..d694f904 100644 --- a/src/models/operations/listatsdepartments.ts +++ b/src/models/operations/listatsdepartments.ts @@ -26,8 +26,8 @@ export type ListAtsDepartmentsRequest = { }; export type ListAtsDepartmentsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsDepartmentsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsDepartmentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsDepartmentsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsDepartmentsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsDepartmentsResponseBody$outboundSchema: z.ZodType< ListAtsDepartmentsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsDepartmentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatseeocs.ts b/src/models/operations/listatseeocs.ts index 0ff01deb..b24fb2f2 100644 --- a/src/models/operations/listatseeocs.ts +++ b/src/models/operations/listatseeocs.ts @@ -26,8 +26,8 @@ export type ListAtsEeocsRequest = { }; export type ListAtsEeocsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsEeocsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsEeocsOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsEeocsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsEeocsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsEeocsResponseBody$outboundSchema: z.ZodType< ListAtsEeocsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsEeocsOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsinterview.ts b/src/models/operations/listatsinterview.ts index 916fe06e..fe06c624 100644 --- a/src/models/operations/listatsinterview.ts +++ b/src/models/operations/listatsinterview.ts @@ -26,8 +26,8 @@ export type ListAtsInterviewRequest = { }; export type ListAtsInterviewResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsInterviewResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsInterviewOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsInterviewResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsInterviewResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsInterviewResponseBody$outboundSchema: z.ZodType< ListAtsInterviewResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsInterviewOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsjob.ts b/src/models/operations/listatsjob.ts index 2d7b11c2..9498bdd8 100644 --- a/src/models/operations/listatsjob.ts +++ b/src/models/operations/listatsjob.ts @@ -26,8 +26,8 @@ export type ListAtsJobRequest = { }; export type ListAtsJobResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -99,8 +99,8 @@ export const ListAtsJobResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsJobOutput$inboundSchema), }) .transform((v) => { @@ -112,8 +112,8 @@ export const ListAtsJobResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsJobResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -124,8 +124,8 @@ export const ListAtsJobResponseBody$outboundSchema: z.ZodType< ListAtsJobResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsJobOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsjobinterviewstage.ts b/src/models/operations/listatsjobinterviewstage.ts index 7cc9919f..faae68f8 100644 --- a/src/models/operations/listatsjobinterviewstage.ts +++ b/src/models/operations/listatsjobinterviewstage.ts @@ -26,8 +26,8 @@ export type ListAtsJobInterviewStageRequest = { }; export type ListAtsJobInterviewStageResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsJobInterviewStageResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsJobinterviewstageOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsJobInterviewStageResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsJobInterviewStageResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsJobInterviewStageResponseBody$outboundSchema: z.ZodType< ListAtsJobInterviewStageResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsJobinterviewstageOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsoffer.ts b/src/models/operations/listatsoffer.ts index 6d0c5ddd..915b067b 100644 --- a/src/models/operations/listatsoffer.ts +++ b/src/models/operations/listatsoffer.ts @@ -26,8 +26,8 @@ export type ListAtsOfferRequest = { }; export type ListAtsOfferResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsOfferResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsOfferOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsOfferResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsOfferResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsOfferResponseBody$outboundSchema: z.ZodType< ListAtsOfferResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsOfferOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsoffice.ts b/src/models/operations/listatsoffice.ts index 44568006..1e218a52 100644 --- a/src/models/operations/listatsoffice.ts +++ b/src/models/operations/listatsoffice.ts @@ -26,8 +26,8 @@ export type ListAtsOfficeRequest = { }; export type ListAtsOfficeResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsOfficeResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsOfficeOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsOfficeResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsOfficeResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsOfficeResponseBody$outboundSchema: z.ZodType< ListAtsOfficeResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsOfficeOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsrejectreasons.ts b/src/models/operations/listatsrejectreasons.ts index 0e22c4b8..499ab59e 100644 --- a/src/models/operations/listatsrejectreasons.ts +++ b/src/models/operations/listatsrejectreasons.ts @@ -26,8 +26,8 @@ export type ListAtsRejectReasonsRequest = { }; export type ListAtsRejectReasonsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsRejectReasonsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsRejectreasonOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsRejectReasonsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsRejectReasonsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsRejectReasonsResponseBody$outboundSchema: z.ZodType< ListAtsRejectReasonsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsRejectreasonOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsscorecard.ts b/src/models/operations/listatsscorecard.ts index 8217c404..6ffc168e 100644 --- a/src/models/operations/listatsscorecard.ts +++ b/src/models/operations/listatsscorecard.ts @@ -26,8 +26,8 @@ export type ListAtsScorecardRequest = { }; export type ListAtsScorecardResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsScorecardResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsScorecardOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsScorecardResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsScorecardResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsScorecardResponseBody$outboundSchema: z.ZodType< ListAtsScorecardResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsScorecardOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatstags.ts b/src/models/operations/listatstags.ts index 438bc438..97465086 100644 --- a/src/models/operations/listatstags.ts +++ b/src/models/operations/listatstags.ts @@ -26,8 +26,8 @@ export type ListAtsTagsRequest = { }; export type ListAtsTagsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsTagsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsTagOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsTagsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsTagsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsTagsResponseBody$outboundSchema: z.ZodType< ListAtsTagsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsTagOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listatsusers.ts b/src/models/operations/listatsusers.ts index dcd4f722..db9c0c06 100644 --- a/src/models/operations/listatsusers.ts +++ b/src/models/operations/listatsusers.ts @@ -26,8 +26,8 @@ export type ListAtsUsersRequest = { }; export type ListAtsUsersResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListAtsUsersResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsUserOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListAtsUsersResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListAtsUsersResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListAtsUsersResponseBody$outboundSchema: z.ZodType< ListAtsUsersResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedAtsUserOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmcompany.ts b/src/models/operations/listcrmcompany.ts index d31a6066..4efae299 100644 --- a/src/models/operations/listcrmcompany.ts +++ b/src/models/operations/listcrmcompany.ts @@ -26,8 +26,8 @@ export type ListCrmCompanyRequest = { }; export type ListCrmCompanyResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmCompanyResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmCompanyOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmCompanyResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmCompanyResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmCompanyResponseBody$outboundSchema: z.ZodType< ListCrmCompanyResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmCompanyOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmcontacts.ts b/src/models/operations/listcrmcontacts.ts index 317ac560..53c3c9a9 100644 --- a/src/models/operations/listcrmcontacts.ts +++ b/src/models/operations/listcrmcontacts.ts @@ -26,8 +26,8 @@ export type ListCrmContactsRequest = { }; export type ListCrmContactsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmContactsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmContactOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmContactsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmContactsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmContactsResponseBody$outboundSchema: z.ZodType< ListCrmContactsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmContactOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmdeals.ts b/src/models/operations/listcrmdeals.ts index 52d81c0c..59d918fd 100644 --- a/src/models/operations/listcrmdeals.ts +++ b/src/models/operations/listcrmdeals.ts @@ -26,8 +26,8 @@ export type ListCrmDealsRequest = { }; export type ListCrmDealsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmDealsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmDealOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmDealsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmDealsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmDealsResponseBody$outboundSchema: z.ZodType< ListCrmDealsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmDealOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmengagements.ts b/src/models/operations/listcrmengagements.ts index c0ca7cfd..304ecb44 100644 --- a/src/models/operations/listcrmengagements.ts +++ b/src/models/operations/listcrmengagements.ts @@ -26,8 +26,8 @@ export type ListCrmEngagementsRequest = { }; export type ListCrmEngagementsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmEngagementsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmEngagementOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmEngagementsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmEngagementsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmEngagementsResponseBody$outboundSchema: z.ZodType< ListCrmEngagementsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmEngagementOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmnote.ts b/src/models/operations/listcrmnote.ts index 434c5681..a774ee53 100644 --- a/src/models/operations/listcrmnote.ts +++ b/src/models/operations/listcrmnote.ts @@ -26,8 +26,8 @@ export type ListCrmNoteRequest = { }; export type ListCrmNoteResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmNoteResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmNoteOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmNoteResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmNoteResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmNoteResponseBody$outboundSchema: z.ZodType< ListCrmNoteResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmNoteOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmstages.ts b/src/models/operations/listcrmstages.ts index 0cc4f62b..aa4d2fba 100644 --- a/src/models/operations/listcrmstages.ts +++ b/src/models/operations/listcrmstages.ts @@ -26,8 +26,8 @@ export type ListCrmStagesRequest = { }; export type ListCrmStagesResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmStagesResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmStageOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmStagesResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmStagesResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmStagesResponseBody$outboundSchema: z.ZodType< ListCrmStagesResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmStageOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmtask.ts b/src/models/operations/listcrmtask.ts index 99a3d3b5..edb5b769 100644 --- a/src/models/operations/listcrmtask.ts +++ b/src/models/operations/listcrmtask.ts @@ -26,8 +26,8 @@ export type ListCrmTaskRequest = { }; export type ListCrmTaskResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmTaskResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmTaskOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmTaskResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmTaskResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmTaskResponseBody$outboundSchema: z.ZodType< ListCrmTaskResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmTaskOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listcrmusers.ts b/src/models/operations/listcrmusers.ts index 7a3a79f1..9edeeb75 100644 --- a/src/models/operations/listcrmusers.ts +++ b/src/models/operations/listcrmusers.ts @@ -26,8 +26,8 @@ export type ListCrmUsersRequest = { }; export type ListCrmUsersResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListCrmUsersResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmUserOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListCrmUsersResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListCrmUsersResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListCrmUsersResponseBody$outboundSchema: z.ZodType< ListCrmUsersResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCrmUserOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listfilestoragedrives.ts b/src/models/operations/listfilestoragedrives.ts index d25c9836..b857e284 100644 --- a/src/models/operations/listfilestoragedrives.ts +++ b/src/models/operations/listfilestoragedrives.ts @@ -26,8 +26,8 @@ export type ListFilestorageDrivesRequest = { }; export type ListFilestorageDrivesResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListFilestorageDrivesResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageDriveOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListFilestorageDrivesResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListFilestorageDrivesResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListFilestorageDrivesResponseBody$outboundSchema: z.ZodType< ListFilestorageDrivesResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageDriveOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listfilestoragefile.ts b/src/models/operations/listfilestoragefile.ts index 615641f8..9b537faa 100644 --- a/src/models/operations/listfilestoragefile.ts +++ b/src/models/operations/listfilestoragefile.ts @@ -26,8 +26,8 @@ export type ListFilestorageFileRequest = { }; export type ListFilestorageFileResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListFilestorageFileResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageFileOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListFilestorageFileResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListFilestorageFileResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListFilestorageFileResponseBody$outboundSchema: z.ZodType< ListFilestorageFileResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageFileOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listfilestoragefolder.ts b/src/models/operations/listfilestoragefolder.ts index de676392..094b96ff 100644 --- a/src/models/operations/listfilestoragefolder.ts +++ b/src/models/operations/listfilestoragefolder.ts @@ -26,8 +26,8 @@ export type ListFilestorageFolderRequest = { }; export type ListFilestorageFolderResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListFilestorageFolderResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageFolderOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListFilestorageFolderResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListFilestorageFolderResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListFilestorageFolderResponseBody$outboundSchema: z.ZodType< ListFilestorageFolderResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageFolderOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listfilestoragegroup.ts b/src/models/operations/listfilestoragegroup.ts index 53e872ce..3659c881 100644 --- a/src/models/operations/listfilestoragegroup.ts +++ b/src/models/operations/listfilestoragegroup.ts @@ -26,8 +26,8 @@ export type ListFilestorageGroupRequest = { }; export type ListFilestorageGroupResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListFilestorageGroupResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageGroupOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListFilestorageGroupResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListFilestorageGroupResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListFilestorageGroupResponseBody$outboundSchema: z.ZodType< ListFilestorageGroupResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedFilestorageGroupOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listfilestorageusers.ts b/src/models/operations/listfilestorageusers.ts index fb9424e9..02b9beeb 100644 --- a/src/models/operations/listfilestorageusers.ts +++ b/src/models/operations/listfilestorageusers.ts @@ -26,8 +26,8 @@ export type ListFilestorageUsersRequest = { }; export type ListFilestorageUsersResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListFilestorageUsersResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedUserOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListFilestorageUsersResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListFilestorageUsersResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListFilestorageUsersResponseBody$outboundSchema: z.ZodType< ListFilestorageUsersResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedUserOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisbankinfo.ts b/src/models/operations/listhrisbankinfo.ts index 4571cf7b..9b6099e7 100644 --- a/src/models/operations/listhrisbankinfo.ts +++ b/src/models/operations/listhrisbankinfo.ts @@ -26,8 +26,8 @@ export type ListHrisBankinfoRequest = { }; export type ListHrisBankinfoResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisBankinfoResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisBankinfoOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisBankinfoResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisBankinfoResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisBankinfoResponseBody$outboundSchema: z.ZodType< ListHrisBankinfoResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisBankinfoOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisbenefit.ts b/src/models/operations/listhrisbenefit.ts index 8260b5fa..2848e23c 100644 --- a/src/models/operations/listhrisbenefit.ts +++ b/src/models/operations/listhrisbenefit.ts @@ -26,8 +26,8 @@ export type ListHrisBenefitRequest = { }; export type ListHrisBenefitResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisBenefitResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisBenefitOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisBenefitResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisBenefitResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisBenefitResponseBody$outboundSchema: z.ZodType< ListHrisBenefitResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisBenefitOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhriscompanys.ts b/src/models/operations/listhriscompanys.ts index 801e6f05..0a13ba8c 100644 --- a/src/models/operations/listhriscompanys.ts +++ b/src/models/operations/listhriscompanys.ts @@ -26,8 +26,8 @@ export type ListHrisCompanysRequest = { }; export type ListHrisCompanysResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisCompanysResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisCompanyOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisCompanysResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisCompanysResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisCompanysResponseBody$outboundSchema: z.ZodType< ListHrisCompanysResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisCompanyOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisdependents.ts b/src/models/operations/listhrisdependents.ts index 74628320..6253d5d4 100644 --- a/src/models/operations/listhrisdependents.ts +++ b/src/models/operations/listhrisdependents.ts @@ -26,8 +26,8 @@ export type ListHrisDependentsRequest = { }; export type ListHrisDependentsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisDependentsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisDependentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisDependentsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisDependentsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisDependentsResponseBody$outboundSchema: z.ZodType< ListHrisDependentsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisDependentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisemployee.ts b/src/models/operations/listhrisemployee.ts index 69143606..c3e0a7d4 100644 --- a/src/models/operations/listhrisemployee.ts +++ b/src/models/operations/listhrisemployee.ts @@ -26,8 +26,8 @@ export type ListHrisEmployeeRequest = { }; export type ListHrisEmployeeResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisEmployeeResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmployeeOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisEmployeeResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisEmployeeResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisEmployeeResponseBody$outboundSchema: z.ZodType< ListHrisEmployeeResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmployeeOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisemployeepayrollrun.ts b/src/models/operations/listhrisemployeepayrollrun.ts index 2c943acd..e547d2d0 100644 --- a/src/models/operations/listhrisemployeepayrollrun.ts +++ b/src/models/operations/listhrisemployeepayrollrun.ts @@ -26,8 +26,8 @@ export type ListHrisEmployeePayrollRunRequest = { }; export type ListHrisEmployeePayrollRunResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisEmployeePayrollRunResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmployeepayrollrunOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisEmployeePayrollRunResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisEmployeePayrollRunResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisEmployeePayrollRunResponseBody$outboundSchema: z.ZodType< ListHrisEmployeePayrollRunResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmployeepayrollrunOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisemployerbenefit.ts b/src/models/operations/listhrisemployerbenefit.ts index 68b49e9b..a5bb6fe2 100644 --- a/src/models/operations/listhrisemployerbenefit.ts +++ b/src/models/operations/listhrisemployerbenefit.ts @@ -26,8 +26,8 @@ export type ListHrisEmployerBenefitRequest = { }; export type ListHrisEmployerBenefitResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisEmployerBenefitResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmployerbenefitOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisEmployerBenefitResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisEmployerBenefitResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisEmployerBenefitResponseBody$outboundSchema: z.ZodType< ListHrisEmployerBenefitResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmployerbenefitOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisemployment.ts b/src/models/operations/listhrisemployment.ts index 7be207f6..4a71ed34 100644 --- a/src/models/operations/listhrisemployment.ts +++ b/src/models/operations/listhrisemployment.ts @@ -26,8 +26,8 @@ export type ListHrisEmploymentRequest = { }; export type ListHrisEmploymentResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisEmploymentResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmploymentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisEmploymentResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisEmploymentResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisEmploymentResponseBody$outboundSchema: z.ZodType< ListHrisEmploymentResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisEmploymentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrisgroup.ts b/src/models/operations/listhrisgroup.ts index 41c1a623..934ba4ab 100644 --- a/src/models/operations/listhrisgroup.ts +++ b/src/models/operations/listhrisgroup.ts @@ -26,8 +26,8 @@ export type ListHrisGroupRequest = { }; export type ListHrisGroupResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisGroupResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisGroupOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisGroupResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisGroupResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisGroupResponseBody$outboundSchema: z.ZodType< ListHrisGroupResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisGroupOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrislocation.ts b/src/models/operations/listhrislocation.ts index 499c71c0..0155550a 100644 --- a/src/models/operations/listhrislocation.ts +++ b/src/models/operations/listhrislocation.ts @@ -26,8 +26,8 @@ export type ListHrisLocationRequest = { }; export type ListHrisLocationResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisLocationResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisLocationOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisLocationResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisLocationResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisLocationResponseBody$outboundSchema: z.ZodType< ListHrisLocationResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisLocationOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrispaygroup.ts b/src/models/operations/listhrispaygroup.ts index 8f8996b0..ef81db08 100644 --- a/src/models/operations/listhrispaygroup.ts +++ b/src/models/operations/listhrispaygroup.ts @@ -26,8 +26,8 @@ export type ListHrisPaygroupRequest = { }; export type ListHrisPaygroupResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisPaygroupResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisPaygroupOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisPaygroupResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisPaygroupResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisPaygroupResponseBody$outboundSchema: z.ZodType< ListHrisPaygroupResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisPaygroupOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhrispayrollruns.ts b/src/models/operations/listhrispayrollruns.ts index 53447a26..141dd911 100644 --- a/src/models/operations/listhrispayrollruns.ts +++ b/src/models/operations/listhrispayrollruns.ts @@ -26,8 +26,8 @@ export type ListHrisPayrollRunsRequest = { }; export type ListHrisPayrollRunsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisPayrollRunsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisPayrollrunOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisPayrollRunsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisPayrollRunsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisPayrollRunsResponseBody$outboundSchema: z.ZodType< ListHrisPayrollRunsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisPayrollrunOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhristimeoffbalance.ts b/src/models/operations/listhristimeoffbalance.ts index 217eafab..e9f17e9d 100644 --- a/src/models/operations/listhristimeoffbalance.ts +++ b/src/models/operations/listhristimeoffbalance.ts @@ -26,8 +26,8 @@ export type ListHrisTimeoffbalanceRequest = { }; export type ListHrisTimeoffbalanceResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisTimeoffbalanceResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisTimeoffbalanceOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisTimeoffbalanceResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisTimeoffbalanceResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisTimeoffbalanceResponseBody$outboundSchema: z.ZodType< ListHrisTimeoffbalanceResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisTimeoffbalanceOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listhristimeoffs.ts b/src/models/operations/listhristimeoffs.ts index 10160151..a1b7e39d 100644 --- a/src/models/operations/listhristimeoffs.ts +++ b/src/models/operations/listhristimeoffs.ts @@ -26,8 +26,8 @@ export type ListHrisTimeoffsRequest = { }; export type ListHrisTimeoffsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListHrisTimeoffsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisTimeoffOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListHrisTimeoffsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListHrisTimeoffsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListHrisTimeoffsResponseBody$outboundSchema: z.ZodType< ListHrisTimeoffsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedHrisTimeoffOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationaction.ts b/src/models/operations/listmarketingautomationaction.ts index 6478cf2e..3736711c 100644 --- a/src/models/operations/listmarketingautomationaction.ts +++ b/src/models/operations/listmarketingautomationaction.ts @@ -26,8 +26,8 @@ export type ListMarketingautomationActionRequest = { }; export type ListMarketingautomationActionResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingautomationActionResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationActionOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingautomationActionResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListMarketingautomationActionResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingautomationActionResponseBody$outboundSchema: z.ZodType ListMarketingautomationActionResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationActionOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationautomation.ts b/src/models/operations/listmarketingautomationautomation.ts index 733bf924..e2522db9 100644 --- a/src/models/operations/listmarketingautomationautomation.ts +++ b/src/models/operations/listmarketingautomationautomation.ts @@ -26,8 +26,8 @@ export type ListMarketingautomationAutomationRequest = { }; export type ListMarketingautomationAutomationResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingautomationAutomationResponseBody$inboundSchema: z.ZodT unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationAutomationOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingautomationAutomationResponseBody$inboundSchema: z.ZodT /** @internal */ export type ListMarketingautomationAutomationResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingautomationAutomationResponseBody$outboundSchema: z.Zod ListMarketingautomationAutomationResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationAutomationOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationcampaign.ts b/src/models/operations/listmarketingautomationcampaign.ts index 7c9ce958..1b081fc9 100644 --- a/src/models/operations/listmarketingautomationcampaign.ts +++ b/src/models/operations/listmarketingautomationcampaign.ts @@ -26,8 +26,8 @@ export type ListMarketingautomationCampaignRequest = { }; export type ListMarketingautomationCampaignResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingautomationCampaignResponseBody$inboundSchema: z.ZodTyp unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedCampaignOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingautomationCampaignResponseBody$inboundSchema: z.ZodTyp /** @internal */ export type ListMarketingautomationCampaignResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingautomationCampaignResponseBody$outboundSchema: z.ZodTy ListMarketingautomationCampaignResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedCampaignOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationcontacts.ts b/src/models/operations/listmarketingautomationcontacts.ts index ea2bf504..2ad9b51e 100644 --- a/src/models/operations/listmarketingautomationcontacts.ts +++ b/src/models/operations/listmarketingautomationcontacts.ts @@ -26,8 +26,8 @@ export type ListMarketingAutomationContactsRequest = { }; export type ListMarketingAutomationContactsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingAutomationContactsResponseBody$inboundSchema: z.ZodTyp unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationContactOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingAutomationContactsResponseBody$inboundSchema: z.ZodTyp /** @internal */ export type ListMarketingAutomationContactsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingAutomationContactsResponseBody$outboundSchema: z.ZodTy ListMarketingAutomationContactsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationContactOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationemails.ts b/src/models/operations/listmarketingautomationemails.ts index 1de0c03e..e7f251d8 100644 --- a/src/models/operations/listmarketingautomationemails.ts +++ b/src/models/operations/listmarketingautomationemails.ts @@ -26,8 +26,8 @@ export type ListMarketingautomationEmailsRequest = { }; export type ListMarketingautomationEmailsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingautomationEmailsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationEmailOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingautomationEmailsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListMarketingautomationEmailsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingautomationEmailsResponseBody$outboundSchema: z.ZodType ListMarketingautomationEmailsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationEmailOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationevents.ts b/src/models/operations/listmarketingautomationevents.ts index 1a9e78d6..ed20398c 100644 --- a/src/models/operations/listmarketingautomationevents.ts +++ b/src/models/operations/listmarketingautomationevents.ts @@ -26,8 +26,8 @@ export type ListMarketingAutomationEventsRequest = { }; export type ListMarketingAutomationEventsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingAutomationEventsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationEventOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingAutomationEventsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListMarketingAutomationEventsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingAutomationEventsResponseBody$outboundSchema: z.ZodType ListMarketingAutomationEventsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationEventOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationlists.ts b/src/models/operations/listmarketingautomationlists.ts index 7b5886f7..e7c4814c 100644 --- a/src/models/operations/listmarketingautomationlists.ts +++ b/src/models/operations/listmarketingautomationlists.ts @@ -26,8 +26,8 @@ export type ListMarketingautomationListsRequest = { }; export type ListMarketingautomationListsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingautomationListsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationListOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingautomationListsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListMarketingautomationListsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingautomationListsResponseBody$outboundSchema: z.ZodType< ListMarketingautomationListsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationListOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationmessages.ts b/src/models/operations/listmarketingautomationmessages.ts index 02b6f9b7..17266785 100644 --- a/src/models/operations/listmarketingautomationmessages.ts +++ b/src/models/operations/listmarketingautomationmessages.ts @@ -26,8 +26,8 @@ export type ListMarketingautomationMessagesRequest = { }; export type ListMarketingautomationMessagesResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingautomationMessagesResponseBody$inboundSchema: z.ZodTyp unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationMessageOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingautomationMessagesResponseBody$inboundSchema: z.ZodTyp /** @internal */ export type ListMarketingautomationMessagesResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingautomationMessagesResponseBody$outboundSchema: z.ZodTy ListMarketingautomationMessagesResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationMessageOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationtemplates.ts b/src/models/operations/listmarketingautomationtemplates.ts index 18969ee5..9e28401a 100644 --- a/src/models/operations/listmarketingautomationtemplates.ts +++ b/src/models/operations/listmarketingautomationtemplates.ts @@ -26,8 +26,8 @@ export type ListMarketingautomationTemplatesRequest = { }; export type ListMarketingautomationTemplatesResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingautomationTemplatesResponseBody$inboundSchema: z.ZodTy unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationTemplateOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingautomationTemplatesResponseBody$inboundSchema: z.ZodTy /** @internal */ export type ListMarketingautomationTemplatesResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingautomationTemplatesResponseBody$outboundSchema: z.ZodT ListMarketingautomationTemplatesResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationTemplateOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listmarketingautomationusers.ts b/src/models/operations/listmarketingautomationusers.ts index 424a59a9..f7ede70d 100644 --- a/src/models/operations/listmarketingautomationusers.ts +++ b/src/models/operations/listmarketingautomationusers.ts @@ -26,8 +26,8 @@ export type ListMarketingAutomationUsersRequest = { }; export type ListMarketingAutomationUsersResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListMarketingAutomationUsersResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationUserOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListMarketingAutomationUsersResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListMarketingAutomationUsersResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListMarketingAutomationUsersResponseBody$outboundSchema: z.ZodType< ListMarketingAutomationUsersResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedMarketingautomationUserOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingaccount.ts b/src/models/operations/listticketingaccount.ts index df63217d..d35e31e1 100644 --- a/src/models/operations/listticketingaccount.ts +++ b/src/models/operations/listticketingaccount.ts @@ -26,8 +26,8 @@ export type ListTicketingAccountRequest = { }; export type ListTicketingAccountResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingAccountResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingAccountOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingAccountResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingAccountResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingAccountResponseBody$outboundSchema: z.ZodType< ListTicketingAccountResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingAccountOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingattachments.ts b/src/models/operations/listticketingattachments.ts index b89c8b89..3ac7086a 100644 --- a/src/models/operations/listticketingattachments.ts +++ b/src/models/operations/listticketingattachments.ts @@ -26,8 +26,8 @@ export type ListTicketingAttachmentsRequest = { }; export type ListTicketingAttachmentsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingAttachmentsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingAttachmentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingAttachmentsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingAttachmentsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingAttachmentsResponseBody$outboundSchema: z.ZodType< ListTicketingAttachmentsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingAttachmentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingcollections.ts b/src/models/operations/listticketingcollections.ts index cf808bd2..05026e77 100644 --- a/src/models/operations/listticketingcollections.ts +++ b/src/models/operations/listticketingcollections.ts @@ -26,8 +26,8 @@ export type ListTicketingCollectionsRequest = { }; export type ListTicketingCollectionsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingCollectionsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingCollectionOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingCollectionsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingCollectionsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingCollectionsResponseBody$outboundSchema: z.ZodType< ListTicketingCollectionsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingCollectionOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingcomments.ts b/src/models/operations/listticketingcomments.ts index bf2134c2..61092fd5 100644 --- a/src/models/operations/listticketingcomments.ts +++ b/src/models/operations/listticketingcomments.ts @@ -26,8 +26,8 @@ export type ListTicketingCommentsRequest = { }; export type ListTicketingCommentsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingCommentsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingCommentOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingCommentsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingCommentsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingCommentsResponseBody$outboundSchema: z.ZodType< ListTicketingCommentsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingCommentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingcontacts.ts b/src/models/operations/listticketingcontacts.ts index 8d37b173..d284ff90 100644 --- a/src/models/operations/listticketingcontacts.ts +++ b/src/models/operations/listticketingcontacts.ts @@ -26,8 +26,8 @@ export type ListTicketingContactsRequest = { }; export type ListTicketingContactsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingContactsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingContactOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingContactsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingContactsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingContactsResponseBody$outboundSchema: z.ZodType< ListTicketingContactsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingContactOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingtags.ts b/src/models/operations/listticketingtags.ts index 65cc3121..10b8db84 100644 --- a/src/models/operations/listticketingtags.ts +++ b/src/models/operations/listticketingtags.ts @@ -26,8 +26,8 @@ export type ListTicketingTagsRequest = { }; export type ListTicketingTagsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingTagsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingTagOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingTagsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingTagsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingTagsResponseBody$outboundSchema: z.ZodType< ListTicketingTagsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingTagOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingteams.ts b/src/models/operations/listticketingteams.ts index ac0c9d5b..f9b79dcf 100644 --- a/src/models/operations/listticketingteams.ts +++ b/src/models/operations/listticketingteams.ts @@ -26,8 +26,8 @@ export type ListTicketingTeamsRequest = { }; export type ListTicketingTeamsResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingTeamsResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingTeamOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingTeamsResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingTeamsResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingTeamsResponseBody$outboundSchema: z.ZodType< ListTicketingTeamsResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingTeamOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingticket.ts b/src/models/operations/listticketingticket.ts index 6293cf16..505bba13 100644 --- a/src/models/operations/listticketingticket.ts +++ b/src/models/operations/listticketingticket.ts @@ -26,8 +26,8 @@ export type ListTicketingTicketRequest = { }; export type ListTicketingTicketResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingTicketResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingTicketOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingTicketResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingTicketResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingTicketResponseBody$outboundSchema: z.ZodType< ListTicketingTicketResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingTicketOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/listticketingusers.ts b/src/models/operations/listticketingusers.ts index fae5971d..5740b3e8 100644 --- a/src/models/operations/listticketingusers.ts +++ b/src/models/operations/listticketingusers.ts @@ -26,8 +26,8 @@ export type ListTicketingUsersRequest = { }; export type ListTicketingUsersResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -102,8 +102,8 @@ export const ListTicketingUsersResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingUserOutput$inboundSchema), }) .transform((v) => { @@ -115,8 +115,8 @@ export const ListTicketingUsersResponseBody$inboundSchema: z.ZodType< /** @internal */ export type ListTicketingUsersResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -127,8 +127,8 @@ export const ListTicketingUsersResponseBody$outboundSchema: z.ZodType< ListTicketingUsersResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingUserOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/retrieveticketingcomment.ts b/src/models/operations/retrieveticketingcomment.ts index 20383458..3d30385d 100644 --- a/src/models/operations/retrieveticketingcomment.ts +++ b/src/models/operations/retrieveticketingcomment.ts @@ -22,8 +22,8 @@ export type RetrieveTicketingCommentRequest = { }; export type RetrieveTicketingCommentResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -95,8 +95,8 @@ export const RetrieveTicketingCommentResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingCommentOutput$inboundSchema), }) .transform((v) => { @@ -108,8 +108,8 @@ export const RetrieveTicketingCommentResponseBody$inboundSchema: z.ZodType< /** @internal */ export type RetrieveTicketingCommentResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -120,8 +120,8 @@ export const RetrieveTicketingCommentResponseBody$outboundSchema: z.ZodType< RetrieveTicketingCommentResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingCommentOutput$outboundSchema), }) .transform((v) => { diff --git a/src/models/operations/retrieveticketingcontact.ts b/src/models/operations/retrieveticketingcontact.ts index 2085ef41..2bb98578 100644 --- a/src/models/operations/retrieveticketingcontact.ts +++ b/src/models/operations/retrieveticketingcontact.ts @@ -22,8 +22,8 @@ export type RetrieveTicketingContactRequest = { }; export type RetrieveTicketingContactResponseBody = { - prevCursor: string; - nextCursor: string; + prevCursor: string | null; + nextCursor: string | null; data: Array; }; @@ -95,8 +95,8 @@ export const RetrieveTicketingContactResponseBody$inboundSchema: z.ZodType< unknown > = z .object({ - prev_cursor: z.string(), - next_cursor: z.string(), + prev_cursor: z.nullable(z.string()), + next_cursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingContactOutput$inboundSchema), }) .transform((v) => { @@ -108,8 +108,8 @@ export const RetrieveTicketingContactResponseBody$inboundSchema: z.ZodType< /** @internal */ export type RetrieveTicketingContactResponseBody$Outbound = { - prev_cursor: string; - next_cursor: string; + prev_cursor: string | null; + next_cursor: string | null; data: Array; }; @@ -120,8 +120,8 @@ export const RetrieveTicketingContactResponseBody$outboundSchema: z.ZodType< RetrieveTicketingContactResponseBody > = z .object({ - prevCursor: z.string(), - nextCursor: z.string(), + prevCursor: z.nullable(z.string()), + nextCursor: z.nullable(z.string()), data: z.array(components.UnifiedTicketingContactOutput$outboundSchema), }) .transform((v) => { diff --git a/src/sdk/companies.ts b/src/sdk/companies.ts index 060e8843..e186ef6f 100644 --- a/src/sdk/companies.ts +++ b/src/sdk/companies.ts @@ -43,7 +43,7 @@ export class Companies extends ClientSDK { } /** - * List Companies + * List Companies */ async list( request: operations.ListCrmCompanyRequest, diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index d03c6639..02c50265 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -114,7 +114,7 @@ export class Panora extends ClientSDK { const query$ = ""; const headers$ = new Headers({ - Accept: "application/json", + Accept: "text/plain", }); const bearer$ = await extractSecurity(this.options$.bearer); @@ -151,7 +151,7 @@ export class Panora extends ClientSDK { }; const [result$] = await this.matcher() - .json(200, operations.HelloResponse$inboundSchema, { key: "object" }) + .text(200, operations.HelloResponse$inboundSchema, { key: "res" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ }); @@ -201,7 +201,7 @@ export class Panora extends ClientSDK { }; const [result$] = await this.matcher() - .json(200, operations.HealthResponse$inboundSchema, { key: "object" }) + .json(200, operations.HealthResponse$inboundSchema, { key: "number" }) .fail(["4XX", "5XX"]) .match(response, request$, { extraFields: responseFields$ });