From e445e3211edb66162546726f9d46179f870cc73f Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 18 Nov 2024 18:59:50 +0000 Subject: [PATCH] ci: regenerated with Speakeasy CLI v1.440.2 --- .speakeasy/workflow.lock | 8 +- .../swagger/openapi-with-code-samples.yaml | 21369 ++++++---------- 2 files changed, 7802 insertions(+), 13575 deletions(-) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 660e63afc..9b829759c 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.400.0 +speakeasyVersion: 1.440.2 sources: merge-code-samples-into-spec: sourceNamespace: merge-code-samples-into-spec - sourceRevisionDigest: sha256:912fc296f73842c02a90f0baee369f2ab8674455e41e8f5d05c3876818d839a5 - sourceBlobDigest: sha256:28dcc66d46faa45f6a61b5d2e76b2bf5b25d17786399cf3a0f996517c1e9561f + sourceRevisionDigest: sha256:3dc72ba5803129f9e73251987e5cdc6eefeb3be15f00a0d1efc549c2acdb3cdc + sourceBlobDigest: sha256:6cae9e4c3673dec9ca1223e878a3583b4fd46d3eadf1f38c7140ae75c45487e3 tags: - latest - - main + - speakeasy-sdk-regen-1726876977 targets: {} workflow: workflowVersion: 1.0.0 diff --git a/packages/api/swagger/openapi-with-code-samples.yaml b/packages/api/swagger/openapi-with-code-samples.yaml index 17e975a2f..76448dbc8 100644 --- a/packages/api/swagger/openapi-with-code-samples.yaml +++ b/packages/api/swagger/openapi-with-code-samples.yaml @@ -15,7 +15,21 @@ paths: x-codeSamples: - lang: typescript label: hello - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hello();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hello(); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: hello source: |- @@ -75,7 +89,21 @@ paths: x-codeSamples: - lang: typescript label: health - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.health();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.health(); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: health source: |- @@ -150,7 +178,27 @@ paths: x-codeSamples: - lang: typescript label: query - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.rag.query({\n xConnectionToken: \"\",\n queryBody: {\n query: \"When does Panora incorporated?\",\n topK: 3,\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.rag.query({ + xConnectionToken: "", + queryBody: { + query: "When does Panora incorporated?", + topK: 3, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: query source: |- @@ -225,7 +273,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -261,7 +308,28 @@ paths: x-codeSamples: - lang: typescript label: listFilestorageFile - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.files.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.files.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listFilestorageFile source: |- @@ -323,7 +391,37 @@ paths: x-codeSamples: - lang: typescript label: createFilestorageFile - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.files.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedFilestorageFileInput: {\n name: \"my_paris_photo.png\",\n fileUrl: \"https://example.com/my_paris_photo.png\",\n mimeType: \"application/pdf\",\n size: \"1024\",\n folderId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n permission: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n sharedLink: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.files.create({ + xConnectionToken: "", + remoteData: false, + unifiedFilestorageFileInput: { + name: "my_paris_photo.png", + fileUrl: "https://example.com/my_paris_photo.png", + mimeType: "application/pdf", + size: "1024", + folderId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + permission: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + sharedLink: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createFilestorageFile source: |- @@ -430,7 +528,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveFilestorageFile - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.files.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.files.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveFilestorageFile source: |- @@ -503,9 +619,12 @@ paths: async function run() { await panora.auth.login.signIn({ - email: "Oda.Treutel97@hotmail.com", + idUser: "", + email: "Stanford_Rice@hotmail.com", passwordHash: "", }); + + } run(); @@ -576,7 +695,21 @@ paths: x-codeSamples: - lang: typescript label: listConnections - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.connections.list();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.connections.list(); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: listConnections source: |- @@ -640,7 +773,21 @@ paths: x-codeSamples: - lang: typescript label: listWebhooks - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.webhooks.list();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.webhooks.list(); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: listWebhooks source: |- @@ -706,7 +853,27 @@ paths: x-codeSamples: - lang: typescript label: createWebhookPublic - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.webhooks.create({\n url: \"https://acme.com/webhook_receiver\",\n description: \"Webhook to receive connection events\",\n scope: [\n \"connection.created\",\n ],\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.webhooks.create({ + url: "https://acme.com/webhook_receiver", + description: "Webhook to receive connection events", + scope: [ + "connection.created", + ], + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createWebhookPublic source: |- @@ -776,8 +943,6 @@ paths: schema: type: string responses: - '200': - description: '' '201': description: '' content: @@ -789,7 +954,23 @@ paths: x-codeSamples: - lang: typescript label: delete - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.webhooks.delete({\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.webhooks.delete({ + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: delete source: |- @@ -845,8 +1026,6 @@ paths: schema: type: string responses: - '200': - description: '' '201': description: '' content: @@ -858,7 +1037,23 @@ paths: x-codeSamples: - lang: typescript label: updateStatus - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.webhooks.updateStatus({\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.webhooks.updateStatus({ + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: updateStatus source: |- @@ -927,7 +1122,27 @@ paths: x-codeSamples: - lang: typescript label: verifyEvent - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.webhooks.verifyEvent({\n payload: {\n \n },\n signature: \"\",\n secret: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.webhooks.verifyEvent({ + payload: { + + }, + signature: "", + secret: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: verifyEvent source: |- @@ -1012,7 +1227,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -1048,7 +1262,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingTicket - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.tickets.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.tickets.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingTicket source: |- @@ -1110,7 +1345,65 @@ paths: x-codeSamples: - lang: typescript label: createTicketingTicket - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.tickets.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedTicketingTicketInput: {\n name: \"Customer Service Inquiry\",\n status: \"OPEN\",\n description: \"Help customer\",\n dueDate: new Date(\"2024-10-01T12:00:00Z\"),\n type: \"BUG\",\n parentTicket: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n collections: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n tags: [\n \"my_tag\",\n \"urgent_tag\",\n ],\n completedAt: new Date(\"2024-10-01T12:00:00Z\"),\n priority: \"HIGH\",\n assignedTo: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n comment: {\n body: \"Assigned to Eric !\",\n htmlBody: \"

Assigned to Eric !

\",\n isPrivate: false,\n creatorType: \"USER\",\n ticketId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contactId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n attachments: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n },\n accountId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contactId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n attachments: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.tickets.create({ + xConnectionToken: "", + remoteData: false, + unifiedTicketingTicketInput: { + name: "Customer Service Inquiry", + status: "OPEN", + description: "Help customer", + dueDate: new Date("2024-10-01T12:00:00Z"), + type: "BUG", + parentTicket: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + collections: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + tags: [ + "my_tag", + "urgent_tag", + ], + completedAt: new Date("2024-10-01T12:00:00Z"), + priority: "HIGH", + assignedTo: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + comment: { + body: "Assigned to Eric !", + htmlBody: "

Assigned to Eric !

", + isPrivate: false, + creatorType: "USER", + ticketId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + contactId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + attachments: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + }, + accountId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + contactId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + attachments: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createTicketingTicket source: |- @@ -1285,7 +1578,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveTicketingTicket - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.tickets.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.tickets.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveTicketingTicket source: |- @@ -1353,7 +1664,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -1389,7 +1699,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingUsers - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.users.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.users.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingUsers source: |- @@ -1453,7 +1784,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveTicketingUser - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.users.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.users.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveTicketingUser source: |- @@ -1521,7 +1870,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -1557,7 +1905,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingAccount - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.accounts.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.accounts.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingAccount source: |- @@ -1618,12 +1987,29 @@ paths: x-speakeasy-group: ticketing.accounts x-codeSamples: - lang: typescript - label: retrieveTicketingAccount - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.accounts.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python label: retrieveTicketingAccount source: |- - from panora_sdk import Panora + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.accounts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: retrieveTicketingAccount + source: |- + from panora_sdk import Panora s = Panora( api_key="", @@ -1687,7 +2073,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -1723,7 +2108,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingContacts - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.contacts.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.contacts.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingContacts source: |- @@ -1791,7 +2197,24 @@ paths: x-codeSamples: - lang: typescript label: retrieveTicketingContact - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.contacts.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.contacts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveTicketingContact source: |- @@ -1850,8 +2273,6 @@ paths: - marketingautomation - crm - filestorage - - ats - - hris - accounting - ecommerce type: string @@ -1876,6 +2297,8 @@ paths: await panora.sync.status({ vertical: Vertical.Ticketing, }); + + } run(); @@ -1939,7 +2362,21 @@ paths: x-codeSamples: - lang: typescript label: resync - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.sync.resync();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.sync.resync(); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: resync source: |- @@ -1997,18 +2434,31 @@ paths: responses: '200': description: Pull frequency updated successfully - '201': - description: '' - content: - application/json: - schema: - type: object tags: *ref_6 x-speakeasy-group: sync x-codeSamples: - lang: typescript label: updatePullFrequency - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.sync.updatePullFrequency({\n crm: 1800,\n ats: 3600,\n hris: 7200,\n accounting: 14400,\n filestorage: 28800,\n ecommerce: 43200,\n ticketing: 86400,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + await panora.sync.updatePullFrequency({ + crm: 1800, + accounting: 14400, + filestorage: 28800, + ecommerce: 43200, + ticketing: 86400, + }); + + + } + + run(); get: operationId: getPullFrequency summary: Get pull frequency for verticals @@ -2025,7 +2475,21 @@ paths: x-codeSamples: - lang: typescript label: getPullFrequency - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.sync.getPullFrequency();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.sync.getPullFrequency(); + + // Handle the result + console.log(result); + } + + run(); /crm/companies: get: operationId: listCrmCompany @@ -2050,7 +2514,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -2086,7 +2549,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmCompany - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.companies.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.companies.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmCompany source: |- @@ -2148,7 +2632,58 @@ paths: x-codeSamples: - lang: typescript label: createCrmCompany - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.companies.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedCrmCompanyInput: {\n name: \"Acme\",\n industry: \"ACCOUNTING\",\n numberOfEmployees: 10,\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n emailAddresses: [\n {\n emailAddress: \"acme@gmail.com\",\n emailAddressType: \"WORK\",\n },\n ],\n addresses: [\n {\n street1: \"5th Avenue\",\n street2: \"Street 2\",\n city: \"New York\",\n state: \"NY\",\n postalCode: \"10001\",\n country: \"USA\",\n addressType: \"WORK\",\n ownerType: \"\",\n },\n ],\n phoneNumbers: [\n {\n phoneNumber: \"+33660606067\",\n phoneType: \"WORK\",\n },\n ],\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.companies.create({ + xConnectionToken: "", + remoteData: false, + unifiedCrmCompanyInput: { + name: "Acme", + industry: "ACCOUNTING", + numberOfEmployees: 10, + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + emailAddresses: [ + { + emailAddress: "acme@gmail.com", + emailAddressType: "WORK", + }, + ], + addresses: [ + { + street1: "5th Avenue", + street2: "Street 2", + city: "New York", + state: "NY", + postalCode: "10001", + country: "USA", + addressType: "WORK", + ownerType: "", + }, + ], + phoneNumbers: [ + { + phoneNumber: "+33660606067", + phoneType: "WORK", + }, + ], + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createCrmCompany source: |- @@ -2297,7 +2832,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmCompany - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.companies.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.companies.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCrmCompany source: |- @@ -2365,7 +2918,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -2401,7 +2953,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmContacts - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.contacts.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.contacts.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmContacts source: |- @@ -2463,7 +3036,57 @@ paths: x-codeSamples: - lang: typescript label: createCrmContact - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.contacts.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedCrmContactInput: {\n firstName: \"John\",\n lastName: \"Doe\",\n emailAddresses: [\n {\n emailAddress: \"Jena.Nienow28@yahoo.com\",\n emailAddressType: \"\",\n },\n ],\n phoneNumbers: [\n {\n phoneNumber: \"1-809-839-8041\",\n phoneType: \"\",\n },\n ],\n addresses: [\n {\n street1: \"5th Avenue\",\n street2: \"Street 2\",\n city: \"Anytown\",\n state: \"CA\",\n postalCode: \"10001\",\n country: \"USA\",\n addressType: \"PERSONAL\",\n ownerType: \"\",\n },\n ],\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.contacts.create({ + xConnectionToken: "", + remoteData: false, + unifiedCrmContactInput: { + firstName: "John", + lastName: "Doe", + emailAddresses: [ + { + emailAddress: "Loyal79@yahoo.com", + emailAddressType: "", + }, + ], + phoneNumbers: [ + { + phoneNumber: "307-857-9320", + phoneType: "", + }, + ], + addresses: [ + { + street1: "5th Avenue", + street2: "Street 2", + city: "Anytown", + state: "CA", + postalCode: "10001", + country: "USA", + addressType: "PERSONAL", + ownerType: "", + }, + ], + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createCrmContact source: |- @@ -2610,7 +3233,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmContact - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.contacts.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.contacts.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCrmContact source: |- @@ -2678,7 +3319,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -2714,7 +3354,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmDeals - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.deals.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.deals.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmDeals source: |- @@ -2775,7 +3436,35 @@ paths: x-codeSamples: - lang: typescript label: createCrmDeal - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.deals.create({\n xConnectionToken: \"\",\n unifiedCrmDealInput: {\n name: \"Huge Contract with Acme\",\n description: \"Contract with Sales Operations Team\",\n amount: 1000,\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n stageId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n companyId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.deals.create({ + xConnectionToken: "", + unifiedCrmDealInput: { + name: "Huge Contract with Acme", + description: "Contract with Sales Operations Team", + amount: 1000, + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + stageId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createCrmDeal source: |- @@ -2880,7 +3569,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmDeal - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.deals.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.deals.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCrmDeal source: |- @@ -2948,7 +3655,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -2984,7 +3690,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmEngagements - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.engagements.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.engagements.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmEngagements source: |- @@ -3046,7 +3773,41 @@ paths: x-codeSamples: - lang: typescript label: createCrmEngagement - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.engagements.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedCrmEngagementInput: {\n content: \"Meeting call with CTO\",\n direction: \"INBOUND\",\n subject: \"Technical features planning\",\n startAt: new Date(\"2024-10-01T12:00:00Z\"),\n endTime: new Date(\"2024-10-01T22:00:00Z\"),\n type: \"MEETING\",\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n companyId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contacts: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.engagements.create({ + xConnectionToken: "", + remoteData: false, + unifiedCrmEngagementInput: { + content: "Meeting call with CTO", + direction: "INBOUND", + subject: "Technical features planning", + startAt: new Date("2024-10-01T12:00:00Z"), + endTime: new Date("2024-10-01T22:00:00Z"), + type: "MEETING", + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + contacts: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createCrmEngagement source: |- @@ -3163,8 +3924,26 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmEngagement - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.engagements.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.engagements.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python label: retrieveCrmEngagement source: |- from panora_sdk import Panora @@ -3231,7 +4010,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -3267,7 +4045,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmNote - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.notes.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.notes.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmNote source: |- @@ -3329,7 +4128,35 @@ paths: x-codeSamples: - lang: typescript label: createCrmNote - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.notes.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedCrmNoteInput: {\n content: \"My notes taken during the meeting\",\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n companyId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contactId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n dealId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.notes.create({ + xConnectionToken: "", + remoteData: false, + unifiedCrmNoteInput: { + content: "My notes taken during the meeting", + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + contactId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + dealId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createCrmNote source: |- @@ -3432,7 +4259,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmNote - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.notes.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.notes.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCrmNote source: |- @@ -3500,7 +4345,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -3536,7 +4380,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmStages - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.stages.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.stages.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmStages source: |- @@ -3600,7 +4465,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmStage - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.stages.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.stages.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCrmStage source: |- @@ -3668,7 +4551,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -3704,7 +4586,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmTask - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.tasks.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.tasks.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmTask source: |- @@ -3765,7 +4668,37 @@ paths: x-codeSamples: - lang: typescript label: createCrmTask - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.tasks.create({\n xConnectionToken: \"\",\n unifiedCrmTaskInput: {\n subject: \"Answer customers\",\n content: \"Prepare email campaign\",\n status: \"PENDING\",\n dueDate: \"2024-10-01T12:00:00Z\",\n finishedDate: \"2024-10-01T12:00:00Z\",\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n companyId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n dealId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.tasks.create({ + xConnectionToken: "", + unifiedCrmTaskInput: { + subject: "Answer customers", + content: "Prepare email campaign", + status: "PENDING", + dueDate: "2024-10-01T12:00:00Z", + finishedDate: "2024-10-01T12:00:00Z", + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + dealId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createCrmTask source: |- @@ -3874,7 +4807,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmTask - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.tasks.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.tasks.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCrmTask source: |- @@ -3942,7 +4893,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -3978,7 +4928,28 @@ paths: x-codeSamples: - lang: typescript label: listCrmUsers - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.users.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.users.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listCrmUsers source: |- @@ -4042,7 +5013,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCrmUser - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.crm.users.retrieve({\n xConnectionToken: \"\",\n id: \"b008e199-eda9-4629-bd41-a01b6195864a\",\n remoteData: true,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.crm.users.retrieve({ + xConnectionToken: "", + id: "b008e199-eda9-4629-bd41-a01b6195864a", + remoteData: true, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCrmUser source: |- @@ -4110,7 +5099,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -4147,7 +5135,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingCollections - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.collections.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.collections.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingCollections source: |- @@ -4211,7 +5220,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveCollection - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.collections.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.collections.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveCollection source: |- @@ -4279,7 +5306,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -4315,7 +5341,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingComments - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.comments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.comments.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingComments source: |- @@ -4376,7 +5423,35 @@ paths: x-codeSamples: - lang: typescript label: createTicketingComment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.comments.create({\n xConnectionToken: \"\",\n unifiedTicketingCommentInput: {\n body: \"Assigned to Eric !\",\n htmlBody: \"

Assigned to Eric !

\",\n isPrivate: false,\n creatorType: \"USER\",\n ticketId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contactId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n userId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n attachments: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.comments.create({ + xConnectionToken: "", + unifiedTicketingCommentInput: { + body: "Assigned to Eric !", + htmlBody: "

Assigned to Eric !

", + isPrivate: false, + creatorType: "USER", + ticketId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + contactId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + userId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + attachments: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createTicketingComment source: |- @@ -4487,7 +5562,24 @@ paths: x-codeSamples: - lang: typescript label: retrieveTicketingComment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.comments.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.comments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveTicketingComment source: |- @@ -4555,7 +5647,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -4591,7 +5682,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingTags - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.tags.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.tags.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingTags source: |- @@ -4655,7 +5767,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveTicketingTag - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.tags.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.tags.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveTicketingTag source: |- @@ -4723,7 +5853,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -4759,7 +5888,28 @@ paths: x-codeSamples: - lang: typescript label: listTicketingTeams - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.teams.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.teams.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python label: listTicketingTeams source: |- @@ -4823,7 +5973,25 @@ paths: x-codeSamples: - lang: typescript label: retrieveTicketingTeam - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.teams.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.teams.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveTicketingTeam source: |- @@ -4891,7 +6059,23 @@ paths: x-codeSamples: - lang: typescript label: remoteId - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.linkedUsers.remoteId({\n remoteId: \"id_1\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.linkedUsers.remoteId({ + remoteId: "id_1", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: remoteId source: |- @@ -4958,7 +6142,24 @@ paths: x-codeSamples: - lang: typescript label: createLinkedUser - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.linkedUsers.create({\n linkedUserOriginId: \"id_1\",\n alias: \"acme\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.linkedUsers.create({ + linkedUserOriginId: "id_1", + alias: "acme", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createLinkedUser source: |- @@ -5027,7 +6228,21 @@ paths: x-codeSamples: - lang: typescript label: listLinkedUsers - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.linkedUsers.list();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.linkedUsers.list(); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: listLinkedUsers source: |- @@ -5096,7 +6311,26 @@ paths: x-codeSamples: - lang: typescript label: importBatch - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.linkedUsers.importBatch({\n linkedUserOriginIds: [\n \"id_1\",\n ],\n alias: \"acme\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.linkedUsers.importBatch({ + linkedUserOriginIds: [ + "id_1", + ], + alias: "acme", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: importBatch source: |- @@ -5174,7 +6408,23 @@ paths: x-codeSamples: - lang: typescript label: retrieveLinkedUser - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.linkedUsers.retrieve({\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.linkedUsers.retrieve({ + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveLinkedUser source: |- @@ -5237,7 +6487,21 @@ paths: x-codeSamples: - lang: typescript label: getProjects - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.projects.getProjects();\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.projects.getProjects(); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: getProjects source: |- @@ -5302,7 +6566,25 @@ paths: x-codeSamples: - lang: typescript label: createProject - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.projects.create({\n name: \"Project Name\",\n idOrganization: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n idUser: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.projects.create({ + name: "Project Name", + idOrganization: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + idUser: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createProject source: |- @@ -5378,6 +6660,8 @@ paths: async function run() { await panora.fieldMappings.getFieldMappingValues(); + + } run(); @@ -5444,6 +6728,8 @@ paths: async function run() { await panora.fieldMappings.getFieldMappingsEntities(); + + } run(); @@ -5510,6 +6796,8 @@ paths: async function run() { await panora.fieldMappings.getFieldMappings(); + + } run(); @@ -5577,7 +6865,27 @@ paths: x-codeSamples: - lang: typescript label: definitions - source: "import { Panora } from \"@panora/sdk\";\nimport { DataType, ObjectTypeOwner } from \"@panora/sdk/models/components\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.fieldMappings.definitions({\n objectTypeOwner: ObjectTypeOwner.Company,\n name: \"fav_dish\",\n description: \"My favorite dish\",\n dataType: DataType.String,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + import { DataType, ObjectTypeOwner } from "@panora/sdk/models/components"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.fieldMappings.definitions({ + objectTypeOwner: ObjectTypeOwner.Company, + name: "fav_dish", + description: "My favorite dish", + dataType: DataType.String, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: definitions source: |- @@ -5656,7 +6964,30 @@ paths: x-codeSamples: - lang: typescript label: defineCustomField - source: "import { Panora } from \"@panora/sdk\";\nimport { CustomFieldCreateDtoDataType, CustomFieldCreateDtoObjectTypeOwner } from \"@panora/sdk/models/components\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.fieldMappings.defineCustomField({\n objectTypeOwner: CustomFieldCreateDtoObjectTypeOwner.Company,\n name: \"my_favorite_dish\",\n description: \"Favorite Dish\",\n dataType: CustomFieldCreateDtoDataType.String,\n sourceCustomFieldId: \"id_1\",\n sourceProvider: \"hubspot\",\n linkedUserId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + import { CustomFieldCreateDtoDataType, CustomFieldCreateDtoObjectTypeOwner } from "@panora/sdk/models/components"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.fieldMappings.defineCustomField({ + objectTypeOwner: CustomFieldCreateDtoObjectTypeOwner.Company, + name: "my_favorite_dish", + description: "Favorite Dish", + dataType: CustomFieldCreateDtoDataType.String, + sourceCustomFieldId: "id_1", + sourceProvider: "hubspot", + linkedUserId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: defineCustomField source: |- @@ -5741,7 +7072,26 @@ paths: x-codeSamples: - lang: typescript label: map - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.fieldMappings.map({\n attributeId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n sourceCustomFieldId: \"id_1\",\n sourceProvider: \"hubspot\",\n linkedUserId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.fieldMappings.map({ + attributeId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + sourceCustomFieldId: "id_1", + sourceProvider: "hubspot", + linkedUserId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: map source: |- @@ -5805,15 +7155,11 @@ paths: required: false in: query schema: - minimum: 1 - default: 1 type: number - name: limit required: false in: query schema: - minimum: 1 - default: 10 type: number responses: '200': @@ -5829,7 +7175,21 @@ paths: x-codeSamples: - lang: typescript label: getPanoraCoreEvents - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.events.getPanoraCoreEvents({});\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.events.getPanoraCoreEvents({}); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: getPanoraCoreEvents source: |- @@ -5896,19 +7256,41 @@ paths: application/json: schema: type: object - '201': - description: '' - content: - application/json: - schema: - type: object tags: &ref_22 - passthrough x-speakeasy-group: passthrough x-codeSamples: - lang: typescript label: request - source: "import { Panora } from \"@panora/sdk\";\nimport { PassThroughRequestDtoMethod } from \"@panora/sdk/models/components\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.passthrough.request({\n xConnectionToken: \"\",\n passThroughRequestDto: {\n method: PassThroughRequestDtoMethod.Get,\n path: \"/dev\",\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + source: |- + import { Panora } from "@panora/sdk"; + import { PassThroughRequestDtoMethod } from "@panora/sdk/models/components"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.passthrough.request({ + xConnectionToken: "", + passThroughRequestDto: { + method: PassThroughRequestDtoMethod.Get, + path: "/etc/periodic", + data: {}, + requestFormat: { + + }, + overrideBaseUrl: { + + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: request source: |- @@ -5989,8 +7371,10 @@ paths: async function run() { await panora.passthrough.retryid.getRetriedRequestResponse({ - retryId: "", + retryId: "", }); + + } run(); @@ -6035,10 +7419,10 @@ paths: - lang: ruby label: getRetriedRequestResponse source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.passthrough_retryid.get_retried_request_response(retry_id=\"\")\n\nif res.status_code == 200\n # handle response\nend" - /hris/bankinfos: + /marketingautomation/actions: get: - operationId: listHrisBankInfo - summary: List Bank Info + operationId: listMarketingautomationAction + summary: List Actions parameters: - name: x-connection-token required: true @@ -6059,7 +7443,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -6080,10 +7463,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisBankinfoOutput' + $ref: >- + #/components/schemas/UnifiedMarketingautomationActionOutput tags: &ref_23 - - hris/bankinfos - x-speakeasy-group: hris.bankinfos + - marketingautomation/actions + x-speakeasy-group: marketingautomation.actions x-speakeasy-pagination: type: cursor inputs: @@ -6094,10 +7478,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisBankInfo - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.bankinfos.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingautomationAction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.actions.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisBankInfo + label: listMarketingautomationAction source: |- from panora_sdk import Panora @@ -6106,7 +7511,7 @@ paths: ) - res = s.hris.bankinfos.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.actions.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -6116,16 +7521,15 @@ paths: if res is None: break - lang: go - label: listHrisBankInfo - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Bankinfos.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingautomationAction + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Actions.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisBankInfo - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_bankinfos.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/bankinfos/{id}: - get: - operationId: retrieveHrisBankInfo - summary: Retrieve Bank Info - description: Retrieve Bank Info from any connected Hris software + label: listMarketingautomationAction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationAction + summary: Create Action + description: Create a action in any supported Marketingautomation software parameters: - name: x-connection-token required: true @@ -6133,35 +7537,53 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the bank info you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationActionInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisBankinfoOutput' + $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' tags: *ref_23 - x-speakeasy-group: hris.bankinfos + x-speakeasy-group: marketingautomation.actions x-codeSamples: - lang: typescript - label: retrieveHrisBankInfo - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.bankinfos.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createMarketingautomationAction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.actions.create({ + xConnectionToken: "", + remoteData: false, + unifiedMarketingautomationActionInput: {}, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisBankInfo + label: createMarketingautomationAction source: |- from panora_sdk import Panora @@ -6170,19 +7592,20 @@ paths: ) - res = s.hris.bankinfos.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.actions.create(x_connection_token="", unified_marketingautomation_action_input={}, remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisBankInfo + label: createMarketingautomationAction source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -6192,108 +7615,22 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Bankinfos.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Actions.Create(ctx, "", components.UnifiedMarketingautomationActionInput{}, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisBankinfoOutput != nil { + if res.UnifiedMarketingautomationActionOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisBankInfo - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_bankinfos.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_bankinfo_output.nil?\n # handle response\nend" - /hris/benefits: + label: createMarketingautomationAction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.create(x_connection_token=\"\", unified_marketingautomation_action_input=::OpenApiSDK::Shared::UnifiedMarketingautomationActionInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_action_output.nil?\n # handle response\nend" + /marketingautomation/actions/{id}: get: - operationId: listHrisBenefits - summary: List Benefits - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisBenefitOutput' - tags: &ref_24 - - hris/benefits - x-speakeasy-group: hris.benefits - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listHrisBenefits - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.benefits.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listHrisBenefits - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.hris.benefits.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listHrisBenefits - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Benefits.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listHrisBenefits - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_benefits.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/benefits/{id}: - get: - operationId: retrieveHrisBenefit - summary: Retrieve Benefit - description: Retrieve a Benefit from any connected Hris software + operationId: retrieveMarketingautomationAction + summary: Retrieve Actions + description: Retrieve Actions from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -6304,14 +7641,15 @@ paths: - name: id required: true in: path - description: id of the benefit you want to retrieve. + description: id of the action you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -6321,15 +7659,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisBenefitOutput' - tags: *ref_24 - x-speakeasy-group: hris.benefits + $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' + tags: *ref_23 + x-speakeasy-group: marketingautomation.actions x-codeSamples: - lang: typescript - label: retrieveHrisBenefit - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.benefits.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingautomationAction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.actions.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisBenefit + label: retrieveMarketingautomationAction source: |- from panora_sdk import Panora @@ -6338,13 +7694,13 @@ paths: ) - res = s.hris.benefits.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.actions.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisBenefit + label: retrieveMarketingautomationAction source: |- package main @@ -6360,21 +7716,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Benefits.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Actions.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisBenefitOutput != nil { + if res.UnifiedMarketingautomationActionOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisBenefit - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_benefits.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_benefit_output.nil?\n # handle response\nend" - /hris/companies: + label: retrieveMarketingautomationAction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_action_output.nil?\n # handle response\nend" + /marketingautomation/automations: get: - operationId: listHrisCompanies - summary: List Companies + operationId: listMarketingautomationAutomations + summary: List Automations parameters: - name: x-connection-token required: true @@ -6395,7 +7751,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -6416,10 +7771,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisCompanyOutput' - tags: &ref_25 - - hris/companies - x-speakeasy-group: hris.companies + $ref: >- + #/components/schemas/UnifiedMarketingautomationAutomationOutput + tags: &ref_24 + - marketingautomation/automations + x-speakeasy-group: marketingautomation.automations x-speakeasy-pagination: type: cursor inputs: @@ -6430,10 +7786,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisCompanies - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.companies.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingautomationAutomations + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.automations.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisCompanies + label: listMarketingautomationAutomations source: |- from panora_sdk import Panora @@ -6442,7 +7819,7 @@ paths: ) - res = s.hris.companies.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.automations.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -6452,16 +7829,15 @@ paths: if res is None: break - lang: go - label: listHrisCompanies - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Companies.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingautomationAutomations + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Automations.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisCompanies - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_companies.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/companies/{id}: - get: - operationId: retrieveHrisCompany - summary: Retrieve Company - description: Retrieve a Company from any connected Hris software + label: listMarketingautomationAutomations + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationAutomation + summary: Create Automation + description: Create a automation in any supported Marketingautomation software parameters: - name: x-connection-token required: true @@ -6469,35 +7845,54 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the company you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationAutomationInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisCompanyOutput' - tags: *ref_25 - x-speakeasy-group: hris.companies + $ref: >- + #/components/schemas/UnifiedMarketingautomationAutomationOutput + tags: *ref_24 + x-speakeasy-group: marketingautomation.automations x-codeSamples: - lang: typescript - label: retrieveHrisCompany - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.companies.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createMarketingautomationAutomation + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.automations.create({ + xConnectionToken: "", + remoteData: false, + unifiedMarketingautomationAutomationInput: {}, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisCompany + label: createMarketingautomationAutomation source: |- from panora_sdk import Panora @@ -6506,19 +7901,20 @@ paths: ) - res = s.hris.companies.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.automations.create(x_connection_token="", unified_marketingautomation_automation_input={}, remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisCompany + label: createMarketingautomationAutomation source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -6528,21 +7924,22 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Companies.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Automations.Create(ctx, "", components.UnifiedMarketingautomationAutomationInput{}, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisCompanyOutput != nil { + if res.UnifiedMarketingautomationAutomationOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisCompany - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_companies.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_company_output.nil?\n # handle response\nend" - /hris/dependents: + label: createMarketingautomationAutomation + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.create(x_connection_token=\"\", unified_marketingautomation_automation_input=::OpenApiSDK::Shared::UnifiedMarketingautomationAutomationInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_automation_output.nil?\n # handle response\nend" + /marketingautomation/automations/{id}: get: - operationId: listHrisDependents - summary: List Dependents + operationId: retrieveMarketingautomationAutomation + summary: Retrieve Automation + description: Retrieve an Automation from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -6550,58 +7947,55 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + description: id of the automation you want to retrieve. + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + schema: + type: string - name: remote_data required: false in: query - example: true - description: Set to true to include data from the original software. + description: >- + Set to true to include data from the original Marketingautomation software. + example: false schema: type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string responses: '200': description: '' content: application/json: schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisDependentOutput' - tags: &ref_26 - - hris/dependents - x-speakeasy-group: hris.dependents - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor + $ref: >- + #/components/schemas/UnifiedMarketingautomationAutomationOutput + tags: *ref_24 + x-speakeasy-group: marketingautomation.automations x-codeSamples: - lang: typescript - label: listHrisDependents - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.dependents.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: retrieveMarketingautomationAutomation + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.automations.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: listHrisDependents + label: retrieveMarketingautomationAutomation source: |- from panora_sdk import Panora @@ -6610,77 +8004,13 @@ paths: ) - res = s.hris.dependents.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.automations.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break + # handle response + pass - lang: go - label: listHrisDependents - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Dependents.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listHrisDependents - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_dependents.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/dependents/{id}: - get: - operationId: retrieveHrisDependent - summary: Retrieve Dependent - description: Retrieve a Dependent from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the dependent you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisDependentOutput' - tags: *ref_26 - x-speakeasy-group: hris.dependents - x-codeSamples: - - lang: typescript - label: retrieveHrisDependent - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.dependents.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveHrisDependent - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.hris.dependents.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveHrisDependent + label: retrieveMarketingautomationAutomation source: |- package main @@ -6696,21 +8026,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Dependents.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Automations.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisDependentOutput != nil { + if res.UnifiedMarketingautomationAutomationOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisDependent - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_dependents.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_dependent_output.nil?\n # handle response\nend" - /hris/employeepayrollruns: + label: retrieveMarketingautomationAutomation + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_automation_output.nil?\n # handle response\nend" + /marketingautomation/campaigns: get: - operationId: listHrisEmployeePayrollRun - summary: List Employee Payroll Runs + operationId: listMarketingautomationCampaigns + summary: List Campaigns parameters: - name: x-connection-token required: true @@ -6731,7 +8061,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -6753,10 +8082,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedHrisEmployeepayrollrunOutput - tags: &ref_27 - - hris/employeepayrollruns - x-speakeasy-group: hris.employeepayrollruns + #/components/schemas/UnifiedMarketingautomationCampaignOutput + tags: &ref_25 + - marketingautomation/campaigns + x-speakeasy-group: marketingautomation.campaigns x-speakeasy-pagination: type: cursor inputs: @@ -6767,10 +8096,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisEmployeePayrollRun - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employeepayrollruns.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingautomationCampaigns + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.campaigns.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisEmployeePayrollRun + label: listMarketingautomationCampaigns source: |- from panora_sdk import Panora @@ -6779,7 +8129,7 @@ paths: ) - res = s.hris.employeepayrollruns.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.campaigns.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -6789,16 +8139,116 @@ paths: if res is None: break - lang: go - label: listHrisEmployeePayrollRun - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Employeepayrollruns.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingautomationCampaigns + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Campaigns.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + - lang: ruby + label: listMarketingautomationCampaigns + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationCampaign + summary: Create Campaign + description: Create a campaign in any supported Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + example: false + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationCampaignInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationCampaignOutput' + tags: *ref_25 + x-speakeasy-group: marketingautomation.campaigns + x-codeSamples: + - lang: typescript + label: createMarketingautomationCampaign + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.campaigns.create({ + xConnectionToken: "", + remoteData: false, + unifiedMarketingautomationCampaignInput: {}, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: createMarketingautomationCampaign + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.marketingautomation.campaigns.create(x_connection_token="", unified_marketingautomation_campaign_input={}, remote_data=False) + + if res is not None: + # handle response + pass + - lang: go + label: createMarketingautomationCampaign + source: |- + package main + + import( + gosdk "github.com/panoratech/go-sdk" + "context" + "github.com/panoratech/go-sdk/models/components" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(""), + ) + + ctx := context.Background() + res, err := s.Marketingautomation.Campaigns.Create(ctx, "", components.UnifiedMarketingautomationCampaignInput{}, gosdk.Bool(false)) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationCampaignOutput != nil { + // handle response + } + } - lang: ruby - label: listHrisEmployeePayrollRun - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employeepayrollruns.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/employeepayrollruns/{id}: + label: createMarketingautomationCampaign + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.create(x_connection_token=\"\", unified_marketingautomation_campaign_input=::OpenApiSDK::Shared::UnifiedMarketingautomationCampaignInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_campaign_output.nil?\n # handle response\nend" + /marketingautomation/campaigns/{id}: get: - operationId: retrieveHrisEmployeePayrollRun - summary: Retrieve Employee Payroll Run - description: Retrieve Employee Payroll Run from any connected Hris software + operationId: retrieveMarketingautomationCampaign + summary: Retrieve Campaign + description: Retrieve a Campaign from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -6809,14 +8259,15 @@ paths: - name: id required: true in: path - description: id of the employeepayrollrun you want to retrieve. + description: id of the campaign you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -6826,15 +8277,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisEmployeepayrollrunOutput' - tags: *ref_27 - x-speakeasy-group: hris.employeepayrollruns + $ref: '#/components/schemas/UnifiedMarketingautomationCampaignOutput' + tags: *ref_25 + x-speakeasy-group: marketingautomation.campaigns x-codeSamples: - lang: typescript - label: retrieveHrisEmployeePayrollRun - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employeepayrollruns.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingautomationCampaign + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.campaigns.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisEmployeePayrollRun + label: retrieveMarketingautomationCampaign source: |- from panora_sdk import Panora @@ -6843,13 +8312,13 @@ paths: ) - res = s.hris.employeepayrollruns.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.campaigns.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisEmployeePayrollRun + label: retrieveMarketingautomationCampaign source: |- package main @@ -6865,21 +8334,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Employeepayrollruns.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Campaigns.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisEmployeepayrollrunOutput != nil { + if res.UnifiedMarketingautomationCampaignOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisEmployeePayrollRun - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employeepayrollruns.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_employeepayrollrun_output.nil?\n # handle response\nend" - /hris/employees: + label: retrieveMarketingautomationCampaign + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_campaign_output.nil?\n # handle response\nend" + /marketingautomation/contacts: get: - operationId: listHrisEmployees - summary: List Employees + operationId: listMarketingAutomationContacts + summary: List Contacts parameters: - name: x-connection-token required: true @@ -6900,7 +8369,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -6921,10 +8389,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' - tags: &ref_28 - - hris/employees - x-speakeasy-group: hris.employees + $ref: >- + #/components/schemas/UnifiedMarketingautomationContactOutput + tags: &ref_26 + - marketingautomation/contacts + x-speakeasy-group: marketingautomation.contacts x-speakeasy-pagination: type: cursor inputs: @@ -6935,10 +8404,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisEmployees - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employees.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingAutomationContacts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.contacts.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisEmployees + label: listMarketingAutomationContacts source: |- from panora_sdk import Panora @@ -6947,7 +8437,7 @@ paths: ) - res = s.hris.employees.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.contacts.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -6957,15 +8447,15 @@ paths: if res is None: break - lang: go - label: listHrisEmployees - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Employees.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingAutomationContacts + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Contacts.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisEmployees - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employees.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listMarketingAutomationContacts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createHrisEmployee - summary: Create Employees - description: Create Employees in any supported Hris software + operationId: createMarketingAutomationContact + summary: Create Contact + description: Create a contact in any supported Marketingautomation software parameters: - name: x-connection-token required: true @@ -6976,7 +8466,9 @@ paths: - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. + example: false schema: type: boolean requestBody: @@ -6984,24 +8476,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisEmployeeInput' + $ref: '#/components/schemas/UnifiedMarketingautomationContactInput' responses: '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' - tags: *ref_28 - x-speakeasy-group: hris.employees + $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' + tags: *ref_26 + x-speakeasy-group: marketingautomation.contacts x-codeSamples: - lang: typescript - label: createHrisEmployee - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employees.create({\n xConnectionToken: \"\",\n unifiedHrisEmployeeInput: {\n groups: [\n \"Group1\",\n \"Group2\",\n ],\n locations: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n employeeNumber: \"EMP001\",\n companyId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n firstName: \"John\",\n lastName: \"Doe\",\n preferredName: \"Johnny\",\n displayFullName: \"John Doe\",\n username: \"johndoe\",\n workEmail: \"john.doe@company.com\",\n personalEmail: \"john.doe@personal.com\",\n mobilePhoneNumber: \"+1234567890\",\n employments: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n ssn: \"123-45-6789\",\n gender: \"MALE\",\n ethnicity: \"AMERICAN_INDIAN_OR_ALASKA_NATIVE\",\n maritalStatus: \"Married\",\n dateOfBirth: new Date(\"1990-01-01\"),\n startDate: new Date(\"2020-01-01\"),\n employmentStatus: \"ACTIVE\",\n terminationDate: new Date(\"2025-01-01\"),\n avatarUrl: \"https://example.com/avatar.jpg\",\n managerId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createMarketingAutomationContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.contacts.create({ + xConnectionToken: "", + remoteData: false, + unifiedMarketingautomationContactInput: {}, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createHrisEmployee + label: createMarketingAutomationContact source: |- - import dateutil.parser from panora_sdk import Panora s = Panora( @@ -7009,53 +8518,19 @@ paths: ) - res = s.hris.employees.create(x_connection_token="", unified_hris_employee_input={ - "groups": [ - "Group1", - "Group2", - ], - "locations": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "employee_number": "EMP001", - "company_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "first_name": "John", - "last_name": "Doe", - "preferred_name": "Johnny", - "display_full_name": "John Doe", - "username": "johndoe", - "work_email": "john.doe@company.com", - "personal_email": "john.doe@personal.com", - "mobile_phone_number": "+1234567890", - "employments": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "ssn": "123-45-6789", - "gender": "MALE", - "ethnicity": "AMERICAN_INDIAN_OR_ALASKA_NATIVE", - "marital_status": "Married", - "date_of_birth": dateutil.parser.isoparse("1990-01-01"), - "start_date": dateutil.parser.isoparse("2020-01-01"), - "employment_status": "ACTIVE", - "termination_date": dateutil.parser.isoparse("2025-01-01"), - "avatar_url": "https://example.com/avatar.jpg", - "manager_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": {}, - }) + res = s.marketingautomation.contacts.create(x_connection_token="", unified_marketingautomation_contact_input={}, remote_data=False) if res is not None: # handle response pass - lang: go - label: createHrisEmployee + label: createMarketingAutomationContact source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" - "github.com/panoratech/go-sdk/types" "github.com/panoratech/go-sdk/models/components" "log" ) @@ -7066,55 +8541,22 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Employees.Create(ctx, "", components.UnifiedHrisEmployeeInput{ - Groups: []string{ - "Group1", - "Group2", - }, - Locations: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - EmployeeNumber: gosdk.String("EMP001"), - CompanyID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FirstName: gosdk.String("John"), - LastName: gosdk.String("Doe"), - PreferredName: gosdk.String("Johnny"), - DisplayFullName: gosdk.String("John Doe"), - Username: gosdk.String("johndoe"), - WorkEmail: gosdk.String("john.doe@company.com"), - PersonalEmail: gosdk.String("john.doe@personal.com"), - MobilePhoneNumber: gosdk.String("+1234567890"), - Employments: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - Ssn: gosdk.String("123-45-6789"), - Gender: gosdk.String("MALE"), - Ethnicity: gosdk.String("AMERICAN_INDIAN_OR_ALASKA_NATIVE"), - MaritalStatus: gosdk.String("Married"), - DateOfBirth: types.MustNewTimeFromString("1990-01-01"), - StartDate: types.MustNewTimeFromString("2020-01-01"), - EmploymentStatus: gosdk.String("ACTIVE"), - TerminationDate: types.MustNewTimeFromString("2025-01-01"), - AvatarURL: gosdk.String("https://example.com/avatar.jpg"), - ManagerID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: &components.UnifiedHrisEmployeeInputFieldMappings{}, - }, nil) + res, err := s.Marketingautomation.Contacts.Create(ctx, "", components.UnifiedMarketingautomationContactInput{}, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisEmployeeOutput != nil { + if res.UnifiedMarketingautomationContactOutput != nil { // handle response } } - lang: ruby - label: createHrisEmployee - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employees.create(x_connection_token=\"\", unified_hris_employee_input=::OpenApiSDK::Shared::UnifiedHrisEmployeeInput.new(\n groups: [\n \"Group1\",\n \"Group2\",\n ],\n locations: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n employee_number: \"EMP001\",\n company_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n first_name: \"John\",\n last_name: \"Doe\",\n preferred_name: \"Johnny\",\n display_full_name: \"John Doe\",\n username: \"johndoe\",\n work_email: \"john.doe@company.com\",\n personal_email: \"john.doe@personal.com\",\n mobile_phone_number: \"+1234567890\",\n employments: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n ssn: \"123-45-6789\",\n gender: \"MALE\",\n ethnicity: \"AMERICAN_INDIAN_OR_ALASKA_NATIVE\",\n marital_status: \"Married\",\n date_of_birth: DateTime.iso8601('1990-01-01'),\n start_date: DateTime.iso8601('2020-01-01'),\n employment_status: \"ACTIVE\",\n termination_date: DateTime.iso8601('2025-01-01'),\n avatar_url: \"https://example.com/avatar.jpg\",\n manager_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedHrisEmployeeInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_hris_employee_output.nil?\n # handle response\nend" - /hris/employees/{id}: + label: createMarketingAutomationContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.create(x_connection_token=\"\", unified_marketingautomation_contact_input=::OpenApiSDK::Shared::UnifiedMarketingautomationContactInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_contact_output.nil?\n # handle response\nend" + /marketingautomation/contacts/{id}: get: - operationId: retrieveHrisEmployee - summary: Retrieve Employee - description: Retrieve an Employee from any connected Hris software + operationId: retrieveMarketingAutomationContact + summary: Retrieve Contacts + description: Retrieve Contacts from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -7125,14 +8567,15 @@ paths: - name: id required: true in: path - description: id of the employee you want to retrieve. + description: id of the contact you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -7142,15 +8585,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' - tags: *ref_28 - x-speakeasy-group: hris.employees + $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' + tags: *ref_26 + x-speakeasy-group: marketingautomation.contacts x-codeSamples: - lang: typescript - label: retrieveHrisEmployee - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employees.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingAutomationContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.contacts.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisEmployee + label: retrieveMarketingAutomationContact source: |- from panora_sdk import Panora @@ -7159,13 +8620,13 @@ paths: ) - res = s.hris.employees.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.contacts.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisEmployee + label: retrieveMarketingAutomationContact source: |- package main @@ -7181,21 +8642,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Employees.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Contacts.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisEmployeeOutput != nil { + if res.UnifiedMarketingautomationContactOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisEmployee - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employees.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_employee_output.nil?\n # handle response\nend" - /hris/employerbenefits: + label: retrieveMarketingAutomationContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_contact_output.nil?\n # handle response\nend" + /marketingautomation/emails: get: - operationId: listHrisEmployerBenefits - summary: List Employer Benefits + operationId: listMarketingautomationEmails + summary: List Emails parameters: - name: x-connection-token required: true @@ -7216,7 +8677,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -7238,10 +8698,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedHrisEmployerbenefitOutput - tags: &ref_29 - - hris/employerbenefits - x-speakeasy-group: hris.employerbenefits + #/components/schemas/UnifiedMarketingautomationEmailOutput + tags: &ref_27 + - marketingautomation/emails + x-speakeasy-group: marketingautomation.emails x-speakeasy-pagination: type: cursor inputs: @@ -7252,10 +8712,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisEmployerBenefits - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employerbenefits.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingautomationEmails + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.emails.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisEmployerBenefits + label: listMarketingautomationEmails source: |- from panora_sdk import Panora @@ -7264,7 +8745,7 @@ paths: ) - res = s.hris.employerbenefits.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.emails.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -7274,16 +8755,16 @@ paths: if res is None: break - lang: go - label: listHrisEmployerBenefits - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Employerbenefits.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingautomationEmails + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Emails.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisEmployerBenefits - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employerbenefits.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/employerbenefits/{id}: + label: listMarketingautomationEmails + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_emails.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/emails/{id}: get: - operationId: retrieveHrisEmployerBenefit - summary: Retrieve Employer Benefit - description: Retrieve an Employer Benefit from any connected Hris software + operationId: retrieveMarketingautomationEmail + summary: Retrieve Email + description: Retrieve an Email from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -7294,14 +8775,15 @@ paths: - name: id required: true in: path - description: id of the employer benefit you want to retrieve. + description: id of the email you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -7311,15 +8793,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisEmployerbenefitOutput' - tags: *ref_29 - x-speakeasy-group: hris.employerbenefits + $ref: '#/components/schemas/UnifiedMarketingautomationEmailOutput' + tags: *ref_27 + x-speakeasy-group: marketingautomation.emails x-codeSamples: - lang: typescript - label: retrieveHrisEmployerBenefit - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employerbenefits.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingautomationEmail + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.emails.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisEmployerBenefit + label: retrieveMarketingautomationEmail source: |- from panora_sdk import Panora @@ -7328,13 +8828,13 @@ paths: ) - res = s.hris.employerbenefits.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.emails.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisEmployerBenefit + label: retrieveMarketingautomationEmail source: |- package main @@ -7350,21 +8850,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Employerbenefits.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Emails.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisEmployerbenefitOutput != nil { + if res.UnifiedMarketingautomationEmailOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisEmployerBenefit - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employerbenefits.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_employerbenefit_output.nil?\n # handle response\nend" - /hris/employments: + label: retrieveMarketingautomationEmail + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_emails.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_email_output.nil?\n # handle response\nend" + /marketingautomation/events: get: - operationId: listHrisEmployments - summary: List Employments + operationId: listMarketingAutomationEvents + summary: List Events parameters: - name: x-connection-token required: true @@ -7385,7 +8885,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -7406,10 +8905,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisEmploymentOutput' - tags: &ref_30 - - hris/employments - x-speakeasy-group: hris.employments + $ref: >- + #/components/schemas/UnifiedMarketingautomationEventOutput + tags: &ref_28 + - marketingautomation/events + x-speakeasy-group: marketingautomation.events x-speakeasy-pagination: type: cursor inputs: @@ -7420,10 +8920,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisEmployments - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingAutomationEvents + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.events.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisEmployments + label: listMarketingAutomationEvents source: |- from panora_sdk import Panora @@ -7432,7 +8953,7 @@ paths: ) - res = s.hris.employments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.events.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -7442,16 +8963,16 @@ paths: if res is None: break - lang: go - label: listHrisEmployments - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Employments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingAutomationEvents + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Events.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisEmployments - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/employments/{id}: + label: listMarketingAutomationEvents + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_events.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/events/{id}: get: - operationId: retrieveHrisEmployment - summary: Retrieve Employment - description: Retrieve an Employment from any connected Hris software + operationId: retrieveMarketingautomationEvent + summary: Retrieve Event + description: Retrieve an Event from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -7462,14 +8983,15 @@ paths: - name: id required: true in: path - description: id of the employment you want to retrieve. + description: id of the event you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -7479,15 +9001,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisEmploymentOutput' - tags: *ref_30 - x-speakeasy-group: hris.employments + $ref: '#/components/schemas/UnifiedMarketingautomationEventOutput' + tags: *ref_28 + x-speakeasy-group: marketingautomation.events x-codeSamples: - lang: typescript - label: retrieveHrisEmployment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.employments.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingautomationEvent + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.events.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisEmployment + label: retrieveMarketingautomationEvent source: |- from panora_sdk import Panora @@ -7496,13 +9036,13 @@ paths: ) - res = s.hris.employments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.events.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisEmployment + label: retrieveMarketingautomationEvent source: |- package main @@ -7518,21 +9058,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Employments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Events.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisEmploymentOutput != nil { + if res.UnifiedMarketingautomationEventOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisEmployment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_employments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_employment_output.nil?\n # handle response\nend" - /hris/groups: + label: retrieveMarketingautomationEvent + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_events.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_event_output.nil?\n # handle response\nend" + /marketingautomation/lists: get: - operationId: listHrisGroups - summary: List Groups + operationId: listMarketingautomationLists + summary: List Lists parameters: - name: x-connection-token required: true @@ -7553,7 +9093,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -7574,10 +9113,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisGroupOutput' - tags: &ref_31 - - hris/groups - x-speakeasy-group: hris.groups + $ref: >- + #/components/schemas/UnifiedMarketingautomationListOutput + tags: &ref_29 + - marketingautomation/lists + x-speakeasy-group: marketingautomation.lists x-speakeasy-pagination: type: cursor inputs: @@ -7588,10 +9128,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisGroups - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.groups.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingautomationLists + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.lists.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisGroups + label: listMarketingautomationLists source: |- from panora_sdk import Panora @@ -7600,7 +9161,7 @@ paths: ) - res = s.hris.groups.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.lists.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -7610,16 +9171,15 @@ paths: if res is None: break - lang: go - label: listHrisGroups - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Groups.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingautomationLists + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Lists.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisGroups - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_groups.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/groups/{id}: - get: - operationId: retrieveHrisGroup - summary: Retrieve Group - description: Retrieve a Group from any connected Hris software + label: listMarketingautomationLists + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationList + summary: Create Lists + description: Create Lists in any supported Marketingautomation software parameters: - name: x-connection-token required: true @@ -7627,35 +9187,51 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the group you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. - example: false + description: >- + Set to true to include data from the original Marketingautomation software. schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationListInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisGroupOutput' - tags: *ref_31 - x-speakeasy-group: hris.groups + $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' + tags: *ref_29 + x-speakeasy-group: marketingautomation.lists x-codeSamples: - lang: typescript - label: retrieveHrisGroup - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.groups.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createMarketingautomationList + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.lists.create({ + xConnectionToken: "", + unifiedMarketingautomationListInput: {}, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisGroup + label: createMarketingautomationList source: |- from panora_sdk import Panora @@ -7664,19 +9240,20 @@ paths: ) - res = s.hris.groups.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.lists.create(x_connection_token="", unified_marketingautomation_list_input={}) if res is not None: # handle response pass - lang: go - label: retrieveHrisGroup + label: createMarketingautomationList source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -7686,108 +9263,22 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Groups.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Lists.Create(ctx, "", components.UnifiedMarketingautomationListInput{}, nil) if err != nil { log.Fatal(err) } - if res.UnifiedHrisGroupOutput != nil { + if res.UnifiedMarketingautomationListOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisGroup - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_groups.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_group_output.nil?\n # handle response\nend" - /hris/locations: - get: - operationId: listHrisLocations - summary: List Locations - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisLocationOutput' - tags: &ref_32 - - hris/locations - x-speakeasy-group: hris.locations - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listHrisLocations - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.locations.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listHrisLocations - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.hris.locations.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listHrisLocations - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Locations.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listHrisLocations - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_locations.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/locations/{id}: + label: createMarketingautomationList + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.create(x_connection_token=\"\", unified_marketingautomation_list_input=::OpenApiSDK::Shared::UnifiedMarketingautomationListInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_list_output.nil?\n # handle response\nend" + /marketingautomation/lists/{id}: get: - operationId: retrieveHrisLocation - summary: Retrieve Location - description: Retrieve a Location from any connected Hris software + operationId: retrieveMarketingautomationList + summary: Retrieve List + description: Retrieve a List from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -7798,14 +9289,15 @@ paths: - name: id required: true in: path - description: id of the location you want to retrieve. + description: id of the list you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -7815,15 +9307,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisLocationOutput' - tags: *ref_32 - x-speakeasy-group: hris.locations + $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' + tags: *ref_29 + x-speakeasy-group: marketingautomation.lists x-codeSamples: - lang: typescript - label: retrieveHrisLocation - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.locations.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingautomationList + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.lists.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisLocation + label: retrieveMarketingautomationList source: |- from panora_sdk import Panora @@ -7832,13 +9342,13 @@ paths: ) - res = s.hris.locations.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.lists.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisLocation + label: retrieveMarketingautomationList source: |- package main @@ -7854,21 +9364,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Locations.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Lists.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisLocationOutput != nil { + if res.UnifiedMarketingautomationListOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisLocation - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_locations.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_location_output.nil?\n # handle response\nend" - /hris/paygroups: + label: retrieveMarketingautomationList + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_list_output.nil?\n # handle response\nend" + /marketingautomation/messages: get: - operationId: listHrisPaygroups - summary: List Pay Groups + operationId: listMarketingautomationMessages + summary: List Messages parameters: - name: x-connection-token required: true @@ -7889,7 +9399,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -7910,10 +9419,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisPaygroupOutput' - tags: &ref_33 - - hris/paygroups - x-speakeasy-group: hris.paygroups + $ref: >- + #/components/schemas/UnifiedMarketingautomationMessageOutput + tags: &ref_30 + - marketingautomation/messages + x-speakeasy-group: marketingautomation.messages x-speakeasy-pagination: type: cursor inputs: @@ -7924,10 +9434,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisPaygroups - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.paygroups.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingautomationMessages + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.messages.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisPaygroups + label: listMarketingautomationMessages source: |- from panora_sdk import Panora @@ -7936,7 +9467,7 @@ paths: ) - res = s.hris.paygroups.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.messages.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -7946,16 +9477,16 @@ paths: if res is None: break - lang: go - label: listHrisPaygroups - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Paygroups.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingautomationMessages + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Messages.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisPaygroups - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_paygroups.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/paygroups/{id}: + label: listMarketingautomationMessages + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_messages.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/messages/{id}: get: - operationId: retrieveHrisPaygroup - summary: Retrieve Pay Group - description: Retrieve a Pay Group from any connected Hris software + operationId: retrieveMarketingautomationMessage + summary: Retrieve Messages + description: Retrieve Messages from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -7966,14 +9497,15 @@ paths: - name: id required: true in: path - description: id of the paygroup you want to retrieve. + description: id of the message you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -7983,15 +9515,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisPaygroupOutput' - tags: *ref_33 - x-speakeasy-group: hris.paygroups + $ref: '#/components/schemas/UnifiedMarketingautomationMessageOutput' + tags: *ref_30 + x-speakeasy-group: marketingautomation.messages x-codeSamples: - lang: typescript - label: retrieveHrisPaygroup - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.paygroups.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingautomationMessage + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.messages.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisPaygroup + label: retrieveMarketingautomationMessage source: |- from panora_sdk import Panora @@ -8000,13 +9550,13 @@ paths: ) - res = s.hris.paygroups.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.messages.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisPaygroup + label: retrieveMarketingautomationMessage source: |- package main @@ -8022,21 +9572,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Paygroups.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Messages.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisPaygroupOutput != nil { + if res.UnifiedMarketingautomationMessageOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisPaygroup - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_paygroups.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_paygroup_output.nil?\n # handle response\nend" - /hris/payrollruns: + label: retrieveMarketingautomationMessage + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_messages.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_message_output.nil?\n # handle response\nend" + /marketingautomation/templates: get: - operationId: listHrisPayrollRuns - summary: List Payroll Runs + operationId: listMarketingautomationTemplates + summary: List Templates parameters: - name: x-connection-token required: true @@ -8057,7 +9607,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -8078,10 +9627,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisPayrollrunOutput' - tags: &ref_34 - - hris/payrollruns - x-speakeasy-group: hris.payrollruns + $ref: >- + #/components/schemas/UnifiedMarketingautomationTemplateOutput + tags: &ref_31 + - marketingautomation/templates + x-speakeasy-group: marketingautomation.templates x-speakeasy-pagination: type: cursor inputs: @@ -8092,10 +9642,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisPayrollRuns - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.payrollruns.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingautomationTemplates + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.templates.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisPayrollRuns + label: listMarketingautomationTemplates source: |- from panora_sdk import Panora @@ -8104,7 +9675,7 @@ paths: ) - res = s.hris.payrollruns.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.templates.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -8114,16 +9685,15 @@ paths: if res is None: break - lang: go - label: listHrisPayrollRuns - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Payrollruns.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingautomationTemplates + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Templates.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisPayrollRuns - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_payrollruns.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/payrollruns/{id}: - get: - operationId: retrieveHrisPayrollRun - summary: Retrieve Payroll Run - description: Retrieve a Payroll Run from any connected Hris software + label: listMarketingautomationTemplates + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationTemplate + summary: Create Template + description: Create a template in any supported Marketingautomation software parameters: - name: x-connection-token required: true @@ -8131,35 +9701,51 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the payroll run you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. - example: false + description: >- + Set to true to include data from the original Marketingautomation software. schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationTemplateInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisPayrollrunOutput' - tags: *ref_34 - x-speakeasy-group: hris.payrollruns + $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' + tags: *ref_31 + x-speakeasy-group: marketingautomation.templates x-codeSamples: - lang: typescript - label: retrieveHrisPayrollRun - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.payrollruns.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createMarketingautomationTemplate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.templates.create({ + xConnectionToken: "", + unifiedMarketingautomationTemplateInput: {}, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisPayrollRun + label: createMarketingautomationTemplate source: |- from panora_sdk import Panora @@ -8168,19 +9754,20 @@ paths: ) - res = s.hris.payrollruns.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.templates.create(x_connection_token="", unified_marketingautomation_template_input={}) if res is not None: # handle response pass - lang: go - label: retrieveHrisPayrollRun + label: createMarketingautomationTemplate source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -8190,21 +9777,22 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Payrollruns.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Templates.Create(ctx, "", components.UnifiedMarketingautomationTemplateInput{}, nil) if err != nil { log.Fatal(err) } - if res.UnifiedHrisPayrollrunOutput != nil { + if res.UnifiedMarketingautomationTemplateOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisPayrollRun - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_payrollruns.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_payrollrun_output.nil?\n # handle response\nend" - /hris/timeoffs: + label: createMarketingautomationTemplate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.create(x_connection_token=\"\", unified_marketingautomation_template_input=::OpenApiSDK::Shared::UnifiedMarketingautomationTemplateInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_template_output.nil?\n # handle response\nend" + /marketingautomation/templates/{id}: get: - operationId: listHrisTimeoffs - summary: List Time Offs + operationId: retrieveMarketingautomationTemplate + summary: Retrieve Template + description: Retrieve a Template from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -8212,226 +9800,54 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + description: id of the template you want to retrieve. + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + schema: + type: string - name: remote_data required: false in: query - example: true - description: Set to true to include data from the original software. + description: >- + Set to true to include data from the original Marketingautomation software. + example: false schema: type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string responses: '200': description: '' content: application/json: schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' - tags: &ref_35 - - hris/timeoffs - x-speakeasy-group: hris.timeoffs - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listHrisTimeoffs - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timeoffs.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listHrisTimeoffs - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.hris.timeoffs.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listHrisTimeoffs - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Timeoffs.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listHrisTimeoffs - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timeoffs.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createHrisTimeoff - summary: Create Timeoffs - description: Create Timeoffs in any supported Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' - tags: *ref_35 - x-speakeasy-group: hris.timeoffs + $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' + tags: *ref_31 + x-speakeasy-group: marketingautomation.templates x-codeSamples: - lang: typescript - label: createHrisTimeoff - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timeoffs.create({\n xConnectionToken: \"\",\n unifiedHrisTimeoffInput: {\n employee: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n approver: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n status: \"REQUESTED\",\n employeeNote: \"Annual vacation\",\n units: \"DAYS\",\n amount: 5,\n requestType: \"VACATION\",\n startTime: new Date(\"2024-07-01T09:00:00Z\"),\n endTime: new Date(\"2024-07-05T17:00:00Z\"),\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createHrisTimeoff - source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.hris.timeoffs.create(x_connection_token="", unified_hris_timeoff_input={ - "employee": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "approver": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "status": "REQUESTED", - "employee_note": "Annual vacation", - "units": "DAYS", - "amount": 5, - "request_type": "VACATION", - "start_time": dateutil.parser.isoparse("2024-07-01T09:00:00Z"), - "end_time": dateutil.parser.isoparse("2024-07-05T17:00:00Z"), - "field_mappings": {}, - }) - - if res is not None: - # handle response - pass - - lang: go - label: createHrisTimeoff + label: retrieveMarketingautomationTemplate source: |- - package main + import { Panora } from "@panora/sdk"; - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) + const panora = new Panora({ + apiKey: "", + }); - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) + async function run() { + const result = await panora.marketingautomation.templates.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); - ctx := context.Background() - res, err := s.Hris.Timeoffs.Create(ctx, "", components.UnifiedHrisTimeoffInput{ - Employee: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Approver: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Status: gosdk.String("REQUESTED"), - EmployeeNote: gosdk.String("Annual vacation"), - Units: gosdk.String("DAYS"), - Amount: gosdk.Float64(5), - RequestType: gosdk.String("VACATION"), - StartTime: types.MustNewTimeFromString("2024-07-01T09:00:00Z"), - EndTime: types.MustNewTimeFromString("2024-07-05T17:00:00Z"), - FieldMappings: &components.UnifiedHrisTimeoffInputFieldMappings{}, - }, nil) - if err != nil { - log.Fatal(err) - } - if res.UnifiedHrisTimeoffOutput != nil { - // handle response - } + // Handle the result + console.log(result); } - - lang: ruby - label: createHrisTimeoff - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timeoffs.create(x_connection_token=\"\", unified_hris_timeoff_input=::OpenApiSDK::Shared::UnifiedHrisTimeoffInput.new(\n employee: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n approver: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n status: \"REQUESTED\",\n employee_note: \"Annual vacation\",\n units: \"DAYS\",\n amount: 5.0,\n request_type: \"VACATION\",\n start_time: DateTime.iso8601('2024-07-01T09:00:00Z'),\n end_time: DateTime.iso8601('2024-07-05T17:00:00Z'),\n field_mappings: ::OpenApiSDK::Shared::UnifiedHrisTimeoffInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_hris_timeoff_output.nil?\n # handle response\nend" - /hris/timeoffs/{id}: - get: - operationId: retrieveHrisTimeoff - summary: Retrieve Time Off - description: Retrieve a Time Off from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the time off you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' - tags: *ref_35 - x-speakeasy-group: hris.timeoffs - x-codeSamples: - - lang: typescript - label: retrieveHrisTimeoff - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timeoffs.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + + run(); - lang: python - label: retrieveHrisTimeoff + label: retrieveMarketingautomationTemplate source: |- from panora_sdk import Panora @@ -8440,13 +9856,13 @@ paths: ) - res = s.hris.timeoffs.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.templates.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisTimeoff + label: retrieveMarketingautomationTemplate source: |- package main @@ -8462,21 +9878,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Timeoffs.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Templates.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisTimeoffOutput != nil { + if res.UnifiedMarketingautomationTemplateOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisTimeoff - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timeoffs.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_timeoff_output.nil?\n # handle response\nend" - /hris/timeoffbalances: + label: retrieveMarketingautomationTemplate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_template_output.nil?\n # handle response\nend" + /marketingautomation/users: get: - operationId: listHrisTimeoffbalances - summary: List TimeoffBalances + operationId: listMarketingAutomationUsers + summary: List Users parameters: - name: x-connection-token required: true @@ -8497,7 +9913,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -8518,10 +9933,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisTimeoffbalanceOutput' - tags: &ref_36 - - hris/timeoffbalances - x-speakeasy-group: hris.timeoffbalances + $ref: >- + #/components/schemas/UnifiedMarketingautomationUserOutput + tags: &ref_32 + - marketingautomation/users + x-speakeasy-group: marketingautomation.users x-speakeasy-pagination: type: cursor inputs: @@ -8532,10 +9948,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisTimeoffbalances - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timeoffbalances.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listMarketingAutomationUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.users.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisTimeoffbalances + label: listMarketingAutomationUsers source: |- from panora_sdk import Panora @@ -8544,7 +9981,7 @@ paths: ) - res = s.hris.timeoffbalances.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.marketingautomation.users.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -8554,16 +9991,16 @@ paths: if res is None: break - lang: go - label: listHrisTimeoffbalances - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Timeoffbalances.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listMarketingAutomationUsers + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Users.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisTimeoffbalances - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timeoffbalances.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /hris/timeoffbalances/{id}: + label: listMarketingAutomationUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_users.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/users/{id}: get: - operationId: retrieveHrisTimeoffbalance - summary: Retrieve Time off Balances - description: Retrieve Time off Balances from any connected Hris software + operationId: retrieveMarketingAutomationUser + summary: Retrieve Users + description: Retrieve Users from any connected Marketingautomation software parameters: - name: x-connection-token required: true @@ -8574,14 +10011,15 @@ paths: - name: id required: true in: path - description: id of the timeoffbalance you want to retrieve. + description: id of the user you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. + description: >- + Set to true to include data from the original Marketingautomation software. example: false schema: type: boolean @@ -8591,15 +10029,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffbalanceOutput' - tags: *ref_36 - x-speakeasy-group: hris.timeoffbalances + $ref: '#/components/schemas/UnifiedMarketingautomationUserOutput' + tags: *ref_32 + x-speakeasy-group: marketingautomation.users x-codeSamples: - lang: typescript - label: retrieveHrisTimeoffbalance - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timeoffbalances.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveMarketingAutomationUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.users.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisTimeoffbalance + label: retrieveMarketingAutomationUser source: |- from panora_sdk import Panora @@ -8608,13 +10064,13 @@ paths: ) - res = s.hris.timeoffbalances.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.marketingautomation.users.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisTimeoffbalance + label: retrieveMarketingAutomationUser source: |- package main @@ -8630,21 +10086,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Timeoffbalances.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Marketingautomation.Users.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisTimeoffbalanceOutput != nil { + if res.UnifiedMarketingautomationUserOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisTimeoffbalance - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timeoffbalances.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_timeoffbalance_output.nil?\n # handle response\nend" - /hris/timesheetentries: + label: retrieveMarketingAutomationUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_users.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_user_output.nil?\n # handle response\nend" + /accounting/accounts: get: - operationId: listHrisTimesheetentries - summary: List Timesheetentries + operationId: listAccountingAccounts + summary: List Accounts parameters: - name: x-connection-token required: true @@ -8665,7 +10121,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -8686,10 +10141,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedHrisTimesheetEntryOutput' - tags: &ref_37 - - hris/timesheetentries - x-speakeasy-group: hris.timesheetentries + $ref: '#/components/schemas/UnifiedAccountingAccountOutput' + tags: &ref_33 + - accounting/accounts + x-speakeasy-group: accounting.accounts x-speakeasy-pagination: type: cursor inputs: @@ -8700,10 +10155,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listHrisTimesheetentries - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timesheetentries.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingAccounts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.accounts.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listHrisTimesheetentries + label: listAccountingAccounts source: |- from panora_sdk import Panora @@ -8712,7 +10188,7 @@ paths: ) - res = s.hris.timesheetentries.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.accounts.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -8722,15 +10198,15 @@ paths: if res is None: break - lang: go - label: listHrisTimesheetentries - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Hris.Timesheetentries.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingAccounts + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Accounts.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listHrisTimesheetentries - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timesheetentries.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listAccountingAccounts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_accounts.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createHrisTimesheetentry - summary: Create Timesheetentrys - description: Create Timesheetentrys in any supported Hris software + operationId: createAccountingAccount + summary: Create Accounts + description: Create accounts in any supported Accounting software parameters: - name: x-connection-token required: true @@ -8741,32 +10217,62 @@ paths: - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. - schema: + example: false + description: Set to true to include data from the original Accounting software. + schema: type: boolean requestBody: required: true content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisTimesheetEntryInput' + $ref: '#/components/schemas/UnifiedAccountingAccountInput' responses: '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisTimesheetEntryOutput' - tags: *ref_37 - x-speakeasy-group: hris.timesheetentries + $ref: '#/components/schemas/UnifiedAccountingAccountOutput' + tags: *ref_33 + x-speakeasy-group: accounting.accounts x-codeSamples: - lang: typescript - label: createHrisTimesheetentry - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timesheetentries.create({\n xConnectionToken: \"\",\n unifiedHrisTimesheetEntryInput: {\n hoursWorked: 40,\n startTime: new Date(\"2024-10-01T08:00:00Z\"),\n endTime: new Date(\"2024-10-01T16:00:00Z\"),\n employeeId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteWasDeleted: false,\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingAccount + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.accounts.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingAccountInput: { + name: "Cash", + description: "Main cash account for daily operations", + classification: "Asset", + type: "Current Asset", + status: "Active", + currentBalance: 10000, + currency: "USD", + accountNumber: "1000", + parentAccount: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createHrisTimesheetentry + label: createAccountingAccount source: |- - import dateutil.parser from panora_sdk import Panora s = Panora( @@ -8774,27 +10280,31 @@ paths: ) - res = s.hris.timesheetentries.create(x_connection_token="", unified_hris_timesheet_entry_input={ - "hours_worked": 40, - "start_time": dateutil.parser.isoparse("2024-10-01T08:00:00Z"), - "end_time": dateutil.parser.isoparse("2024-10-01T16:00:00Z"), - "employee_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_was_deleted": False, + res = s.accounting.accounts.create(x_connection_token="", unified_accounting_account_input={ + "name": "Cash", + "description": "Main cash account for daily operations", + "classification": "Asset", + "type": "Current Asset", + "status": "Active", + "current_balance": 10000, + "currency": "USD", + "account_number": "1000", + "parent_account": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", "field_mappings": {}, - }) + }, remote_data=False) if res is not None: # handle response pass - lang: go - label: createHrisTimesheetentry + label: createAccountingAccount source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" - "github.com/panoratech/go-sdk/types" "github.com/panoratech/go-sdk/models/components" "log" ) @@ -8805,29 +10315,34 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Timesheetentries.Create(ctx, "", components.UnifiedHrisTimesheetEntryInput{ - HoursWorked: gosdk.Float64(40), - StartTime: types.MustNewTimeFromString("2024-10-01T08:00:00Z"), - EndTime: types.MustNewTimeFromString("2024-10-01T16:00:00Z"), - EmployeeID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteWasDeleted: gosdk.Bool(false), - FieldMappings: &components.UnifiedHrisTimesheetEntryInputFieldMappings{}, - }, nil) + res, err := s.Accounting.Accounts.Create(ctx, "", components.UnifiedAccountingAccountInput{ + Name: gosdk.String("Cash"), + Description: gosdk.String("Main cash account for daily operations"), + Classification: gosdk.String("Asset"), + Type: gosdk.String("Current Asset"), + Status: gosdk.String("Active"), + CurrentBalance: gosdk.Float64(10000), + Currency: gosdk.String("USD"), + AccountNumber: gosdk.String("1000"), + ParentAccount: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + FieldMappings: &components.UnifiedAccountingAccountInputFieldMappings{}, + }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisTimesheetEntryOutput != nil { + if res.UnifiedAccountingAccountOutput != nil { // handle response } } - lang: ruby - label: createHrisTimesheetentry - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timesheetentries.create(x_connection_token=\"\", unified_hris_timesheet_entry_input=::OpenApiSDK::Shared::UnifiedHrisTimesheetEntryInput.new(\n hours_worked: 40.0,\n start_time: DateTime.iso8601('2024-10-01T08:00:00Z'),\n end_time: DateTime.iso8601('2024-10-01T16:00:00Z'),\n employee_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_was_deleted: false,\n field_mappings: ::OpenApiSDK::Shared::UnifiedHrisTimesheetEntryInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_hris_timesheet_entry_output.nil?\n # handle response\nend" - /hris/timesheetentries/{id}: + label: createAccountingAccount + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_accounts.create(x_connection_token=\"\", unified_accounting_account_input=::OpenApiSDK::Shared::UnifiedAccountingAccountInput.new(\n name: \"Cash\",\n description: \"Main cash account for daily operations\",\n classification: \"Asset\",\n type: \"Current Asset\",\n status: \"Active\",\n current_balance: 10000.0,\n currency: \"USD\",\n account_number: \"1000\",\n parent_account: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingAccountInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_account_output.nil?\n # handle response\nend" + /accounting/accounts/{id}: get: - operationId: retrieveHrisTimesheetentry - summary: Retrieve Timesheetentry - description: Retrieve an Timesheetentry from any connected Hris software + operationId: retrieveAccountingAccount + summary: Retrieve Accounts + description: Retrieve Accounts from any connected Accounting software parameters: - name: x-connection-token required: true @@ -8838,15 +10353,15 @@ paths: - name: id required: true in: path - description: id of the timesheetentry you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the account you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Hris software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -8855,15 +10370,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedHrisTimesheetEntryOutput' - tags: *ref_37 - x-speakeasy-group: hris.timesheetentries + $ref: '#/components/schemas/UnifiedAccountingAccountOutput' + tags: *ref_33 + x-speakeasy-group: accounting.accounts x-codeSamples: - lang: typescript - label: retrieveHrisTimesheetentry - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.hris.timesheetentries.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingAccount + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.accounts.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveHrisTimesheetentry + label: retrieveAccountingAccount source: |- from panora_sdk import Panora @@ -8872,13 +10405,13 @@ paths: ) - res = s.hris.timesheetentries.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.accounts.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveHrisTimesheetentry + label: retrieveAccountingAccount source: |- package main @@ -8894,21 +10427,21 @@ paths: ) ctx := context.Background() - res, err := s.Hris.Timesheetentries.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Accounts.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedHrisTimesheetEntryOutput != nil { + if res.UnifiedAccountingAccountOutput != nil { // handle response } } - lang: ruby - label: retrieveHrisTimesheetentry - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.hris_timesheetentries.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_hris_timesheet_entry_output.nil?\n # handle response\nend" - /marketingautomation/actions: + label: retrieveAccountingAccount + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_accounts.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_account_output.nil?\n # handle response\nend" + /accounting/addresses: get: - operationId: listMarketingautomationAction - summary: List Actions + operationId: listAccountingAddress + summary: List Addresss parameters: - name: x-connection-token required: true @@ -8929,7 +10462,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -8950,11 +10482,10 @@ paths: data: type: array items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationActionOutput - tags: &ref_38 - - marketingautomation/actions - x-speakeasy-group: marketingautomation.actions + $ref: '#/components/schemas/UnifiedAccountingAddressOutput' + tags: &ref_34 + - accounting/addresses + x-speakeasy-group: accounting.addresses x-speakeasy-pagination: type: cursor inputs: @@ -8965,10 +10496,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingautomationAction - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.actions.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingAddress + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.addresses.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingautomationAction + label: listAccountingAddress source: |- from panora_sdk import Panora @@ -8977,7 +10529,7 @@ paths: ) - res = s.marketingautomation.actions.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.addresses.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -8987,15 +10539,16 @@ paths: if res is None: break - lang: go - label: listMarketingautomationAction - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Actions.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingAddress + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Addresses.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingautomationAction - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createMarketingautomationAction - summary: Create Action - description: Create a action in any supported Marketingautomation software + label: listAccountingAddress + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_addresses.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/addresses/{id}: + get: + operationId: retrieveAccountingAddress + summary: Retrieve Addresses + description: Retrieve Addresses from any connected Accounting software parameters: - name: x-connection-token required: true @@ -9003,35 +10556,53 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the address you want to retrieve. + schema: + type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationActionInput' responses: - '201': + '200': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' - tags: *ref_38 - x-speakeasy-group: marketingautomation.actions + $ref: '#/components/schemas/UnifiedAccountingAddressOutput' + tags: *ref_34 + x-speakeasy-group: accounting.addresses x-codeSamples: - lang: typescript - label: createMarketingautomationAction - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.actions.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedMarketingautomationActionInput: {},\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingAddress + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.addresses.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createMarketingautomationAction + label: retrieveAccountingAddress source: |- from panora_sdk import Panora @@ -9040,20 +10611,19 @@ paths: ) - res = s.marketingautomation.actions.create(x_connection_token="", unified_marketingautomation_action_input={}, remote_data=False) + res = s.accounting.addresses.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: createMarketingautomationAction + label: retrieveAccountingAddress source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" - "github.com/panoratech/go-sdk/models/components" "log" ) @@ -9063,22 +10633,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Actions.Create(ctx, "", components.UnifiedMarketingautomationActionInput{}, gosdk.Bool(false)) + res, err := s.Accounting.Addresses.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationActionOutput != nil { + if res.UnifiedAccountingAddressOutput != nil { // handle response } } - lang: ruby - label: createMarketingautomationAction - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.create(x_connection_token=\"\", unified_marketingautomation_action_input=::OpenApiSDK::Shared::UnifiedMarketingautomationActionInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_action_output.nil?\n # handle response\nend" - /marketingautomation/actions/{id}: + label: retrieveAccountingAddress + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_addresses.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_address_output.nil?\n # handle response\nend" + /accounting/attachments: get: - operationId: retrieveMarketingautomationAction - summary: Retrieve Actions - description: Retrieve Actions from any connected Marketingautomation software + operationId: listAccountingAttachments + summary: List Attachments parameters: - name: x-connection-token required: true @@ -9086,141 +10655,79 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the action you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. - example: false + example: true + description: Set to true to include data from the original software. schema: type: boolean + - name: limit + required: false + in: query + example: 10 + description: Set to get the number of records. + schema: + type: number + - name: cursor + required: false + in: query + example: 1b8b05bb-5273-4012-b520-8657b0b90874 + description: Set to get the number of records after this cursor. + schema: + type: string responses: '200': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' - tags: *ref_38 - x-speakeasy-group: marketingautomation.actions + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingAttachmentOutput + tags: &ref_35 + - accounting/attachments + x-speakeasy-group: accounting.attachments + x-speakeasy-pagination: + type: cursor + inputs: + - name: cursor + in: parameters + type: cursor + outputs: + nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: retrieveMarketingautomationAction - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.actions.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveMarketingautomationAction + label: listAccountingAttachments source: |- - from panora_sdk import Panora + import { Panora } from "@panora/sdk"; - s = Panora( - api_key="", - ) - - - res = s.marketingautomation.actions.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveMarketingautomationAction - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) + const panora = new Panora({ + apiKey: "", + }); - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) + async function run() { + const result = await panora.accounting.attachments.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); - ctx := context.Background() - res, err := s.Marketingautomation.Actions.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedMarketingautomationActionOutput != nil { - // handle response - } + for await (const page of result) { + // Handle the page + console.log(page); + } } - - lang: ruby - label: retrieveMarketingautomationAction - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_action_output.nil?\n # handle response\nend" - /marketingautomation/automations: - get: - operationId: listMarketingautomationAutomations - summary: List Automations - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: &ref_39 - - marketingautomation/automations - x-speakeasy-group: marketingautomation.automations - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listMarketingautomationAutomations - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.automations.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + + run(); - lang: python - label: listMarketingautomationAutomations + label: listAccountingAttachments source: |- from panora_sdk import Panora @@ -9229,7 +10736,7 @@ paths: ) - res = s.marketingautomation.automations.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.attachments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -9239,15 +10746,15 @@ paths: if res is None: break - lang: go - label: listMarketingautomationAutomations - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Automations.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingAttachments + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Attachments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingautomationAutomations - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listAccountingAttachments + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_attachments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createMarketingautomationAutomation - summary: Create Automation - description: Create a automation in any supported Marketingautomation software + operationId: createAccountingAttachment + summary: Create Attachments + description: Create attachments in any supported Accounting software parameters: - name: x-connection-token required: true @@ -9258,9 +10765,8 @@ paths: - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean requestBody: @@ -9268,23 +10774,45 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationAutomationInput' + $ref: '#/components/schemas/UnifiedAccountingAttachmentInput' responses: '201': description: '' content: application/json: schema: - $ref: >- - #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: *ref_39 - x-speakeasy-group: marketingautomation.automations + $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' + tags: *ref_35 + x-speakeasy-group: accounting.attachments x-codeSamples: - lang: typescript - label: createMarketingautomationAutomation - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.automations.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedMarketingautomationAutomationInput: {},\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.attachments.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingAttachmentInput: { + fileName: "invoice.pdf", + fileUrl: "https://example.com/files/invoice.pdf", + accountId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createMarketingautomationAutomation + label: createAccountingAttachment source: |- from panora_sdk import Panora @@ -9293,13 +10821,18 @@ paths: ) - res = s.marketingautomation.automations.create(x_connection_token="", unified_marketingautomation_automation_input={}, remote_data=False) + res = s.accounting.attachments.create(x_connection_token="", unified_accounting_attachment_input={ + "file_name": "invoice.pdf", + "file_url": "https://example.com/files/invoice.pdf", + "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "field_mappings": {}, + }, remote_data=False) if res is not None: # handle response pass - lang: go - label: createMarketingautomationAutomation + label: createAccountingAttachment source: |- package main @@ -9316,22 +10849,27 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Automations.Create(ctx, "", components.UnifiedMarketingautomationAutomationInput{}, gosdk.Bool(false)) + res, err := s.Accounting.Attachments.Create(ctx, "", components.UnifiedAccountingAttachmentInput{ + FileName: gosdk.String("invoice.pdf"), + FileURL: gosdk.String("https://example.com/files/invoice.pdf"), + AccountID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + FieldMappings: &components.UnifiedAccountingAttachmentInputFieldMappings{}, + }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationAutomationOutput != nil { + if res.UnifiedAccountingAttachmentOutput != nil { // handle response } } - lang: ruby - label: createMarketingautomationAutomation - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.create(x_connection_token=\"\", unified_marketingautomation_automation_input=::OpenApiSDK::Shared::UnifiedMarketingautomationAutomationInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_automation_output.nil?\n # handle response\nend" - /marketingautomation/automations/{id}: + label: createAccountingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_attachments.create(x_connection_token=\"\", unified_accounting_attachment_input=::OpenApiSDK::Shared::UnifiedAccountingAttachmentInput.new(\n file_name: \"invoice.pdf\",\n file_url: \"https://example.com/files/invoice.pdf\",\n account_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingAttachmentInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_attachment_output.nil?\n # handle response\nend" + /accounting/attachments/{id}: get: - operationId: retrieveMarketingautomationAutomation - summary: Retrieve Automation - description: Retrieve an Automation from any connected Marketingautomation software + operationId: retrieveAccountingAttachment + summary: Retrieve Attachments + description: Retrieve attachments from any connected Accounting software parameters: - name: x-connection-token required: true @@ -9342,16 +10880,15 @@ paths: - name: id required: true in: path - description: id of the automation you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the attachment you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -9360,16 +10897,33 @@ paths: content: application/json: schema: - $ref: >- - #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: *ref_39 - x-speakeasy-group: marketingautomation.automations + $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' + tags: *ref_35 + x-speakeasy-group: accounting.attachments x-codeSamples: - lang: typescript - label: retrieveMarketingautomationAutomation - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.automations.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.attachments.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveMarketingautomationAutomation + label: retrieveAccountingAttachment source: |- from panora_sdk import Panora @@ -9378,13 +10932,13 @@ paths: ) - res = s.marketingautomation.automations.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.attachments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveMarketingautomationAutomation + label: retrieveAccountingAttachment source: |- package main @@ -9400,21 +10954,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Automations.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Attachments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationAutomationOutput != nil { + if res.UnifiedAccountingAttachmentOutput != nil { // handle response } } - lang: ruby - label: retrieveMarketingautomationAutomation - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_automation_output.nil?\n # handle response\nend" - /marketingautomation/campaigns: + label: retrieveAccountingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_attachments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_attachment_output.nil?\n # handle response\nend" + /accounting/balancesheets: get: - operationId: listMarketingautomationCampaigns - summary: List Campaigns + operationId: listAccountingBalanceSheets + summary: List BalanceSheets parameters: - name: x-connection-token required: true @@ -9435,7 +10989,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -9457,10 +11010,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedMarketingautomationCampaignOutput - tags: &ref_40 - - marketingautomation/campaigns - x-speakeasy-group: marketingautomation.campaigns + #/components/schemas/UnifiedAccountingBalancesheetOutput + tags: &ref_36 + - accounting/balancesheets + x-speakeasy-group: accounting.balancesheets x-speakeasy-pagination: type: cursor inputs: @@ -9471,10 +11024,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingautomationCampaigns - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.campaigns.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingBalanceSheets + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.balancesheets.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingautomationCampaigns + label: listAccountingBalanceSheets source: |- from panora_sdk import Panora @@ -9483,7 +11057,7 @@ paths: ) - res = s.marketingautomation.campaigns.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.balancesheets.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -9493,98 +11067,16 @@ paths: if res is None: break - lang: go - label: listMarketingautomationCampaigns - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Campaigns.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingBalanceSheets + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Balancesheets.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingautomationCampaigns - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createMarketingautomationCampaign - summary: Create Campaign - description: Create a campaign in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - example: false - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationCampaignInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationCampaignOutput' - tags: *ref_40 - x-speakeasy-group: marketingautomation.campaigns - x-codeSamples: - - lang: typescript - label: createMarketingautomationCampaign - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.campaigns.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedMarketingautomationCampaignInput: {},\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createMarketingautomationCampaign - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.marketingautomation.campaigns.create(x_connection_token="", unified_marketingautomation_campaign_input={}, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createMarketingautomationCampaign - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Marketingautomation.Campaigns.Create(ctx, "", components.UnifiedMarketingautomationCampaignInput{}, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedMarketingautomationCampaignOutput != nil { - // handle response - } - } - - lang: ruby - label: createMarketingautomationCampaign - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.create(x_connection_token=\"\", unified_marketingautomation_campaign_input=::OpenApiSDK::Shared::UnifiedMarketingautomationCampaignInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_campaign_output.nil?\n # handle response\nend" - /marketingautomation/campaigns/{id}: + label: listAccountingBalanceSheets + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_balancesheets.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/balancesheets/{id}: get: - operationId: retrieveMarketingautomationCampaign - summary: Retrieve Campaign - description: Retrieve a Campaign from any connected Marketingautomation software + operationId: retrieveAccountingBalanceSheet + summary: Retrieve BalanceSheets + description: Retrieve BalanceSheets from any connected Accounting software parameters: - name: x-connection-token required: true @@ -9595,16 +11087,15 @@ paths: - name: id required: true in: path - description: id of the campaign you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the balancesheet you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -9613,15 +11104,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationCampaignOutput' - tags: *ref_40 - x-speakeasy-group: marketingautomation.campaigns + $ref: '#/components/schemas/UnifiedAccountingBalancesheetOutput' + tags: *ref_36 + x-speakeasy-group: accounting.balancesheets x-codeSamples: - lang: typescript - label: retrieveMarketingautomationCampaign - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.campaigns.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingBalanceSheet + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.balancesheets.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveMarketingautomationCampaign + label: retrieveAccountingBalanceSheet source: |- from panora_sdk import Panora @@ -9630,13 +11139,13 @@ paths: ) - res = s.marketingautomation.campaigns.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.balancesheets.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveMarketingautomationCampaign + label: retrieveAccountingBalanceSheet source: |- package main @@ -9652,21 +11161,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Campaigns.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Balancesheets.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationCampaignOutput != nil { + if res.UnifiedAccountingBalancesheetOutput != nil { // handle response } } - lang: ruby - label: retrieveMarketingautomationCampaign - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_campaign_output.nil?\n # handle response\nend" - /marketingautomation/contacts: + label: retrieveAccountingBalanceSheet + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_balancesheets.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_balancesheet_output.nil?\n # handle response\nend" + /accounting/cashflowstatements: get: - operationId: listMarketingAutomationContacts - summary: List Contacts + operationId: listAccountingCashflowStatement + summary: List CashflowStatements parameters: - name: x-connection-token required: true @@ -9687,7 +11196,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -9709,10 +11217,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedMarketingautomationContactOutput - tags: &ref_41 - - marketingautomation/contacts - x-speakeasy-group: marketingautomation.contacts + #/components/schemas/UnifiedAccountingCashflowstatementOutput + tags: &ref_37 + - accounting/cashflowstatements + x-speakeasy-group: accounting.cashflowstatements x-speakeasy-pagination: type: cursor inputs: @@ -9723,10 +11231,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingAutomationContacts - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.contacts.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingCashflowStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.cashflowstatements.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingAutomationContacts + label: listAccountingCashflowStatement source: |- from panora_sdk import Panora @@ -9735,7 +11264,7 @@ paths: ) - res = s.marketingautomation.contacts.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.cashflowstatements.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -9745,15 +11274,16 @@ paths: if res is None: break - lang: go - label: listMarketingAutomationContacts - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Contacts.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingCashflowStatement + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Cashflowstatements.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingAutomationContacts - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createMarketingAutomationContact - summary: Create Contact - description: Create a contact in any supported Marketingautomation software + label: listAccountingCashflowStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_cashflowstatements.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/cashflowstatements/{id}: + get: + operationId: retrieveAccountingCashflowStatement + summary: Retrieve Cashflow Statements + description: Retrieve Cashflow Statements from any connected Accounting software parameters: - name: x-connection-token required: true @@ -9761,35 +11291,53 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the cashflowstatement you want to retrieve. + schema: + type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationContactInput' responses: - '201': + '200': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' - tags: *ref_41 - x-speakeasy-group: marketingautomation.contacts + $ref: '#/components/schemas/UnifiedAccountingCashflowstatementOutput' + tags: *ref_37 + x-speakeasy-group: accounting.cashflowstatements x-codeSamples: - lang: typescript - label: createMarketingAutomationContact - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.contacts.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedMarketingautomationContactInput: {},\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingCashflowStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.cashflowstatements.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createMarketingAutomationContact + label: retrieveAccountingCashflowStatement source: |- from panora_sdk import Panora @@ -9798,20 +11346,19 @@ paths: ) - res = s.marketingautomation.contacts.create(x_connection_token="", unified_marketingautomation_contact_input={}, remote_data=False) + res = s.accounting.cashflowstatements.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: createMarketingAutomationContact + label: retrieveAccountingCashflowStatement source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" - "github.com/panoratech/go-sdk/models/components" "log" ) @@ -9821,22 +11368,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Contacts.Create(ctx, "", components.UnifiedMarketingautomationContactInput{}, gosdk.Bool(false)) + res, err := s.Accounting.Cashflowstatements.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationContactOutput != nil { + if res.UnifiedAccountingCashflowstatementOutput != nil { // handle response } } - lang: ruby - label: createMarketingAutomationContact - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.create(x_connection_token=\"\", unified_marketingautomation_contact_input=::OpenApiSDK::Shared::UnifiedMarketingautomationContactInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_contact_output.nil?\n # handle response\nend" - /marketingautomation/contacts/{id}: + label: retrieveAccountingCashflowStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_cashflowstatements.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_cashflowstatement_output.nil?\n # handle response\nend" + /accounting/companyinfos: get: - operationId: retrieveMarketingAutomationContact - summary: Retrieve Contacts - description: Retrieve Contacts from any connected Marketingautomation software + operationId: listAccountingCompanyInfos + summary: List CompanyInfos parameters: - name: x-connection-token required: true @@ -9844,93 +11390,11 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the contact you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' - tags: *ref_41 - x-speakeasy-group: marketingautomation.contacts - x-codeSamples: - - lang: typescript - label: retrieveMarketingAutomationContact - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.contacts.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveMarketingAutomationContact - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.marketingautomation.contacts.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveMarketingAutomationContact - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Marketingautomation.Contacts.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedMarketingautomationContactOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveMarketingAutomationContact - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_contact_output.nil?\n # handle response\nend" - /marketingautomation/emails: - get: - operationId: listMarketingautomationEmails - summary: List Emails - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. + example: true + description: Set to true to include data from the original software. schema: type: boolean - name: limit @@ -9939,7 +11403,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -9961,10 +11424,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedMarketingautomationEmailOutput - tags: &ref_42 - - marketingautomation/emails - x-speakeasy-group: marketingautomation.emails + #/components/schemas/UnifiedAccountingCompanyinfoOutput + tags: &ref_38 + - accounting/companyinfos + x-speakeasy-group: accounting.companyinfos x-speakeasy-pagination: type: cursor inputs: @@ -9975,10 +11438,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingautomationEmails - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.emails.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingCompanyInfos + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.companyinfos.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingautomationEmails + label: listAccountingCompanyInfos source: |- from panora_sdk import Panora @@ -9987,7 +11471,7 @@ paths: ) - res = s.marketingautomation.emails.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.companyinfos.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -9997,16 +11481,16 @@ paths: if res is None: break - lang: go - label: listMarketingautomationEmails - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Emails.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingCompanyInfos + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Companyinfos.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingautomationEmails - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_emails.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /marketingautomation/emails/{id}: + label: listAccountingCompanyInfos + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_companyinfos.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/companyinfos/{id}: get: - operationId: retrieveMarketingautomationEmail - summary: Retrieve Email - description: Retrieve an Email from any connected Marketingautomation software + operationId: retrieveAccountingCompanyInfo + summary: Retrieve Company Infos + description: Retrieve Company Infos from any connected Accounting software parameters: - name: x-connection-token required: true @@ -10017,16 +11501,15 @@ paths: - name: id required: true in: path - description: id of the email you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the companyinfo you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -10035,15 +11518,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationEmailOutput' - tags: *ref_42 - x-speakeasy-group: marketingautomation.emails + $ref: '#/components/schemas/UnifiedAccountingCompanyinfoOutput' + tags: *ref_38 + x-speakeasy-group: accounting.companyinfos x-codeSamples: - lang: typescript - label: retrieveMarketingautomationEmail - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.emails.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingCompanyInfo + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.companyinfos.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveMarketingautomationEmail + label: retrieveAccountingCompanyInfo source: |- from panora_sdk import Panora @@ -10052,13 +11553,13 @@ paths: ) - res = s.marketingautomation.emails.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.companyinfos.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveMarketingautomationEmail + label: retrieveAccountingCompanyInfo source: |- package main @@ -10074,21 +11575,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Emails.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Companyinfos.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationEmailOutput != nil { + if res.UnifiedAccountingCompanyinfoOutput != nil { // handle response } } - lang: ruby - label: retrieveMarketingautomationEmail - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_emails.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_email_output.nil?\n # handle response\nend" - /marketingautomation/events: + label: retrieveAccountingCompanyInfo + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_companyinfos.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_companyinfo_output.nil?\n # handle response\nend" + /accounting/contacts: get: - operationId: listMarketingAutomationEvents - summary: List Events + operationId: listAccountingContacts + summary: List Contacts parameters: - name: x-connection-token required: true @@ -10109,7 +11610,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -10130,11 +11630,10 @@ paths: data: type: array items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationEventOutput - tags: &ref_43 - - marketingautomation/events - x-speakeasy-group: marketingautomation.events + $ref: '#/components/schemas/UnifiedAccountingContactOutput' + tags: &ref_39 + - accounting/contacts + x-speakeasy-group: accounting.contacts x-speakeasy-pagination: type: cursor inputs: @@ -10145,10 +11644,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingAutomationEvents - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.events.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingContacts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.contacts.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingAutomationEvents + label: listAccountingContacts source: |- from panora_sdk import Panora @@ -10157,7 +11677,7 @@ paths: ) - res = s.marketingautomation.events.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.contacts.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -10167,16 +11687,15 @@ paths: if res is None: break - lang: go - label: listMarketingAutomationEvents - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Events.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingContacts + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Contacts.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingAutomationEvents - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_events.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /marketingautomation/events/{id}: - get: - operationId: retrieveMarketingautomationEvent - summary: Retrieve Event - description: Retrieve an Event from any connected Marketingautomation software + label: listAccountingContacts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_contacts.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingContact + summary: Create Contacts + description: Create contacts in any supported Accounting software parameters: - name: x-connection-token required: true @@ -10184,36 +11703,63 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the event you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingContactInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationEventOutput' - tags: *ref_43 - x-speakeasy-group: marketingautomation.events + $ref: '#/components/schemas/UnifiedAccountingContactOutput' + tags: *ref_39 + x-speakeasy-group: accounting.contacts x-codeSamples: - lang: typescript - label: retrieveMarketingautomationEvent - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.events.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.contacts.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingContactInput: { + name: "John Doe", + isSupplier: true, + isCustomer: false, + emailAddress: "john.doe@example.com", + taxNumber: "123456789", + status: "Active", + currency: "USD", + remoteUpdatedAt: "2024-06-15T12:00:00Z", + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveMarketingautomationEvent + label: createAccountingContact source: |- from panora_sdk import Panora @@ -10222,19 +11768,31 @@ paths: ) - res = s.marketingautomation.events.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveMarketingautomationEvent + res = s.accounting.contacts.create(x_connection_token="", unified_accounting_contact_input={ + "name": "John Doe", + "is_supplier": True, + "is_customer": False, + "email_address": "john.doe@example.com", + "tax_number": "123456789", + "status": "Active", + "currency": "USD", + "remote_updated_at": "2024-06-15T12:00:00Z", + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "field_mappings": {}, + }, remote_data=False) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingContact source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -10244,21 +11802,132 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Events.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Contacts.Create(ctx, "", components.UnifiedAccountingContactInput{ + Name: gosdk.String("John Doe"), + IsSupplier: gosdk.Bool(true), + IsCustomer: gosdk.Bool(false), + EmailAddress: gosdk.String("john.doe@example.com"), + TaxNumber: gosdk.String("123456789"), + Status: gosdk.String("Active"), + Currency: gosdk.String("USD"), + RemoteUpdatedAt: gosdk.String("2024-06-15T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + FieldMappings: &components.UnifiedAccountingContactInputFieldMappings{}, + }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationEventOutput != nil { + if res.UnifiedAccountingContactOutput != nil { // handle response } } - lang: ruby - label: retrieveMarketingautomationEvent - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_events.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_event_output.nil?\n # handle response\nend" - /marketingautomation/lists: + label: createAccountingContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_contacts.create(x_connection_token=\"\", unified_accounting_contact_input=::OpenApiSDK::Shared::UnifiedAccountingContactInput.new(\n name: \"John Doe\",\n is_supplier: true,\n is_customer: false,\n email_address: \"john.doe@example.com\",\n tax_number: \"123456789\",\n status: \"Active\",\n currency: \"USD\",\n remote_updated_at: \"2024-06-15T12:00:00Z\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingContactInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_contact_output.nil?\n # handle response\nend" + /accounting/contacts/{id}: get: - operationId: listMarketingautomationLists - summary: List Lists + operationId: retrieveAccountingContact + summary: Retrieve Contacts + description: Retrieve Contacts from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the contact you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + example: false + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingContactOutput' + tags: *ref_39 + x-speakeasy-group: accounting.contacts + x-codeSamples: + - lang: typescript + label: retrieveAccountingContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.contacts.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: retrieveAccountingContact + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.accounting.contacts.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingContact + source: |- + package main + + import( + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(""), + ) + + ctx := context.Background() + res, err := s.Accounting.Contacts.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingContactOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_contacts.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_contact_output.nil?\n # handle response\nend" + /accounting/creditnotes: + get: + operationId: listAccountingCreditNote + summary: List CreditNotes parameters: - name: x-connection-token required: true @@ -10279,7 +11948,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -10301,10 +11969,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedMarketingautomationListOutput - tags: &ref_44 - - marketingautomation/lists - x-speakeasy-group: marketingautomation.lists + #/components/schemas/UnifiedAccountingCreditnoteOutput + tags: &ref_40 + - accounting/creditnotes + x-speakeasy-group: accounting.creditnotes x-speakeasy-pagination: type: cursor inputs: @@ -10315,10 +11983,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingautomationLists - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.lists.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingCreditNote + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.creditnotes.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingautomationLists + label: listAccountingCreditNote source: |- from panora_sdk import Panora @@ -10327,7 +12016,7 @@ paths: ) - res = s.marketingautomation.lists.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.creditnotes.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -10337,15 +12026,16 @@ paths: if res is None: break - lang: go - label: listMarketingautomationLists - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Lists.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingCreditNote + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Creditnotes.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingautomationLists - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createMarketingautomationList - summary: Create Lists - description: Create Lists in any supported Marketingautomation software + label: listAccountingCreditNote + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_creditnotes.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/creditnotes/{id}: + get: + operationId: retrieveAccountingCreditNote + summary: Retrieve Credit Notes + description: Retrieve Credit Notes from any connected Accounting software parameters: - name: x-connection-token required: true @@ -10353,34 +12043,53 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the creditnote you want to retrieve. + schema: + type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. + example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationListInput' responses: - '201': + '200': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' - tags: *ref_44 - x-speakeasy-group: marketingautomation.lists + $ref: '#/components/schemas/UnifiedAccountingCreditnoteOutput' + tags: *ref_40 + x-speakeasy-group: accounting.creditnotes x-codeSamples: - lang: typescript - label: createMarketingautomationList - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.lists.create({\n xConnectionToken: \"\",\n unifiedMarketingautomationListInput: {},\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingCreditNote + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.creditnotes.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createMarketingautomationList + label: retrieveAccountingCreditNote source: |- from panora_sdk import Panora @@ -10389,20 +12098,19 @@ paths: ) - res = s.marketingautomation.lists.create(x_connection_token="", unified_marketingautomation_list_input={}) + res = s.accounting.creditnotes.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: createMarketingautomationList + label: retrieveAccountingCreditNote source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" - "github.com/panoratech/go-sdk/models/components" "log" ) @@ -10412,22 +12120,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Lists.Create(ctx, "", components.UnifiedMarketingautomationListInput{}, nil) + res, err := s.Accounting.Creditnotes.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationListOutput != nil { + if res.UnifiedAccountingCreditnoteOutput != nil { // handle response } } - lang: ruby - label: createMarketingautomationList - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.create(x_connection_token=\"\", unified_marketingautomation_list_input=::OpenApiSDK::Shared::UnifiedMarketingautomationListInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_list_output.nil?\n # handle response\nend" - /marketingautomation/lists/{id}: + label: retrieveAccountingCreditNote + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_creditnotes.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_creditnote_output.nil?\n # handle response\nend" + /accounting/expenses: get: - operationId: retrieveMarketingautomationList - summary: Retrieve List - description: Retrieve a List from any connected Marketingautomation software + operationId: listAccountingExpense + summary: List Expenses parameters: - name: x-connection-token required: true @@ -10435,93 +12142,11 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the list you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' - tags: *ref_44 - x-speakeasy-group: marketingautomation.lists - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationList - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.lists.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveMarketingautomationList - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.marketingautomation.lists.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveMarketingautomationList - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Marketingautomation.Lists.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedMarketingautomationListOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveMarketingautomationList - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_list_output.nil?\n # handle response\nend" - /marketingautomation/messages: - get: - operationId: listMarketingautomationMessages - summary: List Messages - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. + example: true + description: Set to true to include data from the original software. schema: type: boolean - name: limit @@ -10530,7 +12155,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -10551,11 +12175,10 @@ paths: data: type: array items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationMessageOutput - tags: &ref_45 - - marketingautomation/messages - x-speakeasy-group: marketingautomation.messages + $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' + tags: &ref_41 + - accounting/expenses + x-speakeasy-group: accounting.expenses x-speakeasy-pagination: type: cursor inputs: @@ -10566,10 +12189,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingautomationMessages - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.messages.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingExpense + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.expenses.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingautomationMessages + label: listAccountingExpense source: |- from panora_sdk import Panora @@ -10578,7 +12222,7 @@ paths: ) - res = s.marketingautomation.messages.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.expenses.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -10588,16 +12232,15 @@ paths: if res is None: break - lang: go - label: listMarketingautomationMessages - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Messages.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingExpense + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Expenses.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingautomationMessages - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_messages.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /marketingautomation/messages/{id}: - get: - operationId: retrieveMarketingautomationMessage - summary: Retrieve Messages - description: Retrieve Messages from any connected Marketingautomation software + label: listAccountingExpense + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_expenses.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingExpense + summary: Create Expenses + description: Create Expenses in any supported Accounting software parameters: - name: x-connection-token required: true @@ -10605,37 +12248,82 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the message you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingExpenseInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationMessageOutput' - tags: *ref_45 - x-speakeasy-group: marketingautomation.messages + $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' + tags: *ref_41 + x-speakeasy-group: accounting.expenses x-codeSamples: - lang: typescript - label: retrieveMarketingautomationMessage - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.messages.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingExpense + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.expenses.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingExpenseInput: { + transactionDate: new Date("2024-06-15T12:00:00Z"), + totalAmount: 10000, + subTotal: 9000, + totalTaxAmount: 1000, + currency: "USD", + exchangeRate: "1.2", + memo: "Business lunch with client", + accountId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + contactId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + trackingCategories: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + lineItems: [ + { + name: "Net Income", + value: 100000, + type: "Operating Activities", + parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteId: "report_item_1234", + remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + createdAt: new Date("2024-06-15T12:00:00Z"), + modifiedAt: new Date("2024-06-15T12:00:00Z"), + }, + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveMarketingautomationMessage + label: createAccountingExpense source: |- + import dateutil.parser from panora_sdk import Panora s = Panora( @@ -10643,19 +12331,49 @@ paths: ) - res = s.marketingautomation.messages.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.expenses.create(x_connection_token="", unified_accounting_expense_input={ + "transaction_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "total_amount": 10000, + "sub_total": 9000, + "total_tax_amount": 1000, + "currency": "USD", + "exchange_rate": "1.2", + "memo": "Business lunch with client", + "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "contact_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "tracking_categories": [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + "line_items": [ + { + "name": "Net Income", + "value": 100000, + "type": "Operating Activities", + "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "remote_id": "report_item_1234", + "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + }, + ], + "field_mappings": {}, + }, remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveMarketingautomationMessage + label: createAccountingExpense source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/types" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -10665,21 +12383,50 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Messages.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Expenses.Create(ctx, "", components.UnifiedAccountingExpenseInput{ + TransactionDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + TotalAmount: gosdk.Float64(10000), + SubTotal: gosdk.Float64(9000), + TotalTaxAmount: gosdk.Float64(1000), + Currency: gosdk.String("USD"), + ExchangeRate: gosdk.String("1.2"), + Memo: gosdk.String("Business lunch with client"), + AccountID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + ContactID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + TrackingCategories: []string{ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }, + LineItems: []components.LineItem{ + components.LineItem{ + Name: gosdk.String("Net Income"), + Value: gosdk.Float64(100000), + Type: gosdk.String("Operating Activities"), + ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + RemoteID: gosdk.String("report_item_1234"), + RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + }, + }, + FieldMappings: &components.UnifiedAccountingExpenseInputFieldMappings{}, + }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationMessageOutput != nil { + if res.UnifiedAccountingExpenseOutput != nil { // handle response } } - lang: ruby - label: retrieveMarketingautomationMessage - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_messages.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_message_output.nil?\n # handle response\nend" - /marketingautomation/templates: + label: createAccountingExpense + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_expenses.create(x_connection_token=\"\", unified_accounting_expense_input=::OpenApiSDK::Shared::UnifiedAccountingExpenseInput.new(\n transaction_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n total_amount: 10000.0,\n sub_total: 9000.0,\n total_tax_amount: 1000.0,\n currency: \"USD\",\n exchange_rate: \"1.2\",\n memo: \"Business lunch with client\",\n account_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contact_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingExpenseInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_expense_output.nil?\n # handle response\nend" + /accounting/expenses/{id}: get: - operationId: listMarketingautomationTemplates - summary: List Templates + operationId: retrieveAccountingExpense + summary: Retrieve Expenses + description: Retrieve Expenses from any connected Accounting software parameters: - name: x-connection-token required: true @@ -10687,205 +12434,53 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the expense you want to retrieve. + schema: + type: string - name: remote_data required: false in: query - example: true - description: Set to true to include data from the original software. + example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string responses: '200': description: '' content: application/json: schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationTemplateOutput - tags: &ref_46 - - marketingautomation/templates - x-speakeasy-group: marketingautomation.templates - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listMarketingautomationTemplates - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.templates.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listMarketingautomationTemplates - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.marketingautomation.templates.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listMarketingautomationTemplates - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Templates.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listMarketingautomationTemplates - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createMarketingautomationTemplate - summary: Create Template - description: Create a template in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationTemplateInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' - tags: *ref_46 - x-speakeasy-group: marketingautomation.templates + $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' + tags: *ref_41 + x-speakeasy-group: accounting.expenses x-codeSamples: - lang: typescript - label: createMarketingautomationTemplate - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.templates.create({\n xConnectionToken: \"\",\n unifiedMarketingautomationTemplateInput: {},\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createMarketingautomationTemplate - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.marketingautomation.templates.create(x_connection_token="", unified_marketingautomation_template_input={}) - - if res is not None: - # handle response - pass - - lang: go - label: createMarketingautomationTemplate + label: retrieveAccountingExpense source: |- - package main + import { Panora } from "@panora/sdk"; - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) + const panora = new Panora({ + apiKey: "", + }); - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) + async function run() { + const result = await panora.accounting.expenses.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); - ctx := context.Background() - res, err := s.Marketingautomation.Templates.Create(ctx, "", components.UnifiedMarketingautomationTemplateInput{}, nil) - if err != nil { - log.Fatal(err) - } - if res.UnifiedMarketingautomationTemplateOutput != nil { - // handle response - } + // Handle the result + console.log(result); } - - lang: ruby - label: createMarketingautomationTemplate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.create(x_connection_token=\"\", unified_marketingautomation_template_input=::OpenApiSDK::Shared::UnifiedMarketingautomationTemplateInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_template_output.nil?\n # handle response\nend" - /marketingautomation/templates/{id}: - get: - operationId: retrieveMarketingautomationTemplate - summary: Retrieve Template - description: Retrieve a Template from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the template you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' - tags: *ref_46 - x-speakeasy-group: marketingautomation.templates - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationTemplate - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.templates.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + + run(); - lang: python - label: retrieveMarketingautomationTemplate + label: retrieveAccountingExpense source: |- from panora_sdk import Panora @@ -10894,13 +12489,13 @@ paths: ) - res = s.marketingautomation.templates.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.expenses.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveMarketingautomationTemplate + label: retrieveAccountingExpense source: |- package main @@ -10916,21 +12511,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Templates.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Expenses.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationTemplateOutput != nil { + if res.UnifiedAccountingExpenseOutput != nil { // handle response } } - lang: ruby - label: retrieveMarketingautomationTemplate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_template_output.nil?\n # handle response\nend" - /marketingautomation/users: + label: retrieveAccountingExpense + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_expenses.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_expense_output.nil?\n # handle response\nend" + /accounting/incomestatements: get: - operationId: listMarketingAutomationUsers - summary: List Users + operationId: listAccountingIncomeStatement + summary: List IncomeStatements parameters: - name: x-connection-token required: true @@ -10951,7 +12546,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -10973,10 +12567,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedMarketingautomationUserOutput - tags: &ref_47 - - marketingautomation/users - x-speakeasy-group: marketingautomation.users + #/components/schemas/UnifiedAccountingIncomestatementOutput + tags: &ref_42 + - accounting/incomestatements + x-speakeasy-group: accounting.incomestatements x-speakeasy-pagination: type: cursor inputs: @@ -10987,10 +12581,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listMarketingAutomationUsers - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.users.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingIncomeStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.incomestatements.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listMarketingAutomationUsers + label: listAccountingIncomeStatement source: |- from panora_sdk import Panora @@ -10999,7 +12614,7 @@ paths: ) - res = s.marketingautomation.users.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.incomestatements.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -11009,16 +12624,16 @@ paths: if res is None: break - lang: go - label: listMarketingAutomationUsers - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Marketingautomation.Users.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingIncomeStatement + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Incomestatements.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listMarketingAutomationUsers - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_users.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /marketingautomation/users/{id}: + label: listAccountingIncomeStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_incomestatements.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/incomestatements/{id}: get: - operationId: retrieveMarketingAutomationUser - summary: Retrieve Users - description: Retrieve Users from any connected Marketingautomation software + operationId: retrieveAccountingIncomeStatement + summary: Retrieve Income Statements + description: Retrieve Income Statements from any connected Accounting software parameters: - name: x-connection-token required: true @@ -11029,16 +12644,15 @@ paths: - name: id required: true in: path - description: id of the user you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the incomestatement you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: >- - Set to true to include data from the original Marketingautomation software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -11047,15 +12661,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedMarketingautomationUserOutput' - tags: *ref_47 - x-speakeasy-group: marketingautomation.users + $ref: '#/components/schemas/UnifiedAccountingIncomestatementOutput' + tags: *ref_42 + x-speakeasy-group: accounting.incomestatements x-codeSamples: - lang: typescript - label: retrieveMarketingAutomationUser - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.marketingautomation.users.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingIncomeStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.incomestatements.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveMarketingAutomationUser + label: retrieveAccountingIncomeStatement source: |- from panora_sdk import Panora @@ -11064,13 +12696,13 @@ paths: ) - res = s.marketingautomation.users.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.incomestatements.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveMarketingAutomationUser + label: retrieveAccountingIncomeStatement source: |- package main @@ -11086,21 +12718,21 @@ paths: ) ctx := context.Background() - res, err := s.Marketingautomation.Users.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Incomestatements.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedMarketingautomationUserOutput != nil { + if res.UnifiedAccountingIncomestatementOutput != nil { // handle response } } - lang: ruby - label: retrieveMarketingAutomationUser - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.marketingautomation_users.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_marketingautomation_user_output.nil?\n # handle response\nend" - /ats/activities: + label: retrieveAccountingIncomeStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_incomestatements.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_incomestatement_output.nil?\n # handle response\nend" + /accounting/invoices: get: - operationId: listAtsActivity - summary: List Activities + operationId: listAccountingInvoice + summary: List Invoices parameters: - name: x-connection-token required: true @@ -11121,7 +12753,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -11142,10 +12773,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsActivityOutput' - tags: &ref_48 - - ats/activities - x-speakeasy-group: ats.activities + $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' + tags: &ref_43 + - accounting/invoices + x-speakeasy-group: accounting.invoices x-speakeasy-pagination: type: cursor inputs: @@ -11156,10 +12787,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsActivity - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.activities.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingInvoice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.invoices.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsActivity + label: listAccountingInvoice source: |- from panora_sdk import Panora @@ -11168,7 +12820,7 @@ paths: ) - res = s.ats.activities.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.invoices.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -11178,15 +12830,15 @@ paths: if res is None: break - lang: go - label: listAtsActivity - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Activities.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingInvoice + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Invoices.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsActivity - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_activities.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listAccountingInvoice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_invoices.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createAtsActivity - summary: Create Activities - description: Create Activities in any supported Ats software + operationId: createAccountingInvoice + summary: Create Invoices + description: Create invoices in any supported Accounting software parameters: - name: x-connection-token required: true @@ -11197,8 +12849,8 @@ paths: - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean requestBody: @@ -11206,22 +12858,75 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsActivityInput' + $ref: '#/components/schemas/UnifiedAccountingInvoiceInput' responses: '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsActivityOutput' - tags: *ref_48 - x-speakeasy-group: ats.activities + $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' + tags: *ref_43 + x-speakeasy-group: accounting.invoices x-codeSamples: - lang: typescript - label: createAtsActivity - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.activities.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAtsActivityInput: {\n activityType: \"NOTE\",\n subject: \"Email subject\",\n body: \"Dear Diana, I love you\",\n visibility: \"PUBLIC\",\n candidateId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteCreatedAt: new Date(\"2024-10-01T12:00:00Z\"),\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingInvoice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.invoices.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingInvoiceInput: { + type: "Sales", + number: "INV-001", + issueDate: new Date("2024-06-15T12:00:00Z"), + dueDate: new Date("2024-07-15T12:00:00Z"), + paidOnDate: new Date("2024-07-10T12:00:00Z"), + memo: "Payment for services rendered", + currency: "USD", + exchangeRate: "1.2", + totalDiscount: 1000, + subTotal: 10000, + status: "Paid", + totalTaxAmount: 1000, + totalAmount: 11000, + balance: 0, + contactId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + accountingPeriodId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + trackingCategories: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + lineItems: [ + { + name: "Net Income", + value: 100000, + type: "Operating Activities", + parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteId: "report_item_1234", + remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + createdAt: new Date("2024-06-15T12:00:00Z"), + modifiedAt: new Date("2024-06-15T12:00:00Z"), + }, + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createAtsActivity + label: createAccountingInvoice source: |- import dateutil.parser from panora_sdk import Panora @@ -11231,24 +12936,48 @@ paths: ) - res = s.ats.activities.create(x_connection_token="", unified_ats_activity_input={ - "activity_type": "NOTE", - "subject": "Email subject", - "body": "Dear Diana, I love you", - "visibility": "PUBLIC", - "candidate_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_created_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, + res = s.accounting.invoices.create(x_connection_token="", unified_accounting_invoice_input={ + "type": "Sales", + "number": "INV-001", + "issue_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "due_date": dateutil.parser.isoparse("2024-07-15T12:00:00Z"), + "paid_on_date": dateutil.parser.isoparse("2024-07-10T12:00:00Z"), + "memo": "Payment for services rendered", + "currency": "USD", + "exchange_rate": "1.2", + "total_discount": 1000, + "sub_total": 10000, + "status": "Paid", + "total_tax_amount": 1000, + "total_amount": 11000, + "balance": 0, + "contact_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "tracking_categories": [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + "line_items": [ + { + "name": "Net Income", + "value": 100000, + "type": "Operating Activities", + "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "remote_id": "report_item_1234", + "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + }, + ], + "field_mappings": {}, }, remote_data=False) if res is not None: # handle response pass - lang: go - label: createAtsActivity + label: createAccountingInvoice source: |- package main @@ -11266,33 +12995,57 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Activities.Create(ctx, "", components.UnifiedAtsActivityInput{ - ActivityType: gosdk.String("NOTE"), - Subject: gosdk.String("Email subject"), - Body: gosdk.String("Dear Diana, I love you"), - Visibility: gosdk.String("PUBLIC"), - CandidateID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteCreatedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", + res, err := s.Accounting.Invoices.Create(ctx, "", components.UnifiedAccountingInvoiceInput{ + Type: gosdk.String("Sales"), + Number: gosdk.String("INV-001"), + IssueDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + DueDate: types.MustNewTimeFromString("2024-07-15T12:00:00Z"), + PaidOnDate: types.MustNewTimeFromString("2024-07-10T12:00:00Z"), + Memo: gosdk.String("Payment for services rendered"), + Currency: gosdk.String("USD"), + ExchangeRate: gosdk.String("1.2"), + TotalDiscount: gosdk.Float64(1000), + SubTotal: gosdk.Float64(10000), + Status: gosdk.String("Paid"), + TotalTaxAmount: gosdk.Float64(1000), + TotalAmount: gosdk.Float64(11000), + Balance: gosdk.Float64(0), + ContactID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + TrackingCategories: []string{ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }, + LineItems: []components.LineItem{ + components.LineItem{ + Name: gosdk.String("Net Income"), + Value: gosdk.Float64(100000), + Type: gosdk.String("Operating Activities"), + ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + RemoteID: gosdk.String("report_item_1234"), + RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + }, }, + FieldMappings: &components.UnifiedAccountingInvoiceInputFieldMappings{}, }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsActivityOutput != nil { + if res.UnifiedAccountingInvoiceOutput != nil { // handle response } } - lang: ruby - label: createAtsActivity - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_activities.create(x_connection_token=\"\", unified_ats_activity_input=::OpenApiSDK::Shared::UnifiedAtsActivityInput.new(\n activity_type: \"NOTE\",\n subject: \"Email subject\",\n body: \"Dear Diana, I love you\",\n visibility: \"PUBLIC\",\n candidate_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_created_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_ats_activity_output.nil?\n # handle response\nend" - /ats/activities/{id}: + label: createAccountingInvoice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_invoices.create(x_connection_token=\"\", unified_accounting_invoice_input=::OpenApiSDK::Shared::UnifiedAccountingInvoiceInput.new(\n type: \"Sales\",\n number: \"INV-001\",\n issue_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n due_date: DateTime.iso8601('2024-07-15T12:00:00Z'),\n paid_on_date: DateTime.iso8601('2024-07-10T12:00:00Z'),\n memo: \"Payment for services rendered\",\n currency: \"USD\",\n exchange_rate: \"1.2\",\n total_discount: 1000.0,\n sub_total: 10000.0,\n status: \"Paid\",\n total_tax_amount: 1000.0,\n total_amount: 11000.0,\n balance: 0.0,\n contact_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingInvoiceInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_invoice_output.nil?\n # handle response\nend" + /accounting/invoices/{id}: get: - operationId: retrieveAtsActivity - summary: Retrieve Activities - description: Retrieve Activities from any connected Ats software + operationId: retrieveAccountingInvoice + summary: Retrieve Invoices + description: Retrieve Invoices from any connected Accounting software parameters: - name: x-connection-token required: true @@ -11303,15 +13056,15 @@ paths: - name: id required: true in: path - description: id of the activity you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the invoice you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -11320,15 +13073,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsActivityOutput' - tags: *ref_48 - x-speakeasy-group: ats.activities + $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' + tags: *ref_43 + x-speakeasy-group: accounting.invoices x-codeSamples: - lang: typescript - label: retrieveAtsActivity - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.activities.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingInvoice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.invoices.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsActivity + label: retrieveAccountingInvoice source: |- from panora_sdk import Panora @@ -11337,13 +13108,13 @@ paths: ) - res = s.ats.activities.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.invoices.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsActivity + label: retrieveAccountingInvoice source: |- package main @@ -11359,21 +13130,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Activities.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Invoices.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsActivityOutput != nil { + if res.UnifiedAccountingInvoiceOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsActivity - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_activities.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_activity_output.nil?\n # handle response\nend" - /ats/applications: + label: retrieveAccountingInvoice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_invoices.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_invoice_output.nil?\n # handle response\nend" + /accounting/items: get: - operationId: listAtsApplication - summary: List Applications + operationId: listAccountingItem + summary: List Items parameters: - name: x-connection-token required: true @@ -11394,7 +13165,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -11415,10 +13185,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsApplicationOutput' - tags: &ref_49 - - ats/applications - x-speakeasy-group: ats.applications + $ref: '#/components/schemas/UnifiedAccountingItemOutput' + tags: &ref_44 + - accounting/items + x-speakeasy-group: accounting.items x-speakeasy-pagination: type: cursor inputs: @@ -11429,10 +13199,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsApplication - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.applications.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingItem + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.items.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsApplication + label: listAccountingItem source: |- from panora_sdk import Panora @@ -11441,7 +13232,7 @@ paths: ) - res = s.ats.applications.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.items.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -11451,15 +13242,16 @@ paths: if res is None: break - lang: go - label: listAtsApplication - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Applications.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingItem + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Items.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsApplication - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_applications.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAtsApplication - summary: Create Applications - description: Create Applications in any supported Ats software + label: listAccountingItem + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_items.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/items/{id}: + get: + operationId: retrieveAccountingItem + summary: Retrieve Items + description: Retrieve Items from any connected Accounting software parameters: - name: x-connection-token required: true @@ -11467,153 +13259,53 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the item you want to retrieve. + schema: + type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsApplicationInput' responses: - '201': + '200': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsApplicationOutput' - tags: *ref_49 - x-speakeasy-group: ats.applications + $ref: '#/components/schemas/UnifiedAccountingItemOutput' + tags: *ref_44 + x-speakeasy-group: accounting.items x-codeSamples: - lang: typescript - label: createAtsApplication - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.applications.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAtsApplicationInput: {\n appliedAt: new Date(\"2024-10-01T12:00:00Z\"),\n rejectedAt: new Date(\"2024-10-01T12:00:00Z\"),\n offers: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n \"12345678-1234-1234-1234-123456789012\",\n ],\n source: \"Source Name\",\n creditedTo: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n currentStage: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n rejectReason: \"Candidate not experienced enough\",\n candidateId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n jobId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createAtsApplication + label: retrieveAccountingItem source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ats.applications.create(x_connection_token="", unified_ats_application_input={ - "applied_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "rejected_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "offers": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "12345678-1234-1234-1234-123456789012", - ], - "source": "Source Name", - "credited_to": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "current_stage": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "reject_reason": "Candidate not experienced enough", - "candidate_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "job_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createAtsApplication - source: |- - package main + import { Panora } from "@panora/sdk"; - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) + const panora = new Panora({ + apiKey: "", + }); - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) + async function run() { + const result = await panora.accounting.items.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); - ctx := context.Background() - res, err := s.Ats.Applications.Create(ctx, "", components.UnifiedAtsApplicationInput{ - AppliedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - RejectedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - Offers: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "12345678-1234-1234-1234-123456789012", - }, - Source: gosdk.String("Source Name"), - CreditedTo: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CurrentStage: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RejectReason: gosdk.String("Candidate not experienced enough"), - CandidateID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - JobID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAtsApplicationOutput != nil { - // handle response - } + // Handle the result + console.log(result); } - - lang: ruby - label: createAtsApplication - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_applications.create(x_connection_token=\"\", unified_ats_application_input=::OpenApiSDK::Shared::UnifiedAtsApplicationInput.new(\n applied_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n rejected_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n offers: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n \"12345678-1234-1234-1234-123456789012\",\n ],\n source: \"Source Name\",\n credited_to: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n current_stage: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n reject_reason: \"Candidate not experienced enough\",\n candidate_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n job_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_ats_application_output.nil?\n # handle response\nend" - /ats/applications/{id}: - get: - operationId: retrieveAtsApplication - summary: Retrieve Applications - description: Retrieve Applications from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the application you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsApplicationOutput' - tags: *ref_49 - x-speakeasy-group: ats.applications - x-codeSamples: - - lang: typescript - label: retrieveAtsApplication - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.applications.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + + run(); - lang: python - label: retrieveAtsApplication + label: retrieveAccountingItem source: |- from panora_sdk import Panora @@ -11622,13 +13314,13 @@ paths: ) - res = s.ats.applications.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.items.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsApplication + label: retrieveAccountingItem source: |- package main @@ -11644,21 +13336,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Applications.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Items.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsApplicationOutput != nil { + if res.UnifiedAccountingItemOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsApplication - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_applications.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_application_output.nil?\n # handle response\nend" - /ats/attachments: + label: retrieveAccountingItem + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_items.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_item_output.nil?\n # handle response\nend" + /accounting/journalentries: get: - operationId: listAtsAttachment - summary: List Attachments + operationId: listAccountingJournalEntry + summary: List JournalEntrys parameters: - name: x-connection-token required: true @@ -11679,7 +13371,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -11700,10 +13391,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' - tags: &ref_50 - - ats/attachments - x-speakeasy-group: ats.attachments + $ref: >- + #/components/schemas/UnifiedAccountingJournalentryOutput + tags: &ref_45 + - accounting/journalentries + x-speakeasy-group: accounting.journalentries x-speakeasy-pagination: type: cursor inputs: @@ -11714,10 +13406,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsAttachment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.attachments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingJournalEntry + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.journalentries.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsAttachment + label: listAccountingJournalEntry source: |- from panora_sdk import Panora @@ -11726,7 +13439,7 @@ paths: ) - res = s.ats.attachments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.journalentries.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -11736,15 +13449,15 @@ paths: if res is None: break - lang: go - label: listAtsAttachment - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Attachments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingJournalEntry + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Journalentries.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsAttachment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_attachments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listAccountingJournalEntry + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createAtsAttachment - summary: Create Attachments - description: Create Attachments in any supported ATS software + operationId: createAccountingJournalEntry + summary: Create Journal Entries + description: Create Journal Entries in any supported Accounting software parameters: - name: x-connection-token required: true @@ -11755,8 +13468,8 @@ paths: - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean requestBody: @@ -11764,22 +13477,74 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsAttachmentInput' + $ref: '#/components/schemas/UnifiedAccountingJournalentryInput' responses: '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' - tags: *ref_50 - x-speakeasy-group: ats.attachments + $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' + tags: *ref_45 + x-speakeasy-group: accounting.journalentries x-codeSamples: - lang: typescript - label: createAtsAttachment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.attachments.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAtsAttachmentInput: {\n fileUrl: \"https://example.com/file.pdf\",\n fileName: \"file.pdf\",\n attachmentType: \"RESUME\",\n remoteCreatedAt: new Date(\"2024-10-01T12:00:00Z\"),\n remoteModifiedAt: new Date(\"2024-10-01T12:00:00Z\"),\n candidateId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingJournalEntry + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.journalentries.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingJournalentryInput: { + transactionDate: new Date("2024-06-15T12:00:00Z"), + payments: [ + "payment1", + "payment2", + ], + appliedPayments: [ + "appliedPayment1", + "appliedPayment2", + ], + memo: "Monthly expense journal entry", + currency: "USD", + exchangeRate: "1.2", + idAccCompanyInfo: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + journalNumber: "JE-001", + trackingCategories: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + idAccAccountingPeriod: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + postingStatus: "Posted", + lineItems: [ + { + name: "Net Income", + value: 100000, + type: "Operating Activities", + parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteId: "report_item_1234", + remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + createdAt: new Date("2024-06-15T12:00:00Z"), + modifiedAt: new Date("2024-06-15T12:00:00Z"), + }, + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createAtsAttachment + label: createAccountingJournalEntry source: |- import dateutil.parser from panora_sdk import Panora @@ -11789,24 +13554,47 @@ paths: ) - res = s.ats.attachments.create(x_connection_token="", unified_ats_attachment_input={ - "file_url": "https://example.com/file.pdf", - "file_name": "file.pdf", - "attachment_type": "RESUME", - "remote_created_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "remote_modified_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "candidate_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, + res = s.accounting.journalentries.create(x_connection_token="", unified_accounting_journalentry_input={ + "transaction_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "payments": [ + "payment1", + "payment2", + ], + "applied_payments": [ + "appliedPayment1", + "appliedPayment2", + ], + "memo": "Monthly expense journal entry", + "currency": "USD", + "exchange_rate": "1.2", + "id_acc_company_info": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "journal_number": "JE-001", + "tracking_categories": [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + "id_acc_accounting_period": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "posting_status": "Posted", + "line_items": [ + { + "name": "Net Income", + "value": 100000, + "type": "Operating Activities", + "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "remote_id": "report_item_1234", + "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + }, + ], + "field_mappings": {}, }, remote_data=False) if res is not None: # handle response pass - lang: go - label: createAtsAttachment + label: createAccountingJournalEntry source: |- package main @@ -11824,33 +13612,56 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Attachments.Create(ctx, "", components.UnifiedAtsAttachmentInput{ - FileURL: gosdk.String("https://example.com/file.pdf"), - FileName: gosdk.String("file.pdf"), - AttachmentType: gosdk.String("RESUME"), - RemoteCreatedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - RemoteModifiedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - CandidateID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", + res, err := s.Accounting.Journalentries.Create(ctx, "", components.UnifiedAccountingJournalentryInput{ + TransactionDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + Payments: []string{ + "payment1", + "payment2", + }, + AppliedPayments: []string{ + "appliedPayment1", + "appliedPayment2", + }, + Memo: gosdk.String("Monthly expense journal entry"), + Currency: gosdk.String("USD"), + ExchangeRate: gosdk.String("1.2"), + IDAccCompanyInfo: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + JournalNumber: gosdk.String("JE-001"), + TrackingCategories: []string{ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }, + IDAccAccountingPeriod: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + PostingStatus: gosdk.String("Posted"), + LineItems: []components.LineItem{ + components.LineItem{ + Name: gosdk.String("Net Income"), + Value: gosdk.Float64(100000), + Type: gosdk.String("Operating Activities"), + ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + RemoteID: gosdk.String("report_item_1234"), + RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + }, }, + FieldMappings: &components.UnifiedAccountingJournalentryInputFieldMappings{}, }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsAttachmentOutput != nil { + if res.UnifiedAccountingJournalentryOutput != nil { // handle response } } - lang: ruby - label: createAtsAttachment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_attachments.create(x_connection_token=\"\", unified_ats_attachment_input=::OpenApiSDK::Shared::UnifiedAtsAttachmentInput.new(\n file_url: \"https://example.com/file.pdf\",\n file_name: \"file.pdf\",\n attachment_type: \"RESUME\",\n remote_created_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n remote_modified_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n candidate_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_ats_attachment_output.nil?\n # handle response\nend" - /ats/attachments/{id}: + label: createAccountingJournalEntry + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.create(x_connection_token=\"\", unified_accounting_journalentry_input=::OpenApiSDK::Shared::UnifiedAccountingJournalentryInput.new(\n transaction_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n payments: [\n \"payment1\",\n \"payment2\",\n ],\n applied_payments: [\n \"appliedPayment1\",\n \"appliedPayment2\",\n ],\n memo: \"Monthly expense journal entry\",\n currency: \"USD\",\n exchange_rate: \"1.2\",\n id_acc_company_info: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n journal_number: \"JE-001\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n id_acc_accounting_period: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n posting_status: \"Posted\",\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingJournalentryInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_journalentry_output.nil?\n # handle response\nend" + /accounting/journalentries/{id}: get: - operationId: retrieveAtsAttachment - summary: Retrieve Attachments - description: Retrieve Attachments from any connected Ats software + operationId: retrieveAccountingJournalEntry + summary: Retrieve Journal Entries + description: Retrieve Journal Entries from any connected Accounting software parameters: - name: x-connection-token required: true @@ -11861,15 +13672,15 @@ paths: - name: id required: true in: path - description: id of the attachment you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the journalentry you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -11878,30 +13689,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' - tags: *ref_50 - x-speakeasy-group: ats.attachments + $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' + tags: *ref_45 + x-speakeasy-group: accounting.journalentries x-codeSamples: - lang: typescript - label: retrieveAtsAttachment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.attachments.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAtsAttachment + label: retrieveAccountingJournalEntry source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) + import { Panora } from "@panora/sdk"; + const panora = new Panora({ + apiKey: "", + }); - res = s.ats.attachments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + async function run() { + const result = await panora.accounting.journalentries.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: retrieveAccountingJournalEntry + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.accounting.journalentries.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsAttachment + label: retrieveAccountingJournalEntry source: |- package main @@ -11917,21 +13746,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Attachments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Journalentries.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsAttachmentOutput != nil { + if res.UnifiedAccountingJournalentryOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsAttachment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_attachments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_attachment_output.nil?\n # handle response\nend" - /ats/candidates: + label: retrieveAccountingJournalEntry + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_journalentry_output.nil?\n # handle response\nend" + /accounting/payments: get: - operationId: listAtsCandidate - summary: List Candidates + operationId: listAccountingPayment + summary: List Payments parameters: - name: x-connection-token required: true @@ -11952,7 +13781,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -11973,10 +13801,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsCandidateOutput' - tags: &ref_51 - - ats/candidates - x-speakeasy-group: ats.candidates + $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' + tags: &ref_46 + - accounting/payments + x-speakeasy-group: accounting.payments x-speakeasy-pagination: type: cursor inputs: @@ -11987,10 +13815,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsCandidate - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.candidates.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingPayment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.payments.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsCandidate + label: listAccountingPayment source: |- from panora_sdk import Panora @@ -11999,7 +13848,7 @@ paths: ) - res = s.ats.candidates.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.payments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -12009,15 +13858,15 @@ paths: if res is None: break - lang: go - label: listAtsCandidate - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Candidates.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingPayment + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Payments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsCandidate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_candidates.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listAccountingPayment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createAtsCandidate - summary: Create Candidates - description: Create Candidates in any supported Ats software + operationId: createAccountingPayment + summary: Create Payments + description: Create Payments in any supported Accounting software parameters: - name: x-connection-token required: true @@ -12028,8 +13877,8 @@ paths: - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean requestBody: @@ -12037,22 +13886,68 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsCandidateInput' + $ref: '#/components/schemas/UnifiedAccountingPaymentInput' responses: '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsCandidateOutput' - tags: *ref_51 - x-speakeasy-group: ats.candidates + $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' + tags: *ref_46 + x-speakeasy-group: accounting.payments x-codeSamples: - lang: typescript - label: createAtsCandidate - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.candidates.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAtsCandidateInput: {\n firstName: \"Joe\",\n lastName: \"Doe\",\n company: \"Acme\",\n title: \"Analyst\",\n locations: \"New York\",\n isPrivate: false,\n emailReachable: true,\n remoteCreatedAt: new Date(\"2024-10-01T12:00:00Z\"),\n remoteModifiedAt: new Date(\"2024-10-01T12:00:00Z\"),\n lastInteractionAt: new Date(\"2024-10-01T12:00:00Z\"),\n attachments: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n applications: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n tags: [\n \"tag_1\",\n \"tag_2\",\n ],\n urls: [\n {\n url: \"mywebsite.com\",\n urlType: \"WEBSITE\",\n },\n ],\n phoneNumbers: [\n {\n phoneNumber: \"+33660688899\",\n phoneType: \"WORK\",\n },\n ],\n emailAddresses: [\n {\n emailAddress: \"joedoe@gmail.com\",\n emailAddressType: \"WORK\",\n },\n ],\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingPayment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.payments.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingPaymentInput: { + invoiceId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + transactionDate: new Date("2024-06-15T12:00:00Z"), + contactId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + accountId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + currency: "USD", + exchangeRate: "1.2", + totalAmount: 10000, + type: "Credit Card", + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + accountingPeriodId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + trackingCategories: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + lineItems: [ + { + name: "Net Income", + value: 100000, + type: "Operating Activities", + parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteId: "report_item_1234", + remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + createdAt: new Date("2024-06-15T12:00:00Z"), + modifiedAt: new Date("2024-06-15T12:00:00Z"), + }, + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createAtsCandidate + label: createAccountingPayment source: |- import dateutil.parser from panora_sdk import Panora @@ -12062,56 +13957,41 @@ paths: ) - res = s.ats.candidates.create(x_connection_token="", unified_ats_candidate_input={ - "first_name": "Joe", - "last_name": "Doe", - "company": "Acme", - "title": "Analyst", - "locations": "New York", - "is_private": False, - "email_reachable": True, - "remote_created_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "remote_modified_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "last_interaction_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "attachments": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "applications": [ + res = s.accounting.payments.create(x_connection_token="", unified_accounting_payment_input={ + "invoice_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "transaction_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "contact_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "currency": "USD", + "exchange_rate": "1.2", + "total_amount": 10000, + "type": "Credit Card", + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "tracking_categories": [ "801f9ede-c698-4e66-a7fc-48d19eebaa4f", ], - "tags": [ - "tag_1", - "tag_2", - ], - "urls": [ - { - "url": "mywebsite.com", - "url_type": "WEBSITE", - }, - ], - "phone_numbers": [ - { - "phone_number": "+33660688899", - "phone_type": "WORK", - }, - ], - "email_addresses": [ + "line_items": [ { - "email_address": "joedoe@gmail.com", - "email_address_type": "WORK", + "name": "Net Income", + "value": 100000, + "type": "Operating Activities", + "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "remote_id": "report_item_1234", + "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), }, ], - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, + "field_mappings": {}, }, remote_data=False) if res is not None: # handle response pass - lang: go - label: createAtsCandidate + label: createAccountingPayment source: |- package main @@ -12129,73 +14009,50 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Candidates.Create(ctx, "", components.UnifiedAtsCandidateInput{ - FirstName: gosdk.String("Joe"), - LastName: gosdk.String("Doe"), - Company: gosdk.String("Acme"), - Title: gosdk.String("Analyst"), - Locations: gosdk.String("New York"), - IsPrivate: gosdk.Bool(false), - EmailReachable: gosdk.Bool(true), - RemoteCreatedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - RemoteModifiedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - LastInteractionAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - Attachments: []components.UnifiedAtsCandidateInputAttachments{ - components.CreateUnifiedAtsCandidateInputAttachmentsStr( - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ), - }, - Applications: []components.UnifiedAtsCandidateInputApplications{ - components.CreateUnifiedAtsCandidateInputApplicationsStr( - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ), - }, - Tags: []components.UnifiedAtsCandidateInputTags{ - components.CreateUnifiedAtsCandidateInputTagsStr( - "tag_1", - ), - components.CreateUnifiedAtsCandidateInputTagsStr( - "tag_2", - ), - }, - Urls: []components.URL{ - components.URL{ - URL: gosdk.String("mywebsite.com"), - URLType: gosdk.String("WEBSITE"), - }, - }, - PhoneNumbers: []components.Phone{ - components.Phone{ - PhoneNumber: gosdk.String("+33660688899"), - PhoneType: gosdk.String("WORK"), - }, + res, err := s.Accounting.Payments.Create(ctx, "", components.UnifiedAccountingPaymentInput{ + InvoiceID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + TransactionDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ContactID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + AccountID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Currency: gosdk.String("USD"), + ExchangeRate: gosdk.String("1.2"), + TotalAmount: gosdk.Float64(10000), + Type: gosdk.String("Credit Card"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + TrackingCategories: []string{ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", }, - EmailAddresses: []components.Email{ - components.Email{ - EmailAddress: gosdk.String("joedoe@gmail.com"), - EmailAddressType: gosdk.String("WORK"), + LineItems: []components.LineItem{ + components.LineItem{ + Name: gosdk.String("Net Income"), + Value: gosdk.Float64(100000), + Type: gosdk.String("Operating Activities"), + ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + RemoteID: gosdk.String("report_item_1234"), + RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), }, }, - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", - }, + FieldMappings: &components.UnifiedAccountingPaymentInputFieldMappings{}, }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsCandidateOutput != nil { + if res.UnifiedAccountingPaymentOutput != nil { // handle response } } - lang: ruby - label: createAtsCandidate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_candidates.create(x_connection_token=\"\", unified_ats_candidate_input=::OpenApiSDK::Shared::UnifiedAtsCandidateInput.new(\n first_name: \"Joe\",\n last_name: \"Doe\",\n company: \"Acme\",\n title: \"Analyst\",\n locations: \"New York\",\n is_private: false,\n email_reachable: true,\n remote_created_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n remote_modified_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n last_interaction_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n attachments: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n applications: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n tags: [\n \"tag_1\",\n \"tag_2\",\n ],\n urls: [\n ::OpenApiSDK::Shared::Url.new(\n url: \"mywebsite.com\",\n url_type: \"WEBSITE\",\n ),\n ],\n phone_numbers: [\n ::OpenApiSDK::Shared::Phone.new(\n phone_number: \"+33660688899\",\n phone_type: \"WORK\",\n ),\n ],\n email_addresses: [\n ::OpenApiSDK::Shared::Email.new(\n email_address: \"joedoe@gmail.com\",\n email_address_type: \"WORK\",\n ),\n ],\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_ats_candidate_output.nil?\n # handle response\nend" - /ats/candidates/{id}: + label: createAccountingPayment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.create(x_connection_token=\"\", unified_accounting_payment_input=::OpenApiSDK::Shared::UnifiedAccountingPaymentInput.new(\n invoice_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n transaction_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n contact_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n account_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n currency: \"USD\",\n exchange_rate: \"1.2\",\n total_amount: 10000.0,\n type: \"Credit Card\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingPaymentInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" + /accounting/payments/{id}: get: - operationId: retrieveAtsCandidate - summary: Retrieve Candidates - description: Retrieve Candidates from any connected Ats software + operationId: retrieveAccountingPayment + summary: Retrieve Payments + description: Retrieve Payments from any connected Accounting software parameters: - name: x-connection-token required: true @@ -12206,15 +14063,15 @@ paths: - name: id required: true in: path - description: id of the candidate you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the payment you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -12223,15 +14080,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsCandidateOutput' - tags: *ref_51 - x-speakeasy-group: ats.candidates + $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' + tags: *ref_46 + x-speakeasy-group: accounting.payments x-codeSamples: - lang: typescript - label: retrieveAtsCandidate - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.candidates.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingPayment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.payments.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsCandidate + label: retrieveAccountingPayment source: |- from panora_sdk import Panora @@ -12240,13 +14115,13 @@ paths: ) - res = s.ats.candidates.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.payments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsCandidate + label: retrieveAccountingPayment source: |- package main @@ -12262,21 +14137,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Candidates.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Payments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsCandidateOutput != nil { + if res.UnifiedAccountingPaymentOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsCandidate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_candidates.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_candidate_output.nil?\n # handle response\nend" - /ats/departments: + label: retrieveAccountingPayment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" + /accounting/phonenumbers: get: - operationId: listAtsDepartments - summary: List Departments + operationId: listAccountingPhonenumber + summary: List PhoneNumbers parameters: - name: x-connection-token required: true @@ -12297,7 +14172,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -12318,10 +14192,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsDepartmentOutput' - tags: &ref_52 - - ats/departments - x-speakeasy-group: ats.departments + $ref: >- + #/components/schemas/UnifiedAccountingPhonenumberOutput + tags: &ref_47 + - accounting/phonenumbers + x-speakeasy-group: accounting.phonenumbers x-speakeasy-pagination: type: cursor inputs: @@ -12332,10 +14207,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsDepartments - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.departments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingPhonenumber + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.phonenumbers.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsDepartments + label: listAccountingPhonenumber source: |- from panora_sdk import Panora @@ -12344,7 +14240,7 @@ paths: ) - res = s.ats.departments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.phonenumbers.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -12354,16 +14250,16 @@ paths: if res is None: break - lang: go - label: listAtsDepartments - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Departments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingPhonenumber + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Phonenumbers.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsDepartments - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_departments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/departments/{id}: + label: listAccountingPhonenumber + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/phonenumbers/{id}: get: - operationId: retrieveAtsDepartment - summary: Retrieve Departments - description: Retrieve Departments from any connected Ats software + operationId: retrieveAccountingPhonenumber + summary: Retrieve Phone Numbers + description: Retrieve Phone Numbers from any connected Accounting software parameters: - name: x-connection-token required: true @@ -12374,15 +14270,15 @@ paths: - name: id required: true in: path - description: id of the department you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the phonenumber you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -12391,30 +14287,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsDepartmentOutput' - tags: *ref_52 - x-speakeasy-group: ats.departments + $ref: '#/components/schemas/UnifiedAccountingPhonenumberOutput' + tags: *ref_47 + x-speakeasy-group: accounting.phonenumbers x-codeSamples: - lang: typescript - label: retrieveAtsDepartment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.departments.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAtsDepartment + label: retrieveAccountingPhonenumber source: |- - from panora_sdk import Panora + import { Panora } from "@panora/sdk"; - s = Panora( - api_key="", - ) + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.phonenumbers.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: retrieveAccountingPhonenumber + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) - res = s.ats.departments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.phonenumbers.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsDepartment + label: retrieveAccountingPhonenumber source: |- package main @@ -12430,21 +14344,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Departments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Phonenumbers.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsDepartmentOutput != nil { + if res.UnifiedAccountingPhonenumberOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsDepartment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_departments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_department_output.nil?\n # handle response\nend" - /ats/interviews: + label: retrieveAccountingPhonenumber + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_phonenumber_output.nil?\n # handle response\nend" + /accounting/purchaseorders: get: - operationId: listAtsInterview - summary: List Interviews + operationId: listAccountingPurchaseOrder + summary: List PurchaseOrders parameters: - name: x-connection-token required: true @@ -12465,7 +14379,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -12486,10 +14399,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsInterviewOutput' - tags: &ref_53 - - ats/interviews - x-speakeasy-group: ats.interviews + $ref: >- + #/components/schemas/UnifiedAccountingPurchaseorderOutput + tags: &ref_48 + - accounting/purchaseorders + x-speakeasy-group: accounting.purchaseorders x-speakeasy-pagination: type: cursor inputs: @@ -12500,10 +14414,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsInterview - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.interviews.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingPurchaseOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.purchaseorders.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsInterview + label: listAccountingPurchaseOrder source: |- from panora_sdk import Panora @@ -12512,7 +14447,7 @@ paths: ) - res = s.ats.interviews.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.purchaseorders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -12522,15 +14457,15 @@ paths: if res is None: break - lang: go - label: listAtsInterview - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Interviews.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingPurchaseOrder + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Purchaseorders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsInterview - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_interviews.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createAtsInterview - summary: Create Interviews - description: Create Interviews in any supported Ats software + operationId: createAccountingPurchaseOrder + summary: Create Purchase Orders + description: Create Purchase Orders in any supported Accounting software parameters: - name: x-connection-token required: true @@ -12541,8 +14476,8 @@ paths: - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean requestBody: @@ -12550,22 +14485,71 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsInterviewInput' + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderInput' responses: '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsInterviewOutput' - tags: *ref_53 - x-speakeasy-group: ats.interviews + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' + tags: *ref_48 + x-speakeasy-group: accounting.purchaseorders x-codeSamples: - lang: typescript - label: createAtsInterview - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.interviews.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAtsInterviewInput: {\n status: \"SCHEDULED\",\n applicationId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n jobInterviewStageId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n organizedBy: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n interviewers: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n location: \"San Francisco\",\n startAt: new Date(\"2024-10-01T12:00:00Z\"),\n endAt: new Date(\"2024-10-01T12:00:00Z\"),\n remoteCreatedAt: new Date(\"2024-10-01T12:00:00Z\"),\n remoteUpdatedAt: new Date(\"2024-10-01T12:00:00Z\"),\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createAccountingPurchaseOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.purchaseorders.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingPurchaseorderInput: { + status: "Pending", + issueDate: new Date("2024-06-15T12:00:00Z"), + purchaseOrderNumber: "PO-001", + deliveryDate: new Date("2024-07-15T12:00:00Z"), + deliveryAddress: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + customer: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + vendor: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + memo: "Purchase order for Q3 inventory", + companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + totalAmount: 100000, + currency: "USD", + exchangeRate: "1.2", + trackingCategories: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + accountingPeriodId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + lineItems: [ + { + name: "Net Income", + value: 100000, + type: "Operating Activities", + parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteId: "report_item_1234", + remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + createdAt: new Date("2024-06-15T12:00:00Z"), + modifiedAt: new Date("2024-06-15T12:00:00Z"), + }, + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createAtsInterview + label: createAccountingPurchaseOrder source: |- import dateutil.parser from panora_sdk import Panora @@ -12575,30 +14559,44 @@ paths: ) - res = s.ats.interviews.create(x_connection_token="", unified_ats_interview_input={ - "status": "SCHEDULED", - "application_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "job_interview_stage_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "organized_by": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "interviewers": [ + res = s.accounting.purchaseorders.create(x_connection_token="", unified_accounting_purchaseorder_input={ + "status": "Pending", + "issue_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "purchase_order_number": "PO-001", + "delivery_date": dateutil.parser.isoparse("2024-07-15T12:00:00Z"), + "delivery_address": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "customer": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "vendor": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "memo": "Purchase order for Q3 inventory", + "company_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "total_amount": 100000, + "currency": "USD", + "exchange_rate": "1.2", + "tracking_categories": [ "801f9ede-c698-4e66-a7fc-48d19eebaa4f", ], - "location": "San Francisco", - "start_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "end_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "remote_created_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "remote_updated_at": dateutil.parser.isoparse("2024-10-01T12:00:00Z"), - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, + "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "line_items": [ + { + "name": "Net Income", + "value": 100000, + "type": "Operating Activities", + "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "remote_id": "report_item_1234", + "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + }, + ], + "field_mappings": {}, }, remote_data=False) if res is not None: # handle response pass - lang: go - label: createAtsInterview + label: createAccountingPurchaseOrder source: |- package main @@ -12616,39 +14614,53 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Interviews.Create(ctx, "", components.UnifiedAtsInterviewInput{ - Status: gosdk.String("SCHEDULED"), - ApplicationID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - JobInterviewStageID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - OrganizedBy: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Interviewers: []string{ + res, err := s.Accounting.Purchaseorders.Create(ctx, "", components.UnifiedAccountingPurchaseorderInput{ + Status: gosdk.String("Pending"), + IssueDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + PurchaseOrderNumber: gosdk.String("PO-001"), + DeliveryDate: types.MustNewTimeFromString("2024-07-15T12:00:00Z"), + DeliveryAddress: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Customer: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Vendor: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Memo: gosdk.String("Purchase order for Q3 inventory"), + CompanyID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + TotalAmount: gosdk.Float64(100000), + Currency: gosdk.String("USD"), + ExchangeRate: gosdk.String("1.2"), + TrackingCategories: []string{ "801f9ede-c698-4e66-a7fc-48d19eebaa4f", }, - Location: gosdk.String("San Francisco"), - StartAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - EndAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - RemoteCreatedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - RemoteUpdatedAt: types.MustNewTimeFromString("2024-10-01T12:00:00Z"), - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", + AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + LineItems: []components.LineItem{ + components.LineItem{ + Name: gosdk.String("Net Income"), + Value: gosdk.Float64(100000), + Type: gosdk.String("Operating Activities"), + ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + RemoteID: gosdk.String("report_item_1234"), + RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + }, }, + FieldMappings: &components.UnifiedAccountingPurchaseorderInputFieldMappings{}, }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsInterviewOutput != nil { + if res.UnifiedAccountingPurchaseorderOutput != nil { // handle response } } - lang: ruby - label: createAtsInterview - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_interviews.create(x_connection_token=\"\", unified_ats_interview_input=::OpenApiSDK::Shared::UnifiedAtsInterviewInput.new(\n status: \"SCHEDULED\",\n application_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n job_interview_stage_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n organized_by: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n interviewers: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n location: \"San Francisco\",\n start_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n end_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n remote_created_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n remote_updated_at: DateTime.iso8601('2024-10-01T12:00:00Z'),\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_ats_interview_output.nil?\n # handle response\nend" - /ats/interviews/{id}: + label: createAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.create(x_connection_token=\"\", unified_accounting_purchaseorder_input=::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInput.new(\n status: \"Pending\",\n issue_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n purchase_order_number: \"PO-001\",\n delivery_date: DateTime.iso8601('2024-07-15T12:00:00Z'),\n delivery_address: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n customer: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n vendor: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n memo: \"Purchase order for Q3 inventory\",\n company_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n total_amount: 100000.0,\n currency: \"USD\",\n exchange_rate: \"1.2\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" + /accounting/purchaseorders/{id}: get: - operationId: retrieveAtsInterview - summary: Retrieve Interviews - description: Retrieve Interviews from any connected Ats software + operationId: retrieveAccountingPurchaseOrder + summary: Retrieve Purchase Orders + description: Retrieve Purchase Orders from any connected Accounting software parameters: - name: x-connection-token required: true @@ -12659,15 +14671,15 @@ paths: - name: id required: true in: path - description: id of the interview you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the purchaseorder you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -12676,15 +14688,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsInterviewOutput' - tags: *ref_53 - x-speakeasy-group: ats.interviews + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' + tags: *ref_48 + x-speakeasy-group: accounting.purchaseorders x-codeSamples: - lang: typescript - label: retrieveAtsInterview - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.interviews.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingPurchaseOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.purchaseorders.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsInterview + label: retrieveAccountingPurchaseOrder source: |- from panora_sdk import Panora @@ -12693,13 +14723,13 @@ paths: ) - res = s.ats.interviews.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.purchaseorders.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsInterview + label: retrieveAccountingPurchaseOrder source: |- package main @@ -12715,21 +14745,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Interviews.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Purchaseorders.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsInterviewOutput != nil { + if res.UnifiedAccountingPurchaseorderOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsInterview - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_interviews.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_interview_output.nil?\n # handle response\nend" - /ats/jobinterviewstages: + label: retrieveAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" + /accounting/taxrates: get: - operationId: listAtsJobInterviewStage - summary: List JobInterviewStages + operationId: listAccountingTaxRate + summary: List TaxRates parameters: - name: x-connection-token required: true @@ -12750,7 +14780,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -12771,11 +14800,10 @@ paths: data: type: array items: - $ref: >- - #/components/schemas/UnifiedAtsJobinterviewstageOutput - tags: &ref_54 - - ats/jobinterviewstages - x-speakeasy-group: ats.jobinterviewstages + $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' + tags: &ref_49 + - accounting/taxrates + x-speakeasy-group: accounting.taxrates x-speakeasy-pagination: type: cursor inputs: @@ -12786,10 +14814,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsJobInterviewStage - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.jobinterviewstages.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingTaxRate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.taxrates.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsJobInterviewStage + label: listAccountingTaxRate source: |- from panora_sdk import Panora @@ -12798,7 +14847,7 @@ paths: ) - res = s.ats.jobinterviewstages.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.taxrates.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -12808,16 +14857,16 @@ paths: if res is None: break - lang: go - label: listAtsJobInterviewStage - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Jobinterviewstages.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingTaxRate + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Taxrates.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsJobInterviewStage - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_jobinterviewstages.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/jobinterviewstages/{id}: + label: listAccountingTaxRate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/taxrates/{id}: get: - operationId: retrieveAtsJobInterviewStage - summary: Retrieve Job Interview Stages - description: Retrieve Job Interview Stages from any connected Ats software + operationId: retrieveAccountingTaxRate + summary: Retrieve Tax Rates + description: Retrieve Tax Rates from any connected Accounting software parameters: - name: x-connection-token required: true @@ -12828,15 +14877,15 @@ paths: - name: id required: true in: path - description: id of the jobinterviewstage you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the taxrate you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -12845,15 +14894,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsJobinterviewstageOutput' - tags: *ref_54 - x-speakeasy-group: ats.jobinterviewstages + $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' + tags: *ref_49 + x-speakeasy-group: accounting.taxrates x-codeSamples: - lang: typescript - label: retrieveAtsJobInterviewStage - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.jobinterviewstages.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingTaxRate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.taxrates.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsJobInterviewStage + label: retrieveAccountingTaxRate source: |- from panora_sdk import Panora @@ -12862,13 +14929,13 @@ paths: ) - res = s.ats.jobinterviewstages.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.taxrates.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsJobInterviewStage + label: retrieveAccountingTaxRate source: |- package main @@ -12884,21 +14951,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Jobinterviewstages.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Taxrates.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsJobinterviewstageOutput != nil { + if res.UnifiedAccountingTaxrateOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsJobInterviewStage - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_jobinterviewstages.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_jobinterviewstage_output.nil?\n # handle response\nend" - /ats/jobs: + label: retrieveAccountingTaxRate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_taxrate_output.nil?\n # handle response\nend" + /accounting/trackingcategories: get: - operationId: listAtsJob - summary: List Jobs + operationId: listAccountingTrackingCategorys + summary: List TrackingCategorys parameters: - name: x-connection-token required: true @@ -12919,7 +14986,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -12940,10 +15006,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsJobOutput' - tags: &ref_55 - - ats/jobs - x-speakeasy-group: ats.jobs + $ref: >- + #/components/schemas/UnifiedAccountingTrackingcategoryOutput + tags: &ref_50 + - accounting/trackingcategories + x-speakeasy-group: accounting.trackingcategories x-speakeasy-pagination: type: cursor inputs: @@ -12954,10 +15021,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsJob - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.jobs.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAtsJob + label: listAccountingTrackingCategorys + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.trackingcategories.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); + - lang: python + label: listAccountingTrackingCategorys source: |- from panora_sdk import Panora @@ -12966,7 +15054,7 @@ paths: ) - res = s.ats.jobs.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.trackingcategories.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -12976,16 +15064,16 @@ paths: if res is None: break - lang: go - label: listAtsJob - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Jobs.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingTrackingCategorys + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Trackingcategories.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsJob - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_jobs.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/jobs/{id}: + label: listAccountingTrackingCategorys + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/trackingcategories/{id}: get: - operationId: retrieveAtsJob - summary: Retrieve Jobs - description: Retrieve Jobs from any connected Ats software + operationId: retrieveAccountingTrackingCategory + summary: Retrieve Tracking Categories + description: Retrieve Tracking Categories from any connected Accounting software parameters: - name: x-connection-token required: true @@ -12996,15 +15084,15 @@ paths: - name: id required: true in: path - description: id of the job you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the trackingcategory you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -13013,15 +15101,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsJobOutput' - tags: *ref_55 - x-speakeasy-group: ats.jobs + $ref: '#/components/schemas/UnifiedAccountingTrackingcategoryOutput' + tags: *ref_50 + x-speakeasy-group: accounting.trackingcategories x-codeSamples: - lang: typescript - label: retrieveAtsJob - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.jobs.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingTrackingCategory + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.trackingcategories.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsJob + label: retrieveAccountingTrackingCategory source: |- from panora_sdk import Panora @@ -13030,13 +15136,13 @@ paths: ) - res = s.ats.jobs.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.trackingcategories.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsJob + label: retrieveAccountingTrackingCategory source: |- package main @@ -13052,21 +15158,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Jobs.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Trackingcategories.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsJobOutput != nil { + if res.UnifiedAccountingTrackingcategoryOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsJob - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_jobs.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_job_output.nil?\n # handle response\nend" - /ats/offers: + label: retrieveAccountingTrackingCategory + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_trackingcategory_output.nil?\n # handle response\nend" + /accounting/transactions: get: - operationId: listAtsOffer - summary: List Offers + operationId: listAccountingTransaction + summary: List Transactions parameters: - name: x-connection-token required: true @@ -13087,7 +15193,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -13108,10 +15213,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsOfferOutput' - tags: &ref_56 - - ats/offers - x-speakeasy-group: ats.offers + $ref: >- + #/components/schemas/UnifiedAccountingTransactionOutput + tags: &ref_51 + - accounting/transactions + x-speakeasy-group: accounting.transactions x-speakeasy-pagination: type: cursor inputs: @@ -13122,10 +15228,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsOffer - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.offers.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingTransaction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.transactions.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsOffer + label: listAccountingTransaction source: |- from panora_sdk import Panora @@ -13134,7 +15261,7 @@ paths: ) - res = s.ats.offers.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.transactions.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -13144,16 +15271,16 @@ paths: if res is None: break - lang: go - label: listAtsOffer - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Offers.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingTransaction + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Transactions.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsOffer - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_offers.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/offers/{id}: + label: listAccountingTransaction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/transactions/{id}: get: - operationId: retrieveAtsOffer - summary: Retrieve Offers - description: Retrieve Offers from any connected Ats software + operationId: retrieveAccountingTransaction + summary: Retrieve Transactions + description: Retrieve Transactions from any connected Accounting software parameters: - name: x-connection-token required: true @@ -13164,15 +15291,15 @@ paths: - name: id required: true in: path - description: id of the offer you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the transaction you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -13181,15 +15308,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsOfferOutput' - tags: *ref_56 - x-speakeasy-group: ats.offers + $ref: '#/components/schemas/UnifiedAccountingTransactionOutput' + tags: *ref_51 + x-speakeasy-group: accounting.transactions x-codeSamples: - lang: typescript - label: retrieveAtsOffer - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.offers.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingTransaction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.transactions.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsOffer + label: retrieveAccountingTransaction source: |- from panora_sdk import Panora @@ -13198,13 +15343,13 @@ paths: ) - res = s.ats.offers.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.transactions.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsOffer + label: retrieveAccountingTransaction source: |- package main @@ -13220,21 +15365,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Offers.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Transactions.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsOfferOutput != nil { + if res.UnifiedAccountingTransactionOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsOffer - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_offers.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_offer_output.nil?\n # handle response\nend" - /ats/offices: + label: retrieveAccountingTransaction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_transaction_output.nil?\n # handle response\nend" + /accounting/vendorcredits: get: - operationId: listAtsOffice - summary: List Offices + operationId: listAccountingVendorCredit + summary: List VendorCredits parameters: - name: x-connection-token required: true @@ -13255,7 +15400,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -13276,10 +15420,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsOfficeOutput' - tags: &ref_57 - - ats/offices - x-speakeasy-group: ats.offices + $ref: >- + #/components/schemas/UnifiedAccountingVendorcreditOutput + tags: &ref_52 + - accounting/vendorcredits + x-speakeasy-group: accounting.vendorcredits x-speakeasy-pagination: type: cursor inputs: @@ -13290,10 +15435,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsOffice - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.offices.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listAccountingVendorCredit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.vendorcredits.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsOffice + label: listAccountingVendorCredit source: |- from panora_sdk import Panora @@ -13302,7 +15468,7 @@ paths: ) - res = s.ats.offices.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.vendorcredits.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -13312,16 +15478,16 @@ paths: if res is None: break - lang: go - label: listAtsOffice - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Offices.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingVendorCredit + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Vendorcredits.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsOffice - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_offices.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/offices/{id}: + label: listAccountingVendorCredit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/vendorcredits/{id}: get: - operationId: retrieveAtsOffice - summary: Retrieve Offices - description: Retrieve Offices from any connected Ats software + operationId: retrieveAccountingVendorCredit + summary: Retrieve Vendor Credits + description: Retrieve Vendor Credits from any connected Accounting software parameters: - name: x-connection-token required: true @@ -13332,15 +15498,15 @@ paths: - name: id required: true in: path - description: id of the office you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the vendorcredit you want to retrieve. schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -13349,15 +15515,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsOfficeOutput' - tags: *ref_57 - x-speakeasy-group: ats.offices + $ref: '#/components/schemas/UnifiedAccountingVendorcreditOutput' + tags: *ref_52 + x-speakeasy-group: accounting.vendorcredits x-codeSamples: - lang: typescript - label: retrieveAtsOffice - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.offices.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveAccountingVendorCredit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.vendorcredits.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsOffice + label: retrieveAccountingVendorCredit source: |- from panora_sdk import Panora @@ -13366,13 +15550,13 @@ paths: ) - res = s.ats.offices.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.vendorcredits.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsOffice + label: retrieveAccountingVendorCredit source: |- package main @@ -13388,21 +15572,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Offices.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Vendorcredits.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsOfficeOutput != nil { + if res.UnifiedAccountingVendorcreditOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsOffice - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_offices.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_office_output.nil?\n # handle response\nend" - /ats/rejectreasons: + label: retrieveAccountingVendorCredit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_vendorcredit_output.nil?\n # handle response\nend" + /filestorage/folders: get: - operationId: listAtsRejectReasons - summary: List RejectReasons + operationId: listFilestorageFolder + summary: List Folders parameters: - name: x-connection-token required: true @@ -13423,7 +15607,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -13444,10 +15627,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsRejectreasonOutput' - tags: &ref_58 - - ats/rejectreasons - x-speakeasy-group: ats.rejectreasons + $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' + tags: &ref_53 + - filestorage/folders + x-speakeasy-group: filestorage.folders x-speakeasy-pagination: type: cursor inputs: @@ -13458,10 +15641,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsRejectReasons - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.rejectreasons.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listFilestorageFolder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.folders.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsRejectReasons + label: listFilestorageFolder source: |- from panora_sdk import Panora @@ -13470,7 +15674,7 @@ paths: ) - res = s.ats.rejectreasons.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.filestorage.folders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -13480,16 +15684,15 @@ paths: if res is None: break - lang: go - label: listAtsRejectReasons - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Rejectreasons.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listFilestorageFolder + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Folders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsRejectReasons - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_rejectreasons.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/rejectreasons/{id}: - get: - operationId: retrieveAtsRejectReason - summary: Retrieve Reject Reasons - description: Retrieve Reject Reasons from any connected Ats software + label: listFilestorageFolder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_folders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createFilestorageFolder + summary: Create Folders + description: Create Folders in any supported Filestorage software parameters: - name: x-connection-token required: true @@ -13497,35 +15700,65 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - description: id of the rejectreason you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. example: false + description: Set to true to include data from the original Accounting software. schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageFolderInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsRejectreasonOutput' - tags: *ref_58 - x-speakeasy-group: ats.rejectreasons + $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' + tags: *ref_53 + x-speakeasy-group: filestorage.folders x-codeSamples: - lang: typescript - label: retrieveAtsRejectReason - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.rejectreasons.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createFilestorageFolder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.folders.create({ + xConnectionToken: "", + remoteData: false, + unifiedFilestorageFolderInput: { + name: "school", + size: "2048", + folderUrl: "https://example.com/school", + description: "All things school related", + driveId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + parentFolderId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + sharedLink: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + permission: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsRejectReason + label: createFilestorageFolder source: |- from panora_sdk import Panora @@ -13534,19 +15767,33 @@ paths: ) - res = s.ats.rejectreasons.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAtsRejectReason - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" + res = s.filestorage.folders.create(x_connection_token="", unified_filestorage_folder_input={ + "name": "school", + "size": "2048", + "folder_url": "https://example.com/school", + "description": "All things school related", + "drive_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "parent_folder_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "shared_link": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "permission": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "field_mappings": { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, remote_data=False) + + if res is not None: + # handle response + pass + - lang: go + label: createFilestorageFolder + source: |- + package main + + import( + gosdk "github.com/panoratech/go-sdk" + "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -13556,108 +15803,35 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Rejectreasons.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Filestorage.Folders.Create(ctx, "", components.UnifiedFilestorageFolderInput{ + Name: gosdk.String("school"), + Size: gosdk.String("2048"), + FolderURL: gosdk.String("https://example.com/school"), + Description: "All things school related", + DriveID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + ParentFolderID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + SharedLink: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Permission: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + FieldMappings: map[string]any{ + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsRejectreasonOutput != nil { + if res.UnifiedFilestorageFolderOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsRejectReason - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_rejectreasons.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_rejectreason_output.nil?\n # handle response\nend" - /ats/scorecards: - get: - operationId: listAtsScorecard - summary: List ScoreCards - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsScorecardOutput' - tags: &ref_59 - - ats/scorecards - x-speakeasy-group: ats.scorecards - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAtsScorecard - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.scorecards.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAtsScorecard - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ats.scorecards.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAtsScorecard - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Scorecards.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAtsScorecard - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_scorecards.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/scorecards/{id}: + label: createFilestorageFolder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_folders.create(x_connection_token=\"\", unified_filestorage_folder_input=::OpenApiSDK::Shared::UnifiedFilestorageFolderInput.new(\n name: \"school\",\n size: \"2048\",\n folder_url: \"https://example.com/school\",\n description: \"All things school related\",\n drive_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n parent_folder_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n shared_link: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n permission: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_filestorage_folder_output.nil?\n # handle response\nend" + /filestorage/folders/{id}: get: - operationId: retrieveAtsScorecard - summary: Retrieve Score Cards - description: Retrieve Score Cards from any connected Ats software + operationId: retrieveFilestorageFolder + summary: Retrieve Folders + description: Retrieve Folders from any connected Filestorage software parameters: - name: x-connection-token required: true @@ -13668,14 +15842,14 @@ paths: - name: id required: true in: path - description: id of the scorecard you want to retrieve. + description: id of the folder you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. + description: Set to true to include data from the original File Storage software. example: false schema: type: boolean @@ -13685,15 +15859,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsScorecardOutput' - tags: *ref_59 - x-speakeasy-group: ats.scorecards + $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' + tags: *ref_53 + x-speakeasy-group: filestorage.folders x-codeSamples: - lang: typescript - label: retrieveAtsScorecard - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.scorecards.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveFilestorageFolder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.folders.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsScorecard + label: retrieveFilestorageFolder source: |- from panora_sdk import Panora @@ -13702,13 +15894,13 @@ paths: ) - res = s.ats.scorecards.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.filestorage.folders.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsScorecard + label: retrieveFilestorageFolder source: |- package main @@ -13724,21 +15916,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Scorecards.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Filestorage.Folders.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsScorecardOutput != nil { + if res.UnifiedFilestorageFolderOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsScorecard - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_scorecards.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_scorecard_output.nil?\n # handle response\nend" - /ats/tags: + label: retrieveFilestorageFolder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_folders.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_folder_output.nil?\n # handle response\nend" + /filestorage/groups: get: - operationId: listAtsTags - summary: List Tags + operationId: listFilestorageGroup + summary: List Groups parameters: - name: x-connection-token required: true @@ -13759,7 +15951,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -13780,10 +15971,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsTagOutput' - tags: &ref_60 - - ats/tags - x-speakeasy-group: ats.tags + $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' + tags: &ref_54 + - filestorage/groups + x-speakeasy-group: filestorage.groups x-speakeasy-pagination: type: cursor inputs: @@ -13794,10 +15985,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsTags - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.tags.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listFilestorageGroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.groups.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsTags + label: listFilestorageGroup source: |- from panora_sdk import Panora @@ -13806,7 +16018,7 @@ paths: ) - res = s.ats.tags.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.filestorage.groups.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -13816,16 +16028,16 @@ paths: if res is None: break - lang: go - label: listAtsTags - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Tags.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listFilestorageGroup + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Groups.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsTags - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_tags.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/tags/{id}: + label: listFilestorageGroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_groups.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /filestorage/groups/{id}: get: - operationId: retrieveAtsTag - summary: Retrieve Tags - description: Retrieve Tags from any connected Ats software + operationId: retrieveFilestorageGroup + summary: Retrieve Groups + description: Retrieve Groups from any connected Filestorage software parameters: - name: x-connection-token required: true @@ -13836,14 +16048,14 @@ paths: - name: id required: true in: path - description: id of the tag you want to retrieve. + description: id of the permission you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. + description: Set to true to include data from the original File Storage software. example: false schema: type: boolean @@ -13853,15 +16065,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsTagOutput' - tags: *ref_60 - x-speakeasy-group: ats.tags + $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' + tags: *ref_54 + x-speakeasy-group: filestorage.groups x-codeSamples: - lang: typescript - label: retrieveAtsTag - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.tags.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveFilestorageGroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.groups.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsTag + label: retrieveFilestorageGroup source: |- from panora_sdk import Panora @@ -13870,13 +16100,13 @@ paths: ) - res = s.ats.tags.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.filestorage.groups.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsTag + label: retrieveFilestorageGroup source: |- package main @@ -13892,21 +16122,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Tags.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Filestorage.Groups.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsTagOutput != nil { + if res.UnifiedFilestorageGroupOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsTag - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_tags.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_tag_output.nil?\n # handle response\nend" - /ats/users: + label: retrieveFilestorageGroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_groups.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_group_output.nil?\n # handle response\nend" + /filestorage/users: get: - operationId: listAtsUsers - summary: List Users + operationId: listFilestorageUsers + summary: List Users parameters: - name: x-connection-token required: true @@ -13927,7 +16157,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -13948,10 +16177,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsUserOutput' - tags: &ref_61 - - ats/users - x-speakeasy-group: ats.users + $ref: '#/components/schemas/UnifiedFilestorageUserOutput' + tags: &ref_55 + - filestorage/users + x-speakeasy-group: filestorage.users x-speakeasy-pagination: type: cursor inputs: @@ -13962,10 +16191,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsUsers - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.users.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listFilestorageUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.filestorage.users.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsUsers + label: listFilestorageUsers source: |- from panora_sdk import Panora @@ -13974,7 +16224,7 @@ paths: ) - res = s.ats.users.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.filestorage.users.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -13984,16 +16234,16 @@ paths: if res is None: break - lang: go - label: listAtsUsers - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Users.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listFilestorageUsers + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Users.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAtsUsers - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_users.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/users/{id}: + label: listFilestorageUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_users.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /filestorage/users/{id}: get: - operationId: retrieveAtsUser + operationId: retrieveFilestorageUser summary: Retrieve Users - description: Retrieve Users from any connected Ats software + description: Retrieve Users from any connected Filestorage software parameters: - name: x-connection-token required: true @@ -14004,14 +16254,14 @@ paths: - name: id required: true in: path - description: id of the user you want to retrieve. + description: id of the permission you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f schema: type: string - name: remote_data required: false in: query - description: Set to true to include data from the original Ats software. + description: Set to true to include data from the original File Storage software. example: false schema: type: boolean @@ -14021,30 +16271,48 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsUserOutput' - tags: *ref_61 - x-speakeasy-group: ats.users + $ref: '#/components/schemas/UnifiedFilestorageUserOutput' + tags: *ref_55 + x-speakeasy-group: filestorage.users x-codeSamples: - lang: typescript - label: retrieveAtsUser - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.users.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAtsUser + label: retrieveFilestorageUser source: |- - from panora_sdk import Panora + import { Panora } from "@panora/sdk"; - s = Panora( - api_key="", - ) + const panora = new Panora({ + apiKey: "", + }); + async function run() { + const result = await panora.filestorage.users.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: retrieveFilestorageUser + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) - res = s.ats.users.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + + res = s.filestorage.users.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAtsUser + label: retrieveFilestorageUser source: |- package main @@ -14060,21 +16328,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Users.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Filestorage.Users.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAtsUserOutput != nil { + if res.UnifiedFilestorageUserOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsUser - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_users.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ats_user_output.nil?\n # handle response\nend" - /ats/eeocs: + label: retrieveFilestorageUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_users.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_user_output.nil?\n # handle response\nend" + /ecommerce/products: get: - operationId: listAtsEeocs - summary: List Eeocss + operationId: listEcommerceProducts + summary: List Products parameters: - name: x-connection-token required: true @@ -14095,7 +16363,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -14116,10 +16383,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAtsEeocsOutput' - tags: &ref_62 - - ats/eeocs - x-speakeasy-group: ats.eeocs + $ref: '#/components/schemas/UnifiedEcommerceProductOutput' + tags: &ref_56 + - ecommerce/products + x-speakeasy-group: ecommerce.products x-speakeasy-pagination: type: cursor inputs: @@ -14130,10 +16397,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAtsEeocs - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.eeocs.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listEcommerceProducts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.products.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAtsEeocs + label: listEcommerceProducts source: |- from panora_sdk import Panora @@ -14142,7 +16430,7 @@ paths: ) - res = s.ats.eeocs.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.ecommerce.products.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -14152,16 +16440,163 @@ paths: if res is None: break - lang: go - label: listAtsEeocs - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ats.Eeocs.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listEcommerceProducts + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Products.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + - lang: ruby + label: listEcommerceProducts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_products.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createEcommerceProduct + summary: Create Products + description: Create Products in any supported Ecommerce software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + example: false + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedEcommerceProductInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedEcommerceProductOutput' + tags: *ref_56 + x-speakeasy-group: ecommerce.products + x-codeSamples: + - lang: typescript + label: createEcommerceProduct + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.products.create({ + xConnectionToken: "", + remoteData: false, + unifiedEcommerceProductInput: { + productUrl: "https://product_url/tee", + productType: "teeshirt", + productStatus: "ACTIVE", + imagesUrls: [ + "https://myproduct/image", + ], + description: "best tee ever", + vendor: "vendor_extern", + variants: [ + {}, + ], + tags: [ + "tag_1", + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: createEcommerceProduct + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.ecommerce.products.create(x_connection_token="", unified_ecommerce_product_input={ + "product_url": "https://product_url/tee", + "product_type": "teeshirt", + "product_status": "ACTIVE", + "images_urls": [ + "https://myproduct/image", + ], + "description": "best tee ever", + "vendor": "vendor_extern", + "variants": [ + {}, + ], + "tags": [ + "tag_1", + ], + "field_mappings": {}, + }, remote_data=False) + + if res is not None: + # handle response + pass + - lang: go + label: createEcommerceProduct + source: |- + package main + + import( + gosdk "github.com/panoratech/go-sdk" + "context" + "github.com/panoratech/go-sdk/models/components" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(""), + ) + + ctx := context.Background() + res, err := s.Ecommerce.Products.Create(ctx, "", components.UnifiedEcommerceProductInput{ + ProductURL: gosdk.String("https://product_url/tee"), + ProductType: gosdk.String("teeshirt"), + ProductStatus: gosdk.String("ACTIVE"), + ImagesUrls: []string{ + "https://myproduct/image", + }, + Description: gosdk.String("best tee ever"), + Vendor: gosdk.String("vendor_extern"), + Variants: []components.Variant{ + components.Variant{}, + }, + Tags: []string{ + "tag_1", + }, + FieldMappings: &components.UnifiedEcommerceProductInputFieldMappings{}, + }, gosdk.Bool(false)) + if err != nil { + log.Fatal(err) + } + if res.UnifiedEcommerceProductOutput != nil { + // handle response + } + } - lang: ruby - label: listAtsEeocs - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_eeocs.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ats/eeocs/{id}: + label: createEcommerceProduct + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_products.create(x_connection_token=\"\", unified_ecommerce_product_input=::OpenApiSDK::Shared::UnifiedEcommerceProductInput.new(\n product_url: \"https://product_url/tee\",\n product_type: \"teeshirt\",\n product_status: \"ACTIVE\",\n images_urls: [\n \"https://myproduct/image\",\n ],\n description: \"best tee ever\",\n vendor: \"vendor_extern\",\n variants: [\n ::OpenApiSDK::Shared::Variant.new(),\n ],\n tags: [\n \"tag_1\",\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedEcommerceProductInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_ecommerce_product_output.nil?\n # handle response\nend" + /ecommerce/products/{id}: get: - operationId: retrieveAtsEeocs - summary: Retrieve Eeocs - description: Retrieve a eeocs from any connected Ats software + operationId: retrieveEcommerceProduct + summary: Retrieve Products + description: Retrieve products from any connected Ats software parameters: - name: x-connection-token required: true @@ -14172,7 +16607,7 @@ paths: - name: id required: true in: path - description: id of the eeocs you want to retrieve. + description: id of the product you want to retrieve. schema: type: string - name: remote_data @@ -14187,15 +16622,32 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAtsEeocsOutput' - tags: *ref_62 - x-speakeasy-group: ats.eeocs + $ref: '#/components/schemas/UnifiedEcommerceProductOutput' + tags: *ref_56 + x-speakeasy-group: ecommerce.products x-codeSamples: - lang: typescript - label: retrieveAtsEeocs - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ats.eeocs.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveEcommerceProduct + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.products.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAtsEeocs + label: retrieveEcommerceProduct source: |- from panora_sdk import Panora @@ -14204,13 +16656,13 @@ paths: ) - res = s.ats.eeocs.retrieve(x_connection_token="", id="") + res = s.ecommerce.products.retrieve(x_connection_token="", id="") if res is not None: # handle response pass - lang: go - label: retrieveAtsEeocs + label: retrieveEcommerceProduct source: |- package main @@ -14226,21 +16678,21 @@ paths: ) ctx := context.Background() - res, err := s.Ats.Eeocs.Retrieve(ctx, "", "", nil) + res, err := s.Ecommerce.Products.Retrieve(ctx, "", "", nil) if err != nil { log.Fatal(err) } - if res.UnifiedAtsEeocsOutput != nil { + if res.UnifiedEcommerceProductOutput != nil { // handle response } } - lang: ruby - label: retrieveAtsEeocs - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ats_eeocs.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_eeocs_output.nil?\n # handle response\nend" - /accounting/accounts: + label: retrieveEcommerceProduct + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_products.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_product_output.nil?\n # handle response\nend" + /ecommerce/orders: get: - operationId: listAccountingAccounts - summary: List Accounts + operationId: listEcommerceOrders + summary: List Orders parameters: - name: x-connection-token required: true @@ -14261,7 +16713,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -14282,10 +16733,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: &ref_63 - - accounting/accounts - x-speakeasy-group: accounting.accounts + $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' + tags: &ref_57 + - ecommerce/orders + x-speakeasy-group: ecommerce.orders x-speakeasy-pagination: type: cursor inputs: @@ -14296,10 +16747,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingAccounts - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.accounts.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listEcommerceOrders + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.orders.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAccountingAccounts + label: listEcommerceOrders source: |- from panora_sdk import Panora @@ -14308,7 +16780,7 @@ paths: ) - res = s.accounting.accounts.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.ecommerce.orders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -14318,15 +16790,15 @@ paths: if res is None: break - lang: go - label: listAccountingAccounts - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Accounts.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listEcommerceOrders + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Orders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingAccounts - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_accounts.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + label: listEcommerceOrders + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_orders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" post: - operationId: createAccountingAccount - summary: Create Accounts - description: Create accounts in any supported Accounting software + operationId: createEcommerceOrder + summary: Create Orders + description: Create Orders in any supported Ecommerce software parameters: - name: x-connection-token required: true @@ -14346,23 +16818,67 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingAccountInput' + $ref: '#/components/schemas/UnifiedEcommerceOrderInput' responses: '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: *ref_63 - x-speakeasy-group: accounting.accounts + $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' + tags: *ref_57 + x-speakeasy-group: ecommerce.orders x-codeSamples: - lang: typescript - label: createAccountingAccount - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.accounts.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingAccountInput: {\n name: \"Cash\",\n description: \"Main cash account for daily operations\",\n classification: \"Asset\",\n type: \"Current Asset\",\n status: \"Active\",\n currentBalance: 10000,\n currency: \"USD\",\n accountNumber: \"1000\",\n parentAccount: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createEcommerceOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.orders.create({ + xConnectionToken: "", + remoteData: false, + unifiedEcommerceOrderInput: { + orderStatus: "UNSHIPPED", + orderNumber: "19823838833", + paymentStatus: "SUCCESS", + currency: "AUD", + totalPrice: 300, + totalDiscount: 10, + totalShipping: 120, + totalTax: 120, + fulfillmentStatus: "PENDING", + customerId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + items: [ + { + name: "Net Income", + value: 100000, + type: "Operating Activities", + parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteId: "12345", + remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + createdAt: new Date("2024-06-15T12:00:00Z"), + modifiedAt: new Date("2024-06-15T12:00:00Z"), + }, + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: createAccountingAccount + label: createEcommerceOrder source: |- + import dateutil.parser from panora_sdk import Panora s = Panora( @@ -14370,17 +16886,30 @@ paths: ) - res = s.accounting.accounts.create(x_connection_token="", unified_accounting_account_input={ - "name": "Cash", - "description": "Main cash account for daily operations", - "classification": "Asset", - "type": "Current Asset", - "status": "Active", - "current_balance": 10000, - "currency": "USD", - "account_number": "1000", - "parent_account": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + res = s.ecommerce.orders.create(x_connection_token="", unified_ecommerce_order_input={ + "order_status": "UNSHIPPED", + "order_number": "19823838833", + "payment_status": "SUCCESS", + "currency": "AUD", + "total_price": 300, + "total_discount": 10, + "total_shipping": 120, + "total_tax": 120, + "fulfillment_status": "PENDING", + "customer_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "items": [ + { + "name": "Net Income", + "value": 100000, + "type": "Operating Activities", + "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "remote_id": "12345", + "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + }, + ], "field_mappings": {}, }, remote_data=False) @@ -14388,13 +16917,14 @@ paths: # handle response pass - lang: go - label: createAccountingAccount + label: createEcommerceOrder source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/types" "github.com/panoratech/go-sdk/models/components" "log" ) @@ -14405,34 +16935,47 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Accounts.Create(ctx, "", components.UnifiedAccountingAccountInput{ - Name: gosdk.String("Cash"), - Description: gosdk.String("Main cash account for daily operations"), - Classification: gosdk.String("Asset"), - Type: gosdk.String("Current Asset"), - Status: gosdk.String("Active"), - CurrentBalance: gosdk.Float64(10000), - Currency: gosdk.String("USD"), - AccountNumber: gosdk.String("1000"), - ParentAccount: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: &components.UnifiedAccountingAccountInputFieldMappings{}, + res, err := s.Ecommerce.Orders.Create(ctx, "", components.UnifiedEcommerceOrderInput{ + OrderStatus: gosdk.String("UNSHIPPED"), + OrderNumber: gosdk.String("19823838833"), + PaymentStatus: gosdk.String("SUCCESS"), + Currency: gosdk.String("AUD"), + TotalPrice: gosdk.Float64(300), + TotalDiscount: gosdk.Float64(10), + TotalShipping: gosdk.Float64(120), + TotalTax: gosdk.Float64(120), + FulfillmentStatus: gosdk.String("PENDING"), + CustomerID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Items: []components.LineItem{ + components.LineItem{ + Name: gosdk.String("Net Income"), + Value: gosdk.Float64(100000), + Type: gosdk.String("Operating Activities"), + ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + RemoteID: gosdk.String("12345"), + RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + }, + }, + FieldMappings: &components.UnifiedEcommerceOrderInputFieldMappings{}, }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingAccountOutput != nil { + if res.UnifiedEcommerceOrderOutput != nil { // handle response } } - lang: ruby - label: createAccountingAccount - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_accounts.create(x_connection_token=\"\", unified_accounting_account_input=::OpenApiSDK::Shared::UnifiedAccountingAccountInput.new(\n name: \"Cash\",\n description: \"Main cash account for daily operations\",\n classification: \"Asset\",\n type: \"Current Asset\",\n status: \"Active\",\n current_balance: 10000.0,\n currency: \"USD\",\n account_number: \"1000\",\n parent_account: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingAccountInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_account_output.nil?\n # handle response\nend" - /accounting/accounts/{id}: + label: createEcommerceOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_orders.create(x_connection_token=\"\", unified_ecommerce_order_input=::OpenApiSDK::Shared::UnifiedEcommerceOrderInput.new(\n order_status: \"UNSHIPPED\",\n order_number: \"19823838833\",\n payment_status: \"SUCCESS\",\n currency: \"AUD\",\n total_price: 300.0,\n total_discount: 10.0,\n total_shipping: 120.0,\n total_tax: 120.0,\n fulfillment_status: \"PENDING\",\n customer_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"12345\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedEcommerceOrderInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_ecommerce_order_output.nil?\n # handle response\nend" + /ecommerce/orders/{id}: get: - operationId: retrieveAccountingAccount - summary: Retrieve Accounts - description: Retrieve Accounts from any connected Accounting software + operationId: retrieveEcommerceOrder + summary: Retrieve Orders + description: Retrieve orders from any connected Ats software parameters: - name: x-connection-token required: true @@ -14443,15 +16986,13 @@ paths: - name: id required: true in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the account you want to retrieve. + description: id of the order you want to retrieve. schema: type: string - name: remote_data required: false in: query - example: false - description: Set to true to include data from the original Accounting software. + description: Set to true to include data from the original Ats software. schema: type: boolean responses: @@ -14460,15 +17001,32 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: *ref_63 - x-speakeasy-group: accounting.accounts + $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' + tags: *ref_57 + x-speakeasy-group: ecommerce.orders x-codeSamples: - lang: typescript - label: retrieveAccountingAccount - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.accounts.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveEcommerceOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.orders.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAccountingAccount + label: retrieveEcommerceOrder source: |- from panora_sdk import Panora @@ -14477,13 +17035,13 @@ paths: ) - res = s.accounting.accounts.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.ecommerce.orders.retrieve(x_connection_token="", id="") if res is not None: # handle response pass - lang: go - label: retrieveAccountingAccount + label: retrieveEcommerceOrder source: |- package main @@ -14499,21 +17057,21 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Accounts.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Ecommerce.Orders.Retrieve(ctx, "", "", nil) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingAccountOutput != nil { + if res.UnifiedEcommerceOrderOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingAccount - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_accounts.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_account_output.nil?\n # handle response\nend" - /accounting/addresses: + label: retrieveEcommerceOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_orders.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_order_output.nil?\n # handle response\nend" + /ecommerce/customers: get: - operationId: listAccountingAddress - summary: List Addresss + operationId: listEcommerceCustomers + summary: List Customers parameters: - name: x-connection-token required: true @@ -14534,7 +17092,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -14555,10 +17112,10 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAccountingAddressOutput' - tags: &ref_64 - - accounting/addresses - x-speakeasy-group: accounting.addresses + $ref: '#/components/schemas/UnifiedEcommerceCustomerOutput' + tags: &ref_58 + - ecommerce/customers + x-speakeasy-group: ecommerce.customers x-speakeasy-pagination: type: cursor inputs: @@ -14569,10 +17126,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingAddress - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.addresses.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listEcommerceCustomers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.customers.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAccountingAddress + label: listEcommerceCustomers source: |- from panora_sdk import Panora @@ -14581,7 +17159,7 @@ paths: ) - res = s.accounting.addresses.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.ecommerce.customers.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -14591,16 +17169,16 @@ paths: if res is None: break - lang: go - label: listAccountingAddress - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Addresses.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listEcommerceCustomers + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Customers.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingAddress - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_addresses.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/addresses/{id}: + label: listEcommerceCustomers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_customers.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /ecommerce/customers/{id}: get: - operationId: retrieveAccountingAddress - summary: Retrieve Addresses - description: Retrieve Addresses from any connected Accounting software + operationId: retrieveEcommerceCustomer + summary: Retrieve Customers + description: Retrieve customers from any connected Ats software parameters: - name: x-connection-token required: true @@ -14611,15 +17189,13 @@ paths: - name: id required: true in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the address you want to retrieve. + description: id of the customer you want to retrieve. schema: type: string - name: remote_data required: false in: query - example: false - description: Set to true to include data from the original Accounting software. + description: Set to true to include data from the original Ats software. schema: type: boolean responses: @@ -14628,15 +17204,32 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingAddressOutput' - tags: *ref_64 - x-speakeasy-group: accounting.addresses + $ref: '#/components/schemas/UnifiedEcommerceCustomerOutput' + tags: *ref_58 + x-speakeasy-group: ecommerce.customers x-codeSamples: - lang: typescript - label: retrieveAccountingAddress - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.addresses.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveEcommerceCustomer + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.customers.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAccountingAddress + label: retrieveEcommerceCustomer source: |- from panora_sdk import Panora @@ -14645,13 +17238,13 @@ paths: ) - res = s.accounting.addresses.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.ecommerce.customers.retrieve(x_connection_token="", id="") if res is not None: # handle response pass - lang: go - label: retrieveAccountingAddress + label: retrieveEcommerceCustomer source: |- package main @@ -14667,21 +17260,21 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Addresses.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Ecommerce.Customers.Retrieve(ctx, "", "", nil) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingAddressOutput != nil { + if res.UnifiedEcommerceCustomerOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingAddress - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_addresses.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_address_output.nil?\n # handle response\nend" - /accounting/attachments: + label: retrieveEcommerceCustomer + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_customers.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_customer_output.nil?\n # handle response\nend" + /ecommerce/fulfillments: get: - operationId: listAccountingAttachments - summary: List Attachments + operationId: listEcommerceFulfillments + summary: List Fulfillments parameters: - name: x-connection-token required: true @@ -14702,7 +17295,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -14724,10 +17316,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedAccountingAttachmentOutput - tags: &ref_65 - - accounting/attachments - x-speakeasy-group: accounting.attachments + #/components/schemas/UnifiedEcommerceFulfillmentOutput + tags: &ref_59 + - ecommerce/fulfillments + x-speakeasy-group: ecommerce.fulfillments x-speakeasy-pagination: type: cursor inputs: @@ -14738,72 +17330,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingAttachments - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.attachments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingAttachments + label: listEcommerceFulfillments source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) + import { Panora } from "@panora/sdk"; + const panora = new Panora({ + apiKey: "", + }); - res = s.accounting.attachments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + async function run() { + const result = await panora.ecommerce.fulfillments.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); - if res is not None: - while True: - # handle items + for await (const page of result) { + // Handle the page + console.log(page); + } + } - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingAttachments - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Attachments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingAttachments - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_attachments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingAttachment - summary: Create Attachments - description: Create attachments in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAttachmentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' - tags: *ref_65 - x-speakeasy-group: accounting.attachments - x-codeSamples: - - lang: typescript - label: createAccountingAttachment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.attachments.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingAttachmentInput: {\n fileName: \"invoice.pdf\",\n fileUrl: \"https://example.com/files/invoice.pdf\",\n accountId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + run(); - lang: python - label: createAccountingAttachment + label: listEcommerceFulfillments source: |- from panora_sdk import Panora @@ -14812,55 +17363,26 @@ paths: ) - res = s.accounting.attachments.create(x_connection_token="", unified_accounting_attachment_input={ - "file_name": "invoice.pdf", - "file_url": "https://example.com/files/invoice.pdf", - "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": {}, - }, remote_data=False) + res = s.ecommerce.fulfillments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: - # handle response - pass - - lang: go - label: createAccountingAttachment - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) + while True: + # handle items - ctx := context.Background() - res, err := s.Accounting.Attachments.Create(ctx, "", components.UnifiedAccountingAttachmentInput{ - FileName: gosdk.String("invoice.pdf"), - FileURL: gosdk.String("https://example.com/files/invoice.pdf"), - AccountID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: &components.UnifiedAccountingAttachmentInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingAttachmentOutput != nil { - // handle response - } - } + res = res.Next() + if res is None: + break + - lang: go + label: listEcommerceFulfillments + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Fulfillments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: createAccountingAttachment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_attachments.create(x_connection_token=\"\", unified_accounting_attachment_input=::OpenApiSDK::Shared::UnifiedAccountingAttachmentInput.new(\n file_name: \"invoice.pdf\",\n file_url: \"https://example.com/files/invoice.pdf\",\n account_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingAttachmentInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_attachment_output.nil?\n # handle response\nend" - /accounting/attachments/{id}: + label: listEcommerceFulfillments + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_fulfillments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /ecommerce/fulfillments/{id}: get: - operationId: retrieveAccountingAttachment - summary: Retrieve Attachments - description: Retrieve attachments from any connected Accounting software + operationId: retrieveEcommerceFulfillment + summary: Retrieve Fulfillments + description: Retrieve fulfillments from any connected Ats software parameters: - name: x-connection-token required: true @@ -14871,15 +17393,13 @@ paths: - name: id required: true in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the attachment you want to retrieve. + description: id of the fulfillment you want to retrieve. schema: type: string - name: remote_data required: false in: query - example: false - description: Set to true to include data from the original Accounting software. + description: Set to true to include data from the original Ats software. schema: type: boolean responses: @@ -14888,15 +17408,32 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' - tags: *ref_65 - x-speakeasy-group: accounting.attachments + $ref: '#/components/schemas/UnifiedEcommerceFulfillmentOutput' + tags: *ref_59 + x-speakeasy-group: ecommerce.fulfillments x-codeSamples: - lang: typescript - label: retrieveAccountingAttachment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.attachments.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveEcommerceFulfillment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.fulfillments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAccountingAttachment + label: retrieveEcommerceFulfillment source: |- from panora_sdk import Panora @@ -14905,13 +17442,13 @@ paths: ) - res = s.accounting.attachments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.ecommerce.fulfillments.retrieve(x_connection_token="", id="") if res is not None: # handle response pass - lang: go - label: retrieveAccountingAttachment + label: retrieveEcommerceFulfillment source: |- package main @@ -14927,21 +17464,21 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Attachments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Ecommerce.Fulfillments.Retrieve(ctx, "", "", nil) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingAttachmentOutput != nil { + if res.UnifiedEcommerceFulfillmentOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingAttachment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_attachments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_attachment_output.nil?\n # handle response\nend" - /accounting/balancesheets: + label: retrieveEcommerceFulfillment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_fulfillments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_fulfillment_output.nil?\n # handle response\nend" + /ticketing/attachments: get: - operationId: listAccountingBalanceSheets - summary: List BalanceSheets + operationId: listTicketingAttachments + summary: List Attachments parameters: - name: x-connection-token required: true @@ -14962,7 +17499,6 @@ paths: example: 10 description: Set to get the number of records. schema: - default: 50 type: number - name: cursor required: false @@ -14984,10 +17520,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedAccountingBalancesheetOutput - tags: &ref_66 - - accounting/balancesheets - x-speakeasy-group: accounting.balancesheets + #/components/schemas/UnifiedTicketingAttachmentOutput + tags: &ref_60 + - ticketing/attachments + x-speakeasy-group: ticketing.attachments x-speakeasy-pagination: type: cursor inputs: @@ -14998,10 +17534,31 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingBalanceSheets - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.balancesheets.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" + label: listTicketingAttachments + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.attachments.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); - lang: python - label: listAccountingBalanceSheets + label: listTicketingAttachments source: |- from panora_sdk import Panora @@ -15010,7 +17567,7 @@ paths: ) - res = s.accounting.balancesheets.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.ticketing.attachments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -15020,16 +17577,15 @@ paths: if res is None: break - lang: go - label: listAccountingBalanceSheets - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Balancesheets.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listTicketingAttachments + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ticketing.Attachments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingBalanceSheets - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_balancesheets.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/balancesheets/{id}: - get: - operationId: retrieveAccountingBalanceSheet - summary: Retrieve BalanceSheets - description: Retrieve BalanceSheets from any connected Accounting software + label: listTicketingAttachments + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createTicketingAttachment + summary: Create Attachments + description: Create Attachments in any supported Ticketing software parameters: - name: x-connection-token required: true @@ -15037,35 +17593,60 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the balancesheet you want to retrieve. - schema: - type: string - name: remote_data required: false in: query - example: false - description: Set to true to include data from the original Accounting software. + description: Set to true to include data from the original Ticketing software. schema: type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingAttachmentInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingBalancesheetOutput' - tags: *ref_66 - x-speakeasy-group: accounting.balancesheets + $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' + tags: *ref_60 + x-speakeasy-group: ticketing.attachments x-codeSamples: - lang: typescript - label: retrieveAccountingBalanceSheet - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.balancesheets.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: createTicketingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.attachments.create({ + xConnectionToken: "", + unifiedTicketingAttachmentInput: { + fileName: "features_planning.pdf", + fileUrl: "https://example.com/features_planning.pdf", + uploader: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ticketId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + commentId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAccountingBalanceSheet + label: createTicketingAttachment source: |- from panora_sdk import Panora @@ -15074,19 +17655,30 @@ paths: ) - res = s.accounting.balancesheets.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.ticketing.attachments.create(x_connection_token="", unified_ticketing_attachment_input={ + "file_name": "features_planning.pdf", + "file_url": "https://example.com/features_planning.pdf", + "uploader": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "ticket_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "comment_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "field_mappings": { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }) if res is not None: # handle response pass - lang: go - label: retrieveAccountingBalanceSheet + label: createTicketingAttachment source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -15096,109 +17688,32 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Balancesheets.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Ticketing.Attachments.Create(ctx, "", components.UnifiedTicketingAttachmentInput{ + FileName: gosdk.String("features_planning.pdf"), + FileURL: gosdk.String("https://example.com/features_planning.pdf"), + Uploader: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + TicketID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CommentID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + FieldMappings: map[string]any{ + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, nil) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingBalancesheetOutput != nil { + if res.UnifiedTicketingAttachmentOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingBalanceSheet - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_balancesheets.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_balancesheet_output.nil?\n # handle response\nend" - /accounting/cashflowstatements: - get: - operationId: listAccountingCashflowStatement - summary: List CashflowStatements - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingCashflowstatementOutput - tags: &ref_67 - - accounting/cashflowstatements - x-speakeasy-group: accounting.cashflowstatements - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingCashflowStatement - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.cashflowstatements.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingCashflowStatement - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.cashflowstatements.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingCashflowStatement - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Cashflowstatements.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingCashflowStatement - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_cashflowstatements.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/cashflowstatements/{id}: + label: createTicketingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.create(x_connection_token=\"\", unified_ticketing_attachment_input=::OpenApiSDK::Shared::UnifiedTicketingAttachmentInput.new(\n file_name: \"features_planning.pdf\",\n file_url: \"https://example.com/features_planning.pdf\",\n uploader: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ticket_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n comment_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_ticketing_attachment_output.nil?\n # handle response\nend" + /ticketing/attachments/{id}: get: - operationId: retrieveAccountingCashflowStatement - summary: Retrieve Cashflow Statements - description: Retrieve Cashflow Statements from any connected Accounting software + operationId: retrieveTicketingAttachment + summary: Retrieve Attachments + description: Retrieve Attachments from any connected Ticketing software parameters: - name: x-connection-token required: true @@ -15209,15 +17724,15 @@ paths: - name: id required: true in: path + description: id of the attachment you want to retrive. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the cashflowstatement you want to retrieve. schema: type: string - name: remote_data required: false in: query + description: Set to true to include data from the original Ticketing software. example: false - description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -15226,15 +17741,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingCashflowstatementOutput' - tags: *ref_67 - x-speakeasy-group: accounting.cashflowstatements + $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' + tags: *ref_60 + x-speakeasy-group: ticketing.attachments x-codeSamples: - lang: typescript - label: retrieveAccountingCashflowStatement - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.cashflowstatements.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" + label: retrieveTicketingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ticketing.attachments.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python - label: retrieveAccountingCashflowStatement + label: retrieveTicketingAttachment source: |- from panora_sdk import Panora @@ -15243,13 +17776,13 @@ paths: ) - res = s.accounting.cashflowstatements.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.ticketing.attachments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingCashflowStatement + label: retrieveTicketingAttachment source: |- package main @@ -15265,9634 +17798,1302 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Cashflowstatements.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Ticketing.Attachments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingCashflowstatementOutput != nil { + if res.UnifiedTicketingAttachmentOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingCashflowStatement - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_cashflowstatements.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_cashflowstatement_output.nil?\n # handle response\nend" - /accounting/companyinfos: - get: - operationId: listAccountingCompanyInfos - summary: List CompanyInfos - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 + label: retrieveTicketingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ticketing_attachment_output.nil?\n # handle response\nend" +info: + title: Panora API + description: A unified API to ship integrations + version: '1.0' + contact: {} +tags: [] +servers: + - url: https://api.panora.dev + description: Production server + - url: https://api-sandbox.panora.dev + description: Sandbox server + - url: https://api-dev.panora.dev + description: Development server +components: + securitySchemes: + api_key: + type: apiKey + in: header + name: x-api-key + schemas: + RagQueryOutput: + type: object + properties: + chunk: + type: string + example: 'Date : 06/07/2023' + nullable: false + description: The chunk which matches the embed query + metadata: + type: object + example: + blobType: '' + text: ATTESTATION + additionalProperties: true + nullable: true + description: The metadata tied to the chunk + score: + type: number + example: 0.87 + nullable: true + description: The score + embedding: + example: + - -0.00442447886 + - -0.00116857514 + - 0.00869117491 + - -0.0361584462 + - -0.00220073434 + - 0.00946036354 + - -0.0101112155 + nullable: true + description: The embedding of the relevant chunk + type: array + items: type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingCompanyinfoOutput - tags: &ref_68 - - accounting/companyinfos - x-speakeasy-group: accounting.companyinfos - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingCompanyInfos - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.companyinfos.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingCompanyInfos - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.companyinfos.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingCompanyInfos - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Companyinfos.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingCompanyInfos - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_companyinfos.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/companyinfos/{id}: - get: - operationId: retrieveAccountingCompanyInfo - summary: Retrieve Company Infos - description: Retrieve Company Infos from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the companyinfo you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingCompanyinfoOutput' - tags: *ref_68 - x-speakeasy-group: accounting.companyinfos - x-codeSamples: - - lang: typescript - label: retrieveAccountingCompanyInfo - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.companyinfos.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingCompanyInfo - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.companyinfos.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingCompanyInfo - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Companyinfos.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingCompanyinfoOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingCompanyInfo - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_companyinfos.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_companyinfo_output.nil?\n # handle response\nend" - /accounting/contacts: - get: - operationId: listAccountingContacts - summary: List Contacts - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: &ref_69 - - accounting/contacts - x-speakeasy-group: accounting.contacts - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingContacts - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.contacts.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingContacts - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.contacts.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingContacts - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Contacts.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingContacts - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_contacts.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingContact - summary: Create Contacts - description: Create contacts in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingContactInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: *ref_69 - x-speakeasy-group: accounting.contacts - x-codeSamples: - - lang: typescript - label: createAccountingContact - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.contacts.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingContactInput: {\n name: \"John Doe\",\n isSupplier: true,\n isCustomer: false,\n emailAddress: \"john.doe@example.com\",\n taxNumber: \"123456789\",\n status: \"Active\",\n currency: \"USD\",\n remoteUpdatedAt: \"2024-06-15T12:00:00Z\",\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createAccountingContact - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.contacts.create(x_connection_token="", unified_accounting_contact_input={ - "name": "John Doe", - "is_supplier": True, - "is_customer": False, - "email_address": "john.doe@example.com", - "tax_number": "123456789", - "status": "Active", - "currency": "USD", - "remote_updated_at": "2024-06-15T12:00:00Z", - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createAccountingContact - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Contacts.Create(ctx, "", components.UnifiedAccountingContactInput{ - Name: gosdk.String("John Doe"), - IsSupplier: gosdk.Bool(true), - IsCustomer: gosdk.Bool(false), - EmailAddress: gosdk.String("john.doe@example.com"), - TaxNumber: gosdk.String("123456789"), - Status: gosdk.String("Active"), - Currency: gosdk.String("USD"), - RemoteUpdatedAt: gosdk.String("2024-06-15T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: &components.UnifiedAccountingContactInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingContactOutput != nil { - // handle response - } - } - - lang: ruby - label: createAccountingContact - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_contacts.create(x_connection_token=\"\", unified_accounting_contact_input=::OpenApiSDK::Shared::UnifiedAccountingContactInput.new(\n name: \"John Doe\",\n is_supplier: true,\n is_customer: false,\n email_address: \"john.doe@example.com\",\n tax_number: \"123456789\",\n status: \"Active\",\n currency: \"USD\",\n remote_updated_at: \"2024-06-15T12:00:00Z\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingContactInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_contact_output.nil?\n # handle response\nend" - /accounting/contacts/{id}: - get: - operationId: retrieveAccountingContact - summary: Retrieve Contacts - description: Retrieve Contacts from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the contact you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: *ref_69 - x-speakeasy-group: accounting.contacts - x-codeSamples: - - lang: typescript - label: retrieveAccountingContact - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.contacts.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingContact - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.contacts.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingContact - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Contacts.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingContactOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingContact - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_contacts.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_contact_output.nil?\n # handle response\nend" - /accounting/creditnotes: - get: - operationId: listAccountingCreditNote - summary: List CreditNotes - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingCreditnoteOutput - tags: &ref_70 - - accounting/creditnotes - x-speakeasy-group: accounting.creditnotes - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingCreditNote - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.creditnotes.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingCreditNote - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.creditnotes.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingCreditNote - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Creditnotes.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingCreditNote - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_creditnotes.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/creditnotes/{id}: - get: - operationId: retrieveAccountingCreditNote - summary: Retrieve Credit Notes - description: Retrieve Credit Notes from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the creditnote you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingCreditnoteOutput' - tags: *ref_70 - x-speakeasy-group: accounting.creditnotes - x-codeSamples: - - lang: typescript - label: retrieveAccountingCreditNote - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.creditnotes.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingCreditNote - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.creditnotes.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingCreditNote - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Creditnotes.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingCreditnoteOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingCreditNote - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_creditnotes.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_creditnote_output.nil?\n # handle response\nend" - /accounting/expenses: - get: - operationId: listAccountingExpense - summary: List Expenses - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: &ref_71 - - accounting/expenses - x-speakeasy-group: accounting.expenses - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingExpense - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.expenses.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingExpense - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.expenses.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingExpense - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Expenses.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingExpense - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_expenses.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingExpense - summary: Create Expenses - description: Create Expenses in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingExpenseInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: *ref_71 - x-speakeasy-group: accounting.expenses - x-codeSamples: - - lang: typescript - label: createAccountingExpense - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.expenses.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingExpenseInput: {\n transactionDate: new Date(\"2024-06-15T12:00:00Z\"),\n totalAmount: 10000,\n subTotal: 9000,\n totalTaxAmount: 1000,\n currency: \"USD\",\n exchangeRate: \"1.2\",\n memo: \"Business lunch with client\",\n accountId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contactId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n trackingCategories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n lineItems: [\n {\n name: \"Net Income\",\n value: 100000,\n type: \"Operating Activities\",\n parentItem: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteId: \"report_item_1234\",\n remoteGeneratedAt: new Date(\"2024-07-01T12:00:00Z\"),\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n createdAt: new Date(\"2024-06-15T12:00:00Z\"),\n modifiedAt: new Date(\"2024-06-15T12:00:00Z\"),\n },\n ],\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createAccountingExpense - source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.expenses.create(x_connection_token="", unified_accounting_expense_input={ - "transaction_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "total_amount": 10000, - "sub_total": 9000, - "total_tax_amount": 1000, - "currency": "USD", - "exchange_rate": "1.2", - "memo": "Business lunch with client", - "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "contact_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "tracking_categories": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "line_items": [ - { - "name": "Net Income", - "value": 100000, - "type": "Operating Activities", - "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_id": "report_item_1234", - "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - }, - ], - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createAccountingExpense - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Expenses.Create(ctx, "", components.UnifiedAccountingExpenseInput{ - TransactionDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - TotalAmount: gosdk.Float64(10000), - SubTotal: gosdk.Float64(9000), - TotalTaxAmount: gosdk.Float64(1000), - Currency: gosdk.String("USD"), - ExchangeRate: gosdk.String("1.2"), - Memo: gosdk.String("Business lunch with client"), - AccountID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - ContactID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - TrackingCategories: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - LineItems: []components.LineItem{ - components.LineItem{ - Name: gosdk.String("Net Income"), - Value: gosdk.Float64(100000), - Type: gosdk.String("Operating Activities"), - ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteID: gosdk.String("report_item_1234"), - RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - }, - }, - FieldMappings: &components.UnifiedAccountingExpenseInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingExpenseOutput != nil { - // handle response - } - } - - lang: ruby - label: createAccountingExpense - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_expenses.create(x_connection_token=\"\", unified_accounting_expense_input=::OpenApiSDK::Shared::UnifiedAccountingExpenseInput.new(\n transaction_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n total_amount: 10000.0,\n sub_total: 9000.0,\n total_tax_amount: 1000.0,\n currency: \"USD\",\n exchange_rate: \"1.2\",\n memo: \"Business lunch with client\",\n account_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n contact_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingExpenseInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_expense_output.nil?\n # handle response\nend" - /accounting/expenses/{id}: - get: - operationId: retrieveAccountingExpense - summary: Retrieve Expenses - description: Retrieve Expenses from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the expense you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: *ref_71 - x-speakeasy-group: accounting.expenses - x-codeSamples: - - lang: typescript - label: retrieveAccountingExpense - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.expenses.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingExpense - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.expenses.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingExpense - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Expenses.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingExpenseOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingExpense - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_expenses.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_expense_output.nil?\n # handle response\nend" - /accounting/incomestatements: - get: - operationId: listAccountingIncomeStatement - summary: List IncomeStatements - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingIncomestatementOutput - tags: &ref_72 - - accounting/incomestatements - x-speakeasy-group: accounting.incomestatements - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingIncomeStatement - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.incomestatements.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingIncomeStatement - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.incomestatements.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingIncomeStatement - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Incomestatements.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingIncomeStatement - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_incomestatements.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/incomestatements/{id}: - get: - operationId: retrieveAccountingIncomeStatement - summary: Retrieve Income Statements - description: Retrieve Income Statements from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the incomestatement you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingIncomestatementOutput' - tags: *ref_72 - x-speakeasy-group: accounting.incomestatements - x-codeSamples: - - lang: typescript - label: retrieveAccountingIncomeStatement - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.incomestatements.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingIncomeStatement - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.incomestatements.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingIncomeStatement - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Incomestatements.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingIncomestatementOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingIncomeStatement - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_incomestatements.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_incomestatement_output.nil?\n # handle response\nend" - /accounting/invoices: - get: - operationId: listAccountingInvoice - summary: List Invoices - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: &ref_73 - - accounting/invoices - x-speakeasy-group: accounting.invoices - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingInvoice - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.invoices.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingInvoice - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.invoices.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingInvoice - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Invoices.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingInvoice - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_invoices.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingInvoice - summary: Create Invoices - description: Create invoices in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingInvoiceInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: *ref_73 - x-speakeasy-group: accounting.invoices - x-codeSamples: - - lang: typescript - label: createAccountingInvoice - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.invoices.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingInvoiceInput: {\n type: \"Sales\",\n number: \"INV-001\",\n issueDate: new Date(\"2024-06-15T12:00:00Z\"),\n dueDate: new Date(\"2024-07-15T12:00:00Z\"),\n paidOnDate: new Date(\"2024-07-10T12:00:00Z\"),\n memo: \"Payment for services rendered\",\n currency: \"USD\",\n exchangeRate: \"1.2\",\n totalDiscount: 1000,\n subTotal: 10000,\n status: \"Paid\",\n totalTaxAmount: 1000,\n totalAmount: 11000,\n balance: 0,\n contactId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n accountingPeriodId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n trackingCategories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n lineItems: [\n {\n name: \"Net Income\",\n value: 100000,\n type: \"Operating Activities\",\n parentItem: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteId: \"report_item_1234\",\n remoteGeneratedAt: new Date(\"2024-07-01T12:00:00Z\"),\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n createdAt: new Date(\"2024-06-15T12:00:00Z\"),\n modifiedAt: new Date(\"2024-06-15T12:00:00Z\"),\n },\n ],\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createAccountingInvoice - source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.invoices.create(x_connection_token="", unified_accounting_invoice_input={ - "type": "Sales", - "number": "INV-001", - "issue_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "due_date": dateutil.parser.isoparse("2024-07-15T12:00:00Z"), - "paid_on_date": dateutil.parser.isoparse("2024-07-10T12:00:00Z"), - "memo": "Payment for services rendered", - "currency": "USD", - "exchange_rate": "1.2", - "total_discount": 1000, - "sub_total": 10000, - "status": "Paid", - "total_tax_amount": 1000, - "total_amount": 11000, - "balance": 0, - "contact_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "tracking_categories": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "line_items": [ - { - "name": "Net Income", - "value": 100000, - "type": "Operating Activities", - "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_id": "report_item_1234", - "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - }, - ], - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createAccountingInvoice - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Invoices.Create(ctx, "", components.UnifiedAccountingInvoiceInput{ - Type: gosdk.String("Sales"), - Number: gosdk.String("INV-001"), - IssueDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - DueDate: types.MustNewTimeFromString("2024-07-15T12:00:00Z"), - PaidOnDate: types.MustNewTimeFromString("2024-07-10T12:00:00Z"), - Memo: gosdk.String("Payment for services rendered"), - Currency: gosdk.String("USD"), - ExchangeRate: gosdk.String("1.2"), - TotalDiscount: gosdk.Float64(1000), - SubTotal: gosdk.Float64(10000), - Status: gosdk.String("Paid"), - TotalTaxAmount: gosdk.Float64(1000), - TotalAmount: gosdk.Float64(11000), - Balance: gosdk.Float64(0), - ContactID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - TrackingCategories: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - LineItems: []components.LineItem{ - components.LineItem{ - Name: gosdk.String("Net Income"), - Value: gosdk.Float64(100000), - Type: gosdk.String("Operating Activities"), - ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteID: gosdk.String("report_item_1234"), - RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - }, - }, - FieldMappings: &components.UnifiedAccountingInvoiceInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingInvoiceOutput != nil { - // handle response - } - } - - lang: ruby - label: createAccountingInvoice - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_invoices.create(x_connection_token=\"\", unified_accounting_invoice_input=::OpenApiSDK::Shared::UnifiedAccountingInvoiceInput.new(\n type: \"Sales\",\n number: \"INV-001\",\n issue_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n due_date: DateTime.iso8601('2024-07-15T12:00:00Z'),\n paid_on_date: DateTime.iso8601('2024-07-10T12:00:00Z'),\n memo: \"Payment for services rendered\",\n currency: \"USD\",\n exchange_rate: \"1.2\",\n total_discount: 1000.0,\n sub_total: 10000.0,\n status: \"Paid\",\n total_tax_amount: 1000.0,\n total_amount: 11000.0,\n balance: 0.0,\n contact_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingInvoiceInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_invoice_output.nil?\n # handle response\nend" - /accounting/invoices/{id}: - get: - operationId: retrieveAccountingInvoice - summary: Retrieve Invoices - description: Retrieve Invoices from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the invoice you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: *ref_73 - x-speakeasy-group: accounting.invoices - x-codeSamples: - - lang: typescript - label: retrieveAccountingInvoice - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.invoices.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingInvoice - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.invoices.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingInvoice - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Invoices.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingInvoiceOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingInvoice - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_invoices.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_invoice_output.nil?\n # handle response\nend" - /accounting/items: - get: - operationId: listAccountingItem - summary: List Items - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingItemOutput' - tags: &ref_74 - - accounting/items - x-speakeasy-group: accounting.items - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingItem - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.items.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingItem - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.items.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingItem - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Items.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingItem - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_items.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/items/{id}: - get: - operationId: retrieveAccountingItem - summary: Retrieve Items - description: Retrieve Items from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the item you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingItemOutput' - tags: *ref_74 - x-speakeasy-group: accounting.items - x-codeSamples: - - lang: typescript - label: retrieveAccountingItem - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.items.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingItem - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.items.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingItem - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Items.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingItemOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingItem - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_items.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_item_output.nil?\n # handle response\nend" - /accounting/journalentries: - get: - operationId: listAccountingJournalEntry - summary: List JournalEntrys - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingJournalentryOutput - tags: &ref_75 - - accounting/journalentries - x-speakeasy-group: accounting.journalentries - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingJournalEntry - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.journalentries.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingJournalEntry - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.journalentries.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingJournalEntry - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Journalentries.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingJournalEntry - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingJournalEntry - summary: Create Journal Entries - description: Create Journal Entries in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingJournalentryInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' - tags: *ref_75 - x-speakeasy-group: accounting.journalentries - x-codeSamples: - - lang: typescript - label: createAccountingJournalEntry - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.journalentries.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingJournalentryInput: {\n transactionDate: new Date(\"2024-06-15T12:00:00Z\"),\n payments: [\n \"payment1\",\n \"payment2\",\n ],\n appliedPayments: [\n \"appliedPayment1\",\n \"appliedPayment2\",\n ],\n memo: \"Monthly expense journal entry\",\n currency: \"USD\",\n exchangeRate: \"1.2\",\n idAccCompanyInfo: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n journalNumber: \"JE-001\",\n trackingCategories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n idAccAccountingPeriod: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n postingStatus: \"Posted\",\n lineItems: [\n {\n name: \"Net Income\",\n value: 100000,\n type: \"Operating Activities\",\n parentItem: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteId: \"report_item_1234\",\n remoteGeneratedAt: new Date(\"2024-07-01T12:00:00Z\"),\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n createdAt: new Date(\"2024-06-15T12:00:00Z\"),\n modifiedAt: new Date(\"2024-06-15T12:00:00Z\"),\n },\n ],\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createAccountingJournalEntry - source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.journalentries.create(x_connection_token="", unified_accounting_journalentry_input={ - "transaction_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "payments": [ - "payment1", - "payment2", - ], - "applied_payments": [ - "appliedPayment1", - "appliedPayment2", - ], - "memo": "Monthly expense journal entry", - "currency": "USD", - "exchange_rate": "1.2", - "id_acc_company_info": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "journal_number": "JE-001", - "tracking_categories": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "id_acc_accounting_period": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "posting_status": "Posted", - "line_items": [ - { - "name": "Net Income", - "value": 100000, - "type": "Operating Activities", - "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_id": "report_item_1234", - "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - }, - ], - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createAccountingJournalEntry - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Journalentries.Create(ctx, "", components.UnifiedAccountingJournalentryInput{ - TransactionDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - Payments: []string{ - "payment1", - "payment2", - }, - AppliedPayments: []string{ - "appliedPayment1", - "appliedPayment2", - }, - Memo: gosdk.String("Monthly expense journal entry"), - Currency: gosdk.String("USD"), - ExchangeRate: gosdk.String("1.2"), - IDAccCompanyInfo: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - JournalNumber: gosdk.String("JE-001"), - TrackingCategories: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - IDAccAccountingPeriod: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - PostingStatus: gosdk.String("Posted"), - LineItems: []components.LineItem{ - components.LineItem{ - Name: gosdk.String("Net Income"), - Value: gosdk.Float64(100000), - Type: gosdk.String("Operating Activities"), - ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteID: gosdk.String("report_item_1234"), - RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - }, - }, - FieldMappings: &components.UnifiedAccountingJournalentryInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingJournalentryOutput != nil { - // handle response - } - } - - lang: ruby - label: createAccountingJournalEntry - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.create(x_connection_token=\"\", unified_accounting_journalentry_input=::OpenApiSDK::Shared::UnifiedAccountingJournalentryInput.new(\n transaction_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n payments: [\n \"payment1\",\n \"payment2\",\n ],\n applied_payments: [\n \"appliedPayment1\",\n \"appliedPayment2\",\n ],\n memo: \"Monthly expense journal entry\",\n currency: \"USD\",\n exchange_rate: \"1.2\",\n id_acc_company_info: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n journal_number: \"JE-001\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n id_acc_accounting_period: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n posting_status: \"Posted\",\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingJournalentryInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_journalentry_output.nil?\n # handle response\nend" - /accounting/journalentries/{id}: - get: - operationId: retrieveAccountingJournalEntry - summary: Retrieve Journal Entries - description: Retrieve Journal Entries from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the journalentry you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' - tags: *ref_75 - x-speakeasy-group: accounting.journalentries - x-codeSamples: - - lang: typescript - label: retrieveAccountingJournalEntry - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.journalentries.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingJournalEntry - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.journalentries.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingJournalEntry - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Journalentries.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingJournalentryOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingJournalEntry - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_journalentry_output.nil?\n # handle response\nend" - /accounting/payments: - get: - operationId: listAccountingPayment - summary: List Payments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: &ref_76 - - accounting/payments - x-speakeasy-group: accounting.payments - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingPayment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.payments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingPayment - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.payments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingPayment - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Payments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingPayment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingPayment - summary: Create Payments - description: Create Payments in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPaymentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: *ref_76 - x-speakeasy-group: accounting.payments - x-codeSamples: - - lang: typescript - label: createAccountingPayment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.payments.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingPaymentInput: {\n invoiceId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n transactionDate: new Date(\"2024-06-15T12:00:00Z\"),\n contactId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n accountId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n currency: \"USD\",\n exchangeRate: \"1.2\",\n totalAmount: 10000,\n type: \"Credit Card\",\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n accountingPeriodId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n trackingCategories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n lineItems: [\n {\n name: \"Net Income\",\n value: 100000,\n type: \"Operating Activities\",\n parentItem: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteId: \"report_item_1234\",\n remoteGeneratedAt: new Date(\"2024-07-01T12:00:00Z\"),\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n createdAt: new Date(\"2024-06-15T12:00:00Z\"),\n modifiedAt: new Date(\"2024-06-15T12:00:00Z\"),\n },\n ],\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createAccountingPayment - source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.payments.create(x_connection_token="", unified_accounting_payment_input={ - "invoice_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "transaction_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "contact_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "account_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "currency": "USD", - "exchange_rate": "1.2", - "total_amount": 10000, - "type": "Credit Card", - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "tracking_categories": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "line_items": [ - { - "name": "Net Income", - "value": 100000, - "type": "Operating Activities", - "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_id": "report_item_1234", - "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - }, - ], - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createAccountingPayment - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Payments.Create(ctx, "", components.UnifiedAccountingPaymentInput{ - InvoiceID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - TransactionDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ContactID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - AccountID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Currency: gosdk.String("USD"), - ExchangeRate: gosdk.String("1.2"), - TotalAmount: gosdk.Float64(10000), - Type: gosdk.String("Credit Card"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - TrackingCategories: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - LineItems: []components.LineItem{ - components.LineItem{ - Name: gosdk.String("Net Income"), - Value: gosdk.Float64(100000), - Type: gosdk.String("Operating Activities"), - ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteID: gosdk.String("report_item_1234"), - RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - }, - }, - FieldMappings: &components.UnifiedAccountingPaymentInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingPaymentOutput != nil { - // handle response - } - } - - lang: ruby - label: createAccountingPayment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.create(x_connection_token=\"\", unified_accounting_payment_input=::OpenApiSDK::Shared::UnifiedAccountingPaymentInput.new(\n invoice_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n transaction_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n contact_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n account_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n currency: \"USD\",\n exchange_rate: \"1.2\",\n total_amount: 10000.0,\n type: \"Credit Card\",\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingPaymentInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" - /accounting/payments/{id}: - get: - operationId: retrieveAccountingPayment - summary: Retrieve Payments - description: Retrieve Payments from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the payment you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: *ref_76 - x-speakeasy-group: accounting.payments - x-codeSamples: - - lang: typescript - label: retrieveAccountingPayment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.payments.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingPayment - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.payments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingPayment - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Payments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingPaymentOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingPayment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" - /accounting/phonenumbers: - get: - operationId: listAccountingPhonenumber - summary: List PhoneNumbers - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingPhonenumberOutput - tags: &ref_77 - - accounting/phonenumbers - x-speakeasy-group: accounting.phonenumbers - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingPhonenumber - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.phonenumbers.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingPhonenumber - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.phonenumbers.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingPhonenumber - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Phonenumbers.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingPhonenumber - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/phonenumbers/{id}: - get: - operationId: retrieveAccountingPhonenumber - summary: Retrieve Phone Numbers - description: Retrieve Phone Numbers from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the phonenumber you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPhonenumberOutput' - tags: *ref_77 - x-speakeasy-group: accounting.phonenumbers - x-codeSamples: - - lang: typescript - label: retrieveAccountingPhonenumber - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.phonenumbers.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingPhonenumber - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.phonenumbers.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingPhonenumber - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Phonenumbers.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingPhonenumberOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingPhonenumber - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_phonenumber_output.nil?\n # handle response\nend" - /accounting/purchaseorders: - get: - operationId: listAccountingPurchaseOrder - summary: List PurchaseOrders - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingPurchaseorderOutput - tags: &ref_78 - - accounting/purchaseorders - x-speakeasy-group: accounting.purchaseorders - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingPurchaseOrder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.purchaseorders.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingPurchaseOrder - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.purchaseorders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingPurchaseOrder - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Purchaseorders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingPurchaseOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingPurchaseOrder - summary: Create Purchase Orders - description: Create Purchase Orders in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' - tags: *ref_78 - x-speakeasy-group: accounting.purchaseorders - x-codeSamples: - - lang: typescript - label: createAccountingPurchaseOrder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.purchaseorders.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedAccountingPurchaseorderInput: {\n status: \"Pending\",\n issueDate: new Date(\"2024-06-15T12:00:00Z\"),\n purchaseOrderNumber: \"PO-001\",\n deliveryDate: new Date(\"2024-07-15T12:00:00Z\"),\n deliveryAddress: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n customer: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n vendor: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n memo: \"Purchase order for Q3 inventory\",\n companyId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n totalAmount: 100000,\n currency: \"USD\",\n exchangeRate: \"1.2\",\n trackingCategories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n accountingPeriodId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n lineItems: [\n {\n name: \"Net Income\",\n value: 100000,\n type: \"Operating Activities\",\n parentItem: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteId: \"report_item_1234\",\n remoteGeneratedAt: new Date(\"2024-07-01T12:00:00Z\"),\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n createdAt: new Date(\"2024-06-15T12:00:00Z\"),\n modifiedAt: new Date(\"2024-06-15T12:00:00Z\"),\n },\n ],\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createAccountingPurchaseOrder - source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.purchaseorders.create(x_connection_token="", unified_accounting_purchaseorder_input={ - "status": "Pending", - "issue_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "purchase_order_number": "PO-001", - "delivery_date": dateutil.parser.isoparse("2024-07-15T12:00:00Z"), - "delivery_address": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "customer": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "vendor": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "memo": "Purchase order for Q3 inventory", - "company_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "total_amount": 100000, - "currency": "USD", - "exchange_rate": "1.2", - "tracking_categories": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "line_items": [ - { - "name": "Net Income", - "value": 100000, - "type": "Operating Activities", - "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_id": "report_item_1234", - "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - }, - ], - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createAccountingPurchaseOrder - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Purchaseorders.Create(ctx, "", components.UnifiedAccountingPurchaseorderInput{ - Status: gosdk.String("Pending"), - IssueDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - PurchaseOrderNumber: gosdk.String("PO-001"), - DeliveryDate: types.MustNewTimeFromString("2024-07-15T12:00:00Z"), - DeliveryAddress: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Customer: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Vendor: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Memo: gosdk.String("Purchase order for Q3 inventory"), - CompanyID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - TotalAmount: gosdk.Float64(100000), - Currency: gosdk.String("USD"), - ExchangeRate: gosdk.String("1.2"), - TrackingCategories: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - LineItems: []components.LineItem{ - components.LineItem{ - Name: gosdk.String("Net Income"), - Value: gosdk.Float64(100000), - Type: gosdk.String("Operating Activities"), - ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteID: gosdk.String("report_item_1234"), - RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - }, - }, - FieldMappings: &components.UnifiedAccountingPurchaseorderInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingPurchaseorderOutput != nil { - // handle response - } - } - - lang: ruby - label: createAccountingPurchaseOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.create(x_connection_token=\"\", unified_accounting_purchaseorder_input=::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInput.new(\n status: \"Pending\",\n issue_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n purchase_order_number: \"PO-001\",\n delivery_date: DateTime.iso8601('2024-07-15T12:00:00Z'),\n delivery_address: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n customer: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n vendor: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n memo: \"Purchase order for Q3 inventory\",\n company_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n total_amount: 100000.0,\n currency: \"USD\",\n exchange_rate: \"1.2\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" - /accounting/purchaseorders/{id}: - get: - operationId: retrieveAccountingPurchaseOrder - summary: Retrieve Purchase Orders - description: Retrieve Purchase Orders from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the purchaseorder you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' - tags: *ref_78 - x-speakeasy-group: accounting.purchaseorders - x-codeSamples: - - lang: typescript - label: retrieveAccountingPurchaseOrder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.purchaseorders.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingPurchaseOrder - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.purchaseorders.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingPurchaseOrder - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Purchaseorders.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingPurchaseorderOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingPurchaseOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" - /accounting/taxrates: - get: - operationId: listAccountingTaxRate - summary: List TaxRates - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' - tags: &ref_79 - - accounting/taxrates - x-speakeasy-group: accounting.taxrates - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingTaxRate - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.taxrates.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingTaxRate - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.taxrates.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingTaxRate - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Taxrates.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingTaxRate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/taxrates/{id}: - get: - operationId: retrieveAccountingTaxRate - summary: Retrieve Tax Rates - description: Retrieve Tax Rates from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the taxrate you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' - tags: *ref_79 - x-speakeasy-group: accounting.taxrates - x-codeSamples: - - lang: typescript - label: retrieveAccountingTaxRate - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.taxrates.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingTaxRate - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.taxrates.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingTaxRate - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Taxrates.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingTaxrateOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingTaxRate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_taxrate_output.nil?\n # handle response\nend" - /accounting/trackingcategories: - get: - operationId: listAccountingTrackingCategorys - summary: List TrackingCategorys - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingTrackingcategoryOutput - tags: &ref_80 - - accounting/trackingcategories - x-speakeasy-group: accounting.trackingcategories - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingTrackingCategorys - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.trackingcategories.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingTrackingCategorys - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.trackingcategories.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingTrackingCategorys - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Trackingcategories.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingTrackingCategorys - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/trackingcategories/{id}: - get: - operationId: retrieveAccountingTrackingCategory - summary: Retrieve Tracking Categories - description: Retrieve Tracking Categories from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the trackingcategory you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingTrackingcategoryOutput' - tags: *ref_80 - x-speakeasy-group: accounting.trackingcategories - x-codeSamples: - - lang: typescript - label: retrieveAccountingTrackingCategory - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.trackingcategories.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingTrackingCategory - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.trackingcategories.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingTrackingCategory - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Trackingcategories.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingTrackingcategoryOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingTrackingCategory - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_trackingcategory_output.nil?\n # handle response\nend" - /accounting/transactions: - get: - operationId: listAccountingTransaction - summary: List Transactions - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingTransactionOutput - tags: &ref_81 - - accounting/transactions - x-speakeasy-group: accounting.transactions - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingTransaction - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.transactions.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingTransaction - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.transactions.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingTransaction - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Transactions.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingTransaction - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/transactions/{id}: - get: - operationId: retrieveAccountingTransaction - summary: Retrieve Transactions - description: Retrieve Transactions from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the transaction you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingTransactionOutput' - tags: *ref_81 - x-speakeasy-group: accounting.transactions - x-codeSamples: - - lang: typescript - label: retrieveAccountingTransaction - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.transactions.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingTransaction - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.transactions.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingTransaction - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Transactions.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingTransactionOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingTransaction - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_transaction_output.nil?\n # handle response\nend" - /accounting/vendorcredits: - get: - operationId: listAccountingVendorCredit - summary: List VendorCredits - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingVendorcreditOutput - tags: &ref_82 - - accounting/vendorcredits - x-speakeasy-group: accounting.vendorcredits - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingVendorCredit - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.vendorcredits.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listAccountingVendorCredit - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.vendorcredits.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingVendorCredit - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Vendorcredits.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingVendorCredit - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/vendorcredits/{id}: - get: - operationId: retrieveAccountingVendorCredit - summary: Retrieve Vendor Credits - description: Retrieve Vendor Credits from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the vendorcredit you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingVendorcreditOutput' - tags: *ref_82 - x-speakeasy-group: accounting.vendorcredits - x-codeSamples: - - lang: typescript - label: retrieveAccountingVendorCredit - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.accounting.vendorcredits.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveAccountingVendorCredit - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.vendorcredits.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveAccountingVendorCredit - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Accounting.Vendorcredits.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedAccountingVendorcreditOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveAccountingVendorCredit - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_vendorcredit_output.nil?\n # handle response\nend" - /filestorage/folders: - get: - operationId: listFilestorageFolder - summary: List Folders - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: &ref_83 - - filestorage/folders - x-speakeasy-group: filestorage.folders - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listFilestorageFolder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.folders.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listFilestorageFolder - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.folders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listFilestorageFolder - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Folders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listFilestorageFolder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_folders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createFilestorageFolder - summary: Create Folders - description: Create Folders in any supported Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFolderInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: *ref_83 - x-speakeasy-group: filestorage.folders - x-codeSamples: - - lang: typescript - label: createFilestorageFolder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.folders.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedFilestorageFolderInput: {\n name: \"school\",\n size: \"2048\",\n folderUrl: \"https://example.com/school\",\n description: \"All things school related\",\n driveId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n parentFolderId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n sharedLink: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n permission: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createFilestorageFolder - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.folders.create(x_connection_token="", unified_filestorage_folder_input={ - "name": "school", - "size": "2048", - "folder_url": "https://example.com/school", - "description": "All things school related", - "drive_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "parent_folder_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "shared_link": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "permission": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createFilestorageFolder - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Filestorage.Folders.Create(ctx, "", components.UnifiedFilestorageFolderInput{ - Name: gosdk.String("school"), - Size: gosdk.String("2048"), - FolderURL: gosdk.String("https://example.com/school"), - Description: "All things school related", - DriveID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - ParentFolderID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - SharedLink: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Permission: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedFilestorageFolderOutput != nil { - // handle response - } - } - - lang: ruby - label: createFilestorageFolder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_folders.create(x_connection_token=\"\", unified_filestorage_folder_input=::OpenApiSDK::Shared::UnifiedFilestorageFolderInput.new(\n name: \"school\",\n size: \"2048\",\n folder_url: \"https://example.com/school\",\n description: \"All things school related\",\n drive_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n parent_folder_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n shared_link: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n permission: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_filestorage_folder_output.nil?\n # handle response\nend" - /filestorage/folders/{id}: - get: - operationId: retrieveFilestorageFolder - summary: Retrieve Folders - description: Retrieve Folders from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the folder you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: *ref_83 - x-speakeasy-group: filestorage.folders - x-codeSamples: - - lang: typescript - label: retrieveFilestorageFolder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.folders.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveFilestorageFolder - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.folders.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveFilestorageFolder - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Filestorage.Folders.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedFilestorageFolderOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveFilestorageFolder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_folders.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_folder_output.nil?\n # handle response\nend" - /filestorage/groups: - get: - operationId: listFilestorageGroup - summary: List Groups - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' - tags: &ref_84 - - filestorage/groups - x-speakeasy-group: filestorage.groups - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listFilestorageGroup - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.groups.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listFilestorageGroup - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.groups.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listFilestorageGroup - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Groups.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listFilestorageGroup - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_groups.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /filestorage/groups/{id}: - get: - operationId: retrieveFilestorageGroup - summary: Retrieve Groups - description: Retrieve Groups from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the permission you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' - tags: *ref_84 - x-speakeasy-group: filestorage.groups - x-codeSamples: - - lang: typescript - label: retrieveFilestorageGroup - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.groups.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveFilestorageGroup - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.groups.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveFilestorageGroup - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Filestorage.Groups.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedFilestorageGroupOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveFilestorageGroup - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_groups.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_group_output.nil?\n # handle response\nend" - /filestorage/users: - get: - operationId: listFilestorageUsers - summary: List Users - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageUserOutput' - tags: &ref_85 - - filestorage/users - x-speakeasy-group: filestorage.users - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listFilestorageUsers - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.users.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listFilestorageUsers - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.users.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listFilestorageUsers - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Users.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listFilestorageUsers - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_users.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /filestorage/users/{id}: - get: - operationId: retrieveFilestorageUser - summary: Retrieve Users - description: Retrieve Users from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the permission you want to retrieve. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageUserOutput' - tags: *ref_85 - x-speakeasy-group: filestorage.users - x-codeSamples: - - lang: typescript - label: retrieveFilestorageUser - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.filestorage.users.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveFilestorageUser - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.users.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveFilestorageUser - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Filestorage.Users.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedFilestorageUserOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveFilestorageUser - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_users.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_user_output.nil?\n # handle response\nend" - /ecommerce/products: - get: - operationId: listEcommerceProducts - summary: List Products - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedEcommerceProductOutput' - tags: &ref_86 - - ecommerce/products - x-speakeasy-group: ecommerce.products - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listEcommerceProducts - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.products.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listEcommerceProducts - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.products.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listEcommerceProducts - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Products.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listEcommerceProducts - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_products.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createEcommerceProduct - summary: Create Products - description: Create Products in any supported Ecommerce software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceProductInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceProductOutput' - tags: *ref_86 - x-speakeasy-group: ecommerce.products - x-codeSamples: - - lang: typescript - label: createEcommerceProduct - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.products.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedEcommerceProductInput: {\n productUrl: \"https://product_url/tee\",\n productType: \"teeshirt\",\n productStatus: \"ACTIVE\",\n imagesUrls: [\n \"https://myproduct/image\",\n ],\n description: \"best tee ever\",\n vendor: \"vendor_extern\",\n variants: [\n {},\n ],\n tags: [\n \"tag_1\",\n ],\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createEcommerceProduct - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.products.create(x_connection_token="", unified_ecommerce_product_input={ - "product_url": "https://product_url/tee", - "product_type": "teeshirt", - "product_status": "ACTIVE", - "images_urls": [ - "https://myproduct/image", - ], - "description": "best tee ever", - "vendor": "vendor_extern", - "variants": [ - {}, - ], - "tags": [ - "tag_1", - ], - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createEcommerceProduct - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ecommerce.Products.Create(ctx, "", components.UnifiedEcommerceProductInput{ - ProductURL: gosdk.String("https://product_url/tee"), - ProductType: gosdk.String("teeshirt"), - ProductStatus: gosdk.String("ACTIVE"), - ImagesUrls: []string{ - "https://myproduct/image", - }, - Description: gosdk.String("best tee ever"), - Vendor: gosdk.String("vendor_extern"), - Variants: []components.Variant{ - components.Variant{}, - }, - Tags: []string{ - "tag_1", - }, - FieldMappings: &components.UnifiedEcommerceProductInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedEcommerceProductOutput != nil { - // handle response - } - } - - lang: ruby - label: createEcommerceProduct - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_products.create(x_connection_token=\"\", unified_ecommerce_product_input=::OpenApiSDK::Shared::UnifiedEcommerceProductInput.new(\n product_url: \"https://product_url/tee\",\n product_type: \"teeshirt\",\n product_status: \"ACTIVE\",\n images_urls: [\n \"https://myproduct/image\",\n ],\n description: \"best tee ever\",\n vendor: \"vendor_extern\",\n variants: [\n ::OpenApiSDK::Shared::Variant.new(),\n ],\n tags: [\n \"tag_1\",\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedEcommerceProductInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_ecommerce_product_output.nil?\n # handle response\nend" - /ecommerce/products/{id}: - get: - operationId: retrieveEcommerceProduct - summary: Retrieve Products - description: Retrieve products from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the product you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceProductOutput' - tags: *ref_86 - x-speakeasy-group: ecommerce.products - x-codeSamples: - - lang: typescript - label: retrieveEcommerceProduct - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.products.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveEcommerceProduct - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.products.retrieve(x_connection_token="", id="") - - if res is not None: - # handle response - pass - - lang: go - label: retrieveEcommerceProduct - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ecommerce.Products.Retrieve(ctx, "", "", nil) - if err != nil { - log.Fatal(err) - } - if res.UnifiedEcommerceProductOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveEcommerceProduct - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_products.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_product_output.nil?\n # handle response\nend" - /ecommerce/orders: - get: - operationId: listEcommerceOrders - summary: List Orders - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' - tags: &ref_87 - - ecommerce/orders - x-speakeasy-group: ecommerce.orders - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listEcommerceOrders - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.orders.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listEcommerceOrders - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.orders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listEcommerceOrders - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Orders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listEcommerceOrders - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_orders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createEcommerceOrder - summary: Create Orders - description: Create Orders in any supported Ecommerce software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceOrderInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' - tags: *ref_87 - x-speakeasy-group: ecommerce.orders - x-codeSamples: - - lang: typescript - label: createEcommerceOrder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.orders.create({\n xConnectionToken: \"\",\n remoteData: false,\n unifiedEcommerceOrderInput: {\n orderStatus: \"UNSHIPPED\",\n orderNumber: \"19823838833\",\n paymentStatus: \"SUCCESS\",\n currency: \"AUD\",\n totalPrice: 300,\n totalDiscount: 10,\n totalShipping: 120,\n totalTax: 120,\n fulfillmentStatus: \"PENDING\",\n customerId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n items: [\n {\n name: \"Net Income\",\n value: 100000,\n type: \"Operating Activities\",\n parentItem: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteId: \"12345\",\n remoteGeneratedAt: new Date(\"2024-07-01T12:00:00Z\"),\n companyInfoId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n createdAt: new Date(\"2024-06-15T12:00:00Z\"),\n modifiedAt: new Date(\"2024-06-15T12:00:00Z\"),\n },\n ],\n fieldMappings: {},\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createEcommerceOrder - source: |- - import dateutil.parser - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.orders.create(x_connection_token="", unified_ecommerce_order_input={ - "order_status": "UNSHIPPED", - "order_number": "19823838833", - "payment_status": "SUCCESS", - "currency": "AUD", - "total_price": 300, - "total_discount": 10, - "total_shipping": 120, - "total_tax": 120, - "fulfillment_status": "PENDING", - "customer_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "items": [ - { - "name": "Net Income", - "value": 100000, - "type": "Operating Activities", - "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_id": "12345", - "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - }, - ], - "field_mappings": {}, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createEcommerceOrder - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ecommerce.Orders.Create(ctx, "", components.UnifiedEcommerceOrderInput{ - OrderStatus: gosdk.String("UNSHIPPED"), - OrderNumber: gosdk.String("19823838833"), - PaymentStatus: gosdk.String("SUCCESS"), - Currency: gosdk.String("AUD"), - TotalPrice: gosdk.Float64(300), - TotalDiscount: gosdk.Float64(10), - TotalShipping: gosdk.Float64(120), - TotalTax: gosdk.Float64(120), - FulfillmentStatus: gosdk.String("PENDING"), - CustomerID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Items: []components.LineItem{ - components.LineItem{ - Name: gosdk.String("Net Income"), - Value: gosdk.Float64(100000), - Type: gosdk.String("Operating Activities"), - ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteID: gosdk.String("12345"), - RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - }, - }, - FieldMappings: &components.UnifiedEcommerceOrderInputFieldMappings{}, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedEcommerceOrderOutput != nil { - // handle response - } - } - - lang: ruby - label: createEcommerceOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_orders.create(x_connection_token=\"\", unified_ecommerce_order_input=::OpenApiSDK::Shared::UnifiedEcommerceOrderInput.new(\n order_status: \"UNSHIPPED\",\n order_number: \"19823838833\",\n payment_status: \"SUCCESS\",\n currency: \"AUD\",\n total_price: 300.0,\n total_discount: 10.0,\n total_shipping: 120.0,\n total_tax: 120.0,\n fulfillment_status: \"PENDING\",\n customer_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"12345\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedEcommerceOrderInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_ecommerce_order_output.nil?\n # handle response\nend" - /ecommerce/orders/{id}: - get: - operationId: retrieveEcommerceOrder - summary: Retrieve Orders - description: Retrieve orders from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the order you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' - tags: *ref_87 - x-speakeasy-group: ecommerce.orders - x-codeSamples: - - lang: typescript - label: retrieveEcommerceOrder - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.orders.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveEcommerceOrder - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.orders.retrieve(x_connection_token="", id="") - - if res is not None: - # handle response - pass - - lang: go - label: retrieveEcommerceOrder - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ecommerce.Orders.Retrieve(ctx, "", "", nil) - if err != nil { - log.Fatal(err) - } - if res.UnifiedEcommerceOrderOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveEcommerceOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_orders.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_order_output.nil?\n # handle response\nend" - /ecommerce/customers: - get: - operationId: listEcommerceCustomers - summary: List Customers - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedEcommerceCustomerOutput' - tags: &ref_88 - - ecommerce/customers - x-speakeasy-group: ecommerce.customers - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listEcommerceCustomers - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.customers.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listEcommerceCustomers - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.customers.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listEcommerceCustomers - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Customers.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listEcommerceCustomers - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_customers.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ecommerce/customers/{id}: - get: - operationId: retrieveEcommerceCustomer - summary: Retrieve Customers - description: Retrieve customers from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the customer you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceCustomerOutput' - tags: *ref_88 - x-speakeasy-group: ecommerce.customers - x-codeSamples: - - lang: typescript - label: retrieveEcommerceCustomer - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.customers.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveEcommerceCustomer - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.customers.retrieve(x_connection_token="", id="") - - if res is not None: - # handle response - pass - - lang: go - label: retrieveEcommerceCustomer - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ecommerce.Customers.Retrieve(ctx, "", "", nil) - if err != nil { - log.Fatal(err) - } - if res.UnifiedEcommerceCustomerOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveEcommerceCustomer - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_customers.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_customer_output.nil?\n # handle response\nend" - /ecommerce/fulfillments: - get: - operationId: listEcommerceFulfillments - summary: List Fulfillments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedEcommerceFulfillmentOutput - tags: &ref_89 - - ecommerce/fulfillments - x-speakeasy-group: ecommerce.fulfillments - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listEcommerceFulfillments - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.fulfillments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listEcommerceFulfillments - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.fulfillments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listEcommerceFulfillments - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ecommerce.Fulfillments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listEcommerceFulfillments - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_fulfillments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /ecommerce/fulfillments/{id}: - get: - operationId: retrieveEcommerceFulfillment - summary: Retrieve Fulfillments - description: Retrieve fulfillments from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the fulfillment you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedEcommerceFulfillmentOutput' - tags: *ref_89 - x-speakeasy-group: ecommerce.fulfillments - x-codeSamples: - - lang: typescript - label: retrieveEcommerceFulfillment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ecommerce.fulfillments.retrieve({\n xConnectionToken: \"\",\n id: \"\",\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveEcommerceFulfillment - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ecommerce.fulfillments.retrieve(x_connection_token="", id="") - - if res is not None: - # handle response - pass - - lang: go - label: retrieveEcommerceFulfillment - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ecommerce.Fulfillments.Retrieve(ctx, "", "", nil) - if err != nil { - log.Fatal(err) - } - if res.UnifiedEcommerceFulfillmentOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveEcommerceFulfillment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ecommerce_fulfillments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ecommerce_fulfillment_output.nil?\n # handle response\nend" - /ticketing/attachments: - get: - operationId: listTicketingAttachments - summary: List Attachments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedTicketingAttachmentOutput - tags: &ref_90 - - ticketing/attachments - x-speakeasy-group: ticketing.attachments - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listTicketingAttachments - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.attachments.list({\n xConnectionToken: \"\",\n remoteData: true,\n limit: 10,\n cursor: \"1b8b05bb-5273-4012-b520-8657b0b90874\",\n });\n \n for await (const page of result) {\n // Handle the page\n console.log(page);\n }\n}\n\nrun();" - - lang: python - label: listTicketingAttachments - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ticketing.attachments.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listTicketingAttachments - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Ticketing.Attachments.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listTicketingAttachments - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createTicketingAttachment - summary: Create Attachments - description: Create Attachments in any supported Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingAttachmentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' - tags: *ref_90 - x-speakeasy-group: ticketing.attachments - x-codeSamples: - - lang: typescript - label: createTicketingAttachment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.attachments.create({\n xConnectionToken: \"\",\n unifiedTicketingAttachmentInput: {\n fileName: \"features_planning.pdf\",\n fileUrl: \"https://example.com/features_planning.pdf\",\n uploader: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ticketId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n commentId: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n fieldMappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n },\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: createTicketingAttachment - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ticketing.attachments.create(x_connection_token="", unified_ticketing_attachment_input={ - "file_name": "features_planning.pdf", - "file_url": "https://example.com/features_planning.pdf", - "uploader": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "ticket_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "comment_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, - }) - - if res is not None: - # handle response - pass - - lang: go - label: createTicketingAttachment - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ticketing.Attachments.Create(ctx, "", components.UnifiedTicketingAttachmentInput{ - FileName: gosdk.String("features_planning.pdf"), - FileURL: gosdk.String("https://example.com/features_planning.pdf"), - Uploader: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - TicketID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CommentID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, nil) - if err != nil { - log.Fatal(err) - } - if res.UnifiedTicketingAttachmentOutput != nil { - // handle response - } - } - - lang: ruby - label: createTicketingAttachment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.create(x_connection_token=\"\", unified_ticketing_attachment_input=::OpenApiSDK::Shared::UnifiedTicketingAttachmentInput.new(\n file_name: \"features_planning.pdf\",\n file_url: \"https://example.com/features_planning.pdf\",\n uploader: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ticket_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n comment_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_ticketing_attachment_output.nil?\n # handle response\nend" - /ticketing/attachments/{id}: - get: - operationId: retrieveTicketingAttachment - summary: Retrieve Attachments - description: Retrieve Attachments from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the attachment you want to retrive. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' - tags: *ref_90 - x-speakeasy-group: ticketing.attachments - x-codeSamples: - - lang: typescript - label: retrieveTicketingAttachment - source: "import { Panora } from \"@panora/sdk\";\n\nconst panora = new Panora({\n apiKey: \"\",\n});\n\nasync function run() {\n const result = await panora.ticketing.attachments.retrieve({\n xConnectionToken: \"\",\n id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remoteData: false,\n });\n \n // Handle the result\n console.log(result)\n}\n\nrun();" - - lang: python - label: retrieveTicketingAttachment - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.ticketing.attachments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveTicketingAttachment - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Ticketing.Attachments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.UnifiedTicketingAttachmentOutput != nil { - // handle response - } - } - - lang: ruby - label: retrieveTicketingAttachment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_ticketing_attachment_output.nil?\n # handle response\nend" -info: - title: Panora API - description: A unified API to ship integrations - version: '1.0' - contact: {} -tags: [] -servers: - - url: https://api.panora.dev - description: Production server - - url: https://api-sandbox.panora.dev - description: Sandbox server - - url: https://api-dev.panora.dev - description: Development server -components: - securitySchemes: - api_key: - type: apiKey - in: header - name: x-api-key - schemas: - RagQueryOutput: - type: object - properties: - chunk: - type: string - example: 'Date : 06/07/2023' - nullable: false - description: The chunk which matches the embed query - metadata: - type: object - example: - blobType: '' - text: ATTESTATION - additionalProperties: true - nullable: true - description: The metadata tied to the chunk - score: - type: number - example: 0.87 - nullable: true - description: The score - embedding: - example: - - -0.00442447886 - - -0.00116857514 - - 0.00869117491 - - -0.0361584462 - - -0.00220073434 - - 0.00946036354 - - -0.0101112155 - nullable: true - description: The embedding of the relevant chunk - type: array - items: - type: number - required: - - chunk - - metadata - - score - - embedding - QueryBody: - type: object - properties: - query: - type: string - example: When does Panora incorporated? - nullable: false - description: The query you want to received embeddings and chunks for - topK: - type: number - example: '3' - nullable: true - description: The number of most appropriate documents for your query. - required: - - query - PaginatedDto: - type: object - properties: - prev_cursor: - type: string - nullable: true - next_cursor: - type: string - nullable: true - data: - type: array - items: - type: object - required: - - prev_cursor - - next_cursor - - data - UnifiedFilestorageFileOutput: - type: object - properties: - name: - type: string - example: my_paris_photo.png - description: The name of the file - nullable: true - file_url: - type: string - example: https://example.com/my_paris_photo.png - description: The url of the file - nullable: true - mime_type: - type: string - example: application/pdf - description: The mime type of the file - nullable: true - size: - type: string - example: '1024' - description: The size of the file - nullable: true - folder_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the folder tied to the file - nullable: true - permission: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the permission tied to the file - nullable: true - shared_link: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the shared link tied to the file - nullable: true - field_mappings: - type: object - example: &ref_91 - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - nullable: true - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the file - nullable: true - remote_id: - type: string - example: id_1 - description: The id of the file in the context of the 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - description: The remote data of the file in the context of the 3rd Party - nullable: true - additionalProperties: true - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The created date of the object - nullable: true - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - nullable: true - required: - - name - - file_url - - mime_type - - size - - folder_id - - permission - - shared_link - UnifiedFilestorageFileInput: - type: object - properties: - name: - type: string - example: my_paris_photo.png - description: The name of the file - nullable: true - file_url: - type: string - example: https://example.com/my_paris_photo.png - description: The url of the file - nullable: true - mime_type: - type: string - example: application/pdf - description: The mime type of the file - nullable: true - size: - type: string - example: '1024' - description: The size of the file - nullable: true - folder_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the folder tied to the file - nullable: true - permission: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the permission tied to the file - nullable: true - shared_link: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the shared link tied to the file - nullable: true - field_mappings: - type: object - example: *ref_91 - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - nullable: true - additionalProperties: true - required: - - name - - file_url - - mime_type - - size - - folder_id - - permission - - shared_link - LoginDto: - type: object - properties: - id_user: - type: string - email: - type: string - password_hash: - type: string - required: - - email - - password_hash - Connection: - type: object - properties: - id_connection: - type: string - example: 123e4567-e89b-12d3-a456-426614174000 - description: Unique identifier for the connection - status: - type: string - example: active - description: Status of the connection - provider_slug: - type: string - example: hubspot - description: Slug for the provider - vertical: - type: string - example: crm - description: Vertical category of the connection - account_url: - type: string - example: https://example.com/account - description: URL of the account - token_type: - type: string - example: oauth2 - enum: - - oauth2 - - apikey - - basic - description: Strategy type - access_token: - type: string - example: access_token_example - description: Access token for the connection - refresh_token: - type: string - example: refresh_token_example - description: Refresh token for the connection - expiration_timestamp: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: Expiration timestamp of the access token - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: Timestamp when the connection was created - connection_token: - type: string - example: 123e4567-e89b-12d3-a456-426614174000 - description: UUID Token for the connection - id_project: - type: string - example: 123e4567-e89b-12d3-a456-426614174001 - description: Project ID associated with the connection - id_linked_user: - type: string - example: 123e4567-e89b-12d3-a456-426614174002 - description: Linked user ID associated with the connection - required: - - id_connection - - status - - provider_slug - - vertical - - account_url - - token_type - - access_token - - refresh_token - - expiration_timestamp - - created_at - - connection_token - - id_project - - id_linked_user - WebhookResponse: - type: object - properties: - id_webhook_endpoint: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The unique UUID of the webhook. - endpoint_description: - type: string - nullable: true - example: Webhook to receive connection events - description: The description of the webhook. - url: - type: string - example: https://acme.com/webhook_receiver - nullable: true - description: The endpoint url of the webhook. - secret: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The secret of the webhook. - active: - type: boolean - example: true - nullable: true - description: The status of the webhook. - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The created date of the webhook. - nullable: true - scope: - example: - - connection.created - nullable: true - description: The events that the webhook listen to. - type: array - items: - type: string - id_project: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The project id tied to the webhook. - last_update: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The last update date of the webhook. - required: - - id_webhook_endpoint - - endpoint_description - - url - - secret - - active - - created_at - - scope - - id_project - - last_update - WebhookDto: - type: object - properties: - url: - type: string - example: https://acme.com/webhook_receiver - nullable: true - description: The endpoint url of the webhook. - description: - type: string - example: Webhook to receive connection events - nullable: true - description: The description of the webhook. - scope: - example: - - connection.created - nullable: true - description: The events that the webhook listen to. - type: array - items: - type: string - required: - - url - - scope - SignatureVerificationDto: - type: object - properties: - payload: - type: object - additionalProperties: true - nullable: true - description: The payload event of the webhook. - signature: - type: string - nullable: true - description: The signature of the webhook. - secret: - type: string - nullable: true - description: The secret of the webhook. - required: - - payload - - signature - - secret - UnifiedTicketingCommentInput: - type: object - properties: - body: - type: string - nullable: true - example: Assigned to Eric ! - description: The body of the comment - html_body: - type: string - nullable: true - example:

Assigned to Eric !

- description: The html body of the comment - is_private: - type: boolean - nullable: true - example: false - description: The public status of the comment - creator_type: - type: string - nullable: true - example: USER - description: >- - The creator type of the comment. Authorized values are either USER or CONTACT - ticket_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the ticket the comment is tied to - contact_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: >- - The UUID of the contact which the comment belongs to (if no user_id specified) - user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: >- - The UUID of the user which the comment belongs to (if no contact_id specified) - attachments: - type: array - items: &ref_114 - oneOf: - - type: string - - $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' - nullable: true - example: &ref_115 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The attachements UUIDs tied to the comment - required: - - body - UnifiedTicketingTicketOutput: - type: object - properties: - name: - type: string - example: Customer Service Inquiry - nullable: true - description: The name of the ticket - status: - type: string - example: OPEN - nullable: true - description: The status of the ticket. Authorized values are OPEN or CLOSED. - description: - type: string - example: Help customer - nullable: true - description: The description of the ticket - due_date: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date the ticket is due - type: - type: string - example: BUG - nullable: true - description: >- - The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK - parent_ticket: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the parent ticket - collections: - type: array - items: &ref_92 - oneOf: - - type: string - - $ref: '#/components/schemas/UnifiedTicketingCollectionOutput' - example: &ref_93 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The collection UUIDs the ticket belongs to - tags: - type: array - items: &ref_94 - oneOf: - - type: string - - $ref: '#/components/schemas/UnifiedTicketingTagOutput' - example: &ref_95 - - my_tag - - urgent_tag - nullable: true - description: The tags names of the ticket - completed_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date the ticket has been completed - priority: - type: string - example: HIGH - nullable: true - description: >- - The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. - assigned_to: - example: &ref_96 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The users UUIDs the ticket is assigned to - type: array - items: - type: string - comment: - example: &ref_97 - content: Assigned the issue ! - nullable: true - description: The comment of the ticket - allOf: - - $ref: '#/components/schemas/UnifiedTicketingCommentInput' - account_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the account which the ticket belongs to - contact_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the contact which the ticket belongs to - attachments: - type: array - items: &ref_98 - oneOf: - - type: string - - $ref: '#/components/schemas/UnifiedTicketingAttachmentInput' - example: &ref_99 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The attachements UUIDs tied to the ticket - nullable: true - field_mappings: - type: object - example: &ref_100 - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the ticket between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the ticket - remote_id: - type: string - example: id_1 - nullable: true - description: The id of the ticket in the context of the 3rd Party - remote_data: - type: object - example: - key1: value1 - key2: 42 - key3: true - nullable: true - additionalProperties: true - description: The remote data of the ticket in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The modified date of the object - required: - - name - - description - UnifiedTicketingTicketInput: - type: object - properties: - name: - type: string - example: Customer Service Inquiry - nullable: true - description: The name of the ticket - status: - type: string - example: OPEN - nullable: true - description: The status of the ticket. Authorized values are OPEN or CLOSED. - description: - type: string - example: Help customer - nullable: true - description: The description of the ticket - due_date: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date the ticket is due - type: - type: string - example: BUG - nullable: true - description: >- - The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK - parent_ticket: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the parent ticket - collections: - type: array - items: *ref_92 - example: *ref_93 - nullable: true - description: The collection UUIDs the ticket belongs to - tags: - type: array - items: *ref_94 - example: *ref_95 - nullable: true - description: The tags names of the ticket - completed_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date the ticket has been completed - priority: - type: string - example: HIGH - nullable: true - description: >- - The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. - assigned_to: - example: *ref_96 - nullable: true - description: The users UUIDs the ticket is assigned to - type: array - items: - type: string - comment: - example: *ref_97 - nullable: true - description: The comment of the ticket - allOf: - - $ref: '#/components/schemas/UnifiedTicketingCommentInput' - account_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the account which the ticket belongs to - contact_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the contact which the ticket belongs to - attachments: - type: array - items: *ref_98 - example: *ref_99 - description: The attachements UUIDs tied to the ticket - nullable: true - field_mappings: - type: object - example: *ref_100 - nullable: true - description: >- - The custom field mappings of the ticket between the remote 3rd party & Panora - additionalProperties: true - required: - - name - - description - UnifiedTicketingUserOutput: - type: object - properties: - name: - type: string - nullable: true - description: The name of the user - example: John Doe - email_address: - type: string - nullable: true - description: The email address of the user - example: john.doe@example.com - teams: - nullable: true - description: The teams whose the user is part of - example: - - team1 - - team2 - type: array - items: - type: string - account_id: - type: string - nullable: true - description: The account or organization the user is part of - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the user between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the user - remote_id: - type: string - example: id_1 - nullable: true - description: The id of the user in the context of the 3rd Party - remote_data: - type: object - example: - key1: value1 - key2: 42 - key3: true - nullable: true - additionalProperties: true - description: The remote data of the user in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2023-10-01T12:00:00Z' - nullable: true - description: The modified date of the object - required: - - name - - email_address - UnifiedTicketingAccountOutput: - type: object - properties: - name: - type: string - example: My Personal Account - nullable: true - description: The name of the account - domains: - example: - - acme.com - - acme-test.com - nullable: true - description: The domains of the account - type: array - items: - type: string - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the account between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the account - remote_id: - type: string - example: id_1 - description: The remote ID of the account in the context of the 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the account in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The created date of the account - nullable: true - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The modified date of the account - nullable: true - required: - - name - UnifiedTicketingContactOutput: - type: object - properties: - name: - type: string - example: Joe - nullable: true - description: The name of the contact - email_address: - type: string - example: joedoe@acme.org - nullable: true - description: The email address of the contact - phone_number: - type: string - example: +33 6 50 11 11 10 - nullable: true - description: The phone number of the contact - details: - type: string - example: Contact Details - nullable: true - description: The details of the contact - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the contact between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the contact - remote_id: - type: string - example: id_1 - description: The remote ID of the contact in the context of the 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the contact in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The modified date of the object - required: - - name - - email_address - ResyncStatusDto: - type: object - properties: - timestamp: - format: date-time - type: string - example: '' - nullable: true - vertical: - type: string - example: ticketing - enum: - - ticketing - - ats - - accounting - - hris - - crm - - filestorage - - ecommerce - - marketingautomation - nullable: true - provider: - type: string - example: gitlab - nullable: true - status: - type: string - example: success - enum: - - success - - fail - nullable: true - required: - - timestamp - - vertical - - provider - - status - UpdatePullFrequencyDto: - type: object - properties: - crm: - type: number - example: 1800 - description: Frequency in seconds - ats: - type: number - example: 3600 - description: Frequency in seconds - hris: - type: number - example: 7200 - description: Frequency in seconds - accounting: - type: number - example: 14400 - description: Frequency in seconds - filestorage: - type: number - example: 28800 - description: Frequency in seconds - ecommerce: - type: number - example: 43200 - description: Frequency in seconds - ticketing: - type: number - example: 86400 - description: Frequency in seconds - required: - - crm - - ats - - hris - - accounting - - filestorage - - ecommerce - - ticketing - Email: - type: object - properties: - email_address: - type: string - nullable: true - description: The email address - email_address_type: - type: string - nullable: true - description: >- - The email address type. Authorized values are either PERSONAL or WORK. - owner_type: - type: string - enum: - - COMPANY - - CONTACT - nullable: true - description: The owner type of an email - required: - - email_address - - email_address_type - Address: - type: object - properties: - street_1: - type: string - nullable: true - example: 5th Avenue - description: The street - street_2: - type: string - nullable: true - example: Street 2 - description: 'More information about the street ' - city: - type: string - nullable: true - example: New York - description: The city - state: - type: string - example: New York - nullable: true - description: The state - postal_code: - type: string - example: '10001' - nullable: true - description: The postal code - country: - type: string - example: United States of America - nullable: true - description: The country - address_type: - type: string - nullable: true - example: PERSONAL - description: The address type. Authorized values are either PERSONAL or WORK. - owner_type: - type: string - nullable: true - description: The owner type of the address - required: - - street_1 - - street_2 - - city - - state - - postal_code - - country - - address_type - - owner_type - Phone: - type: object - properties: - phone_number: - type: string - nullable: true - description: >- - The phone number starting with a plus (+) followed by the country code (e.g +336676778890 for France) - phone_type: - type: string - nullable: true - description: The phone type. Authorized values are either MOBILE or WORK - owner_type: - type: string - nullable: true - description: The owner type of a phone number - required: - - phone_number - - phone_type - UnifiedCrmCompanyOutput: - type: object - properties: - name: - type: string - example: Acme - description: The name of the company - nullable: true - industry: - type: string - example: ACCOUNTING - description: >- - The industry of the company. Authorized values can be found in the Industry enum. - nullable: true - number_of_employees: - type: number - example: 10 - description: The number of employees of the company - nullable: true - user_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user who owns the company - nullable: true - email_addresses: - description: The email addresses of the company - example: &ref_101 - - email_address: acme@gmail.com - email_address_type: WORK - nullable: true - type: array - items: - $ref: '#/components/schemas/Email' - addresses: - description: The addresses of the company - example: &ref_102 - - street_1: 5th Avenue - city: New York - state: NY - country: USA - address_type: WORK - nullable: true - type: array - items: - $ref: '#/components/schemas/Address' - phone_numbers: - description: The phone numbers of the company - example: &ref_103 - - phone_number: '+33660606067' - phone_type: WORK - nullable: true - type: array - items: - $ref: '#/components/schemas/Phone' - field_mappings: - type: object - example: &ref_104 - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the company between the remote 3rd party & Panora - nullable: true - additionalProperties: true - id: - type: string - description: The UUID of the company - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - remote_id: - type: string - example: id_1 - description: The id of the company in the context of the Crm 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - description: The remote data of the company in the context of the Crm 3rd Party - nullable: true - additionalProperties: true - created_at: - type: object - example: '2024-10-01T12:00:00Z' - description: The created date of the object - nullable: true - modified_at: - type: object - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - nullable: true - required: - - name - UnifiedCrmCompanyInput: - type: object - properties: - name: - type: string - example: Acme - description: The name of the company - nullable: true - industry: - type: string - example: ACCOUNTING - description: >- - The industry of the company. Authorized values can be found in the Industry enum. - nullable: true - number_of_employees: - type: number - example: 10 - description: The number of employees of the company - nullable: true - user_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user who owns the company - nullable: true - email_addresses: - description: The email addresses of the company - example: *ref_101 - nullable: true - type: array - items: - $ref: '#/components/schemas/Email' - addresses: - description: The addresses of the company - example: *ref_102 - nullable: true - type: array - items: - $ref: '#/components/schemas/Address' - phone_numbers: - description: The phone numbers of the company - example: *ref_103 - nullable: true - type: array - items: - $ref: '#/components/schemas/Phone' - field_mappings: - type: object - example: *ref_104 - description: >- - The custom field mappings of the company between the remote 3rd party & Panora - nullable: true - additionalProperties: true - required: - - name - UnifiedCrmContactOutput: - type: object - properties: - first_name: - type: string - description: The first name of the contact - example: John - nullable: true - last_name: - type: string - description: The last name of the contact - example: Doe - nullable: true - email_addresses: - nullable: true - description: The email addresses of the contact - example: &ref_105 - - email: john.doe@example.com - type: WORK - type: array - items: - $ref: '#/components/schemas/Email' - phone_numbers: - nullable: true - description: The phone numbers of the contact - example: &ref_106 - - phone: '1234567890' - type: WORK - type: array - items: - $ref: '#/components/schemas/Phone' - addresses: - nullable: true - description: The addresses of the contact - example: &ref_107 - - street: 123 Main St - city: Anytown - state: CA - zip: '12345' - country: USA - type: WORK - type: array - items: - $ref: '#/components/schemas/Address' - user_id: - type: string - nullable: true - description: The UUID of the user who owns the contact - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - field_mappings: - type: object - example: &ref_108 - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the contact between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - description: The UUID of the contact - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - remote_id: - type: string - example: id_1 - nullable: true - description: The id of the contact in the context of the Crm 3rd Party - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the contact in the context of the Crm 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The modified date of the object - required: - - first_name - - last_name - UnifiedCrmContactInput: - type: object - properties: - first_name: - type: string - description: The first name of the contact - example: John - nullable: true - last_name: - type: string - description: The last name of the contact - example: Doe - nullable: true - email_addresses: - nullable: true - description: The email addresses of the contact - example: *ref_105 - type: array - items: - $ref: '#/components/schemas/Email' - phone_numbers: - nullable: true - description: The phone numbers of the contact - example: *ref_106 - type: array - items: - $ref: '#/components/schemas/Phone' - addresses: - nullable: true - description: The addresses of the contact - example: *ref_107 - type: array - items: - $ref: '#/components/schemas/Address' - user_id: - type: string - nullable: true - description: The UUID of the user who owns the contact - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - field_mappings: - type: object - example: *ref_108 - nullable: true - description: >- - The custom field mappings of the contact between the remote 3rd party & Panora - additionalProperties: true - required: - - first_name - - last_name - UnifiedCrmDealOutput: - type: object - properties: - name: - type: string - example: Huge Contract with Acme - description: The name of the deal - nullable: true - description: - type: string - example: Contract with Sales Operations Team - description: The description of the deal - nullable: true - amount: - type: number - example: 1000 - description: The amount of the deal - nullable: true - user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user who is on the deal - stage_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the stage of the deal - company_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the company tied to the deal - field_mappings: - type: object - nullable: true - example: &ref_109 - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the company between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the deal - remote_id: - type: string - nullable: true - example: id_1 - description: The id of the deal in the context of the Crm 3rd Party - remote_data: - type: object - nullable: true - example: - fav_dish: broccoli - fav_color: red - additionalProperties: true - description: The remote data of the deal in the context of the Crm 3rd Party - created_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The created date of the object - modified_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - required: - - name - - description - - amount - UnifiedCrmDealInput: - type: object - properties: - name: - type: string - example: Huge Contract with Acme - description: The name of the deal - nullable: true - description: - type: string - example: Contract with Sales Operations Team - description: The description of the deal - nullable: true - amount: - type: number - example: 1000 - description: The amount of the deal - nullable: true - user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user who is on the deal - stage_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the stage of the deal - company_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the company tied to the deal - field_mappings: - type: object - nullable: true - example: *ref_109 - description: >- - The custom field mappings of the company between the remote 3rd party & Panora - additionalProperties: true - required: - - name - - description - - amount - UnifiedCrmEngagementOutput: - type: object - properties: - content: - type: string - nullable: true - example: Meeting call with CTO - description: The content of the engagement - direction: - type: string - nullable: true - example: INBOUND - description: >- - The direction of the engagement. Authorized values are INBOUND or OUTBOUND - subject: - type: string - example: Technical features planning - nullable: true - description: The subject of the engagement - start_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The start time of the engagement - end_time: - format: date-time - type: string - nullable: true - example: '2024-10-01T22:00:00Z' - description: The end time of the engagement - type: - type: string - nullable: true - example: MEETING - description: >- - The type of the engagement. Authorized values are EMAIL, CALL or MEETING - user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user tied to the engagement - company_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the company tied to the engagement - contacts: - nullable: true - example: &ref_110 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUIDs of contacts tied to the engagement object - type: array - items: - type: string - field_mappings: - type: object - nullable: true - example: &ref_111 - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the engagement between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the engagement - remote_id: - type: string - nullable: true - example: id_1 - description: The id of the engagement in the context of the Crm 3rd Party - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - additionalProperties: true - nullable: true - description: >- - The remote data of the engagement in the context of the Crm 3rd Party - created_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The created date of the object - modified_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - required: - - type - UnifiedCrmEngagementInput: - type: object - properties: - content: - type: string - nullable: true - example: Meeting call with CTO - description: The content of the engagement - direction: - type: string - nullable: true - example: INBOUND - description: >- - The direction of the engagement. Authorized values are INBOUND or OUTBOUND - subject: - type: string - example: Technical features planning - nullable: true - description: The subject of the engagement - start_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The start time of the engagement - end_time: - format: date-time - type: string - nullable: true - example: '2024-10-01T22:00:00Z' - description: The end time of the engagement - type: - type: string - nullable: true - example: MEETING - description: >- - The type of the engagement. Authorized values are EMAIL, CALL or MEETING - user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user tied to the engagement - company_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the company tied to the engagement - contacts: - nullable: true - example: *ref_110 - description: The UUIDs of contacts tied to the engagement object - type: array - items: - type: string - field_mappings: - type: object - nullable: true - example: *ref_111 - description: >- - The custom field mappings of the engagement between the remote 3rd party & Panora - additionalProperties: true - required: - - type - UnifiedCrmNoteOutput: - type: object - properties: - content: - type: string - example: My notes taken during the meeting - description: The content of the note - nullable: true - user_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user tied to the note - nullable: true - company_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the company tied to the note - contact_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the contact tied to the note - nullable: true - deal_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the deal tied to the note - field_mappings: - type: object - example: &ref_112 - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the note between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the note - remote_id: - type: string - example: id_1 - description: The ID of the note in the context of the Crm 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the note in the context of the Crm 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The modified date of the object - required: - - content - UnifiedCrmNoteInput: - type: object - properties: - content: - type: string - example: My notes taken during the meeting - description: The content of the note - nullable: true - user_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user tied to the note - nullable: true - company_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the company tied to the note - contact_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the contact tied to the note - nullable: true - deal_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the deal tied to the note - field_mappings: - type: object - example: *ref_112 - nullable: true - description: >- - The custom field mappings of the note between the remote 3rd party & Panora - additionalProperties: true - required: - - content - UnifiedCrmStageOutput: - type: object - properties: - stage_name: - type: string - example: Qualified - description: The name of the stage - nullable: true - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the stage between the remote 3rd party & Panora - nullable: true - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the stage - nullable: true - remote_id: - type: string - example: id_1 - description: The ID of the stage in the context of the Crm 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - description: The remote data of the stage in the context of the Crm 3rd Party - nullable: true - additionalProperties: true - created_at: - type: object - example: '2024-10-01T12:00:00Z' - description: The created date of the object - nullable: true - modified_at: - type: object - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - nullable: true - required: - - stage_name - UnifiedCrmTaskOutput: - type: object - properties: - subject: - type: string - example: Answer customers - description: The subject of the task - nullable: true - content: - type: string - example: Prepare email campaign - description: The content of the task - nullable: true - status: - type: string - example: PENDING - description: The status of the task. Authorized values are PENDING, COMPLETED. - nullable: true - due_date: - type: string - example: '2024-10-01T12:00:00Z' - description: The due date of the task - nullable: true - finished_date: - type: string - example: '2024-10-01T12:00:00Z' - description: The finished date of the task - nullable: true - user_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user tied to the task - nullable: true - company_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the company tied to the task - nullable: true - deal_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the deal tied to the task - nullable: true - field_mappings: - type: object - example: &ref_113 - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the task between the remote 3rd party & Panora - nullable: true - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the task - nullable: true - remote_id: - type: string - example: id_1 - description: The ID of the task in the context of the Crm 3rd Party - nullable: true - remote_data: - type: object - example: - key1: value1 - key2: 42 - key3: true - description: The remote data of the task in the context of the Crm 3rd Party - nullable: true - additionalProperties: true - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The created date of the object - nullable: true - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - nullable: true - required: - - subject - - content - - status - UnifiedCrmTaskInput: - type: object - properties: - subject: - type: string - example: Answer customers - description: The subject of the task - nullable: true - content: - type: string - example: Prepare email campaign - description: The content of the task - nullable: true - status: - type: string - example: PENDING - description: The status of the task. Authorized values are PENDING, COMPLETED. - nullable: true - due_date: - type: string - example: '2024-10-01T12:00:00Z' - description: The due date of the task - nullable: true - finished_date: - type: string - example: '2024-10-01T12:00:00Z' - description: The finished date of the task - nullable: true - user_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user tied to the task - nullable: true - company_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the company tied to the task - nullable: true - deal_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the deal tied to the task - nullable: true - field_mappings: - type: object - example: *ref_113 - description: >- - The custom field mappings of the task between the remote 3rd party & Panora - nullable: true - additionalProperties: true - required: - - subject - - content - - status - UnifiedCrmUserOutput: - type: object - properties: - name: - type: string - example: Jane Doe - description: The name of the user - nullable: true - email: - type: string - example: jane.doe@example.com - description: The email of the user - nullable: true - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the user between the remote 3rd party & Panora - nullable: true - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user - nullable: true - remote_id: - type: string - example: id_1 - description: The id of the user in the context of the Crm 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - description: The remote data of the user in the context of the Crm 3rd Party - nullable: true - additionalProperties: true - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The created date of the object - nullable: true - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - nullable: true - required: - - name - - email - UnifiedTicketingCollectionOutput: - type: object - properties: - name: - type: string - example: My Personal Collection - nullable: true - description: The name of the collection - description: - type: string - example: Collect issues - nullable: true - description: The description of the collection - collection_type: - type: string - example: PROJECT - nullable: true - description: "The type of the collection. Authorized values are either PROJECT or LIST " - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the collection - remote_id: - type: string - example: id_1 - nullable: true - description: The id of the collection in the context of the 3rd Party - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the collection in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The modified date of the object - required: - - name - UnifiedTicketingCommentOutput: - type: object - properties: - body: - type: string - nullable: true - example: Assigned to Eric ! - description: The body of the comment - html_body: - type: string - nullable: true - example:

Assigned to Eric !

- description: The html body of the comment - is_private: - type: boolean - nullable: true - example: false - description: The public status of the comment - creator_type: - type: string - nullable: true - example: USER - description: >- - The creator type of the comment. Authorized values are either USER or CONTACT - ticket_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the ticket the comment is tied to - contact_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: >- - The UUID of the contact which the comment belongs to (if no user_id specified) - user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: >- - The UUID of the user which the comment belongs to (if no contact_id specified) - attachments: - type: array - items: *ref_114 - nullable: true - example: *ref_115 - description: The attachements UUIDs tied to the comment - id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the comment - remote_id: - type: string - nullable: true - example: id_1 - description: The id of the comment in the context of the 3rd Party - remote_data: - type: object - nullable: true - example: - fav_dish: broccoli - fav_color: red - additionalProperties: true - description: The remote data of the comment in the context of the 3rd Party - created_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The created date of the object - modified_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - required: - - body - UnifiedTicketingTagOutput: - type: object - properties: - name: - type: string - example: urgent_tag - nullable: true - description: The name of the tag - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the tag between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the tag - remote_id: - type: string - example: id_1 - description: The remote ID of the tag in the context of the 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the tag in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The created date of the tag - nullable: true - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The modified date of the tag - nullable: true - required: - - name - UnifiedTicketingTeamOutput: - type: object - properties: - name: - type: string - example: My team - nullable: true - description: The name of the team - description: - type: string - example: Internal members - nullable: true - description: The description of the team - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - description: >- - The custom field mappings of the team between the remote 3rd party & Panora - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the team - remote_id: - type: string - example: id_1 - nullable: true - description: The id of the team in the context of the 3rd Party - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the team in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The modified date of the object - required: - - name - LinkedUserResponse: - type: object - properties: - id_linked_user: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - linked_user_origin_id: - type: string - example: id_1 - nullable: true - alias: - type: string - example: acme - nullable: true - id_project: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - required: - - id_linked_user - - linked_user_origin_id - - alias - - id_project - CreateLinkedUserDto: - type: object - properties: - linked_user_origin_id: - type: string - description: The id of the user in the context of your own software - example: id_1 - alias: - type: string - nullable: true - description: Your company alias - example: acme - required: - - linked_user_origin_id - - alias - CreateBatchLinkedUserDto: - type: object - properties: - linked_user_origin_ids: - nullable: true - description: The ids of the users in the context of your own software - example: - - id_1 - type: array - items: - type: string - alias: - type: string - nullable: true - description: Your company alias - example: acme - required: - - linked_user_origin_ids - - alias - ProjectResponse: - type: object - properties: - id_project: - type: string - example: 123e4567-e89b-12d3-a456-426614174000 - description: Unique identifier for the project - name: - type: string - example: My Project - description: Name of the project - sync_mode: - type: string - example: automatic - description: Synchronization mode of the project - pull_frequency: - type: number - example: 3600 - description: Frequency of pulling data in seconds - redirect_url: - type: string - example: https://example.com/redirect - description: Redirect URL for the project - id_user: - type: string - example: 123e4567-e89b-12d3-a456-426614174001 - description: User ID associated with the project - id_connector_set: - type: string - example: 123e4567-e89b-12d3-a456-426614174002 - description: Connector set ID associated with the project - required: - - id_project - - name - - sync_mode - - id_user - - id_connector_set - CreateProjectDto: - type: object - properties: - name: - type: string - example: Project Name - description: The name of the project - id_organization: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The organization ID - id_user: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The user ID - required: - - name - - id_user - CustomFieldResponse: - type: object - properties: - id_attribute: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: Attribute Id - status: - type: string - nullable: true - example: '' - description: Attribute Status - ressource_owner_type: - type: string - example: '' - nullable: true - description: Attribute Ressource Owner Type - slug: - type: string - nullable: true - example: fav_dish - description: Attribute Slug - description: - type: string - nullable: true - example: My favorite dish - description: Attribute Description - data_type: - type: string - nullable: true - example: string - enum: - - string - - number - description: Attribute Data Type - remote_id: - type: string - nullable: true - example: id_1 - description: Attribute Remote Id - source: - type: string - nullable: true - example: hubspot - description: Attribute Source - id_entity: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: Attribute Entity Id - id_project: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: Attribute Project Id - scope: - type: string - nullable: true - example: '' - description: Attribute Scope - id_consumer: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: Attribute Consumer Id - created_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: Attribute Created Date - modified_at: - format: date-time - type: string - nullable: true - example: '2024-10-01T12:00:00Z' - description: Attribute Modified Date - required: - - id_attribute - - status - - ressource_owner_type - - slug - - description - - data_type - - remote_id - - source - - id_entity - - id_project - - scope - - id_consumer - - created_at - - modified_at - DefineTargetFieldDto: - type: object - properties: - object_type_owner: - type: string - example: company - enum: - - company - - contact - - deal - - lead - - note - - task - - engagement - - stage - - user - nullable: true - name: - type: string - nullable: true - example: fav_dish - description: The name of the target field - description: - type: string - nullable: true - example: My favorite dish - description: The description of the target field - data_type: - type: string - nullable: true - example: string - enum: - - string - - number - description: The data type of the target field - required: - - object_type_owner - - name - - description - - data_type - CustomFieldCreateDto: - type: object - properties: - object_type_owner: - type: string - example: company - enum: - - company - - contact - - deal - - lead - - note - - task - - engagement - - stage - - user - nullable: true - name: - type: string - nullable: true - example: my_favorite_dish - description: The name of the custom field - description: - type: string - nullable: true - example: Favorite Dish - description: The description of the custom field - data_type: - type: string - example: string - nullable: true - enum: - - string - - number - description: The data type of the custom field - source_custom_field_id: - type: string - nullable: true - example: id_1 - description: The source custom field ID - source_provider: - type: string - nullable: true - example: hubspot - description: The name of the source software/provider - linked_user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The linked user ID - required: - - object_type_owner - - name - - description - - data_type - - source_custom_field_id - - source_provider - - linked_user_id - MapFieldToProviderDto: - type: object - properties: - attributeId: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The attribute ID - source_custom_field_id: - type: string - nullable: true - example: id_1 - description: The source custom field ID - source_provider: - type: string - nullable: true - example: hubspot - description: The source provider - linked_user_id: - type: string - nullable: true - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The linked user ID - required: - - attributeId - - source_custom_field_id - - source_provider - - linked_user_id - EventResponse: - type: object - properties: - id_event: - type: string - example: 123e4567-e89b-12d3-a456-426614174000 - description: Unique identifier for the event - id_connection: - type: string - example: 123e4567-e89b-12d3-a456-426614174001 - description: Connection ID associated with the event - id_project: - type: string - example: 123e4567-e89b-12d3-a456-426614174002 - description: Project ID associated with the event - type: - type: string - example: connection.created - enum: - - crm.contact.created - - crm.contact.pulled - - crm.company.created - - crm.company.pulled - - crm.deal.created - - crm.deal.pulled - - crm.engagement.created - - crm.engagement.pulled - - crm.note.created - - crm.note.pulled - - crm.stage.pulled - - crm.task.pulled - - crm.task.created - - crm.user.pulled - - ticketing.ticket.created - - ticketing.ticket.pulled - - ticketing.comment.created - - ticketing.comment.pulled - - ticketing.attachment.created - - ticketing.attachment.pulled - - ticketing.collection.pulled - - ticketing.account.pulled - - ticketing.contact.pulled - - ticketing.tag.pulled - - ticketing.team.pulled - - ticketing.user.pulled - - ats.activity.created - - ats.activity.pulled - - ats.application.created - - ats.application.pulled - - ats.attachment.created - - ats.attachment.pulled - - ats.candidate.created - - ats.candidate.pulled - - ats.department.pulled - - ats.eecos.pulled - - ats.interview.created - - ats.interview.pulled - - ats.job.pulled - - ats.jobinterviewstage.pulled - - ats.offer.created - - ats.office.pulled - - ats.rejectreason.pulled - - ats.scorecard.pulled - - ats.tag.pulled - - ats.user.pulled - - filestorage.file.created - - filestorage.file.pulled - - filestorage.folder.created - - filestorage.folder.pulled - - filestorage.group.pulled - - filestorage.user.pulled - - filestorage.drive.pulled - - filestorage.permission.pulled - - filestorage.sharedlink.pulled - - connection.created - description: Scope of the event - status: - type: string - example: success - enum: - - success - - fail - description: Status of the event - direction: - type: string - example: '0' - description: Direction of the event - method: - type: string - example: POST - enum: - - GET - - POST - - PUT - - DELETE - description: HTTP method used for the event - url: - type: string - example: /crm/companies - description: URL associated with the event - provider: - type: string - example: hubspot - description: Provider associated with the event - timestamp: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: Timestamp of the event - id_linked_user: - type: string - example: 123e4567-e89b-12d3-a456-426614174003 - description: Linked user ID associated with the event - required: - - id_event - - id_connection - - id_project - - type - - status - - direction - - method - - url - - provider - - timestamp - - id_linked_user - PassThroughRequestDto: - type: object - properties: - method: - enum: - - GET - - POST - type: string - path: - type: string - nullable: true - data: - type: object - request_format: - oneOf: - - type: object - additionalProperties: true - - type: array - items: - type: object - additionalProperties: true - nullable: true - overrideBaseUrl: - type: object - additionalProperties: true - nullable: true - headers: - type: object - required: - - method - - path - UnifiedHrisBankinfoOutput: - type: object - properties: - account_type: - type: string - example: CHECKING - nullable: true - description: The type of the bank account - bank_name: - type: string - example: Bank of America - nullable: true - description: The name of the bank - account_number: - type: string - example: '1234567890' - nullable: true - description: The account number - routing_number: - type: string - example: '021000021' - nullable: true - description: The routing number of the bank - employee_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the associated employee - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the bank info record - remote_id: - type: string - example: id_1 - nullable: true - description: The remote ID of the bank info in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the bank info in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date when the bank info was created in the 3rd party system - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the bank info record - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The last modified date of the bank info record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: Indicates if the bank info was deleted in the remote system - required: - - id - - created_at - - modified_at - - remote_was_deleted - UnifiedHrisBenefitOutput: - type: object - properties: - provider_name: - type: string - example: Health Insurance Provider - nullable: true - description: The name of the benefit provider - employee_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the associated employee - employee_contribution: - type: number - example: 100 - nullable: true - description: The employee contribution amount - company_contribution: - type: number - example: 200 - nullable: true - description: The company contribution amount - start_date: - format: date-time - type: string - example: '2024-01-01T00:00:00Z' - nullable: true - description: The start date of the benefit - end_date: - format: date-time - type: string - example: '2024-12-31T23:59:59Z' - nullable: true - description: The end date of the benefit - employer_benefit_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the associated employer benefit - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the benefit record - remote_id: - type: string - example: benefit_1234 - nullable: true - description: The remote ID of the benefit in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the benefit in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date when the benefit was created in the 3rd party system - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the benefit record - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The last modified date of the benefit record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: Indicates if the benefit was deleted in the remote system - UnifiedHrisCompanyOutput: - type: object - properties: - legal_name: - type: string - example: Acme Corporation - nullable: true - description: The legal name of the company - locations: - example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: UUIDs of the of the Location associated with the company - type: array - items: - type: string - display_name: - type: string - example: Acme Corp - nullable: true - description: The display name of the company - eins: - example: - - 12-3456789 - - 98-7654321 - nullable: true - description: The Employer Identification Numbers (EINs) of the company - type: array - items: - type: string - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the company record - remote_id: - type: string - example: company_1234 - nullable: true - description: The remote ID of the company in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the company in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date when the company was created in the 3rd party system - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the company record - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The last modified date of the company record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: Indicates if the company was deleted in the remote system - UnifiedHrisDependentOutput: - type: object - properties: - first_name: - type: string - example: John - nullable: true - description: The first name of the dependent - last_name: - type: string - example: Doe - nullable: true - description: The last name of the dependent - middle_name: - type: string - example: Michael - nullable: true - description: The middle name of the dependent - relationship: - type: string - example: CHILD - nullable: true - description: The relationship of the dependent to the employee - date_of_birth: - format: date-time - type: string - example: '2020-01-01' - nullable: true - description: The date of birth of the dependent - gender: - type: string - example: MALE - nullable: true - description: The gender of the dependent - phone_number: - type: string - example: '+1234567890' - nullable: true - description: The phone number of the dependent - home_location: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the home location - is_student: - type: boolean - example: true - nullable: true - description: Indicates if the dependent is a student - ssn: - type: string - example: 123-45-6789 - nullable: true - description: The Social Security Number of the dependent - employee_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the associated employee - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the dependent record - remote_id: - type: string - example: dependent_1234 - nullable: true - description: The remote ID of the dependent in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the dependent in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The date when the dependent was created in the 3rd party system - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the dependent record - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The last modified date of the dependent record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: Indicates if the dependent was deleted in the remote system - DeductionItem: + required: + - chunk + - metadata + - score + - embedding + QueryBody: type: object properties: - name: + query: type: string - example: Health Insurance - nullable: true - description: The name of the deduction - employee_deduction: - type: number - example: 100 - nullable: true - description: The amount of employee deduction - company_deduction: + example: When does Panora incorporated? + nullable: false + description: The query you want to received embeddings and chunks for + topK: type: number - example: 200 + example: '3' nullable: true - description: The amount of company deduction - EarningItem: + description: The number of most appropriate documents for your query. + required: + - query + PaginatedDto: type: object properties: - amount: - type: number - example: 1000 + prev_cursor: + type: string nullable: true - description: The amount of the earning - type: + next_cursor: type: string - example: Salary nullable: true - description: The type of the earning - TaxItem: + data: + type: array + items: + type: object + required: + - prev_cursor + - next_cursor + - data + UnifiedFilestorageFileOutput: type: object properties: name: type: string - example: Federal Income Tax - nullable: true - description: The name of the tax - amount: - type: number - example: 250 - nullable: true - description: The amount of the tax - employer_tax: - type: boolean - example: true + example: my_paris_photo.png + description: The name of the file nullable: true - description: Indicates if this is an employer tax - UnifiedHrisEmployeepayrollrunOutput: - type: object - properties: - employee_id: + file_url: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: https://example.com/my_paris_photo.png + description: The url of the file nullable: true - description: The UUID of the associated employee - payroll_run_id: + mime_type: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the associated payroll run - gross_pay: - type: number - example: 5000 - nullable: true - description: The gross pay amount - net_pay: - type: number - example: 4000 + example: application/pdf + description: The mime type of the file nullable: true - description: The net pay amount - start_date: - format: date-time + size: type: string - example: '2023-01-01T00:00:00Z' + example: '1024' + description: The size of the file nullable: true - description: The start date of the pay period - end_date: - format: date-time + folder_id: type: string - example: '2023-01-15T23:59:59Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the folder tied to the file nullable: true - description: The end date of the pay period - check_date: - format: date-time + permission: type: string - example: '2023-01-20T00:00:00Z' - nullable: true - description: The date the check was issued - deductions: - nullable: true - description: The list of deductions for this payroll run - type: array - items: - $ref: '#/components/schemas/DeductionItem' - earnings: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the permission tied to the file nullable: true - description: The list of earnings for this payroll run - type: array - items: - $ref: '#/components/schemas/EarningItem' - taxes: + shared_link: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the shared link tied to the file nullable: true - description: The list of taxes for this payroll run - type: array - items: - $ref: '#/components/schemas/TaxItem' field_mappings: type: object - example: - custom_field_1: value1 - custom_field_2: value2 - nullable: true + example: &ref_61 + fav_dish: broccoli + fav_color: red description: >- The custom field mappings of the object between the remote 3rd party & Panora + nullable: true + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the file nullable: true - description: The UUID of the employee payroll run record remote_id: type: string - example: payroll_run_1234 + example: id_1 + description: The id of the file in the context of the 3rd Party nullable: true - description: >- - The remote ID of the employee payroll run in the context of the 3rd Party remote_data: type: object example: - raw_data: - additional_field: some value - nullable: true - description: >- - The remote data of the employee payroll run in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' + fav_dish: broccoli + fav_color: red + description: The remote data of the file in the context of the 3rd Party nullable: true - description: >- - The date when the employee payroll run was created in the 3rd party system + additionalProperties: true created_at: format: date-time type: string example: '2024-10-01T12:00:00Z' + description: The created date of the object nullable: true - description: The created date of the employee payroll run record modified_at: format: date-time type: string example: '2024-10-01T12:00:00Z' + description: The modified date of the object nullable: true - description: The last modified date of the employee payroll run record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: >- - Indicates if the employee payroll run was deleted in the remote system - UnifiedHrisEmployeeOutput: + required: + - name + - file_url + - mime_type + - size + - folder_id + - permission + - shared_link + UnifiedFilestorageFileInput: type: object properties: - groups: - example: &ref_116 - - Group1 - - Group2 - nullable: true - description: The groups the employee belongs to - type: array - items: - type: string - locations: - example: &ref_117 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: UUIDs of the of the Location associated with the company - type: array - items: - type: string - employee_number: - type: string - example: EMP001 - nullable: true - description: The employee number - company_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the associated company - first_name: - type: string - example: John - nullable: true - description: The first name of the employee - last_name: + name: type: string - example: Doe + example: my_paris_photo.png + description: The name of the file nullable: true - description: The last name of the employee - preferred_name: + file_url: type: string - example: Johnny + example: https://example.com/my_paris_photo.png + description: The url of the file nullable: true - description: The preferred name of the employee - display_full_name: + mime_type: type: string - example: John Doe + example: application/pdf + description: The mime type of the file nullable: true - description: The full display name of the employee - username: + size: type: string - example: johndoe + example: '1024' + description: The size of the file nullable: true - description: The username of the employee - work_email: + folder_id: type: string - example: john.doe@company.com + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the folder tied to the file nullable: true - description: The work email of the employee - personal_email: + permission: type: string - example: john.doe@personal.com + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the permission tied to the file nullable: true - description: The personal email of the employee - mobile_phone_number: + shared_link: type: string - example: '+1234567890' - nullable: true - description: The mobile phone number of the employee - employments: - example: &ref_118 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the shared link tied to the file nullable: true - description: The employments of the employee - type: array - items: - type: string - ssn: - type: string - example: 123-45-6789 + field_mappings: + type: object + example: *ref_61 + description: >- + The custom field mappings of the object between the remote 3rd party & Panora nullable: true - description: The Social Security Number of the employee - gender: + additionalProperties: true + required: + - name + - file_url + - mime_type + - size + - folder_id + - permission + - shared_link + LoginDto: + type: object + properties: + id_user: type: string - example: MALE - nullable: true - description: The gender of the employee - ethnicity: + email: type: string - example: AMERICAN_INDIAN_OR_ALASKA_NATIVE - nullable: true - description: The ethnicity of the employee - marital_status: + password_hash: type: string - example: Married - nullable: true - description: The marital status of the employee - date_of_birth: - format: date-time + required: + - id_user + - email + - password_hash + Connection: + type: object + properties: + id_connection: type: string - example: '1990-01-01' - nullable: true - description: The date of birth of the employee - start_date: - format: date-time + example: 123e4567-e89b-12d3-a456-426614174000 + description: Unique identifier for the connection + status: type: string - example: '2020-01-01' - nullable: true - description: The start date of the employee - employment_status: + example: active + description: Status of the connection + provider_slug: type: string - example: ACTIVE - nullable: true - description: The employment status of the employee - termination_date: - format: date-time + example: hubspot + description: Slug for the provider + vertical: type: string - example: '2025-01-01' - nullable: true - description: The termination date of the employee - avatar_url: + example: crm + description: Vertical category of the connection + account_url: type: string - example: https://example.com/avatar.jpg - nullable: true - description: The URL of the employee's avatar - manager_id: + example: https://example.com/account + description: URL of the account + token_type: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: UUID of the manager (employee) of the employee - field_mappings: - type: object - example: &ref_119 - custom_field_1: value1 - custom_field_2: value2 - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + example: oauth2 + enum: + - oauth2 + - apikey + - basic + description: Strategy type + access_token: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the employee record - remote_id: + example: access_token_example + description: Access token for the connection + refresh_token: type: string - example: employee_1234 - nullable: true - description: The remote ID of the employee in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the employee in the context of the 3rd Party - remote_created_at: + example: refresh_token_example + description: Refresh token for the connection + expiration_timestamp: format: date-time type: string example: '2024-10-01T12:00:00Z' - nullable: true - description: The date when the employee was created in the 3rd party system + description: Expiration timestamp of the access token created_at: format: date-time type: string example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the employee record - modified_at: - format: date-time + description: Timestamp when the connection was created + connection_token: type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The last modified date of the employee record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: Indicates if the employee was deleted in the remote system - UnifiedHrisEmployeeInput: + example: 123e4567-e89b-12d3-a456-426614174000 + description: UUID Token for the connection + id_project: + type: string + example: 123e4567-e89b-12d3-a456-426614174001 + description: Project ID associated with the connection + id_linked_user: + type: string + example: 123e4567-e89b-12d3-a456-426614174002 + description: Linked user ID associated with the connection + required: + - id_connection + - status + - provider_slug + - vertical + - account_url + - token_type + - access_token + - refresh_token + - expiration_timestamp + - created_at + - connection_token + - id_project + - id_linked_user + WebhookResponse: type: object properties: - groups: - example: *ref_116 - nullable: true - description: The groups the employee belongs to - type: array - items: - type: string - locations: - example: *ref_117 - nullable: true - description: UUIDs of the of the Location associated with the company - type: array - items: - type: string - employee_number: - type: string - example: EMP001 - nullable: true - description: The employee number - company_id: + id_webhook_endpoint: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the associated company - first_name: - type: string - example: John - nullable: true - description: The first name of the employee - last_name: - type: string - example: Doe - nullable: true - description: The last name of the employee - preferred_name: - type: string - example: Johnny - nullable: true - description: The preferred name of the employee - display_full_name: - type: string - example: John Doe - nullable: true - description: The full display name of the employee - username: + description: The unique UUID of the webhook. + endpoint_description: type: string - example: johndoe + example: Webhook to receive connection events nullable: true - description: The username of the employee - work_email: + description: The description of the webhook. + url: type: string - example: john.doe@company.com + example: https://acme.com/webhook_receiver nullable: true - description: The work email of the employee - personal_email: + description: The endpoint url of the webhook. + secret: type: string - example: john.doe@personal.com + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The secret of the webhook. + active: + type: boolean + example: true nullable: true - description: The personal email of the employee - mobile_phone_number: + description: The status of the webhook. + created_at: + format: date-time type: string - example: '+1234567890' + example: '2024-10-01T12:00:00Z' + description: The created date of the webhook. nullable: true - description: The mobile phone number of the employee - employments: - example: *ref_118 + scope: + example: + - connection.created nullable: true - description: The employments of the employee + description: The events that the webhook listen to. type: array items: type: string - ssn: - type: string - example: 123-45-6789 - nullable: true - description: The Social Security Number of the employee - gender: - type: string - example: MALE - nullable: true - description: The gender of the employee - ethnicity: - type: string - example: AMERICAN_INDIAN_OR_ALASKA_NATIVE - nullable: true - description: The ethnicity of the employee - marital_status: - type: string - example: Married - nullable: true - description: The marital status of the employee - date_of_birth: - format: date-time - type: string - example: '1990-01-01' - nullable: true - description: The date of birth of the employee - start_date: - format: date-time - type: string - example: '2020-01-01' - nullable: true - description: The start date of the employee - employment_status: + id_project: type: string - example: ACTIVE + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The employment status of the employee - termination_date: + description: The project id tied to the webhook. + last_update: format: date-time type: string - example: '2025-01-01' - nullable: true - description: The termination date of the employee - avatar_url: - type: string - example: https://example.com/avatar.jpg - nullable: true - description: The URL of the employee's avatar - manager_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: UUID of the manager (employee) of the employee - field_mappings: - type: object - example: *ref_119 + example: '2024-10-01T12:00:00Z' nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - UnifiedHrisEmployerbenefitOutput: + description: The last update date of the webhook. + required: + - id_webhook_endpoint + - endpoint_description + - url + - secret + - active + - created_at + - scope + - id_project + - last_update + WebhookDto: type: object properties: - benefit_plan_type: - type: string - example: Health Insurance - nullable: true - description: The type of the benefit plan - name: + url: type: string - example: Company Health Plan + example: https://acme.com/webhook_receiver nullable: true - description: The name of the employer benefit + description: The endpoint url of the webhook. description: type: string - example: Comprehensive health insurance coverage for employees - nullable: true - description: The description of the employer benefit - deduction_code: - type: string - example: HEALTH-001 + example: Webhook to receive connection events nullable: true - description: The deduction code for the employer benefit - field_mappings: - type: object + description: The description of the webhook. + scope: example: - custom_field_1: value1 - custom_field_2: value2 + - connection.created nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The events that the webhook listen to. + type: array + items: + type: string + required: + - url + - description + - scope + SignatureVerificationDto: + type: object + properties: + payload: + type: object + additionalProperties: true nullable: true - description: The UUID of the employer benefit record - remote_id: + description: The payload event of the webhook. + signature: type: string - example: benefit_1234 - nullable: true - description: >- - The remote ID of the employer benefit in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value nullable: true - description: >- - The remote data of the employer benefit in the context of the 3rd Party - remote_created_at: - format: date-time + description: The signature of the webhook. + secret: type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: >- - The date when the employer benefit was created in the 3rd party system - created_at: - format: date-time + description: The secret of the webhook. + required: + - payload + - signature + - secret + UnifiedTicketingCommentInput: + type: object + properties: + body: type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The created date of the employer benefit record - modified_at: - format: date-time + example: Assigned to Eric ! + description: The body of the comment + html_body: type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The last modified date of the employer benefit record - remote_was_deleted: + example:

Assigned to Eric !

+ description: The html body of the comment + is_private: type: boolean - example: false nullable: true - description: Indicates if the employer benefit was deleted in the remote system - UnifiedHrisEmploymentOutput: - type: object - properties: - job_title: + example: false + description: The public status of the comment + creator_type: type: string - example: Software Engineer nullable: true - description: The job title of the employment - pay_rate: - type: number - example: 100000 + example: USER + description: >- + The creator type of the comment. Authorized values are either USER or CONTACT + ticket_id: + type: string nullable: true - description: The pay rate of the employment - pay_period: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the ticket the comment is tied to + contact_id: type: string - example: MONTHLY nullable: true - description: The pay period of the employment - pay_frequency: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: >- + The UUID of the contact which the comment belongs to (if no user_id specified) + user_id: type: string - example: WEEKLY nullable: true - description: The pay frequency of the employment - pay_currency: - type: string - example: USD + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: >- + The UUID of the user which the comment belongs to (if no contact_id specified) + attachments: + type: array + items: &ref_84 + oneOf: + - type: string + - $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' nullable: true - description: The currency of the pay - flsa_status: + example: &ref_85 + - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The attachements UUIDs tied to the comment + required: + - body + UnifiedTicketingTicketOutput: + type: object + properties: + name: type: string - example: EXEMPT + example: Customer Service Inquiry nullable: true - description: The FLSA status of the employment - effective_date: - format: date-time + description: The name of the ticket + status: type: string - example: '2023-01-01' + example: OPEN nullable: true - description: The effective date of the employment - employment_type: + description: The status of the ticket. Authorized values are OPEN or CLOSED. + description: type: string - example: FULL_TIME + example: Help customer nullable: true - description: The type of employment - pay_group_id: + description: The description of the ticket + due_date: + format: date-time type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: '2024-10-01T12:00:00Z' nullable: true - description: The UUID of the associated pay group - employee_id: + description: The date the ticket is due + type: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the associated employee - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 + example: BUG nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK + parent_ticket: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the employment record - remote_id: - type: string - example: employment_1234 + description: The UUID of the parent ticket + collections: + type: array + items: &ref_62 + oneOf: + - type: string + - $ref: '#/components/schemas/UnifiedTicketingCollectionOutput' + example: &ref_63 + - 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The remote ID of the employment in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value + description: The collection UUIDs the ticket belongs to + tags: + type: array + items: &ref_64 + oneOf: + - type: string + - $ref: '#/components/schemas/UnifiedTicketingTagOutput' + example: &ref_65 + - my_tag + - urgent_tag nullable: true - description: The remote data of the employment in the context of the 3rd Party - remote_created_at: + description: The tags names of the ticket + completed_at: format: date-time type: string example: '2024-10-01T12:00:00Z' nullable: true - description: The date when the employment was created in the 3rd party system - created_at: - format: date-time + description: The date the ticket has been completed + priority: type: string - example: '2024-10-01T12:00:00Z' + example: HIGH nullable: true - description: The created date of the employment record - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' + description: >- + The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. + assigned_to: + example: &ref_66 + - 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The last modified date of the employment record - remote_was_deleted: - type: boolean - example: false + description: The users UUIDs the ticket is assigned to + type: array + items: + type: string + comment: + example: &ref_67 + content: Assigned the issue ! nullable: true - description: Indicates if the employment was deleted in the remote system - UnifiedHrisGroupOutput: - type: object - properties: - parent_group: + description: The comment of the ticket + allOf: + - $ref: '#/components/schemas/UnifiedTicketingCommentInput' + account_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the parent group - name: + description: The UUID of the account which the ticket belongs to + contact_id: type: string - example: Engineering Team + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The name of the group - type: - type: string - example: DEPARTMENT + description: The UUID of the contact which the ticket belongs to + attachments: + type: array + items: &ref_68 + oneOf: + - type: string + - $ref: '#/components/schemas/UnifiedTicketingAttachmentInput' + example: &ref_69 + - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The attachements UUIDs tied to the ticket nullable: true - description: The type of the group field_mappings: type: object - example: - custom_field_1: value1 - custom_field_2: value2 + example: &ref_70 + fav_dish: broccoli + fav_color: red nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the ticket between the remote 3rd party & Panora + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the group record + description: The UUID of the ticket remote_id: type: string - example: group_1234 + example: id_1 nullable: true - description: The remote ID of the group in the context of the 3rd Party + description: The id of the ticket in the context of the 3rd Party remote_data: type: object example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the group in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' + key1: value1 + key2: 42 + key3: true nullable: true - description: The date when the group was created in the 3rd party system + additionalProperties: true + description: The remote data of the ticket in the context of the 3rd Party created_at: format: date-time type: string example: '2024-10-01T12:00:00Z' nullable: true - description: The created date of the group record + description: The created date of the object modified_at: format: date-time type: string example: '2024-10-01T12:00:00Z' nullable: true - description: The last modified date of the group record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: Indicates if the group was deleted in the remote system - UnifiedHrisLocationOutput: + description: The modified date of the object + required: + - name + - description + UnifiedTicketingTicketInput: type: object properties: name: type: string - example: Headquarters + example: Customer Service Inquiry nullable: true - description: The name of the location - phone_number: + description: The name of the ticket + status: type: string - example: '+1234567890' + example: OPEN nullable: true - description: The phone number of the location - street_1: + description: The status of the ticket. Authorized values are OPEN or CLOSED. + description: type: string - example: 123 Main St + example: Help customer nullable: true - description: The first line of the street address - street_2: + description: The description of the ticket + due_date: + format: date-time type: string - example: Suite 456 + example: '2024-10-01T12:00:00Z' nullable: true - description: The second line of the street address - city: + description: The date the ticket is due + type: type: string - example: San Francisco + example: BUG nullable: true - description: The city of the location - state: + description: >- + The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK + parent_ticket: type: string - example: CA + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The state or region of the location - zip_code: - type: string - example: '94105' + description: The UUID of the parent ticket + collections: + type: array + items: *ref_62 + example: *ref_63 nullable: true - description: The zip or postal code of the location - country: - type: string - example: USA + description: The collection UUIDs the ticket belongs to + tags: + type: array + items: *ref_64 + example: *ref_65 nullable: true - description: The country of the location - location_type: + description: The tags names of the ticket + completed_at: + format: date-time type: string - example: WORK + example: '2024-10-01T12:00:00Z' nullable: true - description: The type of the location - company_id: + description: The date the ticket has been completed + priority: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: HIGH nullable: true - description: The UUID of the company associated with the location - employee_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: >- + The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. + assigned_to: + example: *ref_66 nullable: true - description: The UUID of the employee associated with the location - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 + description: The users UUIDs the ticket is assigned to + type: array + items: + type: string + comment: + example: *ref_67 nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + description: The comment of the ticket + allOf: + - $ref: '#/components/schemas/UnifiedTicketingCommentInput' + account_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the location record - remote_id: + description: The UUID of the account which the ticket belongs to + contact_id: type: string - example: location_1234 + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The remote ID of the location in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value + description: The UUID of the contact which the ticket belongs to + attachments: + type: array + items: *ref_68 + example: *ref_69 + description: The attachements UUIDs tied to the ticket nullable: true - description: The remote data of the location in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' + field_mappings: + type: object + example: *ref_70 nullable: true - description: The date when the location was created in the 3rd party system - created_at: - format: date-time + description: >- + The custom field mappings of the ticket between the remote 3rd party & Panora + additionalProperties: true + required: + - name + - description + UnifiedTicketingUserOutput: + type: object + properties: + name: type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The created date of the location record - modified_at: - format: date-time + description: The name of the user + example: John Doe + email_address: type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The last modified date of the location record - remote_was_deleted: - type: boolean - example: false + description: The email address of the user + example: john.doe@example.com + teams: nullable: true - description: Indicates if the location was deleted in the remote system - UnifiedHrisPaygroupOutput: - type: object - properties: - pay_group_name: + description: The teams whose the user is part of + example: + - team1 + - team2 + type: array + items: + type: string + account_id: type: string - example: Monthly Salaried nullable: true - description: The name of the pay group + description: The account or organization the user is part of + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f field_mappings: type: object example: - custom_field_1: value1 - custom_field_2: value2 + fav_dish: broccoli + fav_color: red nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the user between the remote 3rd party & Panora + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the pay group record + description: The UUID of the user remote_id: type: string - example: paygroup_1234 + example: id_1 nullable: true - description: The remote ID of the pay group in the context of the 3rd Party + description: The id of the user in the context of the 3rd Party remote_data: type: object example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the pay group in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' + key1: value1 + key2: 42 + key3: true nullable: true - description: The date when the pay group was created in the 3rd party system + additionalProperties: true + description: The remote data of the user in the context of the 3rd Party created_at: format: date-time type: string example: '2024-10-01T12:00:00Z' nullable: true - description: The created date of the pay group record + description: The created date of the object modified_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The last modified date of the pay group record - remote_was_deleted: - type: boolean - example: false + example: '2023-10-01T12:00:00Z' nullable: true - description: Indicates if the pay group was deleted in the remote system - UnifiedHrisPayrollrunOutput: + description: The modified date of the object + required: + - name + - email_address + UnifiedTicketingAccountOutput: type: object properties: - run_state: - type: string - example: PAID - nullable: true - description: The state of the payroll run - run_type: - type: string - example: REGULAR - nullable: true - description: The type of the payroll run - start_date: - format: date-time - type: string - example: '2024-01-01T00:00:00Z' - nullable: true - description: The start date of the payroll run - end_date: - format: date-time + name: type: string - example: '2024-01-15T23:59:59Z' + example: My Personal Account nullable: true - description: The end date of the payroll run - check_date: - format: date-time - type: string - example: '2024-01-20T00:00:00Z' + description: The name of the account + domains: + example: + - acme.com + - acme-test.com nullable: true - description: The check date of the payroll run + description: The domains of the account + type: array + items: + type: string field_mappings: type: object example: - custom_field_1: value1 - custom_field_2: value2 + fav_dish: broccoli + fav_color: red nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the account between the remote 3rd party & Panora + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the payroll run record + description: The UUID of the account remote_id: type: string - example: payroll_run_1234 + example: id_1 + description: The remote ID of the account in the context of the 3rd Party nullable: true - description: The remote ID of the payroll run in the context of the 3rd Party remote_data: type: object example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the payroll run in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' + fav_dish: broccoli + fav_color: red nullable: true - description: The date when the payroll run was created in the 3rd party system + additionalProperties: true + description: The remote data of the account in the context of the 3rd Party created_at: format: date-time type: string example: '2024-10-01T12:00:00Z' + description: The created date of the account nullable: true - description: The created date of the payroll run record modified_at: format: date-time type: string example: '2024-10-01T12:00:00Z' + description: The modified date of the account nullable: true - description: The last modified date of the payroll run record - remote_was_deleted: - type: boolean - example: false - nullable: true - description: Indicates if the payroll run was deleted in the remote system - employee_payroll_runs: - example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: >- - The UUIDs of the employee payroll runs associated with this payroll run - type: array - items: - type: string - UnifiedHrisTimeoffOutput: + required: + - name + UnifiedTicketingContactOutput: type: object properties: - employee: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the employee taking time off - approver: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the approver for the time off request - status: - type: string - example: REQUESTED - nullable: true - description: The status of the time off request - employee_note: - type: string - example: Annual vacation - nullable: true - description: A note from the employee about the time off request - units: + name: type: string - example: DAYS - nullable: true - description: The units used for the time off (e.g., Days, Hours) - amount: - type: number - example: 5 + example: Joe nullable: true - description: The amount of time off requested - request_type: + description: The name of the contact + email_address: type: string - example: VACATION + example: joedoe@acme.org nullable: true - description: The type of time off request - start_time: - format: date-time + description: The email address of the contact + phone_number: type: string - example: '2024-07-01T09:00:00Z' + example: +33 6 50 11 11 10 nullable: true - description: The start time of the time off - end_time: - format: date-time + description: The phone number of the contact + details: type: string - example: '2024-07-05T17:00:00Z' + example: Contact Details nullable: true - description: The end time of the time off + description: The details of the contact field_mappings: type: object - example: &ref_120 - custom_field_1: value1 - custom_field_2: value2 + example: + fav_dish: broccoli + fav_color: red nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the contact between the remote 3rd party & Panora + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the time off record + description: The UUID of the contact remote_id: type: string - example: timeoff_1234 + example: id_1 + description: The remote ID of the contact in the context of the 3rd Party nullable: true - description: The remote ID of the time off in the context of the 3rd Party remote_data: type: object example: - raw_data: - additional_field: some value - nullable: true - description: The remote data of the time off in the context of the 3rd Party - remote_created_at: - format: date-time - type: string - example: '2024-06-15T12:00:00Z' + fav_dish: broccoli + fav_color: red nullable: true - description: The date when the time off was created in the 3rd party system + additionalProperties: true + description: The remote data of the contact in the context of the 3rd Party created_at: format: date-time type: string - example: '2024-06-15T12:00:00Z' + example: '2024-10-01T12:00:00Z' nullable: true - description: The created date of the time off record + description: The created date of the object modified_at: format: date-time type: string - example: '2024-06-15T12:00:00Z' - nullable: true - description: The last modified date of the time off record - remote_was_deleted: - type: boolean - example: false + example: '2024-10-01T12:00:00Z' nullable: true - description: Indicates if the time off was deleted in the remote system - UnifiedHrisTimeoffInput: + description: The modified date of the object + required: + - name + - email_address + ResyncStatusDto: type: object properties: - employee: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the employee taking time off - approver: + timestamp: + format: date-time type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: '' nullable: true - description: The UUID of the approver for the time off request - status: + vertical: type: string - example: REQUESTED + example: ticketing + enum: + - ticketing + - accounting + - crm + - filestorage + - ecommerce + - marketingautomation nullable: true - description: The status of the time off request - employee_note: + provider: type: string - example: Annual vacation + example: gitlab nullable: true - description: A note from the employee about the time off request - units: + status: type: string - example: DAYS + example: success + enum: + - success + - fail nullable: true - description: The units used for the time off (e.g., Days, Hours) - amount: + required: + - timestamp + - vertical + - provider + - status + UpdatePullFrequencyDto: + type: object + properties: + crm: type: number - example: 5 - nullable: true - description: The amount of time off requested - request_type: + example: 1800 + description: Frequency in seconds + accounting: + type: number + example: 14400 + description: Frequency in seconds + filestorage: + type: number + example: 28800 + description: Frequency in seconds + ecommerce: + type: number + example: 43200 + description: Frequency in seconds + ticketing: + type: number + example: 86400 + description: Frequency in seconds + required: + - crm + - accounting + - filestorage + - ecommerce + - ticketing + Email: + type: object + properties: + email_address: type: string - example: VACATION nullable: true - description: The type of time off request - start_time: - format: date-time + description: The email address + email_address_type: type: string - example: '2024-07-01T09:00:00Z' nullable: true - description: The start time of the time off - end_time: - format: date-time + description: >- + The email address type. Authorized values are either PERSONAL or WORK. + owner_type: type: string - example: '2024-07-05T17:00:00Z' - nullable: true - description: The end time of the time off - field_mappings: - type: object - example: *ref_120 + enum: + - COMPANY + - CONTACT nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - UnifiedHrisTimeoffbalanceOutput: + description: The owner type of an email + required: + - email_address + - email_address_type + Address: type: object properties: - balance: - type: number - example: 80 + street_1: + type: string nullable: true - description: The current balance of time off - employee_id: + example: 5th Avenue + description: The street + street_2: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the associated employee - used: - type: number - example: 40 + example: Street 2 + description: 'More information about the street ' + city: + type: string nullable: true - description: The amount of time off used - policy_type: + example: New York + description: The city + state: type: string - example: VACATION + example: New York nullable: true - description: The type of time off policy - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 + description: The state + postal_code: + type: string + example: '10001' nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + description: The postal code + country: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: United States of America nullable: true - description: The UUID of the time off balance record - remote_id: + description: The country + address_type: type: string - example: timeoff_balance_1234 nullable: true - description: >- - The remote ID of the time off balance in the context of the 3rd Party - remote_data: - type: object - example: - raw_data: - additional_field: some value + example: PERSONAL + description: The address type. Authorized values are either PERSONAL or WORK. + owner_type: + type: string nullable: true - description: >- - The remote data of the time off balance in the context of the 3rd Party - remote_created_at: + description: The owner type of the address + required: + - street_1 + - street_2 + - city + - state + - postal_code + - country + - address_type + - owner_type + Phone: + type: object + properties: + phone_number: type: string - example: '2024-06-15T12:00:00Z' nullable: true description: >- - The date when the time off balance was created in the 3rd party system - created_at: + The phone number starting with a plus (+) followed by the country code (e.g +336676778890 for France) + phone_type: type: string - example: '2024-06-15T12:00:00Z' nullable: true - description: The created date of the time off balance record - modified_at: + description: The phone type. Authorized values are either MOBILE or WORK + owner_type: type: string - example: '2024-06-15T12:00:00Z' - nullable: true - description: The last modified date of the time off balance record - remote_was_deleted: - type: boolean - example: false nullable: true - description: Indicates if the time off balance was deleted in the remote system - UnifiedHrisTimesheetEntryOutput: + description: The owner type of a phone number + required: + - phone_number + - phone_type + UnifiedCrmCompanyOutput: type: object properties: - hours_worked: - type: number - example: 40 - nullable: true - description: The number of hours worked - start_time: - format: date-time + name: type: string - example: '2024-10-01T08:00:00Z' + example: Acme + description: The name of the company nullable: true - description: The start time of the timesheet entry - end_time: - format: date-time + industry: type: string - example: '2024-10-01T16:00:00Z' + example: ACCOUNTING + description: >- + The industry of the company. Authorized values can be found in the Industry enum. + nullable: true + number_of_employees: + type: number + example: 10 + description: The number of employees of the company nullable: true - description: The end time of the timesheet entry - employee_id: + user_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user who owns the company nullable: true - description: The UUID of the associated employee - remote_was_deleted: - type: boolean - example: false - description: Indicates if the timesheet entry was deleted in the remote system + email_addresses: + description: The email addresses of the company + example: &ref_71 + - email_address: acme@gmail.com + email_address_type: WORK + nullable: true + type: array + items: + $ref: '#/components/schemas/Email' + addresses: + description: The addresses of the company + example: &ref_72 + - street_1: 5th Avenue + city: New York + state: NY + country: USA + address_type: WORK + nullable: true + type: array + items: + $ref: '#/components/schemas/Address' + phone_numbers: + description: The phone numbers of the company + example: &ref_73 + - phone_number: '+33660606067' + phone_type: WORK + nullable: true + type: array + items: + $ref: '#/components/schemas/Phone' field_mappings: type: object - example: &ref_121 - custom_field_1: value1 - custom_field_2: value2 - nullable: true + example: &ref_74 + fav_dish: broccoli + fav_color: red description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the company between the remote 3rd party & Panora + nullable: true + additionalProperties: true id: type: string + description: The UUID of the company example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the timesheet entry record remote_id: type: string example: id_1 + description: The id of the company in the context of the Crm 3rd Party nullable: true - description: The remote ID of the timesheet entry - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' + remote_data: + type: object + example: + fav_dish: broccoli + fav_color: red + description: The remote data of the company in the context of the Crm 3rd Party nullable: true - description: The date when the timesheet entry was created in the remote system + additionalProperties: true created_at: - format: date-time - type: string + type: object example: '2024-10-01T12:00:00Z' - description: The created date of the timesheet entry + description: The created date of the object + nullable: true modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The last modified date of the timesheet entry - remote_data: type: object - example: - raw_data: - additional_field: some value + example: '2024-10-01T12:00:00Z' + description: The modified date of the object nullable: true - description: >- - The remote data of the timesheet entry in the context of the 3rd Party - UnifiedHrisTimesheetEntryInput: + required: + - name + UnifiedCrmCompanyInput: type: object properties: - hours_worked: - type: number - example: 40 - nullable: true - description: The number of hours worked - start_time: - format: date-time + name: type: string - example: '2024-10-01T08:00:00Z' + example: Acme + description: The name of the company nullable: true - description: The start time of the timesheet entry - end_time: - format: date-time + industry: type: string - example: '2024-10-01T16:00:00Z' + example: ACCOUNTING + description: >- + The industry of the company. Authorized values can be found in the Industry enum. + nullable: true + number_of_employees: + type: number + example: 10 + description: The number of employees of the company nullable: true - description: The end time of the timesheet entry - employee_id: + user_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user who owns the company nullable: true - description: The UUID of the associated employee - remote_was_deleted: - type: boolean - example: false - description: Indicates if the timesheet entry was deleted in the remote system - field_mappings: - type: object - example: *ref_121 + email_addresses: + description: The email addresses of the company + example: *ref_71 nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - UnifiedMarketingautomationActionOutput: - type: object - properties: {} - UnifiedMarketingautomationActionInput: - type: object - properties: {} - UnifiedMarketingautomationAutomationOutput: - type: object - properties: {} - UnifiedMarketingautomationAutomationInput: - type: object - properties: {} - UnifiedMarketingautomationCampaignOutput: - type: object - properties: {} - UnifiedMarketingautomationCampaignInput: - type: object - properties: {} - UnifiedMarketingautomationContactOutput: - type: object - properties: {} - UnifiedMarketingautomationContactInput: - type: object - properties: {} - UnifiedMarketingautomationEmailOutput: - type: object - properties: {} - UnifiedMarketingautomationEventOutput: - type: object - properties: {} - UnifiedMarketingautomationListOutput: - type: object - properties: {} - UnifiedMarketingautomationListInput: - type: object - properties: {} - UnifiedMarketingautomationMessageOutput: - type: object - properties: {} - UnifiedMarketingautomationTemplateOutput: - type: object - properties: {} - UnifiedMarketingautomationTemplateInput: - type: object - properties: {} - UnifiedMarketingautomationUserOutput: - type: object - properties: {} - UnifiedAtsActivityOutput: + type: array + items: + $ref: '#/components/schemas/Email' + addresses: + description: The addresses of the company + example: *ref_72 + nullable: true + type: array + items: + $ref: '#/components/schemas/Address' + phone_numbers: + description: The phone numbers of the company + example: *ref_73 + nullable: true + type: array + items: + $ref: '#/components/schemas/Phone' + field_mappings: + type: object + example: *ref_74 + description: >- + The custom field mappings of the company between the remote 3rd party & Panora + nullable: true + additionalProperties: true + required: + - name + UnifiedCrmContactOutput: type: object properties: - activity_type: + first_name: type: string - example: NOTE + description: The first name of the contact + example: John nullable: true - description: The type of activity. NOTE, EMAIL or OTHER - subject: + last_name: type: string - example: Email subject + description: The last name of the contact + example: Doe nullable: true - description: The subject of the activity - body: - type: string - example: Dear Diana, I love you + email_addresses: nullable: true - description: The body of the activity - visibility: - type: string - example: PUBLIC + description: The email addresses of the contact + example: &ref_75 + - email: john.doe@example.com + type: WORK + type: array + items: + $ref: '#/components/schemas/Email' + phone_numbers: nullable: true - description: The visibility of the activity. ADMIN_ONLY, PUBLIC or PRIVATE - candidate_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The phone numbers of the contact + example: &ref_76 + - phone: '1234567890' + type: WORK + type: array + items: + $ref: '#/components/schemas/Phone' + addresses: nullable: true - description: The UUID of the candidate - remote_created_at: + description: The addresses of the contact + example: &ref_77 + - street: 123 Main St + city: Anytown + state: CA + zip: '12345' + country: USA + type: WORK + type: array + items: + $ref: '#/components/schemas/Address' + user_id: type: string - format: date-time - example: '2024-10-01T12:00:00Z' nullable: true - description: The remote creation date of the activity + description: The UUID of the user who owns the contact + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f field_mappings: type: object - example: &ref_122 + example: &ref_78 fav_dish: broccoli fav_color: red - additionalProperties: true nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the contact between the remote 3rd party & Panora + additionalProperties: true id: type: string + description: The UUID of the contact example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the activity remote_id: type: string example: id_1 nullable: true - description: The remote ID of the activity in the context of the 3rd Party + description: The id of the contact in the context of the Crm 3rd Party remote_data: type: object example: @@ -24900,7 +19101,7 @@ components: fav_color: red nullable: true additionalProperties: true - description: The remote data of the activity in the context of the 3rd Party + description: The remote data of the contact in the context of the Crm 3rd Party created_at: format: date-time type: string @@ -24913,471 +19114,385 @@ components: example: '2024-10-01T12:00:00Z' nullable: true description: The modified date of the object - UnifiedAtsActivityInput: + required: + - first_name + - last_name + UnifiedCrmContactInput: type: object properties: - activity_type: + first_name: type: string - example: NOTE + description: The first name of the contact + example: John nullable: true - description: The type of activity. NOTE, EMAIL or OTHER - subject: + last_name: type: string - example: Email subject + description: The last name of the contact + example: Doe nullable: true - description: The subject of the activity - body: - type: string - example: Dear Diana, I love you + email_addresses: nullable: true - description: The body of the activity - visibility: - type: string - example: PUBLIC + description: The email addresses of the contact + example: *ref_75 + type: array + items: + $ref: '#/components/schemas/Email' + phone_numbers: nullable: true - description: The visibility of the activity. ADMIN_ONLY, PUBLIC or PRIVATE - candidate_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The phone numbers of the contact + example: *ref_76 + type: array + items: + $ref: '#/components/schemas/Phone' + addresses: nullable: true - description: The UUID of the candidate - remote_created_at: + description: The addresses of the contact + example: *ref_77 + type: array + items: + $ref: '#/components/schemas/Address' + user_id: type: string - format: date-time - example: '2024-10-01T12:00:00Z' nullable: true - description: The remote creation date of the activity + description: The UUID of the user who owns the contact + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f field_mappings: type: object - example: *ref_122 - additionalProperties: true + example: *ref_78 nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora - UnifiedAtsApplicationOutput: + The custom field mappings of the contact between the remote 3rd party & Panora + additionalProperties: true + required: + - first_name + - last_name + UnifiedCrmDealOutput: type: object properties: - applied_at: - format: date-time + name: type: string + example: Huge Contract with Acme + description: The name of the deal nullable: true - description: The application date - example: '2024-10-01T12:00:00Z' - rejected_at: - format: date-time + description: type: string + example: Contract with Sales Operations Team + description: The description of the deal nullable: true - description: The rejection date - example: '2024-10-01T12:00:00Z' - offers: - nullable: true - description: The offers UUIDs for the application - example: &ref_123 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - - 12345678-1234-1234-1234-123456789012 - type: array - items: - type: string - source: - type: string + amount: + type: number + example: 1000 + description: The amount of the deal nullable: true - description: The source of the application - example: Source Name - credited_to: + user_id: type: string nullable: true - description: The UUID of the person credited for the application example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - current_stage: + description: The UUID of the user who is on the deal + stage_id: type: string nullable: true - description: The UUID of the current stage of the application example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - reject_reason: - type: string - nullable: true - description: The rejection reason for the application - example: Candidate not experienced enough - candidate_id: + description: The UUID of the stage of the deal + company_id: type: string nullable: true - description: The UUID of the candidate - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - job_id: - type: string - description: The UUID of the job example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the company tied to the deal field_mappings: type: object - example: &ref_124 + nullable: true + example: &ref_79 fav_dish: broccoli fav_color: red - additionalProperties: true - nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the company between the remote 3rd party & Panora + additionalProperties: true id: type: string nullable: true - description: The UUID of the application example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the deal remote_id: type: string nullable: true - description: The remote ID of the application in the context of the 3rd Party example: id_1 + description: The id of the deal in the context of the Crm 3rd Party remote_data: type: object + nullable: true example: fav_dish: broccoli fav_color: red - nullable: true additionalProperties: true - description: The remote data of the application in the context of the 3rd Party + description: The remote data of the deal in the context of the Crm 3rd Party created_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true + example: '2024-10-01T12:00:00Z' description: The created date of the object modified_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true + example: '2024-10-01T12:00:00Z' description: The modified date of the object - remote_created_at: - format: date-time - type: string - nullable: true - description: The remote created date of the object - remote_modified_at: - format: date-time - type: string - nullable: true - description: The remote modified date of the object - UnifiedAtsApplicationInput: + required: + - name + - description + - amount + UnifiedCrmDealInput: type: object properties: - applied_at: - format: date-time + name: type: string + example: Huge Contract with Acme + description: The name of the deal nullable: true - description: The application date - example: '2024-10-01T12:00:00Z' - rejected_at: - format: date-time + description: type: string + example: Contract with Sales Operations Team + description: The description of the deal nullable: true - description: The rejection date - example: '2024-10-01T12:00:00Z' - offers: - nullable: true - description: The offers UUIDs for the application - example: *ref_123 - type: array - items: - type: string - source: - type: string + amount: + type: number + example: 1000 + description: The amount of the deal nullable: true - description: The source of the application - example: Source Name - credited_to: + user_id: type: string nullable: true - description: The UUID of the person credited for the application example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - current_stage: + description: The UUID of the user who is on the deal + stage_id: type: string nullable: true - description: The UUID of the current stage of the application example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - reject_reason: - type: string - nullable: true - description: The rejection reason for the application - example: Candidate not experienced enough - candidate_id: + description: The UUID of the stage of the deal + company_id: type: string nullable: true - description: The UUID of the candidate - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - job_id: - type: string - description: The UUID of the job example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the company tied to the deal field_mappings: type: object - example: *ref_124 - additionalProperties: true nullable: true + example: *ref_79 description: >- - The custom field mappings of the object between the remote 3rd party & Panora - UnifiedAtsAttachmentOutput: + The custom field mappings of the company between the remote 3rd party & Panora + additionalProperties: true + required: + - name + - description + - amount + UnifiedCrmEngagementOutput: type: object properties: - file_url: + content: type: string - example: https://example.com/file.pdf nullable: true - description: The URL of the file - file_name: + example: Meeting call with CTO + description: The content of the engagement + direction: type: string - example: file.pdf nullable: true - description: The name of the file - attachment_type: + example: INBOUND + description: >- + The direction of the engagement. Authorized values are INBOUND or OUTBOUND + subject: type: string - example: RESUME + example: Technical features planning nullable: true - description: The type of the file - remote_created_at: + description: The subject of the engagement + start_at: + format: date-time type: string + nullable: true example: '2024-10-01T12:00:00Z' + description: The start time of the engagement + end_time: format: date-time + type: string nullable: true - description: The remote creation date of the attachment - remote_modified_at: + example: '2024-10-01T22:00:00Z' + description: The end time of the engagement + type: + type: string + nullable: true + example: MEETING + description: >- + The type of the engagement. Authorized values are EMAIL, CALL or MEETING + user_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time nullable: true - description: The remote modification date of the attachment - candidate_id: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user tied to the engagement + company_id: type: string + nullable: true example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the company tied to the engagement + contacts: nullable: true - description: The UUID of the candidate + example: &ref_80 + - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUIDs of contacts tied to the engagement object + type: array + items: + type: string field_mappings: type: object - example: &ref_125 + nullable: true + example: &ref_81 fav_dish: broccoli fav_color: red - additionalProperties: true - nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the engagement between the remote 3rd party & Panora + additionalProperties: true id: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the attachment + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the engagement remote_id: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The remote ID of the attachment + example: id_1 + description: The id of the engagement in the context of the Crm 3rd Party remote_data: type: object example: fav_dish: broccoli fav_color: red - nullable: true additionalProperties: true - description: The remote data of the attachment in the context of the 3rd Party + nullable: true + description: >- + The remote data of the engagement in the context of the Crm 3rd Party created_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true + example: '2024-10-01T12:00:00Z' description: The created date of the object modified_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true + example: '2024-10-01T12:00:00Z' description: The modified date of the object - UnifiedAtsAttachmentInput: + required: + - type + UnifiedCrmEngagementInput: type: object properties: - file_url: + content: type: string - example: https://example.com/file.pdf nullable: true - description: The URL of the file - file_name: + example: Meeting call with CTO + description: The content of the engagement + direction: type: string - example: file.pdf nullable: true - description: The name of the file - attachment_type: + example: INBOUND + description: >- + The direction of the engagement. Authorized values are INBOUND or OUTBOUND + subject: type: string - example: RESUME + example: Technical features planning nullable: true - description: The type of the file - remote_created_at: + description: The subject of the engagement + start_at: + format: date-time type: string + nullable: true example: '2024-10-01T12:00:00Z' + description: The start time of the engagement + end_time: format: date-time + type: string nullable: true - description: The remote creation date of the attachment - remote_modified_at: + example: '2024-10-01T22:00:00Z' + description: The end time of the engagement + type: + type: string + nullable: true + example: MEETING + description: >- + The type of the engagement. Authorized values are EMAIL, CALL or MEETING + user_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time nullable: true - description: The remote modification date of the attachment - candidate_id: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user tied to the engagement + company_id: type: string + nullable: true example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the company tied to the engagement + contacts: nullable: true - description: The UUID of the candidate + example: *ref_80 + description: The UUIDs of contacts tied to the engagement object + type: array + items: + type: string field_mappings: type: object - example: *ref_125 - additionalProperties: true nullable: true + example: *ref_81 description: >- - The custom field mappings of the object between the remote 3rd party & Panora - Url: - type: object - properties: - url: - type: string - nullable: true - description: The url. - url_type: - type: string - nullable: true - description: The url type. It takes [WEBSITE | BLOG | LINKEDIN | GITHUB | OTHER] + The custom field mappings of the engagement between the remote 3rd party & Panora + additionalProperties: true required: - - url - - url_type - UnifiedAtsCandidateOutput: + - type + UnifiedCrmNoteOutput: type: object properties: - first_name: - type: string - example: Joe - nullable: true - description: The first name of the candidate - last_name: - type: string - example: Doe - nullable: true - description: The last name of the candidate - company: - type: string - example: Acme - nullable: true - description: The company of the candidate - title: + content: type: string - example: Analyst + example: My notes taken during the meeting + description: The content of the note nullable: true - description: The title of the candidate - locations: + user_id: type: string - example: New York - nullable: true - description: The locations of the candidate - is_private: - type: boolean - example: false - nullable: true - description: Whether the candidate is private - email_reachable: - type: boolean - example: true + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user tied to the note nullable: true - description: Whether the candidate is reachable by email - remote_created_at: + company_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The remote creation date of the candidate - remote_modified_at: + description: The UUID of the company tied to the note + contact_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the contact tied to the note nullable: true - description: The remote modification date of the candidate - last_interaction_at: + deal_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time - nullable: true - description: The last interaction date with the candidate - attachments: - type: array - items: &ref_126 - oneOf: - - type: string - - $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' - example: &ref_127 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The attachments UUIDs of the candidate - applications: - type: array - items: &ref_128 - oneOf: - - type: string - - $ref: '#/components/schemas/UnifiedAtsApplicationOutput' - example: &ref_129 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The applications UUIDs of the candidate - tags: - type: array - items: &ref_130 - oneOf: - - type: string - - $ref: '#/components/schemas/UnifiedAtsTagOutput' - example: &ref_131 - - tag_1 - - tag_2 - nullable: true - description: The tags of the candidate - urls: - example: &ref_132 - - url: mywebsite.com - url_type: WEBSITE - nullable: true - description: >- - The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER - type: array - items: - $ref: '#/components/schemas/Url' - phone_numbers: - example: &ref_133 - - phone_number: '+33660688899' - phone_type: WORK - nullable: true - description: The phone numbers of the candidate - type: array - items: - $ref: '#/components/schemas/Phone' - email_addresses: - example: &ref_134 - - email_address: joedoe@gmail.com - email_address_type: WORK + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The email addresses of the candidate - type: array - items: - $ref: '#/components/schemas/Email' + description: The UUID of the deal tied to the note field_mappings: type: object - example: &ref_135 + example: &ref_82 fav_dish: broccoli fav_color: red - additionalProperties: true nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the note between the remote 3rd party & Panora + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the candidate + description: The UUID of the note remote_id: type: string example: id_1 + description: The ID of the note in the context of the Crm 3rd Party nullable: true - description: The id of the candidate in the context of the 3rd Party remote_data: type: object example: @@ -25385,7 +19500,7 @@ components: fav_color: red nullable: true additionalProperties: true - description: The remote data of the candidate in the context of the 3rd Party + description: The remote data of the note in the context of the Crm 3rd Party created_at: format: date-time type: string @@ -25398,608 +19513,498 @@ components: example: '2024-10-01T12:00:00Z' nullable: true description: The modified date of the object - UnifiedAtsCandidateInput: + required: + - content + UnifiedCrmNoteInput: type: object properties: - first_name: - type: string - example: Joe - nullable: true - description: The first name of the candidate - last_name: - type: string - example: Doe - nullable: true - description: The last name of the candidate - company: - type: string - example: Acme - nullable: true - description: The company of the candidate - title: + content: type: string - example: Analyst + example: My notes taken during the meeting + description: The content of the note nullable: true - description: The title of the candidate - locations: + user_id: type: string - example: New York - nullable: true - description: The locations of the candidate - is_private: - type: boolean - example: false - nullable: true - description: Whether the candidate is private - email_reachable: - type: boolean - example: true + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user tied to the note nullable: true - description: Whether the candidate is reachable by email - remote_created_at: + company_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The remote creation date of the candidate - remote_modified_at: + description: The UUID of the company tied to the note + contact_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the contact tied to the note nullable: true - description: The remote modification date of the candidate - last_interaction_at: + deal_id: type: string - example: '2024-10-01T12:00:00Z' - format: date-time - nullable: true - description: The last interaction date with the candidate - attachments: - type: array - items: *ref_126 - example: *ref_127 - nullable: true - description: The attachments UUIDs of the candidate - applications: - type: array - items: *ref_128 - example: *ref_129 - nullable: true - description: The applications UUIDs of the candidate - tags: - type: array - items: *ref_130 - example: *ref_131 - nullable: true - description: The tags of the candidate - urls: - example: *ref_132 - nullable: true - description: >- - The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER - type: array - items: - $ref: '#/components/schemas/Url' - phone_numbers: - example: *ref_133 - nullable: true - description: The phone numbers of the candidate - type: array - items: - $ref: '#/components/schemas/Phone' - email_addresses: - example: *ref_134 + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The email addresses of the candidate - type: array - items: - $ref: '#/components/schemas/Email' + description: The UUID of the deal tied to the note field_mappings: type: object - example: *ref_135 - additionalProperties: true + example: *ref_82 nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora - UnifiedAtsDepartmentOutput: + The custom field mappings of the note between the remote 3rd party & Panora + additionalProperties: true + required: + - content + UnifiedCrmStageOutput: type: object properties: - name: + stage_name: type: string - example: Sales + example: Qualified + description: The name of the stage nullable: true - description: The name of the department field_mappings: type: object example: fav_dish: broccoli fav_color: red - additionalProperties: true - nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the stage between the remote 3rd party & Panora + nullable: true + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the stage nullable: true - description: The UUID of the department remote_id: type: string example: id_1 + description: The ID of the stage in the context of the Crm 3rd Party nullable: true - description: The remote ID of the department in the context of the 3rd Party remote_data: type: object example: - key1: value1 - key2: 42 - key3: true + fav_dish: broccoli + fav_color: red + description: The remote data of the stage in the context of the Crm 3rd Party nullable: true additionalProperties: true - description: The remote data of the department in the context of the 3rd Party created_at: - format: date-time - type: string + type: object example: '2024-10-01T12:00:00Z' - nullable: true description: The created date of the object - modified_at: - format: date-time - type: string - example: '2023-10-01T12:00:00Z' nullable: true + modified_at: + type: object + example: '2024-10-01T12:00:00Z' description: The modified date of the object - UnifiedAtsInterviewOutput: + nullable: true + required: + - stage_name + UnifiedCrmTaskOutput: type: object properties: - status: - type: string - example: SCHEDULED - nullable: true - description: The status of the interview - application_id: + subject: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: Answer customers + description: The subject of the task nullable: true - description: The UUID of the application - job_interview_stage_id: + content: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: Prepare email campaign + description: The content of the task nullable: true - description: The UUID of the job interview stage - organized_by: + status: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the organizer - interviewers: - example: &ref_136 - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: PENDING + description: The status of the task. Authorized values are PENDING, COMPLETED. nullable: true - description: The UUIDs of the interviewers - type: array - items: - type: string - location: + due_date: type: string - example: San Francisco + example: '2024-10-01T12:00:00Z' + description: The due date of the task nullable: true - description: The location of the interview - start_at: - format: date-time + finished_date: type: string example: '2024-10-01T12:00:00Z' + description: The finished date of the task nullable: true - description: The start date and time of the interview - end_at: - format: date-time + user_id: type: string - example: '2024-10-01T12:00:00Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user tied to the task nullable: true - description: The end date and time of the interview - remote_created_at: - format: date-time + company_id: type: string - example: '2024-10-01T12:00:00Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the company tied to the task nullable: true - description: The remote creation date of the interview - remote_updated_at: - format: date-time + deal_id: type: string - example: '2024-10-01T12:00:00Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the deal tied to the task nullable: true - description: The remote modification date of the interview field_mappings: type: object - example: &ref_137 + example: &ref_83 fav_dish: broccoli fav_color: red - additionalProperties: true - nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the task between the remote 3rd party & Panora + nullable: true + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the task nullable: true - description: The UUID of the interview remote_id: type: string example: id_1 + description: The ID of the task in the context of the Crm 3rd Party nullable: true - description: The remote ID of the interview in the context of the 3rd Party remote_data: type: object example: - fav_dish: broccoli - fav_color: red + key1: value1 + key2: 42 + key3: true + description: The remote data of the task in the context of the Crm 3rd Party nullable: true additionalProperties: true - description: The remote data of the interview in the context of the 3rd Party created_at: format: date-time type: string example: '2024-10-01T12:00:00Z' - nullable: true description: The created date of the object + nullable: true modified_at: format: date-time type: string example: '2024-10-01T12:00:00Z' - nullable: true description: The modified date of the object - UnifiedAtsInterviewInput: + nullable: true + required: + - subject + - content + - status + UnifiedCrmTaskInput: type: object properties: - status: - type: string - example: SCHEDULED - nullable: true - description: The status of the interview - application_id: + subject: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: Answer customers + description: The subject of the task nullable: true - description: The UUID of the application - job_interview_stage_id: + content: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: Prepare email campaign + description: The content of the task nullable: true - description: The UUID of the job interview stage - organized_by: + status: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the organizer - interviewers: - example: *ref_136 + example: PENDING + description: The status of the task. Authorized values are PENDING, COMPLETED. nullable: true - description: The UUIDs of the interviewers - type: array - items: - type: string - location: + due_date: type: string - example: San Francisco + example: '2024-10-01T12:00:00Z' + description: The due date of the task nullable: true - description: The location of the interview - start_at: - format: date-time + finished_date: type: string example: '2024-10-01T12:00:00Z' + description: The finished date of the task nullable: true - description: The start date and time of the interview - end_at: - format: date-time + user_id: type: string - example: '2024-10-01T12:00:00Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user tied to the task nullable: true - description: The end date and time of the interview - remote_created_at: - format: date-time + company_id: type: string - example: '2024-10-01T12:00:00Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the company tied to the task nullable: true - description: The remote creation date of the interview - remote_updated_at: - format: date-time + deal_id: type: string - example: '2024-10-01T12:00:00Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the deal tied to the task nullable: true - description: The remote modification date of the interview field_mappings: type: object - example: *ref_137 - additionalProperties: true - nullable: true + example: *ref_83 description: >- - The custom field mappings of the object between the remote 3rd party & Panora - UnifiedAtsJobinterviewstageOutput: + The custom field mappings of the task between the remote 3rd party & Panora + nullable: true + additionalProperties: true + required: + - subject + - content + - status + UnifiedCrmUserOutput: type: object properties: name: type: string - example: Second Call - nullable: true - description: The name of the job interview stage - stage_order: - type: number - example: 1 + example: Jane Doe + description: The name of the user nullable: true - description: The order of the stage - job_id: + email: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: jane.doe@example.com + description: The email of the user nullable: true - description: The UUID of the job field_mappings: type: object example: fav_dish: broccoli fav_color: red - additionalProperties: true - nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the user between the remote 3rd party & Panora + nullable: true + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the user nullable: true - description: The UUID of the job interview stage remote_id: type: string example: id_1 + description: The id of the user in the context of the Crm 3rd Party nullable: true - description: >- - The remote ID of the job interview stage in the context of the 3rd Party remote_data: type: object example: fav_dish: broccoli fav_color: red + description: The remote data of the user in the context of the Crm 3rd Party nullable: true additionalProperties: true - description: >- - The remote data of the job interview stage in the context of the 3rd Party created_at: format: date-time type: string example: '2024-10-01T12:00:00Z' - nullable: true description: The created date of the object + nullable: true modified_at: format: date-time type: string example: '2024-10-01T12:00:00Z' - nullable: true description: The modified date of the object - UnifiedAtsJobOutput: + nullable: true + required: + - name + - email + UnifiedTicketingCollectionOutput: type: object properties: name: type: string - example: Financial Analyst + example: My Personal Collection nullable: true - description: The name of the job + description: The name of the collection description: type: string - example: Extract financial data and write detailed investment thesis + example: Collect issues nullable: true - description: The description of the job - code: + description: The description of the collection + collection_type: type: string - example: JOB123 + example: PROJECT nullable: true - description: The code of the job - status: + description: "The type of the collection. Authorized values are either PROJECT or LIST " + id: type: string - example: OPEN + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The status of the job - type: + description: The UUID of the collection + remote_id: type: string - example: POSTING - nullable: true - description: The type of the job - confidential: - type: boolean - example: true + example: id_1 nullable: true - description: Whether the job is confidential - departments: + description: The id of the collection in the context of the 3rd Party + remote_data: + type: object example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + fav_dish: broccoli + fav_color: red nullable: true - description: The departments UUIDs associated with the job - type: array - items: - type: string - offices: - example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + additionalProperties: true + description: The remote data of the collection in the context of the 3rd Party + created_at: + format: date-time + type: string + example: '2024-10-01T12:00:00Z' nullable: true - description: The offices UUIDs associated with the job - type: array - items: - type: string - managers: - example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The created date of the object + modified_at: + format: date-time + type: string + example: '2024-10-01T12:00:00Z' nullable: true - description: The managers UUIDs associated with the job - type: array - items: - type: string - recruiters: - example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The modified date of the object + required: + - name + UnifiedTicketingCommentOutput: + type: object + properties: + body: + type: string nullable: true - description: The recruiters UUIDs associated with the job - type: array - items: - type: string - remote_created_at: + example: Assigned to Eric ! + description: The body of the comment + html_body: type: string - example: '2024-10-01T12:00:00Z' - format: date-time nullable: true - description: The remote creation date of the job - remote_updated_at: + example:

Assigned to Eric !

+ description: The html body of the comment + is_private: + type: boolean + nullable: true + example: false + description: The public status of the comment + creator_type: type: string - example: '2024-10-01T12:00:00Z' - format: date-time nullable: true - description: The remote modification date of the job - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - additionalProperties: true + example: USER + description: >- + The creator type of the comment. Authorized values are either USER or CONTACT + ticket_id: + type: string + nullable: true + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the ticket the comment is tied to + contact_id: + type: string + nullable: true + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: >- + The UUID of the contact which the comment belongs to (if no user_id specified) + user_id: + type: string nullable: true + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The UUID of the user which the comment belongs to (if no contact_id specified) + attachments: + type: array + items: *ref_84 + nullable: true + example: *ref_85 + description: The attachements UUIDs tied to the comment id: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the job + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the comment remote_id: type: string - example: id_1 nullable: true - description: The remote ID of the job in the context of the 3rd Party + example: id_1 + description: The id of the comment in the context of the 3rd Party remote_data: type: object - example: - key1: value1 - key2: 42 - key3: true nullable: true + example: + fav_dish: broccoli + fav_color: red additionalProperties: true - description: The remote data of the job in the context of the 3rd Party + description: The remote data of the comment in the context of the 3rd Party created_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true + example: '2024-10-01T12:00:00Z' description: The created date of the object modified_at: format: date-time type: string - example: '2023-10-01T12:00:00Z' nullable: true + example: '2024-10-01T12:00:00Z' description: The modified date of the object - UnifiedAtsOfferOutput: + required: + - body + UnifiedTicketingTagOutput: type: object properties: - created_by: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the creator - nullable: true - remote_created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The remote creation date of the offer - nullable: true - closed_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The closing date of the offer - nullable: true - sent_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The sending date of the offer - nullable: true - start_date: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The start date of the offer - nullable: true - status: - type: string - example: DRAFT - description: The status of the offer - nullable: true - application_id: + name: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the application + example: urgent_tag nullable: true + description: The name of the tag field_mappings: type: object example: fav_dish: broccoli fav_color: red - description: >- - The custom field mappings of the object between the remote 3rd party & Panora nullable: true + description: >- + The custom field mappings of the tag between the remote 3rd party & Panora additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the offer nullable: true + description: The UUID of the tag remote_id: type: string example: id_1 - description: The remote ID of the offer in the context of the 3rd Party + description: The remote ID of the tag in the context of the 3rd Party nullable: true remote_data: type: object example: fav_dish: broccoli fav_color: red - description: The remote data of the offer in the context of the 3rd Party nullable: true additionalProperties: true + description: The remote data of the tag in the context of the 3rd Party created_at: - type: object + format: date-time + type: string example: '2024-10-01T12:00:00Z' - description: The created date of the object + description: The created date of the tag nullable: true modified_at: - type: object + format: date-time + type: string example: '2024-10-01T12:00:00Z' - description: The modified date of the object + description: The modified date of the tag nullable: true - UnifiedAtsOfficeOutput: + required: + - name + UnifiedTicketingTeamOutput: type: object properties: name: type: string - example: Condo Office 5th + example: My team nullable: true - description: The name of the office - location: + description: The name of the team + description: type: string - example: New York + example: Internal members nullable: true - description: The location of the office + description: The description of the team field_mappings: type: object example: fav_dish: broccoli fav_color: red - additionalProperties: true nullable: true description: >- - The custom field mappings of the object between the remote 3rd party & Panora + The custom field mappings of the team between the remote 3rd party & Panora + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the office + nullable: true + description: The UUID of the team remote_id: type: string example: id_1 nullable: true - description: The remote ID of the office in the context of the 3rd Party + description: The id of the team in the context of the 3rd Party remote_data: type: object example: @@ -26007,7 +20012,7 @@ components: fav_color: red nullable: true additionalProperties: true - description: The remote data of the office in the context of the 3rd Party + description: The remote data of the team in the context of the 3rd Party created_at: format: date-time type: string @@ -26020,325 +20025,547 @@ components: example: '2024-10-01T12:00:00Z' nullable: true description: The modified date of the object - UnifiedAtsRejectreasonOutput: + required: + - name + LinkedUserResponse: type: object properties: - name: + id_linked_user: type: string - example: Candidate inexperienced + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The name of the reject reason - field_mappings: - type: object + linked_user_origin_id: + type: string + example: id_1 + nullable: true + alias: + type: string + example: acme + nullable: true + id_project: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + required: + - id_linked_user + - linked_user_origin_id + - alias + - id_project + CreateLinkedUserDto: + type: object + properties: + linked_user_origin_id: + type: string + description: The id of the user in the context of your own software + example: id_1 + alias: + type: string + nullable: true + description: Your company alias + example: acme + required: + - linked_user_origin_id + - alias + CreateBatchLinkedUserDto: + type: object + properties: + linked_user_origin_ids: + nullable: true + description: The ids of the users in the context of your own software example: - fav_dish: broccoli - fav_color: red - additionalProperties: true + - id_1 + type: array + items: + type: string + alias: + type: string + nullable: true + description: Your company alias + example: acme + required: + - linked_user_origin_ids + - alias + ProjectResponse: + type: object + properties: + id_project: + type: string + example: 123e4567-e89b-12d3-a456-426614174000 + description: Unique identifier for the project + name: + type: string + example: My Project + description: Name of the project + sync_mode: + type: string + example: automatic + description: Synchronization mode of the project + pull_frequency: + type: number + example: 3600 + description: Frequency of pulling data in seconds + redirect_url: + type: string + example: https://example.com/redirect + description: Redirect URL for the project + id_user: + type: string + example: 123e4567-e89b-12d3-a456-426614174001 + description: User ID associated with the project + id_connector_set: + type: string + example: 123e4567-e89b-12d3-a456-426614174002 + description: Connector set ID associated with the project + required: + - id_project + - name + - sync_mode + - pull_frequency + - redirect_url + - id_user + - id_connector_set + CreateProjectDto: + type: object + properties: + name: + type: string + example: Project Name + description: The name of the project + id_organization: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The organization ID + id_user: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The user ID + required: + - name + - id_user + CustomFieldResponse: + type: object + properties: + id_attribute: + type: string + nullable: true + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: Attribute Id + status: + type: string + nullable: true + example: '' + description: Attribute Status + ressource_owner_type: + type: string + example: '' + nullable: true + description: Attribute Ressource Owner Type + slug: + type: string + nullable: true + example: fav_dish + description: Attribute Slug + description: + type: string + nullable: true + example: My favorite dish + description: Attribute Description + data_type: + type: string + nullable: true + example: string + enum: + - string + - number + description: Attribute Data Type + remote_id: + type: string + nullable: true + example: id_1 + description: Attribute Remote Id + source: + type: string + nullable: true + example: hubspot + description: Attribute Source + id_entity: + type: string nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: Attribute Entity Id + id_project: type: string nullable: true - description: The UUID of the reject reason example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - remote_id: + description: Attribute Project Id + scope: type: string nullable: true - description: The remote ID of the reject reason in the context of the 3rd Party - example: id_1 - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red + example: '' + description: Attribute Scope + id_consumer: + type: string nullable: true - additionalProperties: true - description: The remote data of the reject reason in the context of the 3rd Party + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: Attribute Consumer Id created_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The created date of the object + example: '2024-10-01T12:00:00Z' + description: Attribute Created Date modified_at: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The modified date of the object - UnifiedAtsScorecardOutput: + example: '2024-10-01T12:00:00Z' + description: Attribute Modified Date + required: + - id_attribute + - status + - ressource_owner_type + - slug + - description + - data_type + - remote_id + - source + - id_entity + - id_project + - scope + - id_consumer + - created_at + - modified_at + DefineTargetFieldDto: type: object properties: - overall_recommendation: + object_type_owner: type: string - example: 'YES' + example: company + enum: + - company + - contact + - deal + - lead + - note + - task + - engagement + - stage + - user nullable: true - description: The overall recommendation - application_id: + name: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the application - interview_id: + example: fav_dish + description: The name of the target field + description: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the interview - remote_created_at: + example: My favorite dish + description: The description of the target field + data_type: type: string - example: '2024-10-01T12:00:00Z' - format: date-time nullable: true - description: The remote creation date of the scorecard - submitted_at: + example: string + enum: + - string + - number + description: The data type of the target field + required: + - object_type_owner + - name + - description + - data_type + CustomFieldCreateDto: + type: object + properties: + object_type_owner: type: string - example: '2024-10-01T12:00:00Z' - format: date-time + example: company + enum: + - company + - contact + - deal + - lead + - note + - task + - engagement + - stage + - user nullable: true - description: The submission date of the scorecard - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - additionalProperties: true + name: + type: string nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + example: my_favorite_dish + description: The name of the custom field + description: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the scorecard - remote_id: + nullable: true + example: Favorite Dish + description: The description of the custom field + data_type: type: string - example: id_1 + example: string nullable: true - description: The remote ID of the scorecard in the context of the 3rd Party - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red + enum: + - string + - number + description: The data type of the custom field + source_custom_field_id: + type: string nullable: true - additionalProperties: true - description: The remote data of the scorecard in the context of the 3rd Party - created_at: - format: date-time + example: id_1 + description: The source custom field ID + source_provider: type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The created date of the object - modified_at: - format: date-time + example: hubspot + description: The name of the source software/provider + linked_user_id: type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The modified date of the object - UnifiedAtsTagOutput: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The linked user ID + required: + - object_type_owner + - name + - description + - data_type + - source_custom_field_id + - source_provider + - linked_user_id + MapFieldToProviderDto: type: object properties: - name: + attributeId: type: string - example: Important nullable: true - description: The name of the tag - id_ats_candidate: - type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the candidate - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - additionalProperties: true - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + description: The attribute ID + source_custom_field_id: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true - description: The UUID of the tag - remote_id: - type: string example: id_1 - nullable: true - description: The remote ID of the tag in the context of the 3rd Party - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true - additionalProperties: true - description: The remote data of the tag in the context of the 3rd Party - created_at: - format: date-time + description: The source custom field ID + source_provider: type: string nullable: true - example: '2024-10-01T12:00:00Z' - description: The creation date of the tag - modified_at: - format: date-time + example: hubspot + description: The source provider + linked_user_id: type: string nullable: true - example: '2024-10-01T12:00:00Z' - description: The modification date of the tag - UnifiedAtsUserOutput: + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The linked user ID + required: + - attributeId + - source_custom_field_id + - source_provider + - linked_user_id + EventResponse: type: object properties: - first_name: + id_event: type: string - example: John - description: The first name of the user - nullable: true - last_name: + example: 123e4567-e89b-12d3-a456-426614174000 + description: Unique identifier for the event + id_connection: type: string - example: Doe - description: The last name of the user - nullable: true - email: + example: 123e4567-e89b-12d3-a456-426614174001 + description: Connection ID associated with the event + id_project: type: string - example: john.doe@example.com - description: The email of the user - nullable: true - disabled: - type: boolean - example: false - description: Whether the user is disabled - nullable: true - access_role: + example: 123e4567-e89b-12d3-a456-426614174002 + description: Project ID associated with the event + type: + type: string + example: connection.created + enum: + - crm.contact.created + - crm.contact.pulled + - crm.company.created + - crm.company.pulled + - crm.deal.created + - crm.deal.pulled + - crm.engagement.created + - crm.engagement.pulled + - crm.note.created + - crm.note.pulled + - crm.stage.pulled + - crm.task.pulled + - crm.task.created + - crm.user.pulled + - ticketing.ticket.created + - ticketing.ticket.pulled + - ticketing.comment.created + - ticketing.comment.pulled + - ticketing.attachment.created + - ticketing.attachment.pulled + - ticketing.collection.pulled + - ticketing.account.pulled + - ticketing.contact.pulled + - ticketing.tag.pulled + - ticketing.team.pulled + - ticketing.user.pulled + - ats.activity.created + - ats.activity.pulled + - ats.application.created + - ats.application.pulled + - ats.attachment.created + - ats.attachment.pulled + - ats.candidate.created + - ats.candidate.pulled + - ats.department.pulled + - ats.eecos.pulled + - ats.interview.created + - ats.interview.pulled + - ats.job.pulled + - ats.jobinterviewstage.pulled + - ats.offer.created + - ats.office.pulled + - ats.rejectreason.pulled + - ats.scorecard.pulled + - ats.tag.pulled + - ats.user.pulled + - filestorage.file.created + - filestorage.file.pulled + - filestorage.folder.created + - filestorage.folder.pulled + - filestorage.group.pulled + - filestorage.user.pulled + - filestorage.drive.pulled + - filestorage.permission.pulled + - filestorage.sharedlink.pulled + - connection.created + description: Scope of the event + status: type: string - example: ADMIN - description: The access role of the user - nullable: true - remote_created_at: - format: date-time + example: success + enum: + - success + - fail + description: Status of the event + direction: type: string - example: '2024-10-01T12:00:00Z' - description: The remote creation date of the user - nullable: true - remote_modified_at: - format: date-time + example: '0' + description: Direction of the event + method: type: string - example: '2024-10-01T12:00:00Z' - description: The remote modification date of the user - nullable: true - field_mappings: - type: object - example: - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - nullable: true - additionalProperties: true - id: + example: POST + enum: + - GET + - POST + - PUT + - DELETE + description: HTTP method used for the event + url: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the user - nullable: true - remote_id: + example: /crm/companies + description: URL associated with the event + provider: type: string - example: id_1 - description: The remote ID of the user in the context of the 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - description: The remote data of the user in the context of the 3rd Party - nullable: true - additionalProperties: true - created_at: + example: hubspot + description: Provider associated with the event + timestamp: format: date-time type: string example: '2024-10-01T12:00:00Z' - description: The created date of the object - nullable: true - modified_at: - format: date-time + description: Timestamp of the event + id_linked_user: type: string - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - nullable: true - UnifiedAtsEeocsOutput: + example: 123e4567-e89b-12d3-a456-426614174003 + description: Linked user ID associated with the event + required: + - id_event + - id_connection + - id_project + - type + - status + - direction + - method + - url + - provider + - timestamp + - id_linked_user + PassThroughRequestDto: type: object properties: - candidate_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the candidate - submitted_at: - type: string - example: '2024-10-01T12:00:00Z' - format: date-time - nullable: true - description: The submission date of the EEOC - race: - type: string - example: AMERICAN_INDIAN_OR_ALASKAN_NATIVE - nullable: true - description: The race of the candidate - gender: - type: string - example: MALE - nullable: true - description: The gender of the candidate - veteran_status: + method: type: string - example: I_AM_NOT_A_PROTECTED_VETERAN - nullable: true - description: The veteran status of the candidate - disability_status: + enum: + - GET + - POST + path: type: string - example: YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY nullable: true - description: The disability status of the candidate - field_mappings: + data: type: object - example: - fav_dish: broccoli - fav_color: red - additionalProperties: true - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - nullable: true - description: The UUID of the EEOC - remote_id: - type: string - example: id_1 + request_format: + oneOf: + - type: object + additionalProperties: true + - type: array + items: + type: object + additionalProperties: true nullable: true - description: The remote ID of the EEOC in the context of the 3rd Party - remote_data: + overrideBaseUrl: type: object - example: - fav_dish: broccoli - fav_color: red - nullable: true additionalProperties: true - description: The remote data of the EEOC in the context of the 3rd Party - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - nullable: true - description: The created date of the object - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' nullable: true - description: The modified date of the object + required: + - method + - path + - data + - request_format + - overrideBaseUrl + UnifiedMarketingautomationActionOutput: + type: object + properties: {} + UnifiedMarketingautomationActionInput: + type: object + properties: {} + UnifiedMarketingautomationAutomationOutput: + type: object + properties: {} + UnifiedMarketingautomationAutomationInput: + type: object + properties: {} + UnifiedMarketingautomationCampaignOutput: + type: object + properties: {} + UnifiedMarketingautomationCampaignInput: + type: object + properties: {} + UnifiedMarketingautomationContactOutput: + type: object + properties: {} + UnifiedMarketingautomationContactInput: + type: object + properties: {} + UnifiedMarketingautomationEmailOutput: + type: object + properties: {} + UnifiedMarketingautomationEventOutput: + type: object + properties: {} + UnifiedMarketingautomationListOutput: + type: object + properties: {} + UnifiedMarketingautomationListInput: + type: object + properties: {} + UnifiedMarketingautomationMessageOutput: + type: object + properties: {} + UnifiedMarketingautomationTemplateOutput: + type: object + properties: {} + UnifiedMarketingautomationTemplateInput: + type: object + properties: {} + UnifiedMarketingautomationUserOutput: + type: object + properties: {} UnifiedAccountingAccountOutput: type: object properties: @@ -26394,7 +20621,7 @@ components: description: The UUID of the associated company info field_mappings: type: object - example: &ref_138 + example: &ref_86 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -26484,7 +20711,7 @@ components: description: The UUID of the associated company info field_mappings: type: object - example: *ref_138 + example: *ref_86 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -26598,7 +20825,7 @@ components: description: The UUID of the associated account field_mappings: type: object - example: &ref_139 + example: &ref_87 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -26653,7 +20880,7 @@ components: description: The UUID of the associated account field_mappings: type: object - example: *ref_139 + example: *ref_87 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -27046,7 +21273,7 @@ components: description: The UUID of the associated company info field_mappings: type: object - example: &ref_140 + example: &ref_88 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -27131,7 +21358,7 @@ components: description: The UUID of the associated company info field_mappings: type: object - example: *ref_140 + example: *ref_88 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -27319,7 +21546,7 @@ components: nullable: true description: The UUID of the associated company info tracking_categories: - example: &ref_141 + example: &ref_89 - 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: The UUIDs of the tracking categories associated with the expense @@ -27333,7 +21560,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: &ref_142 + example: &ref_90 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -27429,7 +21656,7 @@ components: nullable: true description: The UUID of the associated company info tracking_categories: - example: *ref_141 + example: *ref_89 nullable: true description: The UUIDs of the tracking categories associated with the expense type: array @@ -27442,7 +21669,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: *ref_142 + example: *ref_90 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -27612,7 +21839,7 @@ components: nullable: true description: The UUID of the associated accounting period tracking_categories: - example: &ref_143 + example: &ref_91 - 801f9ede-c698-4e66-a7fc-48d19eebaa4f - 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true @@ -27627,7 +21854,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: &ref_144 + example: &ref_92 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -27755,7 +21982,7 @@ components: nullable: true description: The UUID of the associated accounting period tracking_categories: - example: *ref_143 + example: *ref_91 nullable: true description: The UUIDs of the tracking categories associated with the invoice type: array @@ -27768,7 +21995,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: *ref_144 + example: *ref_92 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -27863,7 +22090,7 @@ components: nullable: true description: The date of the transaction payments: - example: &ref_145 + example: &ref_93 - payment1 - payment2 nullable: true @@ -27872,7 +22099,7 @@ components: items: type: string applied_payments: - example: &ref_146 + example: &ref_94 - appliedPayment1 - appliedPayment2 nullable: true @@ -27906,7 +22133,7 @@ components: nullable: true description: The journal number tracking_categories: - example: &ref_147 + example: &ref_95 - 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: >- @@ -27931,7 +22158,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: &ref_148 + example: &ref_96 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -27989,14 +22216,14 @@ components: nullable: true description: The date of the transaction payments: - example: *ref_145 + example: *ref_93 nullable: true description: The payments associated with the journal entry type: array items: type: string applied_payments: - example: *ref_146 + example: *ref_94 nullable: true description: The applied payments for the journal entry type: array @@ -28028,7 +22255,7 @@ components: nullable: true description: The journal number tracking_categories: - example: *ref_147 + example: *ref_95 nullable: true description: >- The UUIDs of the tracking categories associated with the journal entry @@ -28052,7 +22279,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: *ref_148 + example: *ref_96 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -28111,7 +22338,7 @@ components: nullable: true description: The UUID of the associated accounting period tracking_categories: - example: &ref_149 + example: &ref_97 - 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: The UUIDs of the tracking categories associated with the payment @@ -28125,7 +22352,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: &ref_150 + example: &ref_98 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -28221,7 +22448,7 @@ components: nullable: true description: The UUID of the associated accounting period tracking_categories: - example: *ref_149 + example: *ref_97 nullable: true description: The UUIDs of the tracking categories associated with the payment type: array @@ -28234,7 +22461,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: *ref_150 + example: *ref_98 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -28364,7 +22591,7 @@ components: nullable: true description: The exchange rate applied to the purchase order tracking_categories: - example: &ref_151 + example: &ref_99 - 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: >- @@ -28384,7 +22611,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: &ref_152 + example: &ref_100 custom_field_1: value1 custom_field_2: value2 nullable: true @@ -28499,7 +22726,7 @@ components: nullable: true description: The exchange rate applied to the purchase order tracking_categories: - example: *ref_151 + example: *ref_99 nullable: true description: >- The UUIDs of the tracking categories associated with the purchase order @@ -28518,7 +22745,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: *ref_152 + example: *ref_100 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -28901,7 +23128,7 @@ components: description: The UUID of the permission tied to the folder field_mappings: type: object - example: &ref_153 + example: &ref_101 fav_dish: broccoli fav_color: red additionalProperties: true @@ -28991,7 +23218,7 @@ components: description: The UUID of the permission tied to the folder field_mappings: type: object - example: *ref_153 + example: *ref_101 additionalProperties: true nullable: true description: >- @@ -29154,7 +23381,7 @@ components: nullable: true description: The status of the product. Either ACTIVE, DRAFT OR ARCHIVED. images_urls: - example: &ref_154 + example: &ref_102 - https://myproduct/image nullable: true description: The URLs of the product images @@ -29172,7 +23399,7 @@ components: nullable: true description: The vendor of the product variants: - example: &ref_155 + example: &ref_103 - title: teeshirt price: 20 sku: '3' @@ -29184,7 +23411,7 @@ components: items: $ref: '#/components/schemas/Variant' tags: - example: &ref_156 + example: &ref_104 - tag_1 nullable: true description: The tags associated with the product @@ -29193,7 +23420,7 @@ components: type: string field_mappings: type: object - example: &ref_157 + example: &ref_105 fav_dish: broccoli fav_color: red nullable: true @@ -29245,7 +23472,7 @@ components: nullable: true description: The status of the product. Either ACTIVE, DRAFT OR ARCHIVED. images_urls: - example: *ref_154 + example: *ref_102 nullable: true description: The URLs of the product images type: array @@ -29262,13 +23489,13 @@ components: nullable: true description: The vendor of the product variants: - example: *ref_155 + example: *ref_103 description: The variants of the product type: array items: $ref: '#/components/schemas/Variant' tags: - example: *ref_156 + example: *ref_104 nullable: true description: The tags associated with the product type: array @@ -29276,7 +23503,7 @@ components: type: string field_mappings: type: object - example: *ref_157 + example: *ref_105 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -29336,7 +23563,7 @@ components: description: The UUID of the customer associated with the order items: nullable: true - example: &ref_158 + example: &ref_106 - remote_id: '12345' product_id: prod_001 variant_id: var_001 @@ -29367,7 +23594,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: &ref_159 + example: &ref_107 fav_dish: broccoli fav_color: red nullable: true @@ -29456,14 +23683,14 @@ components: description: The UUID of the customer associated with the order items: nullable: true - example: *ref_158 + example: *ref_106 description: The items in the order type: array items: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: *ref_159 + example: *ref_107 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -29637,7 +23864,7 @@ components: field_mappings: type: object nullable: true - example: &ref_160 + example: &ref_108 fav_dish: broccoli fav_color: red description: >- @@ -29708,7 +23935,7 @@ components: field_mappings: type: object nullable: true - example: *ref_160 + example: *ref_108 description: >- The custom field mappings of the attachment between the remote 3rd party & Panora additionalProperties: true