From 457b6459aa90cd2d4c48cb2d9552207e512cec27 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 9 Oct 2024 00:05:15 +0000 Subject: [PATCH] ci: regenerated with Speakeasy CLI v1.413.0 --- .speakeasy/workflow.lock | 6 +- .../swagger/openapi-with-code-samples.yaml | 5401 ++++++++++++++++- 2 files changed, 5166 insertions(+), 241 deletions(-) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 660e63afc..b53de478a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.400.0 +speakeasyVersion: 1.413.0 sources: merge-code-samples-into-spec: sourceNamespace: merge-code-samples-into-spec - sourceRevisionDigest: sha256:912fc296f73842c02a90f0baee369f2ab8674455e41e8f5d05c3876818d839a5 - sourceBlobDigest: sha256:28dcc66d46faa45f6a61b5d2e76b2bf5b25d17786399cf3a0f996517c1e9561f + sourceRevisionDigest: sha256:db94e1f50942cc00c0a8fc5657feaf4b31d42195316302b5b7c3d4e4fae182f6 + sourceBlobDigest: sha256:1b961930449c418eacf462ef122dfd2bf26db126d89a7c66d250224f7ecc55ec tags: - latest - main diff --git a/packages/api/swagger/openapi-with-code-samples.yaml b/packages/api/swagger/openapi-with-code-samples.yaml index 17e975a2f..c1d2d9f57 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: |- @@ -261,7 +309,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 +392,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 +529,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 +620,11 @@ paths: async function run() { await panora.auth.login.signIn({ - email: "Oda.Treutel97@hotmail.com", + 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: |- @@ -789,7 +956,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: |- @@ -858,7 +1041,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 +1126,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: |- @@ -1048,7 +1267,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 +1350,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 +1583,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: |- @@ -1389,7 +1705,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 +1790,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: |- @@ -1557,7 +1912,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,16 +1994,33 @@ 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 - - s = Panora( - api_key="", - ) + 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="", + ) res = s.ticketing.accounts.retrieve(x_connection_token="", id="") @@ -1723,7 +2116,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 +2205,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: |- @@ -1876,6 +2307,8 @@ paths: await panora.sync.status({ vertical: Vertical.Ticketing, }); + + } run(); @@ -1939,7 +2372,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: |- @@ -2008,7 +2455,29 @@ paths: 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() { + const result = await panora.sync.updatePullFrequency({ + crm: 1800, + ats: 3600, + hris: 7200, + accounting: 14400, + filestorage: 28800, + ecommerce: 43200, + ticketing: 86400, + }); + + // Handle the result + console.log(result); + } + + run(); get: operationId: getPullFrequency summary: Get pull frequency for verticals @@ -2025,7 +2494,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 @@ -2086,7 +2569,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 +2652,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 +2852,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: |- @@ -2401,7 +2974,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 +3057,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 +3254,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: |- @@ -2714,7 +3376,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 +3458,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 +3591,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: |- @@ -2984,7 +3713,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 +3796,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,7 +3947,25 @@ 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();" + 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: |- @@ -3267,7 +4069,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 +4152,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 +4283,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: |- @@ -3536,7 +4405,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 +4490,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: |- @@ -3704,7 +4612,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 +4694,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 +4833,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: |- @@ -3978,7 +4955,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 +5040,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: |- @@ -4147,7 +5163,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 +5248,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: |- @@ -4315,7 +5370,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 +5452,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 +5591,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: |- @@ -4591,7 +5712,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 +5797,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: |- @@ -4759,7 +5919,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 +6004,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 +6090,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 +6173,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 +6259,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 +6342,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 +6439,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 +6518,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 +6597,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 +6691,8 @@ paths: async function run() { await panora.fieldMappings.getFieldMappingValues(); + + } run(); @@ -5444,6 +6759,8 @@ paths: async function run() { await panora.fieldMappings.getFieldMappingsEntities(); + + } run(); @@ -5510,6 +6827,8 @@ paths: async function run() { await panora.fieldMappings.getFieldMappings(); + + } run(); @@ -5577,7 +6896,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 +6995,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 +7103,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: |- @@ -5829,7 +7210,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: |- @@ -5908,7 +7303,28 @@ paths: 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", + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: request source: |- @@ -5989,8 +7405,10 @@ paths: async function run() { await panora.passthrough.retryid.getRetriedRequestResponse({ - retryId: "", + retryId: "", }); + + } run(); @@ -6095,7 +7513,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.bankinfos.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 source: |- @@ -6159,7 +7598,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.bankinfos.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisBankInfo source: |- @@ -6263,7 +7720,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.benefits.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: listHrisBenefits source: |- @@ -6327,7 +7805,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.benefits.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisBenefit source: |- @@ -6431,7 +7927,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.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: listHrisCompanies source: |- @@ -6495,7 +8012,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.companies.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisCompany source: |- @@ -6599,7 +8134,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.dependents.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: listHrisDependents source: |- @@ -6663,7 +8219,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.dependents.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisDependent source: |- @@ -6768,7 +8342,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employeepayrollruns.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 source: |- @@ -6832,7 +8427,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employeepayrollruns.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisEmployeePayrollRun source: |- @@ -6936,7 +8549,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employees.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 source: |- @@ -6997,7 +8631,57 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employees.create({ + xConnectionToken: "", + unifiedHrisEmployeeInput: { + groups: [ + "Group1", + "Group2", + ], + locations: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + employeeNumber: "EMP001", + companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + firstName: "John", + lastName: "Doe", + preferredName: "Johnny", + displayFullName: "John Doe", + username: "johndoe", + workEmail: "john.doe@company.com", + personalEmail: "john.doe@personal.com", + mobilePhoneNumber: "+1234567890", + employments: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + ssn: "123-45-6789", + gender: "MALE", + ethnicity: "AMERICAN_INDIAN_OR_ALASKA_NATIVE", + maritalStatus: "Married", + dateOfBirth: new Date("1990-01-01"), + startDate: new Date("2020-01-01"), + employmentStatus: "ACTIVE", + terminationDate: new Date("2025-01-01"), + avatarUrl: "https://example.com/avatar.jpg", + managerId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createHrisEmployee source: |- @@ -7148,7 +8832,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employees.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisEmployee source: |- @@ -7253,7 +8955,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employerbenefits.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 source: |- @@ -7317,7 +9040,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employerbenefits.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisEmployerBenefit source: |- @@ -7421,7 +9162,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employments.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 source: |- @@ -7485,7 +9247,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.employments.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisEmployment source: |- @@ -7589,7 +9369,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.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: listHrisGroups source: |- @@ -7653,7 +9454,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.groups.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisGroup source: |- @@ -7757,7 +9576,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.locations.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: listHrisLocations source: |- @@ -7821,7 +9661,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.locations.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisLocation source: |- @@ -7925,7 +9783,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.paygroups.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 source: |- @@ -7989,7 +9868,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.paygroups.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisPaygroup source: |- @@ -8093,7 +9990,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.payrollruns.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 source: |- @@ -8157,7 +10075,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.payrollruns.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisPayrollRun source: |- @@ -8261,7 +10197,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timeoffs.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: listHrisTimeoffs source: |- @@ -8322,7 +10279,35 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timeoffs.create({ + xConnectionToken: "", + unifiedHrisTimeoffInput: { + employee: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + approver: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + status: "REQUESTED", + employeeNote: "Annual vacation", + units: "DAYS", + amount: 5, + requestType: "VACATION", + startTime: new Date("2024-07-01T09:00:00Z"), + endTime: new Date("2024-07-05T17:00:00Z"), + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createHrisTimeoff source: |- @@ -8429,7 +10414,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timeoffs.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisTimeoff source: |- @@ -8533,7 +10536,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timeoffbalances.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 source: |- @@ -8597,7 +10621,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timeoffbalances.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisTimeoffbalance source: |- @@ -8701,7 +10743,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timesheetentries.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 source: |- @@ -8762,7 +10825,31 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timesheetentries.create({ + xConnectionToken: "", + unifiedHrisTimesheetEntryInput: { + hoursWorked: 40, + startTime: new Date("2024-10-01T08:00:00Z"), + endTime: new Date("2024-10-01T16:00:00Z"), + employeeId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteWasDeleted: false, + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createHrisTimesheetentry source: |- @@ -8861,7 +10948,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.hris.timesheetentries.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveHrisTimesheetentry source: |- @@ -8966,7 +11071,28 @@ paths: 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();" + 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: listMarketingautomationAction source: |- @@ -9029,7 +11155,25 @@ paths: 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();" + 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: createMarketingautomationAction source: |- @@ -9113,7 +11257,25 @@ paths: 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();" + 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: retrieveMarketingautomationAction source: |- @@ -9218,7 +11380,28 @@ paths: 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();" + 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: listMarketingautomationAutomations source: |- @@ -9282,7 +11465,25 @@ paths: 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();" + 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: createMarketingautomationAutomation source: |- @@ -9367,7 +11568,25 @@ paths: 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();" + 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: retrieveMarketingautomationAutomation source: |- @@ -9472,7 +11691,28 @@ paths: 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();" + 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: listMarketingautomationCampaigns source: |- @@ -9535,7 +11775,25 @@ paths: 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();" + 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: |- @@ -9619,7 +11877,25 @@ paths: 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();" + 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: retrieveMarketingautomationCampaign source: |- @@ -9724,7 +12000,28 @@ paths: 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();" + 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: listMarketingAutomationContacts source: |- @@ -9787,7 +12084,25 @@ paths: 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();" + 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: createMarketingAutomationContact source: |- @@ -9871,7 +12186,25 @@ paths: 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();" + 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: retrieveMarketingAutomationContact source: |- @@ -9976,7 +12309,28 @@ paths: 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();" + 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: listMarketingautomationEmails source: |- @@ -10041,7 +12395,25 @@ paths: 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();" + 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: retrieveMarketingautomationEmail source: |- @@ -10146,7 +12518,28 @@ paths: 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();" + 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: listMarketingAutomationEvents source: |- @@ -10211,7 +12604,25 @@ paths: 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();" + 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: retrieveMarketingautomationEvent source: |- @@ -10316,7 +12727,28 @@ paths: 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();" + 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: listMarketingautomationLists source: |- @@ -10378,7 +12810,24 @@ paths: 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();" + 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: createMarketingautomationList source: |- @@ -10462,7 +12911,25 @@ paths: 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();" + 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: retrieveMarketingautomationList source: |- @@ -10567,7 +13034,28 @@ paths: 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();" + 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: listMarketingautomationMessages source: |- @@ -10632,7 +13120,25 @@ paths: 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();" + 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: retrieveMarketingautomationMessage source: |- @@ -10737,7 +13243,28 @@ paths: 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();" + 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: listMarketingautomationTemplates source: |- @@ -10799,7 +13326,24 @@ paths: 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();" + 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: createMarketingautomationTemplate source: |- @@ -10883,7 +13427,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.marketingautomation.templates.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveMarketingautomationTemplate source: |- @@ -10988,7 +13550,28 @@ paths: 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();" + 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: listMarketingAutomationUsers source: |- @@ -11053,7 +13636,25 @@ paths: 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();" + 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: retrieveMarketingAutomationUser source: |- @@ -11157,7 +13758,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.activities.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 source: |- @@ -11219,7 +13841,36 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.activities.create({ + xConnectionToken: "", + remoteData: false, + unifiedAtsActivityInput: { + activityType: "NOTE", + subject: "Email subject", + body: "Dear Diana, I love you", + visibility: "PUBLIC", + candidateId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteCreatedAt: new Date("2024-10-01T12:00:00Z"), + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createAtsActivity source: |- @@ -11326,7 +13977,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.activities.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsActivity source: |- @@ -11430,7 +14099,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.applications.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 source: |- @@ -11492,7 +14182,42 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.applications.create({ + xConnectionToken: "", + remoteData: false, + unifiedAtsApplicationInput: { + appliedAt: new Date("2024-10-01T12:00:00Z"), + rejectedAt: new Date("2024-10-01T12:00:00Z"), + offers: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "12345678-1234-1234-1234-123456789012", + ], + source: "Source Name", + creditedTo: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + currentStage: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + rejectReason: "Candidate not experienced enough", + candidateId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + jobId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createAtsApplication source: |- @@ -11611,7 +14336,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.applications.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsApplication source: |- @@ -11715,7 +14458,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.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: listAtsAttachment source: |- @@ -11777,7 +14541,36 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.attachments.create({ + xConnectionToken: "", + remoteData: false, + unifiedAtsAttachmentInput: { + fileUrl: "https://example.com/file.pdf", + fileName: "file.pdf", + attachmentType: "RESUME", + remoteCreatedAt: new Date("2024-10-01T12:00:00Z"), + remoteModifiedAt: new Date("2024-10-01T12:00:00Z"), + candidateId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createAtsAttachment source: |- @@ -11884,7 +14677,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.attachments.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsAttachment source: |- @@ -11988,7 +14799,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.candidates.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 source: |- @@ -12050,7 +14882,68 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.candidates.create({ + xConnectionToken: "", + remoteData: false, + unifiedAtsCandidateInput: { + firstName: "Joe", + lastName: "Doe", + company: "Acme", + title: "Analyst", + locations: "New York", + isPrivate: false, + emailReachable: true, + remoteCreatedAt: new Date("2024-10-01T12:00:00Z"), + remoteModifiedAt: new Date("2024-10-01T12:00:00Z"), + lastInteractionAt: new Date("2024-10-01T12:00:00Z"), + attachments: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + applications: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + tags: [ + "tag_1", + "tag_2", + ], + urls: [ + { + url: "mywebsite.com", + urlType: "WEBSITE", + }, + ], + phoneNumbers: [ + { + phoneNumber: "+33660688899", + phoneType: "WORK", + }, + ], + emailAddresses: [ + { + emailAddress: "joedoe@gmail.com", + emailAddressType: "WORK", + }, + ], + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createAtsCandidate source: |- @@ -12229,7 +15122,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.candidates.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsCandidate source: |- @@ -12333,7 +15244,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.departments.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 source: |- @@ -12397,7 +15329,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.departments.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsDepartment source: |- @@ -12501,7 +15451,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.interviews.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 source: |- @@ -12563,7 +15534,42 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.interviews.create({ + xConnectionToken: "", + remoteData: false, + unifiedAtsInterviewInput: { + status: "SCHEDULED", + applicationId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + jobInterviewStageId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + organizedBy: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + interviewers: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + location: "San Francisco", + startAt: new Date("2024-10-01T12:00:00Z"), + endAt: new Date("2024-10-01T12:00:00Z"), + remoteCreatedAt: new Date("2024-10-01T12:00:00Z"), + remoteUpdatedAt: new Date("2024-10-01T12:00:00Z"), + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: createAtsInterview source: |- @@ -12682,7 +15688,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.interviews.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsInterview source: |- @@ -12787,7 +15811,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.jobinterviewstages.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 source: |- @@ -12851,7 +15896,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.jobinterviewstages.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsJobInterviewStage source: |- @@ -12955,7 +16018,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.jobs.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: listAtsJob source: |- @@ -13019,7 +16103,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.jobs.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsJob source: |- @@ -13123,7 +16225,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.offers.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 source: |- @@ -13187,7 +16310,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.offers.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsOffer source: |- @@ -13291,7 +16432,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.offices.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 source: |- @@ -13355,7 +16517,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.offices.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsOffice source: |- @@ -13459,7 +16639,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.rejectreasons.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 source: |- @@ -13523,7 +16724,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.rejectreasons.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsRejectReason source: |- @@ -13627,7 +16846,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.scorecards.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: listAtsScorecard source: |- @@ -13691,7 +16931,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.scorecards.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsScorecard source: |- @@ -13795,7 +17053,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.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: listAtsTags source: |- @@ -13859,7 +17138,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.tags.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsTag source: |- @@ -13963,7 +17260,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.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 source: |- @@ -14027,7 +17345,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.users.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsUser source: |- @@ -14131,7 +17467,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.eeocs.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 source: |- @@ -14193,7 +17550,24 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ats.eeocs.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAtsEeocs source: |- @@ -14297,7 +17671,28 @@ paths: 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();" + 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: listAccountingAccounts source: |- @@ -14359,7 +17754,37 @@ paths: 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();" + 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: createAccountingAccount source: |- @@ -14466,7 +17891,25 @@ paths: 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();" + 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: retrieveAccountingAccount source: |- @@ -14570,7 +18013,28 @@ paths: 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();" + 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: listAccountingAddress source: |- @@ -14634,7 +18098,25 @@ paths: 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();" + 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: retrieveAccountingAddress source: |- @@ -14739,7 +18221,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.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: listAccountingAttachments source: |- @@ -14801,7 +18304,30 @@ paths: 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();" + 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: createAccountingAttachment source: |- @@ -14894,7 +18420,25 @@ paths: 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();" + 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: retrieveAccountingAttachment source: |- @@ -14999,7 +18543,28 @@ paths: 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();" + 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: listAccountingBalanceSheets source: |- @@ -15063,7 +18628,25 @@ paths: 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();" + 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: retrieveAccountingBalanceSheet source: |- @@ -15168,7 +18751,28 @@ paths: 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();" + 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: listAccountingCashflowStatement source: |- @@ -15232,7 +18836,25 @@ paths: 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();" + 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: retrieveAccountingCashflowStatement source: |- @@ -15337,7 +18959,28 @@ paths: 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();" + 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: listAccountingCompanyInfos source: |- @@ -15401,7 +19044,25 @@ paths: 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();" + 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: retrieveAccountingCompanyInfo source: |- @@ -15505,7 +19166,28 @@ paths: 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();" + 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: listAccountingContacts source: |- @@ -15567,7 +19249,36 @@ paths: 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();" + 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: createAccountingContact source: |- @@ -15672,7 +19383,25 @@ paths: 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();" + 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: |- @@ -15777,7 +19506,28 @@ paths: 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();" + 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: listAccountingCreditNote source: |- @@ -15841,7 +19591,25 @@ paths: 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();" + 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: retrieveAccountingCreditNote source: |- @@ -15945,7 +19713,28 @@ paths: 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();" + 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: listAccountingExpense source: |- @@ -16007,7 +19796,53 @@ paths: 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();" + 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: createAccountingExpense source: |- @@ -16148,7 +19983,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.expenses.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAccountingExpense source: |- @@ -16253,7 +20106,28 @@ paths: 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();" + 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: listAccountingIncomeStatement source: |- @@ -16317,7 +20191,25 @@ paths: 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();" + 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: retrieveAccountingIncomeStatement source: |- @@ -16421,7 +20313,28 @@ paths: 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();" + 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: listAccountingInvoice source: |- @@ -16483,7 +20396,60 @@ paths: 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();" + 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: createAccountingInvoice source: |- @@ -16638,7 +20604,25 @@ paths: 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();" + 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: retrieveAccountingInvoice source: |- @@ -16742,7 +20726,28 @@ paths: 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();" + 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: listAccountingItem source: |- @@ -16806,7 +20811,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.items.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); - lang: python label: retrieveAccountingItem source: |- @@ -16911,7 +20934,28 @@ paths: 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();" + 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: listAccountingJournalEntry source: |- @@ -16973,7 +21017,59 @@ paths: 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();" + 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: createAccountingJournalEntry source: |- @@ -17126,7 +21222,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + 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: |- @@ -17230,7 +21344,28 @@ paths: 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();" + 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: listAccountingPayment source: |- @@ -17292,7 +21427,53 @@ paths: 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();" + 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: createAccountingPayment source: |- @@ -17433,7 +21614,25 @@ paths: 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();" + 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: retrieveAccountingPayment source: |- @@ -17538,7 +21737,28 @@ paths: 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();" + 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: listAccountingPhonenumber source: |- @@ -17602,7 +21822,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + 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: |- @@ -17707,7 +21945,28 @@ paths: 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();" + 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: listAccountingPurchaseOrder source: |- @@ -17769,7 +22028,56 @@ paths: 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();" + 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: createAccountingPurchaseOrder source: |- @@ -17916,7 +22224,25 @@ paths: 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();" + 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: retrieveAccountingPurchaseOrder source: |- @@ -18020,7 +22346,28 @@ paths: 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();" + 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: listAccountingTaxRate source: |- @@ -18084,7 +22431,25 @@ paths: 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();" + 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: retrieveAccountingTaxRate source: |- @@ -18189,7 +22554,28 @@ paths: 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();" + 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: |- @@ -18253,7 +22639,25 @@ paths: 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();" + 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: retrieveAccountingTrackingCategory source: |- @@ -18358,7 +22762,28 @@ paths: 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();" + 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: listAccountingTransaction source: |- @@ -18422,7 +22847,25 @@ paths: 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();" + 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: retrieveAccountingTransaction source: |- @@ -18527,7 +22970,28 @@ paths: 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();" + 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: listAccountingVendorCredit source: |- @@ -18591,7 +23055,25 @@ paths: 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();" + 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: retrieveAccountingVendorCredit source: |- @@ -18695,7 +23177,28 @@ paths: 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();" + 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: listFilestorageFolder source: |- @@ -18757,7 +23260,38 @@ paths: 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();" + 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: createFilestorageFolder source: |- @@ -18866,7 +23400,25 @@ paths: 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();" + 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: retrieveFilestorageFolder source: |- @@ -18970,7 +23522,28 @@ paths: 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();" + 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: listFilestorageGroup source: |- @@ -19034,7 +23607,25 @@ paths: 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();" + 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: retrieveFilestorageGroup source: |- @@ -19138,7 +23729,28 @@ paths: 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();" + 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: listFilestorageUsers source: |- @@ -19202,7 +23814,25 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + 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: |- @@ -19306,7 +23936,28 @@ paths: 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();" + 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: listEcommerceProducts source: |- @@ -19368,7 +24019,41 @@ paths: 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();" + 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: |- @@ -19481,7 +24166,24 @@ paths: 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();" + 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: retrieveEcommerceProduct source: |- @@ -19585,7 +24287,28 @@ paths: 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();" + 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: listEcommerceOrders source: |- @@ -19647,7 +24370,50 @@ paths: 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();" + 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: createEcommerceOrder source: |- @@ -19780,7 +24546,24 @@ paths: 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();" + 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: retrieveEcommerceOrder source: |- @@ -19884,7 +24667,28 @@ paths: 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();" + 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: listEcommerceCustomers source: |- @@ -19946,7 +24750,24 @@ paths: 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();" + 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: retrieveEcommerceCustomer source: |- @@ -20051,7 +24872,28 @@ paths: 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();" + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.ecommerce.fulfillments.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: listEcommerceFulfillments source: |- @@ -20113,7 +24955,24 @@ paths: 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();" + 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: retrieveEcommerceFulfillment source: |- @@ -20218,7 +25077,28 @@ paths: 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();" + 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: listTicketingAttachments source: |- @@ -20279,7 +25159,34 @@ paths: 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();" + 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: createTicketingAttachment source: |- @@ -20382,7 +25289,25 @@ paths: 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();" + 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: retrieveTicketingAttachment source: |-