diff --git a/.env.example b/.env.example index d882c2a62..2463c0671 100644 --- a/.env.example +++ b/.env.example @@ -27,7 +27,13 @@ MAIL_PASSWORD=your-email-password # ================================================ +# Tip: use mailtrap.io for local development +EMAIL_SENDING_ADDRESS=hello@panora.dev +SMTP_HOST= +SMTP_PORT= +SMTP_USER= +SMTP_PASSWORD= # ================================================ # Database # ================================================ diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock new file mode 100644 index 000000000..be1107875 --- /dev/null +++ b/.speakeasy/workflow.lock @@ -0,0 +1,26 @@ +speakeasyVersion: 1.351.2 +sources: + merge-code-samples-into-spec: + sourceNamespace: merge-code-samples-into-spec + sourceRevisionDigest: sha256:dde6fc4b932928239b169ca6e69ec20c1f777ea02caa0a4f79efad8af48d528e + sourceBlobDigest: sha256:b1a2083cb9aded332422c5c036d95babc9e941d4050125cbf3da0bbbc4f7084f + tags: + - latest + - main +targets: {} +workflow: + workflowVersion: 1.0.0 + speakeasyVersion: latest + sources: + merge-code-samples-into-spec: + inputs: + - location: registry.speakeasyapi.dev/panora/panora/panora-open-api-swagger + overlays: + - location: registry.speakeasyapi.dev/panora/panora/code-samples-typescript-my-first-target:main + - location: registry.speakeasyapi.dev/panora/panora/code-samples-python:main + - location: registry.speakeasyapi.dev/panora/panora/go-sdk:main + - location: registry.speakeasyapi.dev/panora/panora/code-samples-ruby:main + output: packages/api/swagger/openapi-with-code-samples.yaml + registry: + location: registry.speakeasyapi.dev/panora/panora/merge-code-samples-into-spec + targets: {} diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 84d3a727d..ccbfb2253 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -1,9 +1,15 @@ workflowVersion: 1.0.0 +speakeasyVersion: latest sources: merge-code-samples-into-spec: inputs: - location: registry.speakeasyapi.dev/panora/panora/panora-open-api-swagger overlays: - location: registry.speakeasyapi.dev/panora/panora/code-samples-typescript-my-first-target:main - output: docs/openapi-with-code-samples.json + - location: registry.speakeasyapi.dev/panora/panora/code-samples-python:main + - location: registry.speakeasyapi.dev/panora/panora/go-sdk:main + - location: registry.speakeasyapi.dev/panora/panora/code-samples-ruby:main + output: packages/api/swagger/openapi-with-code-samples.yaml + registry: + location: registry.speakeasyapi.dev/panora/panora/merge-code-samples-into-spec targets: {} diff --git a/a b/a new file mode 100644 index 000000000..e69de29bb diff --git a/apps/webapp/src/hooks/create/useCreateApiKey.tsx b/apps/webapp/src/hooks/create/useCreateApiKey.tsx index bdd0667ec..d8dcf2a3c 100644 --- a/apps/webapp/src/hooks/create/useCreateApiKey.tsx +++ b/apps/webapp/src/hooks/create/useCreateApiKey.tsx @@ -11,7 +11,7 @@ export interface IApiKeyDto { // Adjusted useCreateApiKey hook to include a promise-returning function const useCreateApiKey = () => { const addApiKey = async (data: IApiKeyDto) => { - const response = await fetch(`${config.API_URL}/auth/generate-apikey`, { + const response = await fetch(`${config.API_URL}/auth/api_keys`, { method: 'POST', body: JSON.stringify(data), headers: { diff --git a/apps/webapp/src/hooks/create/useCreateLinkedUser.tsx b/apps/webapp/src/hooks/create/useCreateLinkedUser.tsx index e7c18aa76..6d40b1764 100644 --- a/apps/webapp/src/hooks/create/useCreateLinkedUser.tsx +++ b/apps/webapp/src/hooks/create/useCreateLinkedUser.tsx @@ -9,7 +9,7 @@ interface ILinkedUserDto { } const useCreateLinkedUser = () => { const add = async (linkedUserData: ILinkedUserDto) => { - const response = await fetch(`${config.API_URL}/linked-users/internal`, { + const response = await fetch(`${config.API_URL}/linked_users/internal`, { method: 'POST', body: JSON.stringify(linkedUserData), headers: { diff --git a/apps/webapp/src/hooks/create/useCreateMagicLink.tsx b/apps/webapp/src/hooks/create/useCreateMagicLink.tsx index 231e35bc5..238de6a16 100644 --- a/apps/webapp/src/hooks/create/useCreateMagicLink.tsx +++ b/apps/webapp/src/hooks/create/useCreateMagicLink.tsx @@ -11,7 +11,7 @@ interface ILinkDto { const useCreateMagicLink = () => { const add = async (data: ILinkDto) => { - const response = await fetch(`${config.API_URL}/magic-links`, { + const response = await fetch(`${config.API_URL}/magic_links`, { method: 'POST', body: JSON.stringify(data), headers: { diff --git a/apps/webapp/src/hooks/create/useRefreshAccessToken.tsx b/apps/webapp/src/hooks/create/useRefreshAccessToken.tsx index d5dbc6ce4..aba269076 100644 --- a/apps/webapp/src/hooks/create/useRefreshAccessToken.tsx +++ b/apps/webapp/src/hooks/create/useRefreshAccessToken.tsx @@ -8,7 +8,7 @@ interface IRefreshOutputDto { const useRefreshAccessToken = () => { const refreshAccessToken = async (projectId: string) => { - const response = await fetch(`${config.API_URL}/auth/refresh-token`, { + const response = await fetch(`${config.API_URL}/auth/refresh_tokens`, { method: 'POST', body: JSON.stringify({ projectId: projectId diff --git a/apps/webapp/src/hooks/get/useApiKeys.tsx b/apps/webapp/src/hooks/get/useApiKeys.tsx index cf211ff8e..a33d19d4e 100644 --- a/apps/webapp/src/hooks/get/useApiKeys.tsx +++ b/apps/webapp/src/hooks/get/useApiKeys.tsx @@ -7,7 +7,7 @@ const useApiKeys = () => { return useQuery({ queryKey: ['api-keys'], queryFn: async (): Promise => { - const response = await fetch(`${config.API_URL}/auth/api-keys`, + const response = await fetch(`${config.API_URL}/auth/api_keys`, { method: 'GET', headers: { diff --git a/apps/webapp/src/hooks/get/useFieldMappings.tsx b/apps/webapp/src/hooks/get/useFieldMappings.tsx index dcdc3e28a..7fa662fb8 100644 --- a/apps/webapp/src/hooks/get/useFieldMappings.tsx +++ b/apps/webapp/src/hooks/get/useFieldMappings.tsx @@ -7,7 +7,7 @@ const useFieldMappings = () => { return useQuery({ queryKey: ['mappings'], queryFn: async (): Promise => { - const response = await fetch(`${config.API_URL}/field-mappings/attribute`, + const response = await fetch(`${config.API_URL}/field_mappings/attributes`, { method: 'GET', headers: { diff --git a/apps/webapp/src/hooks/get/useLinkedUsers.tsx b/apps/webapp/src/hooks/get/useLinkedUsers.tsx index bf7181e78..2e46d2fc8 100644 --- a/apps/webapp/src/hooks/get/useLinkedUsers.tsx +++ b/apps/webapp/src/hooks/get/useLinkedUsers.tsx @@ -7,7 +7,7 @@ const useLinkedUsers = () => { return useQuery({ queryKey: ['linked-users'], queryFn: async (): Promise => { - const response = await fetch(`${config.API_URL}/linked-users/internal`, + const response = await fetch(`${config.API_URL}/linked_users/internal`, { method: 'GET', headers: { diff --git a/apps/webapp/src/hooks/get/useProviderProperties.tsx b/apps/webapp/src/hooks/get/useProviderProperties.tsx index d6c718ec8..422dc3b47 100644 --- a/apps/webapp/src/hooks/get/useProviderProperties.tsx +++ b/apps/webapp/src/hooks/get/useProviderProperties.tsx @@ -6,7 +6,7 @@ const useProviderProperties = (linkedUserId: string, providerId: string, vertica return useQuery({ queryKey: ['providerProperties', linkedUserId, providerId, vertical], queryFn: async () => { - const response = await fetch(`${config.API_URL}/field-mappings/properties?linkedUserId=${linkedUserId}&providerId=${providerId}&vertical=${vertical}`, + const response = await fetch(`${config.API_URL}/field_mappings/properties?linkedUserId=${linkedUserId}&providerId=${providerId}&vertical=${vertical}`, { method: 'GET', headers: { diff --git a/apps/webapp/src/hooks/get/useWebhooks.tsx b/apps/webapp/src/hooks/get/useWebhooks.tsx index a9c591c24..30d4671de 100644 --- a/apps/webapp/src/hooks/get/useWebhooks.tsx +++ b/apps/webapp/src/hooks/get/useWebhooks.tsx @@ -8,7 +8,7 @@ const useWebhooks = () => { queryKey: ['webhooks'], queryFn: async (): Promise => { console.log("Webhook mutation called") - const response = await fetch(`${config.API_URL}/webhook/internal`, + const response = await fetch(`${config.API_URL}/webhooks/internal`, { method: 'GET', headers: { diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 777b0ba66..67065549b 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -165,6 +165,11 @@ services: HELPSCOUT_TICKETING_CLOUD_CLIENT_SECRET: ${HELPSCOUT_TICKETING_CLOUD_CLIENT_SECRET} IRONCLAD_TICKETING_CLOUD_CLIENT_ID: ${IRONCLAD_TICKETING_CLOUD_CLIENT_ID} IRONCLAD_TICKETING_CLOUD_CLIENT_SECRET: ${IRONCLAD_TICKETING_CLOUD_CLIENT_SECRET} + EMAIL_SENDING_ADDRESS: ${EMAIL_SENDING_ADDRESS} + SMTP_HOST: ${SMTP_HOST} + SMTP_PORT: ${SMTP_PORT} + SMTP_USER: ${SMTP_USER} + SMTP_PASSWORD: ${SMTP_PASSWORD} restart: unless-stopped ports: @@ -275,14 +280,14 @@ services: # condition: service_healthy # network_mode: "host" - docs: - build: - dockerfile: ./Dockerfile.dev - context: ./docs/ - ports: - - 911:3000 - volumes: - - ./docs/:/app + # docs: + # build: + # dockerfile: ./Dockerfile.dev + # context: ./docs/ + # ports: + # - 911:3000 + # volumes: + # - ./docs/:/app volumes: local_pgdata: diff --git a/docker-compose.source.yml b/docker-compose.source.yml index f742fe81c..286afb072 100644 --- a/docker-compose.source.yml +++ b/docker-compose.source.yml @@ -165,6 +165,11 @@ services: HELPSCOUT_TICKETING_CLOUD_CLIENT_SECRET: ${HELPSCOUT_TICKETING_CLOUD_CLIENT_SECRET} IRONCLAD_TICKETING_CLOUD_CLIENT_ID: ${IRONCLAD_TICKETING_CLOUD_CLIENT_ID} IRONCLAD_TICKETING_CLOUD_CLIENT_SECRET: ${IRONCLAD_TICKETING_CLOUD_CLIENT_SECRET} + EMAIL_SENDING_ADDRESS: ${EMAIL_SENDING_ADDRESS} + SMTP_HOST: ${SMTP_HOST} + SMTP_PORT: ${SMTP_PORT} + SMTP_USER: ${SMTP_USER} + SMTP_PASSWORD: ${SMTP_PASSWORD} restart: unless-stopped ports: - 3000:3000 diff --git a/docker-compose.yml b/docker-compose.yml index f2025cc71..5c7339290 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -159,6 +159,11 @@ services: HELPSCOUT_TICKETING_CLOUD_CLIENT_SECRET: ${HELPSCOUT_TICKETING_CLOUD_CLIENT_SECRET} IRONCLAD_TICKETING_CLOUD_CLIENT_ID: ${IRONCLAD_TICKETING_CLOUD_CLIENT_ID} IRONCLAD_TICKETING_CLOUD_CLIENT_SECRET: ${IRONCLAD_TICKETING_CLOUD_CLIENT_SECRET} + EMAIL_SENDING_ADDRESS: ${EMAIL_SENDING_ADDRESS} + SMTP_HOST: ${SMTP_HOST} + SMTP_PORT: ${SMTP_PORT} + SMTP_USER: ${SMTP_USER} + SMTP_PASSWORD: ${SMTP_PASSWORD} restart: unless-stopped ports: - 3000:3000 diff --git a/docs/api-reference/auth/create-api-key.mdx b/docs/api-reference/auth/create-api-key.mdx index 0af8655c6..81ca87cea 100644 --- a/docs/api-reference/auth/create-api-key.mdx +++ b/docs/api-reference/auth/create-api-key.mdx @@ -1,3 +1,3 @@ --- -openapi: post /auth/generate-apikey +openapi: post /auth/api_keys --- \ No newline at end of file diff --git a/docs/api-reference/auth/retrieve-api-keys.mdx b/docs/api-reference/auth/retrieve-api-keys.mdx index c7f77c41f..b2eb07b14 100644 --- a/docs/api-reference/auth/retrieve-api-keys.mdx +++ b/docs/api-reference/auth/retrieve-api-keys.mdx @@ -1,3 +1,3 @@ --- -openapi: get /auth/api-keys +openapi: get /auth/api_keys --- \ No newline at end of file diff --git a/docs/api-reference/field-mapping/define-target-field.mdx b/docs/api-reference/field-mapping/define-target-field.mdx index 8d8865426..bdfb21640 100644 --- a/docs/api-reference/field-mapping/define-target-field.mdx +++ b/docs/api-reference/field-mapping/define-target-field.mdx @@ -1,3 +1,3 @@ --- -openapi: post /field-mapping/define +openapi: post /field_mappings/definitions --- \ No newline at end of file diff --git a/docs/api-reference/field-mapping/map-custom-field.mdx b/docs/api-reference/field-mapping/map-custom-field.mdx index fd441dc25..a28cd6b59 100644 --- a/docs/api-reference/field-mapping/map-custom-field.mdx +++ b/docs/api-reference/field-mapping/map-custom-field.mdx @@ -1,3 +1,3 @@ --- -openapi: post /field-mapping/map +openapi: post /field_mappings/mappings --- \ No newline at end of file diff --git a/docs/api-reference/field-mapping/retrieve-custom-properties.mdx b/docs/api-reference/field-mapping/retrieve-custom-properties.mdx index 5818fad0c..f3fa70f32 100644 --- a/docs/api-reference/field-mapping/retrieve-custom-properties.mdx +++ b/docs/api-reference/field-mapping/retrieve-custom-properties.mdx @@ -1,3 +1,3 @@ --- -openapi: get /field-mapping/properties +openapi: get /field_mappings/properties --- \ No newline at end of file diff --git a/docs/api-reference/field-mapping/retrieve-field-mapping-entities.mdx b/docs/api-reference/field-mapping/retrieve-field-mapping-entities.mdx index 10302409f..b626df997 100644 --- a/docs/api-reference/field-mapping/retrieve-field-mapping-entities.mdx +++ b/docs/api-reference/field-mapping/retrieve-field-mapping-entities.mdx @@ -1,3 +1,3 @@ --- -openapi: get /field-mapping/entities +openapi: get /field_mappings/entities --- \ No newline at end of file diff --git a/docs/api-reference/field-mapping/retrieve-field-mappings-values.mdx b/docs/api-reference/field-mapping/retrieve-field-mappings-values.mdx index 14ffc5da3..ba2604ef6 100644 --- a/docs/api-reference/field-mapping/retrieve-field-mappings-values.mdx +++ b/docs/api-reference/field-mapping/retrieve-field-mappings-values.mdx @@ -1,3 +1,3 @@ --- -openapi: get /field-mapping/value +openapi: get /field_mappings/values --- \ No newline at end of file diff --git a/docs/api-reference/field-mapping/retrieve-field-mappings.mdx b/docs/api-reference/field-mapping/retrieve-field-mappings.mdx index 9c359d295..0207d6500 100644 --- a/docs/api-reference/field-mapping/retrieve-field-mappings.mdx +++ b/docs/api-reference/field-mapping/retrieve-field-mappings.mdx @@ -1,3 +1,3 @@ --- -openapi: get /field-mapping/attribute +openapi: get /field_mappings/attributes --- \ No newline at end of file diff --git a/docs/api-reference/magic-link/retrieve-magic-links.mdx b/docs/api-reference/magic-link/retrieve-magic-links.mdx index bff5d87f6..f236ae3c2 100644 --- a/docs/api-reference/magic-link/retrieve-magic-links.mdx +++ b/docs/api-reference/magic-link/retrieve-magic-links.mdx @@ -1,3 +1,3 @@ --- -openapi: get /magic-link +openapi: get /magic_links --- \ No newline at end of file diff --git a/docs/api-reference/projects/create-a-project.mdx b/docs/api-reference/projects/create-a-project.mdx index c222dcfd4..b836fca6f 100644 --- a/docs/api-reference/projects/create-a-project.mdx +++ b/docs/api-reference/projects/create-a-project.mdx @@ -1,3 +1,3 @@ --- -openapi: post /projects/create +openapi: post /projects --- \ No newline at end of file diff --git a/docs/core-concepts/custom-fields.mdx b/docs/core-concepts/custom-fields.mdx index 6ea8dad80..01f478cde 100644 --- a/docs/core-concepts/custom-fields.mdx +++ b/docs/core-concepts/custom-fields.mdx @@ -56,7 +56,7 @@ The following example creates a custom field mapping in two steps (**define and ```shell Create custom field curl --request POST \ - --url https://api.panora.dev/field-mappings \ + --url https://api.panora.dev/field_mappings \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{ @@ -76,7 +76,7 @@ The following example creates a custom field mapping in two steps (**define and ```shell Define custom field curl --request POST \ - --url https://api.panora.dev/field-mappings/define \ + --url https://api.panora.dev/field_mappings/definitions \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{ @@ -89,7 +89,7 @@ The following example creates a custom field mapping in two steps (**define and ```shell Map custom field curl --request POST \ - --url https://api.panora.dev/field-mappings/map \ + --url https://api.panora.dev/field_mappings/mappings \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{ diff --git a/docs/mint.json b/docs/mint.json index 928ba3a6c..ee5b5fc48 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -1,918 +1,863 @@ { - "$schema": "https://mintlify.com/schema.json", - "name": "Panora Documentation", - "integrations": { - "intercom": "kjwzw97u" + "$schema": "https://mintlify.com/schema.json", + "analytics": { + "hotjar": { + "hjid": "5154921", + "hjsv": "e2Bs3cIPcF08ngtrjwX+JBB8" }, - "openapi": "https://raw.githubusercontent.com/panoratech/Panora/main/packages/api/swagger/swagger-spec.yaml", - "primaryTab": { - "name": "Home" + "posthog": { + "apiKey": "phc_WhWJfNPOHAuWVdyTacGxrPa9JW54scnofA9KVEjFcFw" + } + }, + "anchors": [], + "api": { + "auth": { + "method": "bearer" }, - "analytics": { - "posthog": { - "apiKey": "phc_WhWJfNPOHAuWVdyTacGxrPa9JW54scnofA9KVEjFcFw" - }, - "hotjar": { - "hjid": "5154921", - "hjsv": "e2Bs3cIPcF08ngtrjwX+JBB8" - } + "baseUrl": "https://api.panora.dev" + }, + "colors": { + "anchors": { + "from": "#000000", + "to": "#000000" }, - "api": { - "baseUrl": "https://api.panora.dev", - "auth": { - "method": "bearer" - } + "dark": "#000000", + "light": "#FFFFFF", + "primary": "#000000" + }, + "favicon": "logo/fav.png", + "feedback": { + "raiseIssue": true, + "suggestEdit": true, + "thumbsRating": true + }, + "footerSocials": { + "discord": "https://discord.gg/G7fr4HNyTb", + "github": "https://github.com/panoratech/Panora", + "twitter": "https://twitter.com/panoradotdev" + }, + "integrations": { + "intercom": "kjwzw97u" + }, + "logo": { + "dark": "logo/white_logo.png", + "light": "logo/black_logo.png" + }, + "modeToggle": { + "default": "light", + "isHidden": false + }, + "name": "Panora Documentation", + "navigation": [ + { + "group": "Documentation", + "pages": [ + "welcome", + "quick-start", + "catalog" + ] }, - "modeToggle": { - "default": "light", - "isHidden": false + { + "group": "", + "pages": [ + "crm/quickstart", + "crm/overview" + ] }, - "feedback": { - "thumbsRating": true, - "suggestEdit": true, - "raiseIssue": true + { + "group": "Unified Objects", + "pages": [ + { + "group": "Contacts", + "pages": [ + "crm/contacts/overview", + "crm/contacts/api/list", + "crm/contacts/api/get", + "crm/contacts/api/create", + "crm/contacts/api/update" + ] + }, + { + "group": "Companies", + "pages": [ + "crm/companies/overview", + "crm/companies/api/list", + "crm/companies/api/get", + "crm/companies/api/create", + "crm/companies/api/update" + ] + }, + { + "group": "Deals", + "pages": [ + "crm/deals/overview", + "crm/deals/api/list", + "crm/deals/api/get", + "crm/deals/api/create", + "crm/deals/api/update" + ] + }, + { + "group": "Notes", + "pages": [ + "crm/notes/overview", + "crm/notes/api/list", + "crm/notes/api/get", + "crm/notes/api/create" + ] + }, + { + "group": "Engagements", + "pages": [ + "crm/engagements/overview", + "crm/engagements/api/list", + "crm/engagements/api/get", + "crm/engagements/api/create", + "crm/engagements/api/update" + ] + }, + { + "group": "Tasks", + "pages": [ + "crm/tasks/overview", + "crm/tasks/api/list", + "crm/tasks/api/get" + ] + }, + { + "group": "Users", + "pages": [ + "crm/users/overview", + "crm/users/api/list", + "crm/users/api/get" + ] + } + ] }, - "logo": { - "dark": "logo/white_logo.png", - "light": "logo/black_logo.png" + { + "group": "", + "pages": [ + "file-storage/overview" + ] }, - "favicon": "logo/fav.png", - "colors": { - "anchors": { - "from": "#000000", - "to": "#000000" - }, - "dark": "#000000", - "light": "#FFFFFF", - "primary": "#000000" + { + "group": "File Storage Objects", + "pages": [ + { + "group": "Drives", + "pages": [ + "file-storage/drives/list-drives", + "file-storage/drives/retrieve-a-drive" + ] + }, + { + "group": "Files", + "pages": [ + "file-storage/files/create-a-file", + "file-storage/files/list-files", + "file-storage/files/retrieve-a-file" + ] + }, + { + "group": "Folders", + "pages": [ + "file-storage/olders/create-a-folder", + "file-storage/olders/list-folders", + "file-storage/olders/retrieve-a-folder" + ] + }, + { + "group": "Groups", + "pages": [ + "file-storage/groups/list-groups", + "file-storage/groups/retrieve-a-group" + ] + }, + { + "group": "Users", + "pages": [ + "file-storage/users/list-users", + "file-storage/users/retrieve-a-user" + ] + } + ] }, - "topbarLinks": [ + { + "group": "Accounting Objects", + "pages": [ + { + "group": "Accounts", + "pages": [ + "accounting/accounts/create-a-account", + "accounting/accounts/list-accounts", + "accounting/accounts/retrieve-a-account" + ] + }, + { + "group": "Addresses", + "pages": [ + "accounting/addresses/list-addresss", + "accounting/addresses/retrieve-a-address" + ] + }, + { + "group": "Attachments", + "pages": [ + "accounting/attachments/list-attachments", + "accounting/attachments/retrieve-a-attachment", + "accounting/attachments/create-a-attachment" + ] + }, + { + "group": "Balance Sheets", + "pages": [ + "accounting/balancesheets/list-balancesheets", + "accounting/balancesheets/retrieve-a-balancesheet" + ] + }, { - "name": "Home", - "url": "https://panora.dev" + "group": "Cash Flow Statements", + "pages": [ + "accounting/cashflowstatements/list-cashflowstatements", + "accounting/cashflowstatements/retrieve-a-cashflowstatement" + ] }, { - "name": "Blog", - "url": "https://panora.dev/blog" + "group": "Company Infos", + "pages": [ + "accounting/companyinfos/list-companyinfos", + "accounting/companyinfos/retrieve-a-companyinfo" + ] + }, + { + "group": "Contacts", + "pages": [ + "accounting/contacts/create-a-contact", + "accounting/contacts/list-contacts", + "accounting/contacts/retrieve-a-contact" + ] + }, + { + "group": "Credit Notes", + "pages": [ + "accounting/creditnotes/list-creditnotes", + "accounting/creditnotes/retrieve-a-creditnote" + ] + }, + { + "group": "Expenses", + "pages": [ + "accounting/expenses/create-a-expense", + "accounting/expenses/list-expenses", + "accounting/expenses/retrieve-a-expense" + ] + }, + { + "group": "Income Statements", + "pages": [ + "accounting/incomestatements/list-incomestatements", + "accounting/incomestatements/retrieve-a-incomestatement" + ] + }, + { + "group": "Invoices", + "pages": [ + "accounting/invoices/list-invoices", + "accounting/invoices/retrieve-a-invoice", + "accounting/invoices/create-a-invoice" + ] + }, + { + "group": "Items", + "pages": [ + "accounting/items/retrieve-a-item", + "accounting/items/list-items" + ] + }, + { + "group": "Journal Entries", + "pages": [ + "accounting/journalentries/create-a-journalentry", + "accounting/journalentries/retrieve-a-journalentry", + "accounting/journalentries/list-journalentrys" + ] + }, + { + "group": "Overview", + "pages": [ + "accounting/overview" + ] + }, + { + "group": "Payments", + "pages": [ + "accounting/payments/create-a-payment", + "accounting/payments/list-payments", + "accounting/payments/retrieve-a-payment" + ] + }, + { + "group": "Phone Numbers", + "pages": [ + "accounting/phonenumbers/retrieve-a-phonenumber", + "accounting/phonenumbers/list-phonenumbers" + ] + }, + { + "group": "Purchase Orders", + "pages": [ + "accounting/purchaseorders/list-purchaseorders", + "accounting/purchaseorders/retrieve-a-purchaseorder", + "accounting/purchaseorders/create-a-purchaseorder" + ] + }, + { + "group": "Quickstart", + "pages": [ + "accounting/quickstart" + ] + }, + { + "group": "Tax Rates", + "pages": [ + "accounting/taxrates/list-taxrates", + "accounting/taxrates/retrieve-a-taxrate" + ] + }, + { + "group": "Tracking Categories", + "pages": [ + "accounting/trackingcategories/list-trackingcategorys", + "accounting/trackingcategories/retrieve-a-trackingcategory" + ] + }, + { + "group": "Transactions", + "pages": [ + "accounting/transactions/list-transactions", + "accounting/transactions/retrieve-a-transaction" + ] + }, + { + "group": "Vendor Credits", + "pages": [ + "accounting/vendorcredits/retrieve-a-vendorcredit", + "accounting/vendorcredits/list-vendorcredits" + ] } - ], - "topbarCtaButton": { - "type": "github", - "url": "https://github.com/panoratech/Panora" + ] }, - "tabs": [ + { + "group": "", + "pages": [ + "ats/overview" + ] + }, + { + "group": "ATS Objects", + "pages": [ + { + "group": "Activities", + "pages": [ + "ats/activities/create-a-activity", + "ats/activities/list-activities", + "ats/activities/retrieve-a-activity" + ] + }, { - "name": "Accounting", - "url": "accounting" + "group": "Applications", + "pages": [ + "ats/applications/create-an-application", + "ats/applications/list-applications", + "ats/applications/retrieve-an-application" + ] }, { - "name": - - "ATS", - "url": "ats" + "group": "Attachments", + "pages": [ + "ats/attachments/create-a-attachment", + "ats/attachments/list-attachments", + "ats/attachments/retrieve-a-attachment" + ] }, { - "name": "CRM", - "url": "crm" + "group": "Candidates", + "pages": [ + "ats/candidates/create-a-candidate", + "ats/candidates/list-candidates", + "ats/candidates/retrieve-a-candidate" + ] }, { - "name": "File Storage", - "url": "file-storage" + "group": "Departments", + "pages": [ + "ats/departments/list-departments", + "ats/departments/retrieve-a-department" + ] }, { - "name": "Ticketing", - "url": "ticketing" + "group": "EEOCs", + "pages": [ + "ats/eeocs/list-eeocss", + "ats/eeocs/retrieve-a-eeocs" + ] }, { - "name": "API Reference", - "url": "api-reference" + "group": "Interviews", + "pages": [ + "ats/interviews/create-a-interview", + "ats/interviews/list-interviews", + "ats/interviews/retrieve-a-interview" + ] + }, + { + "group": "Job Interview Stages", + "pages": [ + "ats/jobinterviewstages/list-jobinterviewstages", + "ats/jobinterviewstages/retrieve-a-jobinterviewstage" + ] + }, + { + "group": "Jobs", + "pages": [ + "ats/jobs/list-jobs", + "ats/jobs/retrieve-a-job" + ] + }, + { + "group": "Offers", + "pages": [ + "ats/offers/list-offers", + "ats/offers/retrieve-a-offer" + ] + }, + { + "group": "Offices", + "pages": [ + "ats/offices/list-offices", + "ats/offices/retrieve-a-office" + ] + }, + { + "group": "Reject Reasons", + "pages": [ + "ats/rejectreasons/list-rejectreasons", + "ats/rejectreasons/retrieve-a-rejectreason" + ] + }, + { + "group": "Scorecards", + "pages": [ + "ats/scorecards/list-scorecards", + "ats/scorecards/retrieve-a-scorecard" + ] + }, + { + "group": "Tags", + "pages": [ + "ats/tags/list-tags", + "ats/tags/retrieve-a-tag" + ] + }, + { + "group": "Users", + "pages": [ + "ats/users/list-users", + "ats/users/retrieve-a-user" + ] } - ], - "anchors": [], - "navigation": [ - { - "group": "Documentation", - "pages": [ - "welcome", - "quick-start", - "catalog" - ] + ] + }, + { + "group": "", + "pages": [ + "ticketing/quickstart", + "ticketing/overview" + ] + }, + { + "group": "Unified Objects", + "pages": [ + { + "group": "Accounts", + "pages": [ + "ticketing/accounts/list-accounts", + "ticketing/accounts/retrieve-an-account" + ] }, { - "group": "", - "pages": [ - "crm/quickstart", - "crm/overview" - ] + "group": "Attachments", + "pages": [ + "ticketing/attachments/create-a-attachment", + "ticketing/attachments/list-attachments", + "ticketing/attachments/retrieve-a-attachment" + ] }, { - "group": "Unified Objects", - "pages": [ - { - "group": "Contacts", - "pages": [ - "crm/contacts/overview", - "crm/contacts/api/list", - "crm/contacts/api/get", - "crm/contacts/api/create", - "crm/contacts/api/update" - ] - }, - { - "group": "Companies", - "pages": [ - "crm/companies/overview", - "crm/companies/api/list", - "crm/companies/api/get", - "crm/companies/api/create", - "crm/companies/api/update" - ] - }, - { - "group": "Deals", - "pages": [ - "crm/deals/overview", - "crm/deals/api/list", - "crm/deals/api/get", - "crm/deals/api/create", - "crm/deals/api/update" - ] - }, - { - "group": "Notes", - "pages": [ - "crm/notes/overview", - "crm/notes/api/list", - "crm/notes/api/get", - "crm/notes/api/create" - ] - }, - { - "group": "Engagements", - "pages": [ - "crm/engagements/overview", - "crm/engagements/api/list", - "crm/engagements/api/get", - "crm/engagements/api/create", - "crm/engagements/api/update" - ] - }, - { - "group": "Tasks", - "pages": [ - "crm/tasks/overview", - "crm/tasks/api/list", - "crm/tasks/api/get" - ] - }, - { - "group": "Users", - "pages": [ - "crm/users/overview", - "crm/users/api/list", - "crm/users/api/get" - ] - } - ] + "group": "Collections", + "pages": [ + "ticketing/collections/list-collections", + "ticketing/collections/retrieve-a-collection" + ] }, - - { - "group": "", - "pages": [ - "file-storage/overview" - ] + "group": "Comments", + "pages": [ + "ticketing/comments/create-a-comment", + "ticketing/comments/list-comments", + "ticketing/comments/retrieve-a-comment" + ] }, - - { - "group": "File Storage Objects", - "pages": [ - { - "group": "Drives", - "pages": [ - "file-storage/drives/list-drives", - "file-storage/drives/retrieve-a-drive" - ] - }, - { - "group": "Files", - "pages": [ - "file-storage/files/create-a-file", - "file-storage/files/list-files", - "file-storage/files/retrieve-a-file" - ] - }, - { - "group": "Folders", - "pages": [ - "file-storage/olders/create-a-folder", - "file-storage/olders/list-folders", - "file-storage/olders/retrieve-a-folder" - ] - }, - { - "group": "Groups", - "pages": [ - "file-storage/groups/list-groups", - "file-storage/groups/retrieve-a-group" - ] - }, - { - "group": "Users", - "pages": [ - "file-storage/users/list-users", - "file-storage/users/retrieve-a-user" - ] - } - ] + { + "group": "Contacts", + "pages": [ + "ticketing/contacts/list-all-contacts", + "ticketing/contacts/retrieve-a-contact" + ] }, - - - - { - "group": "Accounting Objects", - "pages": [ - { - "group": "Accounts", - "pages": [ - "accounting/accounts/create-a-account", - "accounting/accounts/list-accounts", - "accounting/accounts/retrieve-a-account" - ] - }, - { - "group": "Addresses", - "pages": [ - "accounting/addresses/list-addresss", - "accounting/addresses/retrieve-a-address" - ] - }, - { - "group": "Attachments", - "pages": [ - "accounting/attachments/list-attachments", - "accounting/attachments/retrieve-a-attachment", - "accounting/attachments/create-a-attachment" - ] - }, - { - "group": "Balance Sheets", - "pages": [ - "accounting/balancesheets/list-balancesheets", - "accounting/balancesheets/retrieve-a-balancesheet" - ] - }, - { - "group": "Cash Flow Statements", - "pages": [ - "accounting/cashflowstatements/list-cashflowstatements", - "accounting/cashflowstatements/retrieve-a-cashflowstatement" - ] - }, - { - "group": "Company Infos", - "pages": [ - "accounting/companyinfos/list-companyinfos", - "accounting/companyinfos/retrieve-a-companyinfo" - ] - }, - { - "group": "Contacts", - "pages": [ - "accounting/contacts/create-a-contact", - "accounting/contacts/list-contacts", - "accounting/contacts/retrieve-a-contact" - ] - }, - { - "group": "Credit Notes", - "pages": [ - "accounting/creditnotes/list-creditnotes", - "accounting/creditnotes/retrieve-a-creditnote" - ] - }, - { - "group": "Expenses", - "pages": [ - "accounting/expenses/create-a-expense", - "accounting/expenses/list-expenses", - "accounting/expenses/retrieve-a-expense" - ] - }, - { - "group": "Income Statements", - "pages": [ - "accounting/incomestatements/list-incomestatements", - "accounting/incomestatements/retrieve-a-incomestatement" - ] - }, - { - "group": "Invoices", - "pages": [ - "accounting/invoices/list-invoices", - "accounting/invoices/retrieve-a-invoice", - "accounting/invoices/create-a-invoice" - ] - }, - { - "group": "Items", - "pages": [ - "accounting/items/retrieve-a-item", - "accounting/items/list-items" - ] - }, - { - "group": "Journal Entries", - "pages": [ - "accounting/journalentries/create-a-journalentry", - "accounting/journalentries/retrieve-a-journalentry", - "accounting/journalentries/list-journalentrys" - ] - }, - { - "group": "Overview", - "pages": [ - "accounting/overview" - ] - }, - { - "group": "Payments", - "pages": [ - "accounting/payments/create-a-payment", - "accounting/payments/list-payments", - "accounting/payments/retrieve-a-payment" - ] - }, - { - "group": "Phone Numbers", - "pages": [ - "accounting/phonenumbers/retrieve-a-phonenumber", - "accounting/phonenumbers/list-phonenumbers" - ] - }, - { - "group": "Purchase Orders", - "pages": [ - "accounting/purchaseorders/list-purchaseorders", - "accounting/purchaseorders/retrieve-a-purchaseorder", - "accounting/purchaseorders/create-a-purchaseorder" - ] - }, - { - "group": "Quickstart", - "pages": [ - "accounting/quickstart" - ] - }, - { - "group": "Tax Rates", - "pages": [ - "accounting/taxrates/list-taxrates", - "accounting/taxrates/retrieve-a-taxrate" - ] - }, - { - "group": "Tracking Categories", - "pages": [ - "accounting/trackingcategories/list-trackingcategorys", - "accounting/trackingcategories/retrieve-a-trackingcategory" - ] - }, - { - "group": "Transactions", - "pages": [ - "accounting/transactions/list-transactions", - "accounting/transactions/retrieve-a-transaction" - ] - }, - { - "group": "Vendor Credits", - "pages": [ - "accounting/vendorcredits/retrieve-a-vendorcredit", - "accounting/vendorcredits/list-vendorcredits" - ] - } - ] + { + "group": "Tags", + "pages": [ + "ticketing/tags/list-tags", + "ticketing/tags/retrieve-a-tag" + ] }, - { - "group": "", - "pages": [ - "ats/overview" - ] + "group": "Teams", + "pages": [ + "ticketing/teams/list-teams", + "ticketing/teams/retrieve-a-team" + ] }, - - - { - "group": "ATS Objects", - "pages": [ - { - "group": "Activities", - "pages": [ - "ats/activities/create-a-activity", - "ats/activities/list-activities", - "ats/activities/retrieve-a-activity" - ] - }, - { - "group": "Applications", - "pages": [ - "ats/applications/create-an-application", - "ats/applications/list-applications", - "ats/applications/retrieve-an-application" - ] - }, - { - "group": "Attachments", - "pages": [ - "ats/attachments/create-a-attachment", - "ats/attachments/list-attachments", - "ats/attachments/retrieve-a-attachment" - ] - }, - { - "group": "Candidates", - "pages": [ - "ats/candidates/create-a-candidate", - "ats/candidates/list-candidates", - "ats/candidates/retrieve-a-candidate" - ] - }, - { - "group": "Departments", - "pages": [ - "ats/departments/list-departments", - "ats/departments/retrieve-a-department" - ] - }, - { - "group": "EEOCs", - "pages": [ - "ats/eeocs/list-eeocss", - "ats/eeocs/retrieve-a-eeocs" - ] - }, - { - "group": "Interviews", - "pages": [ - "ats/interviews/create-a-interview", - "ats/interviews/list-interviews", - "ats/interviews/retrieve-a-interview" - ] - }, - { - "group": "Job Interview Stages", - "pages": [ - "ats/jobinterviewstages/list-jobinterviewstages", - "ats/jobinterviewstages/retrieve-a-jobinterviewstage" - ] - }, - { - "group": "Jobs", - "pages": [ - "ats/jobs/list-jobs", - "ats/jobs/retrieve-a-job" - ] - }, - { - "group": "Offers", - "pages": [ - "ats/offers/list-offers", - "ats/offers/retrieve-a-offer" - ] - }, - { - "group": "Offices", - "pages": [ - "ats/offices/list-offices", - "ats/offices/retrieve-a-office" - ] - }, - { - "group": "Reject Reasons", - "pages": [ - "ats/rejectreasons/list-rejectreasons", - "ats/rejectreasons/retrieve-a-rejectreason" - ] - }, - { - "group": "Scorecards", - "pages": [ - "ats/scorecards/list-scorecards", - "ats/scorecards/retrieve-a-scorecard" - ] - }, - { - "group": "Tags", - "pages": [ - "ats/tags/list-tags", - "ats/tags/retrieve-a-tag" - ] - }, - { - "group": "Users", - "pages": [ - "ats/users/list-users", - "ats/users/retrieve-a-user" - ] - } - ] + { + "group": "Tickets", + "pages": [ + "ticketing/tickets/create-a-ticket", + "ticketing/tickets/list-tickets", + "ticketing/tickets/retrieve-a-ticket" + ] }, - - - - { - "group": "", - "pages": [ - "ticketing/quickstart", - "ticketing/overview" - ] + "group": "Users", + "pages": [ + "ticketing/users/list-users", + "ticketing/users/retrieve-a-user" + ] + } + ] + }, + { + "group": "", + "pages": [ + "api-reference/introduction", + "api-reference/authentication", + "api-reference/errors", + "api-reference/pagination", + "api-reference/postman" + ] + }, + { + "group": "Unified Objects", + "pages": [ + { + "group": "CRM", + "pages": [ + { + "group": "Contact", + "pages": [ + "api-reference/crmcontact/list-a-batch-of-crm-contacts", + "api-reference/crmcontact/create-crm-contact", + "api-reference/crmcontact/update-a-crm-contact", + "api-reference/crmcontact/retrieve-a-crm-contact", + "api-reference/crmcontact/add-a-batch-of-crm-contacts" + ] + }, + { + "group": "Deal", + "pages": [ + "api-reference/crmdeal/list-a-batch-of-deals", + "api-reference/crmdeal/create-a-deal", + "api-reference/crmdeal/retrieve-a-deal", + "api-reference/crmdeal/update-a-deal", + "api-reference/crmdeal/add-a-batch-of-deals" + ] + }, + { + "group": "Note", + "pages": [ + "api-reference/crmnote/list-a-batch-of-notes", + "api-reference/crmnote/create-a-note", + "api-reference/crmnote/retrieve-a-note", + "api-reference/crmnote/add-a-batch-of-notes" + ] + }, + { + "group": "Company", + "pages": [ + "api-reference/crmcompany/list-a-batch-of-companies", + "api-reference/crmcompany/create-a-company", + "api-reference/crmcompany/update-a-company", + "api-reference/crmcompany/retrieve-a-company", + "api-reference/crmcompany/add-a-batch-of-companies" + ] + }, + { + "group": "Engagement", + "pages": [ + "api-reference/crmengagement/list-a-batch-of-engagements", + "api-reference/crmengagement/create-a-engagement", + "api-reference/crmengagement/update-a-engagement", + "api-reference/crmengagement/retrieve-a-engagement", + "api-reference/crmengagement/add-a-batch-of-engagements" + ] + }, + { + "group": "Stage", + "pages": [ + "api-reference/crmstage/list-a-batch-of-stages", + "api-reference/crmstage/retrieve-a-stage" + ] + }, + { + "group": "Task", + "pages": [ + "api-reference/crmtask/list-a-batch-of-tasks", + "api-reference/crmtask/create-a-task", + "api-reference/crmtask/update-a-task", + "api-reference/crmtask/retrieve-a-task", + "api-reference/crmtask/add-a-batch-of-tasks" + ] + }, + { + "group": "User", + "pages": [ + "api-reference/crmuser/list-a-batch-of-users", + "api-reference/crmuser/retrieve-a-user" + ] + } + ] }, { - "group": "Unified Objects", - "pages": [ - { - "group": "Accounts", - "pages": [ - "ticketing/accounts/list-accounts", - "ticketing/accounts/retrieve-an-account" - ] - }, - { - "group": "Attachments", - "pages": [ - "ticketing/attachments/create-a-attachment", - "ticketing/attachments/list-attachments", - "ticketing/attachments/retrieve-a-attachment" - ] - }, - { - "group": "Collections", - "pages": [ - "ticketing/collections/list-collections", - "ticketing/collections/retrieve-a-collection" - ] - }, - { - "group": "Comments", - "pages": [ - "ticketing/comments/create-a-comment", - "ticketing/comments/list-comments", - "ticketing/comments/retrieve-a-comment" - ] - }, - { - "group": "Contacts", - "pages": [ - "ticketing/contacts/list-all-contacts", - "ticketing/contacts/retrieve-a-contact" - ] - }, - { - "group": "Tags", - "pages": [ - "ticketing/tags/list-tags", - "ticketing/tags/retrieve-a-tag" - ] - }, - { - "group": "Teams", - "pages": [ - "ticketing/teams/list-teams", - "ticketing/teams/retrieve-a-team" - ] - }, - { - "group": "Tickets", - "pages": [ - "ticketing/tickets/create-a-ticket", - "ticketing/tickets/list-tickets", - "ticketing/tickets/retrieve-a-ticket" - ] - }, - { - "group": "Users", - "pages": [ - "ticketing/users/list-users", - "ticketing/users/retrieve-a-user" - ] - } - ] + "group": "Ticketing", + "pages": [ + { + "group": "Ticket", + "pages": [ + "api-reference/ticketingticket/list-a-batch-of-tickets", + "api-reference/ticketingticket/create-a-ticket", + "api-reference/ticketingticket/update-a-ticket", + "api-reference/ticketingticket/retrieve-a-ticket", + "api-reference/ticketingticket/add-a-batch-of-tickets" + ] + }, + { + "group": "Comment", + "pages": [ + "api-reference/ticketingcomment/list-a-batch-of-comments", + "api-reference/ticketingcomment/create-a-comment", + "api-reference/ticketingcomment/retrieve-a-comment", + "api-reference/ticketingcomment/add-a-batch-of-comments" + ] + }, + { + "group": "User", + "pages": [ + "api-reference/ticketinguser/list-a-batch-of-users", + "api-reference/ticketinguser/retrieve-a-user" + ] + }, + { + "group": "Attachment", + "pages": [ + "api-reference/ticketingattachment/list-a-batch-of-attachments", + "api-reference/ticketingattachment/create-a-attachment", + "api-reference/ticketingattachment/retrieve-a-attachment", + "api-reference/ticketingattachment/download-a-attachment", + "api-reference/ticketingattachment/add-a-batch-of-attachments" + ] + }, + { + "group": "Contact", + "pages": [ + "api-reference/ticketingcontact/list-a-batch-of-contacts", + "api-reference/ticketingcontact/retrieve-a-contact" + ] + }, + { + "group": "Account", + "pages": [ + "api-reference/ticketingaccount/list-a-batch-of-accounts", + "api-reference/ticketingaccount/retrieve-an-account" + ] + }, + { + "group": "Tag", + "pages": [ + "api-reference/ticketingtag/list-a-batch-of-tags", + "api-reference/ticketingtag/retrieve-a-tag" + ] + }, + { + "group": "Team", + "pages": [ + "api-reference/ticketingteam/list-a-batch-of-teams", + "api-reference/ticketingteam/retrieve-a-team" + ] + } + ] + } + ] + }, + { + "group": "Core Resources", + "pages": [ + { + "group": "Auth", + "pages": [ + "api-reference/auth/register", + "api-reference/auth/log-in", + "api-reference/auth/get-users", + "api-reference/auth/retrieve-api-keys", + "api-reference/auth/create-api-key" + ] }, { - "group": "", - "pages": [ - "api-reference/introduction", - "api-reference/authentication", - "api-reference/errors", - "api-reference/pagination", - "api-reference/postman" - ] + "group": "Connections", + "pages": [ + "api-reference/connections/capture-oauth-callback", + "api-reference/connections/list-connections" + ] }, { - "group": "Unified Objects", - "pages": [ - { - "group": "CRM", - "pages": [ - { - "group": "Contact", - "pages": [ - "api-reference/crmcontact/list-a-batch-of-crm-contacts", - "api-reference/crmcontact/create-crm-contact", - "api-reference/crmcontact/update-a-crm-contact", - "api-reference/crmcontact/retrieve-a-crm-contact", - "api-reference/crmcontact/add-a-batch-of-crm-contacts" - ] - }, - { - "group": "Deal", - "pages": [ - "api-reference/crmdeal/list-a-batch-of-deals", - "api-reference/crmdeal/create-a-deal", - "api-reference/crmdeal/retrieve-a-deal", - "api-reference/crmdeal/update-a-deal", - "api-reference/crmdeal/add-a-batch-of-deals" - ] - }, - { - "group": "Note", - "pages": [ - "api-reference/crmnote/list-a-batch-of-notes", - "api-reference/crmnote/create-a-note", - "api-reference/crmnote/retrieve-a-note", - "api-reference/crmnote/add-a-batch-of-notes" - ] - }, - { - "group": "Company", - "pages": [ - "api-reference/crmcompany/list-a-batch-of-companies", - "api-reference/crmcompany/create-a-company", - "api-reference/crmcompany/update-a-company", - "api-reference/crmcompany/retrieve-a-company", - "api-reference/crmcompany/add-a-batch-of-companies" - ] - }, - { - "group": "Engagement", - "pages": [ - "api-reference/crmengagement/list-a-batch-of-engagements", - "api-reference/crmengagement/create-a-engagement", - "api-reference/crmengagement/update-a-engagement", - "api-reference/crmengagement/retrieve-a-engagement", - "api-reference/crmengagement/add-a-batch-of-engagements" - ] - }, - { - "group": "Stage", - "pages": [ - "api-reference/crmstage/list-a-batch-of-stages", - "api-reference/crmstage/retrieve-a-stage" - ] - }, - { - "group": "Task", - "pages": [ - "api-reference/crmtask/list-a-batch-of-tasks", - "api-reference/crmtask/create-a-task", - "api-reference/crmtask/update-a-task", - "api-reference/crmtask/retrieve-a-task", - "api-reference/crmtask/add-a-batch-of-tasks" - ] - }, - { - "group": "User", - "pages": [ - "api-reference/crmuser/list-a-batch-of-users", - "api-reference/crmuser/retrieve-a-user" - ] - } - ] - }, - { - "group": "Ticketing", - "pages": [ - { - "group": "Ticket", - "pages": [ - "api-reference/ticketingticket/list-a-batch-of-tickets", - "api-reference/ticketingticket/create-a-ticket", - "api-reference/ticketingticket/update-a-ticket", - "api-reference/ticketingticket/retrieve-a-ticket", - "api-reference/ticketingticket/add-a-batch-of-tickets" - ] - }, - { - "group": "Comment", - "pages": [ - "api-reference/ticketingcomment/list-a-batch-of-comments", - "api-reference/ticketingcomment/create-a-comment", - "api-reference/ticketingcomment/retrieve-a-comment", - "api-reference/ticketingcomment/add-a-batch-of-comments" - ] - }, - { - "group": "User", - "pages": [ - "api-reference/ticketinguser/list-a-batch-of-users", - "api-reference/ticketinguser/retrieve-a-user" - ] - }, - { - "group": "Attachment", - "pages": [ - "api-reference/ticketingattachment/list-a-batch-of-attachments", - "api-reference/ticketingattachment/create-a-attachment", - "api-reference/ticketingattachment/retrieve-a-attachment", - "api-reference/ticketingattachment/download-a-attachment", - "api-reference/ticketingattachment/add-a-batch-of-attachments" - ] - }, - { - "group": "Contact", - "pages": [ - "api-reference/ticketingcontact/list-a-batch-of-contacts", - "api-reference/ticketingcontact/retrieve-a-contact" - ] - }, - { - "group": "Account", - "pages": [ - "api-reference/ticketingaccount/list-a-batch-of-accounts", - "api-reference/ticketingaccount/retrieve-an-account" - ] - }, - { - "group": "Tag", - "pages": [ - "api-reference/ticketingtag/list-a-batch-of-tags", - "api-reference/ticketingtag/retrieve-a-tag" - ] - }, - { - "group": "Team", - "pages": [ - "api-reference/ticketingteam/list-a-batch-of-teams", - "api-reference/ticketingteam/retrieve-a-team" - ] - } - ] - } - ] + "group": "Webhook", + "pages": [ + "api-reference/webhook/retrieve-webhooks-metadata", + "api-reference/webhook/add-webhook-metadata", + "api-reference/webhook/update-webhook-status" + ] }, { - "group": "Core Resources", - "pages": [ - { - "group": "Auth", - "pages": [ - "api-reference/auth/register", - "api-reference/auth/log-in", - "api-reference/auth/get-users", - "api-reference/auth/retrieve-api-keys", - "api-reference/auth/create-api-key" - ] - }, - { - "group": "Connections", - "pages": [ - "api-reference/connections/capture-oauth-callback", - "api-reference/connections/list-connections" - ] - }, - { - "group": "Webhook", - "pages": [ - "api-reference/webhook/retrieve-webhooks-metadata", - "api-reference/webhook/add-webhook-metadata", - "api-reference/webhook/update-webhook-status" - ] - }, - { - "group": "Linked Users", - "pages": [ - "api-reference/linked-users/add-linked-user", - "api-reference/linked-users/retrieve-linked-users", - "api-reference/linked-users/retrieve-a-linked-user" - ] - }, - { - "group": "Organisations", - "pages": [ - "api-reference/organisations/retrieve-organisations", - "api-reference/organisations/create-an-organisation" - ] - }, - { - "group": "Projects", - "pages": [ - "api-reference/projects/retrieve-projects", - "api-reference/projects/create-a-project" - ] - }, - { - "group": "Field Mappings", - "pages": [ - "api-reference/field-mapping/retrieve-field-mapping-entities", - "api-reference/field-mapping/retrieve-field-mappings", - "api-reference/field-mapping/retrieve-field-mappings-values", - "api-reference/field-mapping/define-target-field", - "api-reference/field-mapping/map-custom-field", - "api-reference/field-mapping/retrieve-custom-properties" - ] - }, - { - "group": "Events", - "pages": [ - "api-reference/events/retrieve-events" - ] - }, - { - "group": "Magic Links", - "pages": [ - "api-reference/magic-link/create-a-magic-link", - "api-reference/magic-link/retrieve-magic-links", - "api-reference/magic-link/retrieve-a-magic-link" - ] - }, - { - "group": "Passthrough", - "pages": [ - "api-reference/passthrough/make-a-passthrough-request" - ] - } - ] + "group": "Linked Users", + "pages": [ + "api-reference/linked-users/add-linked-user", + "api-reference/linked-users/retrieve-linked-users", + "api-reference/linked-users/retrieve-a-linked-user" + ] }, { - "group": "Core Concepts", - "pages": [ - "core-concepts/auth", - "core-concepts/magic-links", - "core-concepts/custom-fields", - "core-concepts/sync-strategies" - ] + "group": "Organisations", + "pages": [ + "api-reference/organisations/retrieve-organisations", + "api-reference/organisations/create-an-organisation" + ] }, { - "group": "Recipes", - "pages": [ - "recipes/frontend-sdk", - "recipes/embed-catalog", - "recipes/import-existing-users", - "recipes/catch-connection-token", - "recipes/add-custom-provider-creds" - ] + "group": "Projects", + "pages": [ + "api-reference/projects/retrieve-projects", + "api-reference/projects/create-a-project" + ] }, { - "group": "Glossary", - "pages": [ - "glossary/connection-object", - "glossary/linked-account-object", - { - "group": "Metadata", - "pages": [ - "glossary/metadata/category", - "glossary/metadata/connectors" - ] - } - ] + "group": "Field Mappings", + "pages": [ + "api-reference/field-mapping/retrieve-field-mapping-entities", + "api-reference/field-mapping/retrieve-field-mappings", + "api-reference/field-mapping/retrieve-field-mappings-values", + "api-reference/field-mapping/define-target-field", + "api-reference/field-mapping/map-custom-field", + "api-reference/field-mapping/retrieve-custom-properties" + ] }, { - "group": "Devtools", - "pages": [ - { - "group": "SDKs", - "pages": [ - "backend-sdk/typescript", - "backend-sdk/python" - ] - } - ] + "group": "Events", + "pages": [ + "api-reference/events/retrieve-events" + ] }, { - "group": "Webhooks", - "pages": [ - "webhooks/overview", - { - "group": "Events", - "pages": [ - "webhooks/events/overview", - "webhooks/events/event-types" - ] - } - ] + "group": "Magic Links", + "pages": [ + "api-reference/magic-link/create-a-magic-link", + "api-reference/magic-link/retrieve-magic-links", + "api-reference/magic-link/retrieve-a-magic-link" + ] }, { - "group":"Open-Source", + "group": "Passthrough", + "pages": [ + "api-reference/passthrough/make-a-passthrough-request" + ] + } + ] + }, + { + "group": "Core Concepts", + "pages": [ + "core-concepts/auth", + "core-concepts/magic-links", + "core-concepts/custom-fields", + "core-concepts/sync-strategies" + ] + }, + { + "group": "Recipes", + "pages": [ + "recipes/embed-catalog", + "recipes/import-existing-users", + "recipes/catch-connection-token", + "recipes/add-custom-provider-creds" + ] + }, + { + "group": "Glossary", + "pages": [ + "glossary/connection-object", + "glossary/linked-account-object", + { + "group": "Metadata", + "pages": [ + "glossary/metadata/category", + "glossary/metadata/connectors" + ] + } + ] + }, + { + "group": "Devtools", + "pages": [ + { + "group": "SDKs", + "pages": [ + "backend-sdk/typescript", + "backend-sdk/python" + ] + } + ] + }, + { + "group": "Webhooks", + "pages": [ + "webhooks/overview", + { + "group": "Events", + "pages": [ + "webhooks/events/overview", + "webhooks/events/event-types" + ] + } + ] + }, + { + "group":"Open-Source", "pages":[ { "group":"Selfhost", "icon":"house-laptop", "pages":[ - "open-source/selfhost/self-host-guide", - "open-source/selfhost/envVariables", - "open-source/selfhost/ngrok" + "open-source/self_hosting/self-host-guide", + "open-source/self_hosting/envVariables", + "open-source/self_hosting/ngrok" ] }, { @@ -926,17 +871,56 @@ ] } ] - }, - { - "group": "Support", - "pages": [ - "support/get_help" - ] - } - ], - "footerSocials": { - "twitter": "https://twitter.com/panoradotdev", - "github": "https://github.com/panoratech/Panora", - "discord": "https://discord.gg/G7fr4HNyTb" + }, + { + "group": "Support", + "pages": [ + "support/get_help" + ] + } + ], + "openapi": "https://raw.githubusercontent.com/panoratech/Panora/main/packages/api/swagger/openapi-with-code-samples.yaml", + "primaryTab": { + "name": "Home" + }, + "tabs": [ + { + "name": "Accounting", + "url": "accounting" + }, + { + "name": "ATS", + "url": "ats" + }, + { + "name": "CRM", + "url": "crm" + }, + { + "name": "File Storage", + "url": "file-storage" + }, + { + "name": "Ticketing", + "url": "ticketing" + }, + { + "name": "API Reference", + "url": "api-reference" + } + ], + "topbarCtaButton": { + "type": "github", + "url": "https://github.com/panoratech/Panora" + }, + "topbarLinks": [ + { + "name": "Home", + "url": "https://panora.dev" + }, + { + "name": "Blog", + "url": "https://panora.dev/blog" } -} \ No newline at end of file + ] +} diff --git a/docs/open-source/self-hosting/envVariables.mdx b/docs/open-source/self_hosting/envVariables.mdx similarity index 100% rename from docs/open-source/self-hosting/envVariables.mdx rename to docs/open-source/self_hosting/envVariables.mdx diff --git a/docs/open-source/self-hosting/guide.mdx b/docs/open-source/self_hosting/guide.mdx similarity index 100% rename from docs/open-source/self-hosting/guide.mdx rename to docs/open-source/self_hosting/guide.mdx diff --git a/docs/open-source/self-hosting/ngrok.mdx b/docs/open-source/self_hosting/ngrok.mdx similarity index 100% rename from docs/open-source/self-hosting/ngrok.mdx rename to docs/open-source/self_hosting/ngrok.mdx diff --git a/docs/openapi-with-code-samples.yaml b/docs/openapi-with-code-samples.yaml deleted file mode 100644 index 5c4956bd7..000000000 --- a/docs/openapi-with-code-samples.yaml +++ /dev/null @@ -1,15194 +0,0 @@ -openapi: 3.0.0 -paths: - /: - get: - operationId: hello - summary: '' - parameters: [] - responses: - '200': - description: '' - x-codeSamples: - - lang: typescript - label: hello - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hello(); - - // Handle the result - console.log(result) - } - - run(); - /health: - get: - operationId: health - summary: '' - parameters: [] - responses: - '200': - description: '' - x-codeSamples: - - lang: typescript - label: health - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.health(); - - // Handle the result - console.log(result) - } - - run(); - /webhook: - get: - operationId: listWebhooks - summary: 'List webhooks ' - parameters: [] - responses: - '200': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/WebhookResponse' - tags: &ref_0 - - webhook - x-speakeasy-group: webhook - x-codeSamples: - - lang: typescript - label: listWebhooks - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.webhook.list(); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createWebhook - summary: Add webhook metadata - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookDto' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookResponse' - tags: *ref_0 - x-speakeasy-group: webhook - x-codeSamples: - - lang: typescript - label: createWebhook - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.webhook.create({ - url: "http://limp-pastry.org", - description: "Inverse discrete benchmark", - scope: [ - "", - ], - }); - - // Handle the result - console.log(result) - } - - run(); - /webhook/{id}: - delete: - operationId: delete - summary: Delete Webhook - parameters: - - name: id - required: true - in: path - schema: - type: string - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookResponse' - tags: *ref_0 - x-speakeasy-group: webhook - x-codeSamples: - - lang: typescript - label: delete - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.webhook.delete({ - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - put: - operationId: updateStatus - summary: Update webhook status - parameters: - - name: id - required: true - in: path - schema: - type: string - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/WebhookResponse' - tags: *ref_0 - x-speakeasy-group: webhook - x-codeSamples: - - lang: typescript - label: updateStatus - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.webhook.updateStatus({ - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /webhook/verifyEvent: - post: - operationId: verifyEvent - summary: Verify payload signature of the webhook - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/SignatureVerificationDto' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/EventPayload' - tags: *ref_0 - x-speakeasy-group: webhook - x-codeSamples: - - lang: typescript - label: verifyEvent - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.webhook.verifyEvent({ - payload: {}, - signature: "", - secret: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/tickets: - get: - operationId: listTicketingTicket - summary: List Tickets - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingTicketOutput' - tags: &ref_1 - - ticketing/tickets - security: &ref_2 - - bearer: [] - x-speakeasy-group: ticketing.tickets - x-codeSamples: - - lang: typescript - label: listTicketingTicket - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.tickets.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createTicketingTicket - summary: Create a Ticket - description: Create a ticket in any supported Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingTicketInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingTicketOutput' - tags: *ref_1 - security: *ref_2 - x-speakeasy-group: ticketing.tickets - x-codeSamples: - - lang: typescript - label: createTicketingTicket - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.tickets.create({ - xConnectionToken: "", - unifiedTicketingTicketInput: { - name: "", - description: "Multi-tiered human-resource model", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/tickets/{id}: - get: - operationId: retrieveTicketingTicket - summary: Retrieve a Ticket - description: Retrieve a ticket from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the `ticket` you want to retrive. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingTicketOutput' - tags: *ref_1 - security: *ref_2 - x-speakeasy-group: ticketing.tickets - x-codeSamples: - - lang: typescript - label: retrieveTicketingTicket - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.tickets.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/users: - get: - operationId: listTicketingUsers - summary: List Users - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingUserOutput' - tags: &ref_3 - - ticketing/users - security: &ref_4 - - bearer: [] - x-speakeasy-group: ticketing.users - x-codeSamples: - - lang: typescript - label: listTicketingUsers - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.users.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/users/{id}: - get: - operationId: retrieveTicketingUser - summary: Retrieve a User - description: Retrieve a user from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the user you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingUserOutput' - tags: *ref_3 - security: *ref_4 - x-speakeasy-group: ticketing.users - x-codeSamples: - - lang: typescript - label: retrieveTicketingUser - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.users.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/accounts: - get: - operationId: listTicketingAccount - summary: List Accounts - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingAccountOutput' - tags: &ref_5 - - ticketing/accounts - security: &ref_6 - - bearer: [] - x-speakeasy-group: ticketing.accounts - x-codeSamples: - - lang: typescript - label: listTicketingAccount - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.accounts.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/accounts/{id}: - get: - operationId: retrieveTicketingAccount - summary: Retrieve an Account - description: Retrieve an account from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the account you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingAccountOutput' - tags: *ref_5 - security: *ref_6 - x-speakeasy-group: ticketing.accounts - x-codeSamples: - - lang: typescript - label: retrieveTicketingAccount - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.accounts.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/contacts: - get: - operationId: listTicketingContacts - summary: List all Contacts - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingContactOutput' - tags: &ref_7 - - ticketing/contacts - security: &ref_8 - - bearer: [] - x-speakeasy-group: ticketing.contacts - x-codeSamples: - - lang: typescript - label: listTicketingContacts - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.contacts.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/contacts/{id}: - get: - operationId: retrieveTicketingContact - summary: Retrieve a Contact - description: Retrieve a contact from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the contact you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingContactOutput' - tags: *ref_7 - security: *ref_8 - x-speakeasy-group: ticketing.contacts - x-codeSamples: - - lang: typescript - label: retrieveTicketingContact - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.contacts.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /sync/status/{vertical}: - get: - operationId: status - summary: Retrieve sync status of a certain vertical - parameters: - - name: vertical - required: true - in: path - schema: - type: string - responses: - '200': - description: '' - tags: &ref_9 - - sync - x-speakeasy-group: sync - x-codeSamples: - - lang: typescript - label: status - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.sync.status({ - vertical: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /sync/resync: - post: - operationId: resync - summary: Resync common objects across a vertical - parameters: [] - responses: - '200': - description: '' - tags: *ref_9 - x-speakeasy-group: sync - x-codeSamples: - - lang: typescript - label: resync - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.sync.resync(); - - // Handle the result - console.log(result) - } - - run(); - /crm/companies: - get: - operationId: listCrmCompany - summary: List Companies - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmCompanyOutput' - tags: &ref_10 - - crm/companies - security: &ref_11 - - bearer: [] - x-speakeasy-group: crm.companies - x-codeSamples: - - lang: typescript - label: listCrmCompany - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.companies.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createCrmCompany - summary: Create a Company - description: Create a company in any supported Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmCompanyInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmCompanyOutput' - tags: *ref_10 - security: *ref_11 - x-speakeasy-group: crm.companies - x-codeSamples: - - lang: typescript - label: createCrmCompany - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.companies.create({ - xConnectionToken: "", - unifiedCrmCompanyInput: { - name: "", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/companies/{id}: - get: - operationId: retrieveCrmCompany - summary: Retrieve a Company - description: Retrieve a company from any connected Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the company you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmCompanyOutput' - tags: *ref_10 - security: *ref_11 - x-speakeasy-group: crm.companies - x-codeSamples: - - lang: typescript - label: retrieveCrmCompany - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.companies.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/contacts: - get: - operationId: listCrmContacts - summary: List CRM Contacts - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmContactOutput' - tags: &ref_12 - - crm/contacts - security: &ref_13 - - bearer: [] - x-speakeasy-group: crm.contacts - x-codeSamples: - - lang: typescript - label: listCrmContacts - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.contacts.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createCrmContact - summary: Create CRM Contact - description: Create a contact in any supported CRM - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original CRM software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmContactInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmContactOutput' - tags: *ref_12 - security: *ref_13 - x-speakeasy-group: crm.contacts - x-codeSamples: - - lang: typescript - label: createCrmContact - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.contacts.create({ - xConnectionToken: "", - unifiedCrmContactInput: { - firstName: "Jed", - lastName: "Kuhn", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/contacts/{id}: - get: - operationId: retrieveCrmContact - summary: Retrieve a CRM Contact - description: Retrieve a contact from any connected CRM - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the `contact` you want to retrive. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original CRM software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmContactOutput' - tags: *ref_12 - security: *ref_13 - x-speakeasy-group: crm.contacts - x-codeSamples: - - lang: typescript - label: retrieveCrmContact - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.contacts.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/deals: - get: - operationId: listCrmDeals - summary: List Deals - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmDealOutput' - tags: &ref_14 - - crm/deals - security: &ref_15 - - bearer: [] - x-speakeasy-group: crm.deals - x-codeSamples: - - lang: typescript - label: listCrmDeals - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.deals.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createCrmDeal - summary: Create a Deal - description: Create a deal in any supported Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmDealInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmDealOutput' - tags: *ref_14 - security: *ref_15 - x-speakeasy-group: crm.deals - x-codeSamples: - - lang: typescript - label: createCrmDeal - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.deals.create({ - xConnectionToken: "", - unifiedCrmDealInput: { - name: "", - description: "Multi-tiered human-resource model", - amount: 8592.13, - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/deals/{id}: - get: - operationId: retrieveCrmDeal - summary: Retrieve a Deal - description: Retrieve a deal from any connected Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the deal you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmDealOutput' - tags: *ref_14 - security: *ref_15 - x-speakeasy-group: crm.deals - x-codeSamples: - - lang: typescript - label: retrieveCrmDeal - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.deals.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/engagements: - get: - operationId: listCrmEngagements - summary: List Engagements - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmEngagementOutput' - tags: &ref_16 - - crm/engagements - security: &ref_17 - - bearer: [] - x-speakeasy-group: crm.engagements - x-codeSamples: - - lang: typescript - label: listCrmEngagements - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.engagements.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createCrmEngagement - summary: Create a Engagement - description: Create a engagement in any supported Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmEngagementInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmEngagementOutput' - tags: *ref_16 - security: *ref_17 - x-speakeasy-group: crm.engagements - x-codeSamples: - - lang: typescript - label: createCrmEngagement - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.engagements.create({ - xConnectionToken: "", - unifiedCrmEngagementInput: { - type: "", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/engagements/{id}: - get: - operationId: retrieveCrmEngagement - summary: Retrieve a Engagement - description: Retrieve a engagement from any connected Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the engagement you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmEngagementOutput' - tags: *ref_16 - security: *ref_17 - x-speakeasy-group: crm.engagements - x-codeSamples: - - lang: typescript - label: retrieveCrmEngagement - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.engagements.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/notes: - get: - operationId: listCrmNote - summary: List Notes - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmNoteOutput' - tags: &ref_18 - - crm/notes - security: &ref_19 - - bearer: [] - x-speakeasy-group: crm.notes - x-codeSamples: - - lang: typescript - label: listCrmNote - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.notes.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createCrmNote - summary: Create a Note - description: Create a note in any supported Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmNoteInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmNoteOutput' - tags: *ref_18 - security: *ref_19 - x-speakeasy-group: crm.notes - x-codeSamples: - - lang: typescript - label: createCrmNote - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.notes.create({ - xConnectionToken: "", - unifiedCrmNoteInput: { - content: "", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/notes/{id}: - get: - operationId: retrieveCrmNote - summary: Retrieve a Note - description: Retrieve a note from any connected Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the note you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmNoteOutput' - tags: *ref_18 - security: *ref_19 - x-speakeasy-group: crm.notes - x-codeSamples: - - lang: typescript - label: retrieveCrmNote - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.notes.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/stages: - get: - operationId: listCrmStages - summary: List Stages - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmStageOutput' - tags: &ref_20 - - crm/stages - security: &ref_21 - - bearer: [] - x-speakeasy-group: crm.stages - x-codeSamples: - - lang: typescript - label: listCrmStages - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.stages.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/stages/{id}: - get: - operationId: retrieveCrmStage - summary: Retrieve a Stage - description: Retrieve a stage from any connected Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the stage you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmStageOutput' - tags: *ref_20 - security: *ref_21 - x-speakeasy-group: crm.stages - x-codeSamples: - - lang: typescript - label: retrieveCrmStage - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.stages.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/tasks: - get: - operationId: listCrmTask - summary: List Tasks - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmTaskOutput' - tags: &ref_22 - - crm/tasks - security: &ref_23 - - bearer: [] - x-speakeasy-group: crm.tasks - x-codeSamples: - - lang: typescript - label: listCrmTask - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.tasks.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createCrmTask - summary: Create a Task - description: Create a task in any supported Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmTaskInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmTaskOutput' - tags: *ref_22 - security: *ref_23 - x-speakeasy-group: crm.tasks - x-codeSamples: - - lang: typescript - label: createCrmTask - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.tasks.create({ - xConnectionToken: "", - unifiedCrmTaskInput: { - subject: "", - content: "", - status: "", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/tasks/{id}: - get: - operationId: retrieveCrmTask - summary: Retrieve a Task - description: Retrieve a task from any connected Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the task you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmTaskOutput' - tags: *ref_22 - security: *ref_23 - x-speakeasy-group: crm.tasks - x-codeSamples: - - lang: typescript - label: retrieveCrmTask - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.tasks.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/users: - get: - operationId: listCrmUsers - summary: List Users - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCrmUserOutput' - tags: &ref_24 - - crm/users - security: &ref_25 - - bearer: [] - x-speakeasy-group: crm.users - x-codeSamples: - - lang: typescript - label: listCrmUsers - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.users.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /crm/users/{id}: - get: - operationId: retrieveCrmUser - summary: Retrieve a User - description: Retrieve a user from any connected Crm software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the user you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Crm software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCrmUserOutput' - tags: *ref_24 - security: *ref_25 - x-speakeasy-group: crm.users - x-codeSamples: - - lang: typescript - label: retrieveCrmUser - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.crm.users.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/collections: - get: - operationId: listTicketingCollections - summary: List Collections - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedTicketingCollectionOutput - tags: &ref_26 - - ticketing/collections - security: &ref_27 - - bearer: [] - x-speakeasy-group: ticketing.collections - x-codeSamples: - - lang: typescript - label: listTicketingCollections - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.collections.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/collections/{id}: - get: - operationId: retrieveCollection - summary: Retrieve a Collection - description: Retrieve a collection from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the collection you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingCollectionOutput' - tags: *ref_26 - security: *ref_27 - x-speakeasy-group: ticketing.collections - x-codeSamples: - - lang: typescript - label: retrieveCollection - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.collections.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/comments: - get: - operationId: listTicketingComments - summary: List Comments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingCommentOutput' - tags: &ref_28 - - ticketing/comments - security: &ref_29 - - bearer: [] - x-speakeasy-group: ticketing.comments - x-codeSamples: - - lang: typescript - label: listTicketingComments - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.comments.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createTicketingComment - summary: Create a Comment - description: Create a comment in any supported Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingCommentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingCommentOutput' - tags: *ref_28 - security: *ref_29 - x-speakeasy-group: ticketing.comments - x-codeSamples: - - lang: typescript - label: createTicketingComment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.comments.create({ - xConnectionToken: "", - unifiedTicketingCommentInput: { - body: "", - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/comments/{id}: - get: - operationId: retrieveTicketingComment - summary: Retrieve a Comment - description: Retrieve a comment from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the `comment` you want to retrive. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingCommentOutput' - tags: *ref_28 - security: *ref_29 - x-speakeasy-group: ticketing.comments - x-codeSamples: - - lang: typescript - label: retrieveTicketingComment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.comments.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/tags: - get: - operationId: listTicketingTags - summary: List Tags - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingTagOutput' - tags: &ref_30 - - ticketing/tags - security: &ref_31 - - bearer: [] - x-speakeasy-group: ticketing.tags - x-codeSamples: - - lang: typescript - label: listTicketingTags - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.tags.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/tags/{id}: - get: - operationId: retrieveTicketingTag - summary: Retrieve a Tag - description: Retrieve a tag from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the tag you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingTagOutput' - tags: *ref_30 - security: *ref_31 - x-speakeasy-group: ticketing.tags - x-codeSamples: - - lang: typescript - label: retrieveTicketingTag - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.tags.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/teams: - get: - operationId: listTicketingTeams - summary: List Teams - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedTicketingTeamOutput' - tags: &ref_32 - - ticketing/teams - security: &ref_33 - - bearer: [] - x-speakeasy-group: ticketing.teams - x-codeSamples: - - lang: typescript - label: listTicketingTeams - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.teams.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/teams/{id}: - get: - operationId: retrieveTicketingTeam - summary: Retrieve a Team - description: Retrieve a team from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the team you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingTeamOutput' - tags: *ref_32 - security: *ref_33 - x-speakeasy-group: ticketing.teams - x-codeSamples: - - lang: typescript - label: retrieveTicketingTeam - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.teams.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /linked-users: - post: - operationId: createLinkedUser - summary: Add Linked User - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/CreateLinkedUserDto' - responses: - '201': - description: '' - tags: &ref_34 - - linkedUsers - x-speakeasy-group: linkedUsers - x-codeSamples: - - lang: typescript - label: createLinkedUser - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.linkedUsers.create({ - linkedUserOriginId: "", - alias: "", - idProject: "", - }); - - // Handle the result - console.log(result) - } - - run(); - get: - operationId: listLinkedUsers - summary: Retrieve Linked Users - parameters: [] - responses: - '200': - description: '' - tags: *ref_34 - x-speakeasy-group: linkedUsers - x-codeSamples: - - lang: typescript - label: listLinkedUsers - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.linkedUsers.list(); - - // Handle the result - console.log(result) - } - - run(); - /linked-users/batch: - post: - operationId: importBatch - summary: Add Batch Linked Users - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/CreateBatchLinkedUserDto' - responses: - '201': - description: '' - tags: *ref_34 - x-speakeasy-group: linkedUsers - x-codeSamples: - - lang: typescript - label: importBatch - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.linkedUsers.importBatch({ - linkedUserOriginIds: [ - "", - ], - alias: "", - idProject: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /linked-users/single: - get: - operationId: retrieveLinkedUser - summary: Retrieve a Linked User - parameters: - - name: id - required: true - in: query - schema: - type: string - responses: - '200': - description: '' - tags: *ref_34 - x-speakeasy-group: linkedUsers - x-codeSamples: - - lang: typescript - label: retrieveLinkedUser - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.linkedUsers.retrieve({ - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /linked-users/fromRemoteId: - get: - operationId: remoteId - summary: Retrieve a Linked User From A Remote Id - parameters: - - name: remoteId - required: true - in: query - schema: - type: string - responses: - '200': - description: '' - tags: *ref_34 - x-speakeasy-group: linkedUsers - x-codeSamples: - - lang: typescript - label: remoteId - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.linkedUsers.remoteId({ - remoteId: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /field-mappings/define: - post: - operationId: define - summary: Define target Field - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/DefineTargetFieldDto' - responses: - '201': - description: '' - tags: &ref_35 - - fieldMappings - x-speakeasy-group: fieldMappings - x-codeSamples: - - lang: typescript - label: define - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.fieldMappings.define({ - objectTypeOwner: "", - name: "", - description: "Optimized object-oriented emulation", - dataType: "float", - }); - - // Handle the result - console.log(result) - } - - run(); - /field-mappings: - post: - operationId: create - summary: Create Custom Field - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/CustomFieldCreateDto' - responses: - '201': - description: '' - tags: *ref_35 - x-speakeasy-group: fieldMappings - x-codeSamples: - - lang: typescript - label: create - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.fieldMappings.create({ - objectTypeOwner: "", - name: "", - description: "Multi-tiered human-resource model", - dataType: "enum", - sourceCustomFieldId: "", - sourceProvider: "", - linkedUserId: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /field-mappings/map: - post: - operationId: map - summary: Map Custom Field - parameters: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/MapFieldToProviderDto' - responses: - '201': - description: '' - tags: *ref_35 - x-speakeasy-group: fieldMappings - x-codeSamples: - - lang: typescript - label: map - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.fieldMappings.map({ - attributeId: "", - sourceCustomFieldId: "", - sourceProvider: "", - linkedUserId: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /passthrough: - post: - operationId: request - summary: Make a passthrough request - parameters: - - name: integrationId - required: true - in: query - schema: - type: string - - name: linkedUserId - required: true - in: query - schema: - type: string - - name: vertical - required: true - in: query - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/PassThroughRequestDto' - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/PassThroughResponse' - tags: - - passthrough - x-codeSamples: - - lang: typescript - label: request - source: |- - import { Panora } from "@panora/sdk"; - import { Method } from "@panora/sdk/models/components"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.passthrough.request({ - integrationId: "", - linkedUserId: "", - vertical: "", - passThroughRequestDto: { - method: Method.Get, - path: "/dev", - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/bankinfo: - get: - operationId: listHrisBankinfo - summary: List Bankinfos - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisBankinfoOutput' - tags: &ref_36 - - hris/bankinfo - security: &ref_37 - - bearer: [] - x-speakeasy-group: hris.bankinfo - x-codeSamples: - - lang: typescript - label: listHrisBankinfo - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.bankinfo.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/bankinfo/{id}: - get: - operationId: retrieveHrisBankinfo - summary: Retrieve a Bankinfo - description: Retrieve a bankinfo from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the bankinfo you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisBankinfoOutput' - tags: *ref_36 - security: *ref_37 - x-speakeasy-group: hris.bankinfo - x-codeSamples: - - lang: typescript - label: retrieveHrisBankinfo - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.bankinfo.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/benefit: - get: - operationId: listHrisBenefit - summary: List Benefits - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisBenefitOutput' - tags: &ref_38 - - hris/benefit - security: &ref_39 - - bearer: [] - x-speakeasy-group: hris.benefit - x-codeSamples: - - lang: typescript - label: listHrisBenefit - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.benefit.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/benefit/{id}: - get: - operationId: retrieveHrisBenefit - summary: Retrieve a Benefit - description: Retrieve a benefit from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the benefit you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisBenefitOutput' - tags: *ref_38 - security: *ref_39 - x-speakeasy-group: hris.benefit - x-codeSamples: - - lang: typescript - label: retrieveHrisBenefit - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.benefit.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/company: - get: - operationId: listHrisCompanys - summary: List Companys - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisCompanyOutput' - tags: - - hris/company - security: - - bearer: [] - x-speakeasy-group: hris.company - x-codeSamples: - - lang: typescript - label: listHrisCompanys - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.company.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/dependent: - get: - operationId: listHrisDependents - summary: List Dependents - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisDependentOutput' - tags: &ref_40 - - hris/dependent - security: &ref_41 - - bearer: [] - x-speakeasy-group: hris.dependent - x-codeSamples: - - lang: typescript - label: listHrisDependents - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.dependent.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/dependent/{id}: - get: - operationId: retrieveHrisDependent - summary: Retrieve a Dependent - description: Retrieve a dependent from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the dependent you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisDependentOutput' - tags: *ref_40 - security: *ref_41 - x-speakeasy-group: hris.dependent - x-codeSamples: - - lang: typescript - label: retrieveHrisDependent - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.dependent.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employeepayrollrun: - get: - operationId: listHrisEmployeePayrollRun - summary: List EmployeePayrollRuns - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedHrisEmployeepayrollrunOutput - tags: &ref_42 - - hris/employeepayrollrun - security: &ref_43 - - bearer: [] - x-speakeasy-group: hris.employeepayrollrun - x-codeSamples: - - lang: typescript - label: listHrisEmployeePayrollRun - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employeepayrollrun.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employeepayrollrun/{id}: - get: - operationId: retrieveHrisEmployeePayrollRun - summary: Retrieve a EmployeePayrollRun - description: Retrieve a employeepayrollrun from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the employeepayrollrun you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisEmployeepayrollrunOutput' - tags: *ref_42 - security: *ref_43 - x-speakeasy-group: hris.employeepayrollrun - x-codeSamples: - - lang: typescript - label: retrieveHrisEmployeePayrollRun - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employeepayrollrun.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employee: - get: - operationId: listHrisEmployee - summary: List Employees - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' - tags: &ref_44 - - hris/employee - security: &ref_45 - - bearer: [] - x-speakeasy-group: hris.employee - x-codeSamples: - - lang: typescript - label: listHrisEmployee - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employee.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createHrisEmployee - summary: Create an Employee - description: Create an employee in any supported Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisEmployeeInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' - tags: *ref_44 - security: *ref_45 - x-speakeasy-group: hris.employee - x-codeSamples: - - lang: typescript - label: createHrisEmployee - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employee.create({ - xConnectionToken: "", - unifiedHrisEmployeeInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employee/{id}: - get: - operationId: retrieveHrisEmployee - summary: Retrieve an Employee - description: Retrieve an employee from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the employee you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' - tags: *ref_44 - security: *ref_45 - x-speakeasy-group: hris.employee - x-codeSamples: - - lang: typescript - label: retrieveHrisEmployee - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employee.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employerbenefit: - get: - operationId: listHrisEmployerBenefit - summary: List EmployerBenefits - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedHrisEmployerbenefitOutput - tags: &ref_46 - - hris/employerbenefit - security: &ref_47 - - bearer: [] - x-speakeasy-group: hris.employerbenefit - x-codeSamples: - - lang: typescript - label: listHrisEmployerBenefit - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employerbenefit.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employerbenefit/{id}: - get: - operationId: retrieveHrisEmployerBenefit - summary: Retrieve a EmployerBenefit - description: Retrieve a employerbenefit from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the employerbenefit you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisEmployerbenefitOutput' - tags: *ref_46 - security: *ref_47 - x-speakeasy-group: hris.employerbenefit - x-codeSamples: - - lang: typescript - label: retrieveHrisEmployerBenefit - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employerbenefit.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employment: - get: - operationId: listHrisEmployment - summary: List Employments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisEmploymentOutput' - tags: &ref_48 - - hris/employment - security: &ref_49 - - bearer: [] - x-speakeasy-group: hris.employment - x-codeSamples: - - lang: typescript - label: listHrisEmployment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employment.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/employment/{id}: - get: - operationId: retrieveHrisEmployment - summary: Retrieve a Employment - description: Retrieve a employment from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the employment you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisEmploymentOutput' - tags: *ref_48 - security: *ref_49 - x-speakeasy-group: hris.employment - x-codeSamples: - - lang: typescript - label: retrieveHrisEmployment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.employment.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/group: - get: - operationId: listHrisGroup - summary: List Groups - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisGroupOutput' - tags: &ref_50 - - hris/group - security: &ref_51 - - bearer: [] - x-speakeasy-group: hris.group - x-codeSamples: - - lang: typescript - label: listHrisGroup - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.group.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/group/{id}: - get: - operationId: retrieveHrisGroup - summary: Retrieve a Group - description: Retrieve a group from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the group you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisGroupOutput' - tags: *ref_50 - security: *ref_51 - x-speakeasy-group: hris.group - x-codeSamples: - - lang: typescript - label: retrieveHrisGroup - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.group.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/location: - get: - operationId: listHrisLocation - summary: List Locations - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisLocationOutput' - tags: &ref_52 - - hris/location - security: &ref_53 - - bearer: [] - x-speakeasy-group: hris.location - x-codeSamples: - - lang: typescript - label: listHrisLocation - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.location.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/location/{id}: - get: - operationId: retrieveHrisLocation - summary: Retrieve a Location - description: Retrieve a location from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the location you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisLocationOutput' - tags: *ref_52 - security: *ref_53 - x-speakeasy-group: hris.location - x-codeSamples: - - lang: typescript - label: retrieveHrisLocation - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.location.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/paygroup: - get: - operationId: listHrisPaygroup - summary: List PayGroups - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisPaygroupOutput' - tags: &ref_54 - - hris/paygroup - security: &ref_55 - - bearer: [] - x-speakeasy-group: hris.paygroup - x-codeSamples: - - lang: typescript - label: listHrisPaygroup - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.paygroup.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/paygroup/{id}: - get: - operationId: retrieveHrisPaygroup - summary: Retrieve a PayGroup - description: Retrieve a paygroup from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the paygroup you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisPaygroupOutput' - tags: *ref_54 - security: *ref_55 - x-speakeasy-group: hris.paygroup - x-codeSamples: - - lang: typescript - label: retrieveHrisPaygroup - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.paygroup.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/payrollrun: - get: - operationId: listHrisPayrollRuns - summary: List PayrollRuns - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisPayrollrunOutput' - tags: - - hris/payrollrun - security: - - bearer: [] - x-speakeasy-group: hris.payrollrun - x-codeSamples: - - lang: typescript - label: listHrisPayrollRuns - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.payrollrun.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/timeoff: - get: - operationId: listHrisTimeoffs - summary: List Timeoffs - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' - tags: &ref_56 - - hris/timeoff - security: &ref_57 - - bearer: [] - x-speakeasy-group: hris.timeoff - x-codeSamples: - - lang: typescript - label: listHrisTimeoffs - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.timeoff.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createHrisTimeoff - summary: Create a Timeoff - description: Create a timeoff in any supported Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' - tags: *ref_56 - security: *ref_57 - x-speakeasy-group: hris.timeoff - x-codeSamples: - - lang: typescript - label: createHrisTimeoff - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.timeoff.create({ - xConnectionToken: "", - unifiedHrisTimeoffInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/timeoff/{id}: - get: - operationId: retrieveHrisTimeoff - summary: Retrieve a Timeoff - description: Retrieve a timeoff from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the timeoff you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' - tags: *ref_56 - security: *ref_57 - x-speakeasy-group: hris.timeoff - x-codeSamples: - - lang: typescript - label: retrieveHrisTimeoff - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.timeoff.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/timeoffbalance: - get: - operationId: listHrisTimeoffbalance - summary: List TimeoffBalances - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedHrisTimeoffbalanceOutput' - tags: &ref_58 - - hris/timeoffbalance - security: &ref_59 - - bearer: [] - x-speakeasy-group: hris.timeoffbalance - x-codeSamples: - - lang: typescript - label: listHrisTimeoffbalance - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.timeoffbalance.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /hris/timeoffbalance/{id}: - get: - operationId: retrieveHrisTimeoffbalance - summary: Retrieve a TimeoffBalance - description: Retrieve a timeoffbalance from any connected Hris software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the timeoffbalance you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Hris software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedHrisTimeoffbalanceOutput' - tags: *ref_58 - security: *ref_59 - x-speakeasy-group: hris.timeoffbalance - x-codeSamples: - - lang: typescript - label: retrieveHrisTimeoffbalance - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.hris.timeoffbalance.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/action: - get: - operationId: listMarketingautomationAction - summary: List Actions - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationActionOutput - tags: &ref_60 - - marketingautomation/action - security: &ref_61 - - bearer: [] - x-speakeasy-group: marketingautomation.action - x-codeSamples: - - lang: typescript - label: listMarketingautomationAction - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.action.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createMarketingautomationAction - summary: Create a Action - description: Create a action in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationActionInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' - tags: *ref_60 - security: *ref_61 - x-speakeasy-group: marketingautomation.action - x-codeSamples: - - lang: typescript - label: createMarketingautomationAction - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.action.create({ - xConnectionToken: "", - unifiedMarketingautomationActionInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/action/{id}: - get: - operationId: retrieveMarketingautomationAction - summary: Retrieve a Action - description: Retrieve a action from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the action you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' - tags: *ref_60 - security: *ref_61 - x-speakeasy-group: marketingautomation.action - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationAction - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.action.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/automation: - get: - operationId: listMarketingautomationAutomation - summary: List Automations - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: &ref_62 - - marketingautomation/automation - security: &ref_63 - - bearer: [] - x-speakeasy-group: marketingautomation.automation - x-codeSamples: - - lang: typescript - label: listMarketingautomationAutomation - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.automation.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createMarketingautomationAutomation - summary: Create a Automation - description: Create a automation in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationAutomationInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: >- - #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: *ref_62 - security: *ref_63 - x-speakeasy-group: marketingautomation.automation - x-codeSamples: - - lang: typescript - label: createMarketingautomationAutomation - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.automation.create({ - xConnectionToken: "", - unifiedMarketingautomationAutomationInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/automation/{id}: - get: - operationId: retrieveMarketingautomationAutomation - summary: Retrieve a Automation - description: Retrieve a automation from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the automation you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: >- - #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: *ref_62 - security: *ref_63 - x-speakeasy-group: marketingautomation.automation - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationAutomation - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.automation.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/campaign: - get: - operationId: listMarketingautomationCampaign - summary: List Campaigns - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedCampaignOutput' - tags: &ref_64 - - marketingautomation/campaign - security: &ref_65 - - bearer: [] - x-speakeasy-group: marketingautomation.campaign - x-codeSamples: - - lang: typescript - label: listMarketingautomationCampaign - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.campaign.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createMarketingautomationCampaign - summary: Create a Campaign - description: Create a campaign in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationCampaignInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCampaignOutput' - tags: *ref_64 - security: *ref_65 - x-speakeasy-group: marketingautomation.campaign - x-codeSamples: - - lang: typescript - label: createMarketingautomationCampaign - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.campaign.create({ - xConnectionToken: "", - unifiedMarketingautomationCampaignInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/campaign/{id}: - get: - operationId: retrieveMarketingautomationCampaign - summary: Retrieve a Campaign - description: Retrieve a campaign from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the campaign you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedCampaignOutput' - tags: *ref_64 - security: *ref_65 - x-speakeasy-group: marketingautomation.campaign - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationCampaign - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.campaign.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/contact: - get: - operationId: listMarketingAutomationContacts - summary: List Contacts - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationContactOutput - tags: &ref_66 - - marketingautomation/contact - security: &ref_67 - - bearer: [] - x-speakeasy-group: marketingautomation.contact - x-codeSamples: - - lang: typescript - label: listMarketingAutomationContacts - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.contact.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createMarketingAutomationContact - summary: Create a Contact - description: Create a contact in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationContactInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' - tags: *ref_66 - security: *ref_67 - x-speakeasy-group: marketingautomation.contact - x-codeSamples: - - lang: typescript - label: createMarketingAutomationContact - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.contact.create({ - xConnectionToken: "", - unifiedMarketingautomationContactInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/contact/{id}: - get: - operationId: retrieveMarketingAutomationContact - summary: Retrieve a Contact - description: Retrieve a contact from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the contact you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' - tags: *ref_66 - security: *ref_67 - x-speakeasy-group: marketingautomation.contact - x-codeSamples: - - lang: typescript - label: retrieveMarketingAutomationContact - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.contact.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/email: - get: - operationId: listMarketingautomationEmails - summary: List Emails - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationEmailOutput - tags: &ref_68 - - marketingautomation/email - security: &ref_69 - - bearer: [] - x-speakeasy-group: marketingautomation.email - x-codeSamples: - - lang: typescript - label: listMarketingautomationEmails - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.email.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/email/{id}: - get: - operationId: retrieveMarketingautomationEmail - summary: Retrieve a Email - description: Retrieve a email from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the email you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationEmailOutput' - tags: *ref_68 - security: *ref_69 - x-speakeasy-group: marketingautomation.email - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationEmail - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.email.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/event: - get: - operationId: listMarketingAutomationEvents - summary: List Events - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationEventOutput - tags: &ref_70 - - marketingautomation/event - security: &ref_71 - - bearer: [] - x-speakeasy-group: marketingautomation.event - x-codeSamples: - - lang: typescript - label: listMarketingAutomationEvents - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.event.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/event/{id}: - get: - operationId: retrieveMarketingautomationEvent - summary: Retrieve a Event - description: Retrieve a event from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the event you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationEventOutput' - tags: *ref_70 - security: *ref_71 - x-speakeasy-group: marketingautomation.event - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationEvent - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.event.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/list: - get: - operationId: listMarketingautomationLists - summary: List Lists - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationListOutput - tags: &ref_72 - - marketingautomation/list - security: &ref_73 - - bearer: [] - x-speakeasy-group: marketingautomation.list - x-codeSamples: - - lang: typescript - label: listMarketingautomationLists - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.list.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createMarketingautomationList - summary: Create a List - description: Create a list in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationListInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' - tags: *ref_72 - security: *ref_73 - x-speakeasy-group: marketingautomation.list - x-codeSamples: - - lang: typescript - label: createMarketingautomationList - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.list.create({ - xConnectionToken: "", - unifiedMarketingautomationListInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/list/{id}: - get: - operationId: retrieveMarketingautomationList - summary: Retrieve a List - description: Retrieve a list from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the list you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' - tags: *ref_72 - security: *ref_73 - x-speakeasy-group: marketingautomation.list - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationList - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.list.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/message: - get: - operationId: listMarketingautomationMessages - summary: List Messages - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationMessageOutput - tags: &ref_74 - - marketingautomation/message - security: &ref_75 - - bearer: [] - x-speakeasy-group: marketingautomation.message - x-codeSamples: - - lang: typescript - label: listMarketingautomationMessages - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.message.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/message/{id}: - get: - operationId: retrieveMarketingautomationMessage - summary: Retrieve a Message - description: Retrieve a message from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the message you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationMessageOutput' - tags: *ref_74 - security: *ref_75 - x-speakeasy-group: marketingautomation.message - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationMessage - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.message.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/template: - get: - operationId: listMarketingautomationTemplates - summary: List Templates - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationTemplateOutput - tags: &ref_76 - - marketingautomation/template - security: &ref_77 - - bearer: [] - x-speakeasy-group: marketingautomation.template - x-codeSamples: - - lang: typescript - label: listMarketingautomationTemplates - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.template.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createMarketingautomationTemplate - summary: Create a Template - description: Create a template in any supported Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationTemplateInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' - tags: *ref_76 - security: *ref_77 - x-speakeasy-group: marketingautomation.template - x-codeSamples: - - lang: typescript - label: createMarketingautomationTemplate - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.template.create({ - xConnectionToken: "", - unifiedMarketingautomationTemplateInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/template/{id}: - get: - operationId: retrieveMarketingautomationTemplate - summary: Retrieve a Template - description: Retrieve a template from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the template you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' - tags: *ref_76 - security: *ref_77 - x-speakeasy-group: marketingautomation.template - x-codeSamples: - - lang: typescript - label: retrieveMarketingautomationTemplate - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.template.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/user: - get: - operationId: listMarketingAutomationUsers - summary: List Users - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedMarketingautomationUserOutput - tags: &ref_78 - - marketingautomation/user - security: &ref_79 - - bearer: [] - x-speakeasy-group: marketingautomation.user - x-codeSamples: - - lang: typescript - label: listMarketingAutomationUsers - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.user.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /marketingautomation/user/{id}: - get: - operationId: retrieveMarketingAutomationUser - summary: Retrieve a User - description: Retrieve a user from any connected Marketingautomation software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the user you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: >- - Set to true to include data from the original Marketingautomation software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedMarketingautomationUserOutput' - tags: *ref_78 - security: *ref_79 - x-speakeasy-group: marketingautomation.user - x-codeSamples: - - lang: typescript - label: retrieveMarketingAutomationUser - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.marketingautomation.user.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/activity: - get: - operationId: listAtsActivity - summary: List Activities - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsActivityOutput' - tags: &ref_80 - - ats/activity - security: &ref_81 - - bearer: [] - x-speakeasy-group: ats.activity - x-codeSamples: - - lang: typescript - label: listAtsActivity - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.activity.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAtsActivity - summary: Create a Activity - description: Create a activity in any supported Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsActivityInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsActivityOutput' - tags: *ref_80 - security: *ref_81 - x-speakeasy-group: ats.activity - x-codeSamples: - - lang: typescript - label: createAtsActivity - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.activity.create({ - xConnectionToken: "", - unifiedAtsActivityInput: { - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/activity/{id}: - get: - operationId: retrieveAtsActivity - summary: Retrieve a Activity - description: Retrieve a activity from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the activity you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsActivityOutput' - tags: *ref_80 - security: *ref_81 - x-speakeasy-group: ats.activity - x-codeSamples: - - lang: typescript - label: retrieveAtsActivity - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.activity.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/application: - get: - operationId: listAtsApplication - summary: List Applications - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsApplicationOutput' - tags: &ref_82 - - ats/application - security: &ref_83 - - bearer: [] - x-speakeasy-group: ats.application - x-codeSamples: - - lang: typescript - label: listAtsApplication - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.application.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAtsApplication - summary: Create an Application - description: Create an application in any supported Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsApplicationInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsApplicationOutput' - tags: *ref_82 - security: *ref_83 - x-speakeasy-group: ats.application - x-codeSamples: - - lang: typescript - label: createAtsApplication - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.application.create({ - xConnectionToken: "", - unifiedAtsApplicationInput: { - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/application/{id}: - get: - operationId: retrieveAtsApplication - summary: Retrieve an Application - description: Retrieve an application from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the application you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsApplicationOutput' - tags: *ref_82 - security: *ref_83 - x-speakeasy-group: ats.application - x-codeSamples: - - lang: typescript - label: retrieveAtsApplication - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.application.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/attachment: - get: - operationId: listAtsAttachment - summary: List Attachments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' - tags: &ref_84 - - ats/attachment - security: &ref_85 - - bearer: [] - x-speakeasy-group: ats.attachment - x-codeSamples: - - lang: typescript - label: listAtsAttachment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.attachment.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAtsAttachment - summary: Create a Attachment - description: Create a attachment in any supported Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsAttachmentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' - tags: *ref_84 - security: *ref_85 - x-speakeasy-group: ats.attachment - x-codeSamples: - - lang: typescript - label: createAtsAttachment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.attachment.create({ - xConnectionToken: "", - unifiedAtsAttachmentInput: { - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/attachment/{id}: - get: - operationId: retrieveAtsAttachment - summary: Retrieve a Attachment - description: Retrieve a attachment from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the attachment you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' - tags: *ref_84 - security: *ref_85 - x-speakeasy-group: ats.attachment - x-codeSamples: - - lang: typescript - label: retrieveAtsAttachment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.attachment.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/candidate: - get: - operationId: listAtsCandidate - summary: List Candidates - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsCandidateOutput' - tags: &ref_86 - - ats/candidate - security: &ref_87 - - bearer: [] - x-speakeasy-group: ats.candidate - x-codeSamples: - - lang: typescript - label: listAtsCandidate - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.candidate.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAtsCandidate - summary: Create a Candidate - description: Create a candidate in any supported Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsCandidateInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsCandidateOutput' - tags: *ref_86 - security: *ref_87 - x-speakeasy-group: ats.candidate - x-codeSamples: - - lang: typescript - label: createAtsCandidate - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.candidate.create({ - xConnectionToken: "", - unifiedAtsCandidateInput: { - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/candidate/{id}: - get: - operationId: retrieveAtsCandidate - summary: Retrieve a Candidate - description: Retrieve a candidate from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the candidate you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsCandidateOutput' - tags: *ref_86 - security: *ref_87 - x-speakeasy-group: ats.candidate - x-codeSamples: - - lang: typescript - label: retrieveAtsCandidate - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.candidate.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/department: - get: - operationId: listAtsDepartments - summary: List Departments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsDepartmentOutput' - tags: &ref_88 - - ats/department - security: &ref_89 - - bearer: [] - x-speakeasy-group: ats.department - x-codeSamples: - - lang: typescript - label: listAtsDepartments - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.department.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/department/{id}: - get: - operationId: retrieveAtsDepartment - summary: Retrieve a Department - description: Retrieve a department from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the department you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsDepartmentOutput' - tags: *ref_88 - security: *ref_89 - x-speakeasy-group: ats.department - x-codeSamples: - - lang: typescript - label: retrieveAtsDepartment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.department.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/interview: - get: - operationId: listAtsInterview - summary: List Interviews - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsInterviewOutput' - tags: &ref_90 - - ats/interview - security: &ref_91 - - bearer: [] - x-speakeasy-group: ats.interview - x-codeSamples: - - lang: typescript - label: listAtsInterview - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.interview.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAtsInterview - summary: Create a Interview - description: Create a interview in any supported Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsInterviewInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsInterviewOutput' - tags: *ref_90 - security: *ref_91 - x-speakeasy-group: ats.interview - x-codeSamples: - - lang: typescript - label: createAtsInterview - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.interview.create({ - xConnectionToken: "", - unifiedAtsInterviewInput: { - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/interview/{id}: - get: - operationId: retrieveAtsInterview - summary: Retrieve a Interview - description: Retrieve a interview from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the interview you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsInterviewOutput' - tags: *ref_90 - security: *ref_91 - x-speakeasy-group: ats.interview - x-codeSamples: - - lang: typescript - label: retrieveAtsInterview - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.interview.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/jobinterviewstage: - get: - operationId: listAtsJobInterviewStage - summary: List JobInterviewStages - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAtsJobinterviewstageOutput - tags: &ref_92 - - ats/jobinterviewstage - security: &ref_93 - - bearer: [] - x-speakeasy-group: ats.jobinterviewstage - x-codeSamples: - - lang: typescript - label: listAtsJobInterviewStage - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.jobinterviewstage.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/jobinterviewstage/{id}: - get: - operationId: retrieveAtsJobInterviewStage - summary: Retrieve a JobInterviewStage - description: Retrieve a jobinterviewstage from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the jobinterviewstage you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsJobinterviewstageOutput' - tags: *ref_92 - security: *ref_93 - x-speakeasy-group: ats.jobinterviewstage - x-codeSamples: - - lang: typescript - label: retrieveAtsJobInterviewStage - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.jobinterviewstage.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/job: - get: - operationId: listAtsJob - summary: List Jobs - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsJobOutput' - tags: &ref_94 - - ats/job - security: &ref_95 - - bearer: [] - x-speakeasy-group: ats.job - x-codeSamples: - - lang: typescript - label: listAtsJob - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.job.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/job/{id}: - get: - operationId: retrieveAtsJob - summary: Retrieve a Job - description: Retrieve a job from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the job you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsJobOutput' - tags: *ref_94 - security: *ref_95 - x-speakeasy-group: ats.job - x-codeSamples: - - lang: typescript - label: retrieveAtsJob - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.job.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/offer: - get: - operationId: listAtsOffer - summary: List Offers - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsOfferOutput' - tags: &ref_96 - - ats/offer - security: &ref_97 - - bearer: [] - x-speakeasy-group: ats.offer - x-codeSamples: - - lang: typescript - label: listAtsOffer - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.offer.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/offer/{id}: - get: - operationId: retrieveAtsOffer - summary: Retrieve a Offer - description: Retrieve a offer from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the offer you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsOfferOutput' - tags: *ref_96 - security: *ref_97 - x-speakeasy-group: ats.offer - x-codeSamples: - - lang: typescript - label: retrieveAtsOffer - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.offer.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/office: - get: - operationId: listAtsOffice - summary: List Offices - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsOfficeOutput' - tags: &ref_98 - - ats/office - security: &ref_99 - - bearer: [] - x-speakeasy-group: ats.office - x-codeSamples: - - lang: typescript - label: listAtsOffice - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.office.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/office/{id}: - get: - operationId: retrieveAtsOffice - summary: Retrieve a Office - description: Retrieve a office from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the office you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsOfficeOutput' - tags: *ref_98 - security: *ref_99 - x-speakeasy-group: ats.office - x-codeSamples: - - lang: typescript - label: retrieveAtsOffice - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.office.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/rejectreason: - get: - operationId: listAtsRejectReasons - summary: List RejectReasons - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsRejectreasonOutput' - tags: &ref_100 - - ats/rejectreason - security: &ref_101 - - bearer: [] - x-speakeasy-group: ats.rejectreason - x-codeSamples: - - lang: typescript - label: listAtsRejectReasons - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.rejectreason.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/rejectreason/{id}: - get: - operationId: retrieveAtsRejectReason - summary: Retrieve a RejectReason - description: Retrieve a rejectreason from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the rejectreason you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsRejectreasonOutput' - tags: *ref_100 - security: *ref_101 - x-speakeasy-group: ats.rejectreason - x-codeSamples: - - lang: typescript - label: retrieveAtsRejectReason - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.rejectreason.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/scorecard: - get: - operationId: listAtsScorecard - summary: List ScoreCards - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsScorecardOutput' - tags: &ref_102 - - ats/scorecard - security: &ref_103 - - bearer: [] - x-speakeasy-group: ats.scorecard - x-codeSamples: - - lang: typescript - label: listAtsScorecard - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.scorecard.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/scorecard/{id}: - get: - operationId: retrieveAtsScorecard - summary: Retrieve a ScoreCard - description: Retrieve a scorecard from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the scorecard you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsScorecardOutput' - tags: *ref_102 - security: *ref_103 - x-speakeasy-group: ats.scorecard - x-codeSamples: - - lang: typescript - label: retrieveAtsScorecard - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.scorecard.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/tag: - get: - operationId: listAtsTags - summary: List Tags - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsTagOutput' - tags: &ref_104 - - ats/tag - security: &ref_105 - - bearer: [] - x-speakeasy-group: ats.tag - x-codeSamples: - - lang: typescript - label: listAtsTags - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.tag.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/tag/{id}: - get: - operationId: retrieveAtsTag - summary: Retrieve a Tag - description: Retrieve a tag from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the tag you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsTagOutput' - tags: *ref_104 - security: *ref_105 - x-speakeasy-group: ats.tag - x-codeSamples: - - lang: typescript - label: retrieveAtsTag - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.tag.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/user: - get: - operationId: listAtsUsers - summary: List Users - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsUserOutput' - tags: &ref_106 - - ats/user - security: &ref_107 - - bearer: [] - x-speakeasy-group: ats.user - x-codeSamples: - - lang: typescript - label: listAtsUsers - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.user.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/user/{id}: - get: - operationId: retrieveAtsUser - summary: Retrieve a User - description: Retrieve a user from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the user you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsUserOutput' - tags: *ref_106 - security: *ref_107 - x-speakeasy-group: ats.user - x-codeSamples: - - lang: typescript - label: retrieveAtsUser - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.user.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/eeocs: - get: - operationId: listAtsEeocs - summary: List Eeocss - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAtsEeocsOutput' - tags: &ref_108 - - ats/eeocs - security: &ref_109 - - bearer: [] - x-speakeasy-group: ats.eeocs - x-codeSamples: - - lang: typescript - label: listAtsEeocs - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.eeocs.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ats/eeocs/{id}: - get: - operationId: retrieveAtsEeocs - summary: Retrieve a Eeocs - description: Retrieve a eeocs from any connected Ats software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the eeocs you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ats software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAtsEeocsOutput' - tags: *ref_108 - security: *ref_109 - x-speakeasy-group: ats.eeocs - x-codeSamples: - - lang: typescript - label: retrieveAtsEeocs - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ats.eeocs.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/account: - get: - operationId: listAccountingAccounts - summary: List Accounts - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: &ref_110 - - accounting/account - security: &ref_111 - - bearer: [] - x-speakeasy-group: accounting.account - x-codeSamples: - - lang: typescript - label: listAccountingAccounts - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.account.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingAccount - summary: Create a Account - description: Create a account in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAccountInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: *ref_110 - security: *ref_111 - x-speakeasy-group: accounting.account - x-codeSamples: - - lang: typescript - label: createAccountingAccount - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.account.create({ - xConnectionToken: "", - unifiedAccountingAccountInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/account/{id}: - get: - operationId: retrieveAccountingAccount - summary: Retrieve a Account - description: Retrieve a account from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the account you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: *ref_110 - security: *ref_111 - x-speakeasy-group: accounting.account - x-codeSamples: - - lang: typescript - label: retrieveAccountingAccount - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.account.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/address: - get: - operationId: listAccountingAddress - summary: List Addresss - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingAddressOutput' - tags: &ref_112 - - accounting/address - security: &ref_113 - - bearer: [] - x-speakeasy-group: accounting.address - x-codeSamples: - - lang: typescript - label: listAccountingAddress - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.address.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/address/{id}: - get: - operationId: retrieveAccountingAddress - summary: Retrieve a Address - description: Retrieve a address from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the address you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAddressOutput' - tags: *ref_112 - security: *ref_113 - x-speakeasy-group: accounting.address - x-codeSamples: - - lang: typescript - label: retrieveAccountingAddress - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.address.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/attachment: - get: - operationId: listAccountingAttachments - summary: List Attachments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingAttachmentOutput - tags: &ref_114 - - accounting/attachment - security: &ref_115 - - bearer: [] - x-speakeasy-group: accounting.attachment - x-codeSamples: - - lang: typescript - label: listAccountingAttachments - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.attachment.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingAttachment - summary: Create a Attachment - description: Create a attachment in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAttachmentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' - tags: *ref_114 - security: *ref_115 - x-speakeasy-group: accounting.attachment - x-codeSamples: - - lang: typescript - label: createAccountingAttachment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.attachment.create({ - xConnectionToken: "", - unifiedAccountingAttachmentInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/attachment/{id}: - get: - operationId: retrieveAccountingAttachment - summary: Retrieve a Attachment - description: Retrieve a attachment from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the attachment you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' - tags: *ref_114 - security: *ref_115 - x-speakeasy-group: accounting.attachment - x-codeSamples: - - lang: typescript - label: retrieveAccountingAttachment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.attachment.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/balancesheet: - get: - operationId: listAccountingBalanceSheets - summary: List BalanceSheets - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingBalancesheetOutput - tags: &ref_116 - - accounting/balancesheet - security: &ref_117 - - bearer: [] - x-speakeasy-group: accounting.balancesheet - x-codeSamples: - - lang: typescript - label: listAccountingBalanceSheets - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.balancesheet.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/balancesheet/{id}: - get: - operationId: retrieveAccountingBalanceSheet - summary: Retrieve a BalanceSheet - description: Retrieve a balancesheet from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the balancesheet you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingBalancesheetOutput' - tags: *ref_116 - security: *ref_117 - x-speakeasy-group: accounting.balancesheet - x-codeSamples: - - lang: typescript - label: retrieveAccountingBalanceSheet - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.balancesheet.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/cashflowstatement: - get: - operationId: listAccountingCashflowStatement - summary: List CashflowStatements - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingCashflowstatementOutput - tags: &ref_118 - - accounting/cashflowstatement - security: &ref_119 - - bearer: [] - x-speakeasy-group: accounting.cashflowstatement - x-codeSamples: - - lang: typescript - label: listAccountingCashflowStatement - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.cashflowstatement.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/cashflowstatement/{id}: - get: - operationId: retrieveAccountingCashflowStatement - summary: Retrieve a CashflowStatement - description: Retrieve a cashflowstatement from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the cashflowstatement you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingCashflowstatementOutput' - tags: *ref_118 - security: *ref_119 - x-speakeasy-group: accounting.cashflowstatement - x-codeSamples: - - lang: typescript - label: retrieveAccountingCashflowStatement - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.cashflowstatement.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/companyinfo: - get: - operationId: listAccountingCompanyInfos - summary: List CompanyInfos - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingCompanyinfoOutput - tags: &ref_120 - - accounting/companyinfo - security: &ref_121 - - bearer: [] - x-speakeasy-group: accounting.companyinfo - x-codeSamples: - - lang: typescript - label: listAccountingCompanyInfos - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.companyinfo.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/companyinfo/{id}: - get: - operationId: retrieveAccountingCompanyInfo - summary: Retrieve a CompanyInfo - description: Retrieve a companyinfo from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the companyinfo you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingCompanyinfoOutput' - tags: *ref_120 - security: *ref_121 - x-speakeasy-group: accounting.companyinfo - x-codeSamples: - - lang: typescript - label: retrieveAccountingCompanyInfo - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.companyinfo.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/contact: - get: - operationId: listAccountingContacts - summary: List Contacts - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: &ref_122 - - accounting/contact - security: &ref_123 - - bearer: [] - x-speakeasy-group: accounting.contact - x-codeSamples: - - lang: typescript - label: listAccountingContacts - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.contact.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingContact - summary: Create a Contact - description: Create a contact in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingContactInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: *ref_122 - security: *ref_123 - x-speakeasy-group: accounting.contact - x-codeSamples: - - lang: typescript - label: createAccountingContact - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.contact.create({ - xConnectionToken: "", - unifiedAccountingContactInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/contact/{id}: - get: - operationId: retrieveAccountingContact - summary: Retrieve a Contact - description: Retrieve a contact from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the contact you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: *ref_122 - security: *ref_123 - x-speakeasy-group: accounting.contact - x-codeSamples: - - lang: typescript - label: retrieveAccountingContact - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.contact.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/creditnote: - get: - operationId: listAccountingCreditNote - summary: List CreditNotes - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingCreditnoteOutput - tags: &ref_124 - - accounting/creditnote - security: &ref_125 - - bearer: [] - x-speakeasy-group: accounting.creditnote - x-codeSamples: - - lang: typescript - label: listAccountingCreditNote - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.creditnote.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/creditnote/{id}: - get: - operationId: retrieveAccountingCreditNote - summary: Retrieve a CreditNote - description: Retrieve a creditnote from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the creditnote you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingCreditnoteOutput' - tags: *ref_124 - security: *ref_125 - x-speakeasy-group: accounting.creditnote - x-codeSamples: - - lang: typescript - label: retrieveAccountingCreditNote - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.creditnote.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/expense: - get: - operationId: listAccountingExpense - summary: List Expenses - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: &ref_126 - - accounting/expense - security: &ref_127 - - bearer: [] - x-speakeasy-group: accounting.expense - x-codeSamples: - - lang: typescript - label: listAccountingExpense - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.expense.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingExpense - summary: Create a Expense - description: Create a expense in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingExpenseInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: *ref_126 - security: *ref_127 - x-speakeasy-group: accounting.expense - x-codeSamples: - - lang: typescript - label: createAccountingExpense - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.expense.create({ - xConnectionToken: "", - unifiedAccountingExpenseInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/expense/{id}: - get: - operationId: retrieveAccountingExpense - summary: Retrieve a Expense - description: Retrieve a expense from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the expense you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: *ref_126 - security: *ref_127 - x-speakeasy-group: accounting.expense - x-codeSamples: - - lang: typescript - label: retrieveAccountingExpense - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.expense.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/incomestatement: - get: - operationId: listAccountingIncomeStatement - summary: List IncomeStatements - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingIncomestatementOutput - tags: &ref_128 - - accounting/incomestatement - security: &ref_129 - - bearer: [] - x-speakeasy-group: accounting.incomestatement - x-codeSamples: - - lang: typescript - label: listAccountingIncomeStatement - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.incomestatement.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/incomestatement/{id}: - get: - operationId: retrieveAccountingIncomeStatement - summary: Retrieve a IncomeStatement - description: Retrieve a incomestatement from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the incomestatement you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingIncomestatementOutput' - tags: *ref_128 - security: *ref_129 - x-speakeasy-group: accounting.incomestatement - x-codeSamples: - - lang: typescript - label: retrieveAccountingIncomeStatement - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.incomestatement.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/invoice: - get: - operationId: listAccountingInvoice - summary: List Invoices - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: &ref_130 - - accounting/invoice - security: &ref_131 - - bearer: [] - x-speakeasy-group: accounting.invoice - x-codeSamples: - - lang: typescript - label: listAccountingInvoice - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.invoice.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingInvoice - summary: Create a Invoice - description: Create a invoice in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingInvoiceInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: *ref_130 - security: *ref_131 - x-speakeasy-group: accounting.invoice - x-codeSamples: - - lang: typescript - label: createAccountingInvoice - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.invoice.create({ - xConnectionToken: "", - unifiedAccountingInvoiceInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/invoice/{id}: - get: - operationId: retrieveAccountingInvoice - summary: Retrieve a Invoice - description: Retrieve a invoice from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the invoice you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: *ref_130 - security: *ref_131 - x-speakeasy-group: accounting.invoice - x-codeSamples: - - lang: typescript - label: retrieveAccountingInvoice - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.invoice.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/item: - get: - operationId: listAccountingItem - summary: List Items - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingItemOutput' - tags: &ref_132 - - accounting/item - security: &ref_133 - - bearer: [] - x-speakeasy-group: accounting.item - x-codeSamples: - - lang: typescript - label: listAccountingItem - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.item.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/item/{id}: - get: - operationId: retrieveAccountingItem - summary: Retrieve a Item - description: Retrieve a item from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the item you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingItemOutput' - tags: *ref_132 - security: *ref_133 - x-speakeasy-group: accounting.item - x-codeSamples: - - lang: typescript - label: retrieveAccountingItem - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.item.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/journalentry: - get: - operationId: listAccountingJournalEntry - summary: List JournalEntrys - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingJournalentryOutput - tags: &ref_134 - - accounting/journalentry - security: &ref_135 - - bearer: [] - x-speakeasy-group: accounting.journalentry - x-codeSamples: - - lang: typescript - label: listAccountingJournalEntry - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.journalentry.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingJournalEntry - summary: Create a JournalEntry - description: Create a journalentry in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingJournalentryInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' - tags: *ref_134 - security: *ref_135 - x-speakeasy-group: accounting.journalentry - x-codeSamples: - - lang: typescript - label: createAccountingJournalEntry - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.journalentry.create({ - xConnectionToken: "", - unifiedAccountingJournalentryInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/journalentry/{id}: - get: - operationId: retrieveAccountingJournalEntry - summary: Retrieve a JournalEntry - description: Retrieve a journalentry from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the journalentry you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' - tags: *ref_134 - security: *ref_135 - x-speakeasy-group: accounting.journalentry - x-codeSamples: - - lang: typescript - label: retrieveAccountingJournalEntry - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.journalentry.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/payment: - get: - operationId: listAccountingPayment - summary: List Payments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: &ref_136 - - accounting/payment - security: &ref_137 - - bearer: [] - x-speakeasy-group: accounting.payment - x-codeSamples: - - lang: typescript - label: listAccountingPayment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.payment.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingPayment - summary: Create a Payment - description: Create a payment in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPaymentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: *ref_136 - security: *ref_137 - x-speakeasy-group: accounting.payment - x-codeSamples: - - lang: typescript - label: createAccountingPayment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.payment.create({ - xConnectionToken: "", - unifiedAccountingPaymentInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/payment/{id}: - get: - operationId: retrieveAccountingPayment - summary: Retrieve a Payment - description: Retrieve a payment from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the payment you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: *ref_136 - security: *ref_137 - x-speakeasy-group: accounting.payment - x-codeSamples: - - lang: typescript - label: retrieveAccountingPayment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.payment.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/phonenumber: - get: - operationId: listAccountingPhonenumber - summary: List PhoneNumbers - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingPhonenumberOutput - tags: &ref_138 - - accounting/phonenumber - security: &ref_139 - - bearer: [] - x-speakeasy-group: accounting.phonenumber - x-codeSamples: - - lang: typescript - label: listAccountingPhonenumber - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.phonenumber.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/phonenumber/{id}: - get: - operationId: retrieveAccountingPhonenumber - summary: Retrieve a PhoneNumber - description: Retrieve a phonenumber from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the phonenumber you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPhonenumberOutput' - tags: *ref_138 - security: *ref_139 - x-speakeasy-group: accounting.phonenumber - x-codeSamples: - - lang: typescript - label: retrieveAccountingPhonenumber - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.phonenumber.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/purchaseorder: - get: - operationId: listAccountingPurchaseOrder - summary: List PurchaseOrders - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingPurchaseorderOutput - tags: &ref_140 - - accounting/purchaseorder - security: &ref_141 - - bearer: [] - x-speakeasy-group: accounting.purchaseorder - x-codeSamples: - - lang: typescript - label: listAccountingPurchaseOrder - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.purchaseorder.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createAccountingPurchaseOrder - summary: Create a PurchaseOrder - description: Create a purchaseorder in any supported Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' - tags: *ref_140 - security: *ref_141 - x-speakeasy-group: accounting.purchaseorder - x-codeSamples: - - lang: typescript - label: createAccountingPurchaseOrder - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.purchaseorder.create({ - xConnectionToken: "", - unifiedAccountingPurchaseorderInput: {}, - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/purchaseorder/{id}: - get: - operationId: retrieveAccountingPurchaseOrder - summary: Retrieve a PurchaseOrder - description: Retrieve a purchaseorder from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the purchaseorder you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' - tags: *ref_140 - security: *ref_141 - x-speakeasy-group: accounting.purchaseorder - x-codeSamples: - - lang: typescript - label: retrieveAccountingPurchaseOrder - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.purchaseorder.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/taxrate: - get: - operationId: listAccountingTaxRate - summary: List TaxRates - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' - tags: &ref_142 - - accounting/taxrate - security: &ref_143 - - bearer: [] - x-speakeasy-group: accounting.taxrate - x-codeSamples: - - lang: typescript - label: listAccountingTaxRate - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.taxrate.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/taxrate/{id}: - get: - operationId: retrieveAccountingTaxRate - summary: Retrieve a TaxRate - description: Retrieve a taxrate from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the taxrate you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' - tags: *ref_142 - security: *ref_143 - x-speakeasy-group: accounting.taxrate - x-codeSamples: - - lang: typescript - label: retrieveAccountingTaxRate - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.taxrate.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/trackingcategory: - get: - operationId: listAccountingTrackingCategorys - summary: List TrackingCategorys - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingTrackingcategoryOutput - tags: &ref_144 - - accounting/trackingcategory - security: &ref_145 - - bearer: [] - x-speakeasy-group: accounting.trackingcategory - x-codeSamples: - - lang: typescript - label: listAccountingTrackingCategorys - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.trackingcategory.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/trackingcategory/{id}: - get: - operationId: retrieveAccountingTrackingCategory - summary: Retrieve a TrackingCategory - description: Retrieve a trackingcategory from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the trackingcategory you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingTrackingcategoryOutput' - tags: *ref_144 - security: *ref_145 - x-speakeasy-group: accounting.trackingcategory - x-codeSamples: - - lang: typescript - label: retrieveAccountingTrackingCategory - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.trackingcategory.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/transaction: - get: - operationId: listAccountingTransaction - summary: List Transactions - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingTransactionOutput - tags: &ref_146 - - accounting/transaction - security: &ref_147 - - bearer: [] - x-speakeasy-group: accounting.transaction - x-codeSamples: - - lang: typescript - label: listAccountingTransaction - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.transaction.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/transaction/{id}: - get: - operationId: retrieveAccountingTransaction - summary: Retrieve a Transaction - description: Retrieve a transaction from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the transaction you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingTransactionOutput' - tags: *ref_146 - security: *ref_147 - x-speakeasy-group: accounting.transaction - x-codeSamples: - - lang: typescript - label: retrieveAccountingTransaction - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.transaction.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/vendorcredit: - get: - operationId: listAccountingVendorCredit - summary: List VendorCredits - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingVendorcreditOutput - tags: &ref_148 - - accounting/vendorcredit - security: &ref_149 - - bearer: [] - x-speakeasy-group: accounting.vendorcredit - x-codeSamples: - - lang: typescript - label: listAccountingVendorCredit - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.vendorcredit.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /accounting/vendorcredit/{id}: - get: - operationId: retrieveAccountingVendorCredit - summary: Retrieve a VendorCredit - description: Retrieve a vendorcredit from any connected Accounting software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the vendorcredit you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedAccountingVendorcreditOutput' - tags: *ref_148 - security: *ref_149 - x-speakeasy-group: accounting.vendorcredit - x-codeSamples: - - lang: typescript - label: retrieveAccountingVendorCredit - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.accounting.vendorcredit.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/drives: - get: - operationId: listFilestorageDrives - summary: List Drives - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageDriveOutput' - tags: &ref_150 - - filestorage/drives - security: &ref_151 - - bearer: [] - x-speakeasy-group: filestorage.drives - x-codeSamples: - - lang: typescript - label: listFilestorageDrives - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.drives.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/drives/{id}: - get: - operationId: retrieveFilestorageDrive - summary: Retrieve a Drive - description: Retrieve a drive from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the drive you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageDriveOutput' - tags: *ref_150 - security: *ref_151 - x-speakeasy-group: filestorage.drives - x-codeSamples: - - lang: typescript - label: retrieveFilestorageDrive - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.drives.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/files: - get: - operationId: listFilestorageFile - summary: List Files - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageFileOutput' - tags: &ref_152 - - filestorage/files - security: &ref_153 - - bearer: [] - x-speakeasy-group: filestorage.files - x-codeSamples: - - lang: typescript - label: listFilestorageFile - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.files.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createFilestorageFile - summary: Create a File - description: Create a file in any supported Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: true - in: query - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFileInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFileOutput' - tags: *ref_152 - security: *ref_153 - x-speakeasy-group: filestorage.files - x-codeSamples: - - lang: typescript - label: createFilestorageFile - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.files.create({ - xConnectionToken: "", - remoteData: false, - unifiedFilestorageFileInput: { - name: "", - fileUrl: "", - mimeType: "", - size: "", - folderId: "", - permission: "", - sharedLink: "", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/files/{id}: - get: - operationId: retrieveFilestorageFile - summary: Retrieve a File - description: Retrieve a file from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the file you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFileOutput' - tags: *ref_152 - security: *ref_153 - x-speakeasy-group: filestorage.files - x-codeSamples: - - lang: typescript - label: retrieveFilestorageFile - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.files.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/folders: - get: - operationId: listFilestorageFolder - summary: List Folders - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: &ref_154 - - filestorage/folders - security: &ref_155 - - bearer: [] - x-speakeasy-group: filestorage.folders - x-codeSamples: - - lang: typescript - label: listFilestorageFolder - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.folders.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createFilestorageFolder - summary: Create a Folder - description: Create a folder in any supported Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: true - in: query - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFolderInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: *ref_154 - security: *ref_155 - x-speakeasy-group: filestorage.folders - x-codeSamples: - - lang: typescript - label: createFilestorageFolder - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.folders.create({ - xConnectionToken: "", - remoteData: false, - unifiedFilestorageFolderInput: { - name: "", - size: "", - folderUrl: "", - description: "Multi-tiered human-resource model", - driveId: "", - parentFolderId: "", - sharedLink: "", - permission: "", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/folders/{id}: - get: - operationId: retrieveFilestorageFolder - summary: Retrieve a Folder - description: Retrieve a folder from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the folder you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: *ref_154 - security: *ref_155 - x-speakeasy-group: filestorage.folders - x-codeSamples: - - lang: typescript - label: retrieveFilestorageFolder - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.folders.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/groups: - get: - operationId: listFilestorageGroup - summary: List Groups - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' - tags: &ref_156 - - filestorage/groups - security: &ref_157 - - bearer: [] - x-speakeasy-group: filestorage.groups - x-codeSamples: - - lang: typescript - label: listFilestorageGroup - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.groups.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/groups/{id}: - get: - operationId: retrieveFilestorageGroup - summary: Retrieve a Group - description: Retrieve a permission from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the permission you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' - tags: *ref_156 - security: *ref_157 - x-speakeasy-group: filestorage.groups - x-codeSamples: - - lang: typescript - label: retrieveFilestorageGroup - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.groups.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/users: - get: - operationId: listFilestorageUsers - summary: List Users - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedUserOutput' - tags: &ref_158 - - filestorage/users - security: &ref_159 - - bearer: [] - x-speakeasy-group: filestorage.users - x-codeSamples: - - lang: typescript - label: listFilestorageUsers - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.users.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /filestorage/users/{id}: - get: - operationId: retrieveFilestorageUser - summary: Retrieve a User - description: Retrieve a permission from any connected Filestorage software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the permission you want to retrieve. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedUserOutput' - tags: *ref_158 - security: *ref_159 - x-speakeasy-group: filestorage.users - x-codeSamples: - - lang: typescript - label: retrieveFilestorageUser - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.filestorage.users.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/attachments: - get: - operationId: listTicketingAttachments - summary: List Attachments - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - description: Set to get the number of records. - schema: - default: 50 - type: number - - name: cursor - required: false - in: query - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedTicketingAttachmentOutput - tags: &ref_160 - - ticketing/attachments - security: &ref_161 - - bearer: [] - x-speakeasy-group: ticketing.attachments - x-codeSamples: - - lang: typescript - label: listTicketingAttachments - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.attachments.list({ - xConnectionToken: "", - }); - - // Handle the result - console.log(result) - } - - run(); - post: - operationId: createTicketingAttachment - summary: Create a Attachment - description: Create a attachment in any supported Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingAttachmentInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' - tags: *ref_160 - security: *ref_161 - x-speakeasy-group: ticketing.attachments - x-codeSamples: - - lang: typescript - label: createTicketingAttachment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.attachments.create({ - xConnectionToken: "", - unifiedTicketingAttachmentInput: { - fileName: "your_file_here", - fileUrl: "", - uploader: "", - fieldMappings: {}, - }, - }); - - // Handle the result - console.log(result) - } - - run(); - /ticketing/attachments/{id}: - get: - operationId: retrieveTicketingAttachment - summary: Retrieve a Attachment - description: Retrieve a attachment from any connected Ticketing software - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: id - required: true - in: path - description: id of the attachment you want to retrive. - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original Ticketing software. - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' - tags: *ref_160 - security: *ref_161 - x-speakeasy-group: ticketing.attachments - x-codeSamples: - - lang: typescript - label: retrieveTicketingAttachment - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - bearer: "", - }); - - async function run() { - const result = await panora.ticketing.attachments.retrieve({ - xConnectionToken: "", - id: "", - }); - - // Handle the result - console.log(result) - } - - run(); -info: - title: Panora API - description: A unified API to ship integrations - version: '1.0' - contact: {} -tags: [] -servers: - - url: https://api.panora.dev - description: Production server - - url: https://api-sandbox.panora.dev - description: Sandbox server - - url: https://api-dev.panora.dev - description: Development server -components: - securitySchemes: - bearer: - type: http - scheme: bearer - schemas: - WebhookResponse: - type: object - properties: - id_webhook_endpoint: - type: string - description: The unique UUID of the webhook. - endpoint_description: - type: string - description: The description of the webhook. - url: - type: string - description: The endpoint url of the webhook. - secret: - type: string - description: The secret of the webhook. - active: - type: boolean - description: The status of the webhook. - created_at: - format: date-time - type: string - description: The created date of the webhook. - scope: - description: The events that the webhook listen to. - type: array - items: - type: string - id_project: - type: string - description: The project id tied to the webhook. - last_update: - format: date-time - type: string - description: The last update date of the webhook. - required: - - id_webhook_endpoint - - endpoint_description - - url - - secret - - active - - created_at - - scope - - id_project - - last_update - WebhookDto: - type: object - properties: - url: - type: string - description: The endpoint url of the webhook. - description: - type: string - description: The description of the webhook. - scope: - description: The events that the webhook listen to. - type: array - items: - type: string - required: - - url - - description - - scope - EventPayload: - type: object - properties: {} - SignatureVerificationDto: - type: object - properties: - payload: - type: object - description: The payload event of the webhook. - signature: - type: string - description: The signature of the webhook. - secret: - type: string - description: The secret of the webhook. - required: - - payload - - signature - - secret - PaginatedDto: - type: object - properties: - prev_cursor: - type: string - next_cursor: - type: string - data: - type: array - items: - type: object - required: - - prev_cursor - - next_cursor - - data - UnifiedTicketingCommentInput: - type: object - properties: - body: - type: string - description: The body of the comment - html_body: - type: string - description: The html body of the comment - is_private: - type: boolean - description: The public status of the comment - creator_type: - type: string - description: >- - The creator type of the comment. Authorized values are either USER or CONTACT - ticket_id: - type: string - description: The UUID of the ticket the comment is tied to - contact_id: - type: string - description: >- - The UUID of the contact which the comment belongs to (if no user_id specified) - user_id: - type: string - description: >- - The UUID of the user which the comment belongs to (if no contact_id specified) - attachments: - description: The attachements UUIDs tied to the comment - type: array - items: - type: string - required: - - body - UnifiedTicketingTicketOutput: - type: object - properties: - name: - type: string - description: The name of the ticket - status: - type: string - description: The status of the ticket. Authorized values are OPEN or CLOSED. - description: - type: string - description: The description of the ticket - due_date: - format: date-time - type: string - description: The date the ticket is due - type: - type: string - description: >- - The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK - parent_ticket: - type: string - description: The UUID of the parent ticket - collections: - type: string - description: The collection UUIDs the ticket belongs to - tags: - description: The tags names of the ticket - type: array - items: - type: string - completed_at: - format: date-time - type: string - description: The date the ticket has been completed - priority: - type: string - description: >- - The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. - assigned_to: - description: The users UUIDs the ticket is assigned to - type: array - items: - type: string - comment: - description: The comment of the ticket - allOf: - - $ref: '#/components/schemas/UnifiedTicketingCommentInput' - account_id: - type: string - description: The UUID of the account which the ticket belongs to - contact_id: - type: string - description: The UUID of the contact which the ticket belongs to - attachments: - description: The attachements UUIDs tied to the ticket - type: array - items: - type: string - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the ticket - remote_id: - type: string - description: The id of the ticket in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - description - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedTicketingTicketInput: - type: object - properties: - name: - type: string - description: The name of the ticket - status: - type: string - description: The status of the ticket. Authorized values are OPEN or CLOSED. - description: - type: string - description: The description of the ticket - due_date: - format: date-time - type: string - description: The date the ticket is due - type: - type: string - description: >- - The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK - parent_ticket: - type: string - description: The UUID of the parent ticket - collections: - type: string - description: The collection UUIDs the ticket belongs to - tags: - description: The tags names of the ticket - type: array - items: - type: string - completed_at: - format: date-time - type: string - description: The date the ticket has been completed - priority: - type: string - description: >- - The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. - assigned_to: - description: The users UUIDs the ticket is assigned to - type: array - items: - type: string - comment: - description: The comment of the ticket - allOf: - - $ref: '#/components/schemas/UnifiedTicketingCommentInput' - account_id: - type: string - description: The UUID of the account which the ticket belongs to - contact_id: - type: string - description: The UUID of the contact which the ticket belongs to - attachments: - description: The attachements UUIDs tied to the ticket - type: array - items: - type: string - field_mappings: - type: object - properties: {} - required: - - name - - description - - field_mappings - UnifiedTicketingUserOutput: - type: object - properties: - name: - type: string - description: The name of the user - email_address: - type: string - description: The email address of the user - teams: - description: The teams whose the user is part of - type: array - items: - type: string - account_id: - type: string - description: The account or organization the user is part of - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the user - remote_id: - type: string - description: The id of the user in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - email_address - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedTicketingAccountOutput: - type: object - properties: - name: - type: string - description: The name of the account - domains: - description: The domains of the account - type: array - items: - type: string - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the account - remote_id: - type: string - description: The id of the account in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedTicketingContactOutput: - type: object - properties: - name: - type: string - description: The name of the contact - email_address: - type: string - description: The email address of the contact - phone_number: - type: string - description: The phone number of the contact - details: - type: string - description: The details of the contact - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the contact - remote_id: - type: string - description: The id of the contact in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - email_address - - field_mappings - - remote_data - - created_at - - modified_at - Email: - type: object - properties: - email_address: - type: string - description: The email address - email_address_type: - type: string - description: >- - The email address type. Authorized values are either PERSONAL or WORK. - owner_type: - type: string - description: The owner type of an email - required: - - email_address - - email_address_type - Address: - type: object - properties: - street_1: - type: string - description: The street - street_2: - type: string - description: 'More information about the street ' - city: - type: string - description: The city - state: - type: string - description: The state - postal_code: - type: string - description: The postal code - country: - type: string - description: The country - address_type: - type: string - description: The address type. Authorized values are either PERSONAL or WORK. - owner_type: - type: string - description: The owner type of the address - required: - - street_1 - - street_2 - - city - - state - - postal_code - - country - - address_type - - owner_type - Phone: - type: object - properties: - phone_number: - type: string - description: >- - The phone number starting with a plus (+) followed by the country code (e.g +336676778890 for France) - phone_type: - type: string - description: The phone type. Authorized values are either MOBILE or WORK - owner_type: - type: string - description: The owner type of a phone number - required: - - phone_number - - phone_type - UnifiedCrmCompanyOutput: - type: object - properties: - name: - type: string - description: The name of the company - industry: - type: string - description: >- - The industry of the company. Authorized values can be found in the Industry enum. - number_of_employees: - type: number - description: The number of employees of the company - user_id: - type: string - description: The UUID of the user who owns the company - email_addresses: - description: The email addresses of the company - type: array - items: - $ref: '#/components/schemas/Email' - addresses: - description: The addresses of the company - type: array - items: - $ref: '#/components/schemas/Address' - phone_numbers: - description: The phone numbers of the company - type: array - items: - $ref: '#/components/schemas/Phone' - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the company - remote_id: - type: string - description: The id of the company in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedCrmCompanyInput: - type: object - properties: - name: - type: string - description: The name of the company - industry: - type: string - description: >- - The industry of the company. Authorized values can be found in the Industry enum. - number_of_employees: - type: number - description: The number of employees of the company - user_id: - type: string - description: The UUID of the user who owns the company - email_addresses: - description: The email addresses of the company - type: array - items: - $ref: '#/components/schemas/Email' - addresses: - description: The addresses of the company - type: array - items: - $ref: '#/components/schemas/Address' - phone_numbers: - description: The phone numbers of the company - type: array - items: - $ref: '#/components/schemas/Phone' - field_mappings: - type: object - properties: {} - required: - - name - - field_mappings - UnifiedCrmContactOutput: - type: object - properties: - first_name: - type: string - description: The first name of the contact - last_name: - type: string - description: The last name of the contact - email_addresses: - description: The email addresses of the contact - type: array - items: - $ref: '#/components/schemas/Email' - phone_numbers: - description: The phone numbers of the contact - type: array - items: - $ref: '#/components/schemas/Phone' - addresses: - description: The addresses of the contact - type: array - items: - $ref: '#/components/schemas/Address' - user_id: - type: string - description: The UUID of the user who owns the contact - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the contact - remote_id: - type: string - description: The id of the contact in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - first_name - - last_name - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedCrmContactInput: - type: object - properties: - first_name: - type: string - description: The first name of the contact - last_name: - type: string - description: The last name of the contact - email_addresses: - description: The email addresses of the contact - type: array - items: - $ref: '#/components/schemas/Email' - phone_numbers: - description: The phone numbers of the contact - type: array - items: - $ref: '#/components/schemas/Phone' - addresses: - description: The addresses of the contact - type: array - items: - $ref: '#/components/schemas/Address' - user_id: - type: string - description: The UUID of the user who owns the contact - field_mappings: - type: object - properties: {} - required: - - first_name - - last_name - - field_mappings - UnifiedCrmDealOutput: - type: object - properties: - name: - type: string - description: The name of the deal - description: - type: string - description: The description of the deal - amount: - type: number - description: The amount of the deal - user_id: - type: string - description: The UUID of the user who is on the deal - stage_id: - type: string - description: The UUID of the stage of the deal - company_id: - type: string - description: The UUID of the company tied to the deal - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the deal - remote_id: - type: string - description: The id of the deal in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - description - - amount - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedCrmDealInput: - type: object - properties: - name: - type: string - description: The name of the deal - description: - type: string - description: The description of the deal - amount: - type: number - description: The amount of the deal - user_id: - type: string - description: The UUID of the user who is on the deal - stage_id: - type: string - description: The UUID of the stage of the deal - company_id: - type: string - description: The UUID of the company tied to the deal - field_mappings: - type: object - properties: {} - required: - - name - - description - - amount - - field_mappings - UnifiedCrmEngagementOutput: - type: object - properties: - content: - type: string - description: The content of the engagement - direction: - type: string - description: >- - The direction of the engagement. Authorized values are INBOUND or OUTBOUND - subject: - type: string - description: The subject of the engagement - start_at: - format: date-time - type: string - description: The start time of the engagement - end_time: - format: date-time - type: string - description: The end time of the engagement - type: - type: string - description: >- - The type of the engagement. Authorized values are EMAIL, CALL or MEETING - user_id: - type: string - description: The UUID of the user tied to the engagement - company_id: - type: string - description: The UUID of the company tied to the engagement - contacts: - description: The UUIDs of contacts tied to the engagement object - type: array - items: - type: string - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the engagement - remote_id: - type: string - description: The id of the engagement in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - type - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedCrmEngagementInput: - type: object - properties: - content: - type: string - description: The content of the engagement - direction: - type: string - description: >- - The direction of the engagement. Authorized values are INBOUND or OUTBOUND - subject: - type: string - description: The subject of the engagement - start_at: - format: date-time - type: string - description: The start time of the engagement - end_time: - format: date-time - type: string - description: The end time of the engagement - type: - type: string - description: >- - The type of the engagement. Authorized values are EMAIL, CALL or MEETING - user_id: - type: string - description: The UUID of the user tied to the engagement - company_id: - type: string - description: The UUID of the company tied to the engagement - contacts: - description: The UUIDs of contacts tied to the engagement object - type: array - items: - type: string - field_mappings: - type: object - properties: {} - required: - - type - - field_mappings - UnifiedCrmNoteOutput: - type: object - properties: - content: - type: string - description: The content of the note - user_id: - type: string - description: The UUID of the user tied the note - company_id: - type: string - description: The UUID of the company tied to the note - contact_id: - type: string - description: The UUID fo the contact tied to the note - deal_id: - type: string - description: The UUID of the deal tied to the note - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the note - remote_id: - type: string - description: The id of the note in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - content - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedCrmNoteInput: - type: object - properties: - content: - type: string - description: The content of the note - user_id: - type: string - description: The UUID of the user tied the note - company_id: - type: string - description: The UUID of the company tied to the note - contact_id: - type: string - description: The UUID fo the contact tied to the note - deal_id: - type: string - description: The UUID of the deal tied to the note - field_mappings: - type: object - properties: {} - required: - - content - - field_mappings - UnifiedCrmStageOutput: - type: object - properties: - stage_name: - type: string - description: The name of the stage - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the stage - remote_id: - type: string - description: The id of the stage in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - stage_name - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedCrmTaskOutput: - type: object - properties: - subject: - type: string - description: The subject of the task - content: - type: string - description: The content of the task - status: - type: string - description: The status of the task. Authorized values are PENDING, COMPLETED. - due_date: - format: date-time - type: string - description: The due date of the task - finished_date: - format: date-time - type: string - description: The finished date of the task - user_id: - type: string - description: The UUID of the user tied to the task - company_id: - type: string - description: The UUID fo the company tied to the task - deal_id: - type: string - description: The UUID of the deal tied to the task - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the task - remote_id: - type: string - description: The id of the task in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - subject - - content - - status - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedCrmTaskInput: - type: object - properties: - subject: - type: string - description: The subject of the task - content: - type: string - description: The content of the task - status: - type: string - description: The status of the task. Authorized values are PENDING, COMPLETED. - due_date: - format: date-time - type: string - description: The due date of the task - finished_date: - format: date-time - type: string - description: The finished date of the task - user_id: - type: string - description: The UUID of the user tied to the task - company_id: - type: string - description: The UUID fo the company tied to the task - deal_id: - type: string - description: The UUID of the deal tied to the task - field_mappings: - type: object - properties: {} - required: - - subject - - content - - status - - field_mappings - UnifiedCrmUserOutput: - type: object - properties: - name: - type: string - description: The name of the user - email: - type: string - description: The email of the user - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the user - remote_id: - type: string - description: The id of the user in the context of the Crm 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - email - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedTicketingCollectionOutput: - type: object - properties: - name: - type: string - description: The name of the collection - description: - type: string - description: The description of the collection - collection_type: - type: string - description: "The type of the collection. Authorized values are either PROJECT or LIST " - id: - type: string - description: The UUID of the collection - remote_id: - type: string - description: The id of the collection in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - remote_data - - created_at - - modified_at - UnifiedTicketingCommentOutput: - type: object - properties: - body: - type: string - description: The body of the comment - html_body: - type: string - description: The html body of the comment - is_private: - type: boolean - description: The public status of the comment - creator_type: - type: string - description: >- - The creator type of the comment. Authorized values are either USER or CONTACT - ticket_id: - type: string - description: The UUID of the ticket the comment is tied to - contact_id: - type: string - description: >- - The UUID of the contact which the comment belongs to (if no user_id specified) - user_id: - type: string - description: >- - The UUID of the user which the comment belongs to (if no contact_id specified) - attachments: - description: The attachements UUIDs tied to the comment - type: array - items: - type: string - id: - type: string - description: The UUID of the comment - remote_id: - type: string - description: The id of the comment in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - body - - remote_data - - created_at - - modified_at - UnifiedTicketingTagOutput: - type: object - properties: - name: - type: string - description: The name of the tag - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the tag - remote_id: - type: string - description: The id of the tag in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedTicketingTeamOutput: - type: object - properties: - name: - type: string - description: The name of the team - description: - type: string - description: The description of the team - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the team - remote_id: - type: string - description: The id of the team in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - field_mappings - - remote_data - - created_at - - modified_at - CreateLinkedUserDto: - type: object - properties: - linked_user_origin_id: - type: string - alias: - type: string - id_project: - type: string - required: - - linked_user_origin_id - - alias - - id_project - CreateBatchLinkedUserDto: - type: object - properties: - linked_user_origin_ids: - type: array - items: - type: string - alias: - type: string - id_project: - type: string - required: - - linked_user_origin_ids - - alias - - id_project - DefineTargetFieldDto: - type: object - properties: - object_type_owner: - type: string - name: - type: string - description: - type: string - data_type: - type: string - required: - - object_type_owner - - name - - description - - data_type - CustomFieldCreateDto: - type: object - properties: - object_type_owner: - type: string - name: - type: string - description: - type: string - data_type: - type: string - source_custom_field_id: - type: string - source_provider: - type: string - linked_user_id: - type: string - required: - - object_type_owner - - name - - description - - data_type - - source_custom_field_id - - source_provider - - linked_user_id - MapFieldToProviderDto: - type: object - properties: - attributeId: - type: string - source_custom_field_id: - type: string - source_provider: - type: string - linked_user_id: - type: string - required: - - attributeId - - source_custom_field_id - - source_provider - - linked_user_id - PassThroughRequestDto: - type: object - properties: - method: - enum: - - GET - - POST - - PATCH - - DELETE - - PUT - type: string - path: - type: string - data: - type: object - headers: - type: object - required: - - method - - path - PassThroughResponse: - type: object - properties: - url: - type: string - status: - type: number - data: - type: object - required: - - url - - status - - data - UnifiedHrisBankinfoOutput: - type: object - properties: {} - UnifiedHrisBenefitOutput: - type: object - properties: {} - UnifiedHrisCompanyOutput: - type: object - properties: {} - UnifiedHrisDependentOutput: - type: object - properties: {} - UnifiedHrisEmployeepayrollrunOutput: - type: object - properties: {} - UnifiedHrisEmployeeOutput: - type: object - properties: {} - UnifiedHrisEmployeeInput: - type: object - properties: {} - UnifiedHrisEmployerbenefitOutput: - type: object - properties: {} - UnifiedHrisEmploymentOutput: - type: object - properties: {} - UnifiedHrisGroupOutput: - type: object - properties: {} - UnifiedHrisLocationOutput: - type: object - properties: {} - UnifiedHrisPaygroupOutput: - type: object - properties: {} - UnifiedHrisPayrollrunOutput: - type: object - properties: {} - UnifiedHrisTimeoffOutput: - type: object - properties: {} - UnifiedHrisTimeoffInput: - type: object - properties: {} - UnifiedHrisTimeoffbalanceOutput: - type: object - properties: {} - UnifiedMarketingautomationActionOutput: - type: object - properties: {} - UnifiedMarketingautomationActionInput: - type: object - properties: {} - UnifiedMarketingautomationAutomationOutput: - type: object - properties: {} - UnifiedMarketingautomationAutomationInput: - type: object - properties: {} - UnifiedCampaignOutput: - type: object - properties: {} - UnifiedMarketingautomationCampaignInput: - type: object - properties: {} - UnifiedMarketingautomationContactOutput: - type: object - properties: {} - UnifiedMarketingautomationContactInput: - type: object - properties: {} - UnifiedMarketingautomationEmailOutput: - type: object - properties: {} - UnifiedMarketingautomationEventOutput: - type: object - properties: {} - UnifiedMarketingautomationListOutput: - type: object - properties: {} - UnifiedMarketingautomationListInput: - type: object - properties: {} - UnifiedMarketingautomationMessageOutput: - type: object - properties: {} - UnifiedMarketingautomationTemplateOutput: - type: object - properties: {} - UnifiedMarketingautomationTemplateInput: - type: object - properties: {} - UnifiedMarketingautomationUserOutput: - type: object - properties: {} - UnifiedAtsActivityOutput: - type: object - properties: - activity_type: - type: string - description: The type of activity - subject: - type: string - description: The subject of the activity - body: - type: string - description: The body of the activity - visibility: - type: string - description: The visibility of the activity - candidate_id: - type: string - description: The UUID of the candidate - remote_created_at: - type: string - format: date-time - description: The remote creation date of the activity - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the activity - remote_id: - type: string - description: The remote ID of the activity in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsActivityInput: - type: object - properties: - activity_type: - type: string - description: The type of activity - subject: - type: string - description: The subject of the activity - body: - type: string - description: The body of the activity - visibility: - type: string - description: The visibility of the activity - candidate_id: - type: string - description: The UUID of the candidate - remote_created_at: - type: string - format: date-time - description: The remote creation date of the activity - field_mappings: - type: object - properties: {} - required: - - field_mappings - UnifiedAtsApplicationOutput: - type: object - properties: - applied_at: - type: string - format: date-time - description: The application date - rejected_at: - type: string - format: date-time - description: The rejection date - offers: - description: The offers UUIDs for the application - type: array - items: - type: string - source: - type: string - description: The source of the application - credited_to: - type: string - description: The UUID of the person credited for the application - current_stage: - type: string - description: The UUID of the current stage of the application - reject_reason: - type: string - description: The rejection reason for the application - candidate_id: - type: string - description: The UUID of the candidate - job_id: - type: string - description: The UUID of the job - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the application - remote_id: - type: string - description: The remote ID of the application in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsApplicationInput: - type: object - properties: - applied_at: - type: string - format: date-time - description: The application date - rejected_at: - type: string - format: date-time - description: The rejection date - offers: - description: The offers UUIDs for the application - type: array - items: - type: string - source: - type: string - description: The source of the application - credited_to: - type: string - description: The UUID of the person credited for the application - current_stage: - type: string - description: The UUID of the current stage of the application - reject_reason: - type: string - description: The rejection reason for the application - candidate_id: - type: string - description: The UUID of the candidate - job_id: - type: string - description: The UUID of the job - field_mappings: - type: object - properties: {} - required: - - field_mappings - UnifiedAtsAttachmentOutput: - type: object - properties: - file_url: - type: string - description: The URL of the file - file_name: - type: string - description: The name of the file - attachment_type: - type: string - description: The type of the file - remote_created_at: - type: string - format: date-time - description: The remote creation date of the attachment - remote_modified_at: - type: string - format: date-time - description: The remote modification date of the attachment - candidate_id: - type: string - description: The UUID of the candidate - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the attachment - remote_id: - type: string - description: The remote ID of the attachment - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsAttachmentInput: - type: object - properties: - file_url: - type: string - description: The URL of the file - file_name: - type: string - description: The name of the file - attachment_type: - type: string - description: The type of the file - remote_created_at: - type: string - format: date-time - description: The remote creation date of the attachment - remote_modified_at: - type: string - format: date-time - description: The remote modification date of the attachment - candidate_id: - type: string - description: The UUID of the candidate - field_mappings: - type: object - properties: {} - required: - - field_mappings - Url: - type: object - properties: {} - UnifiedAtsCandidateOutput: - type: object - properties: - first_name: - type: string - description: The first name of the candidate - last_name: - type: string - description: The last name of the candidate - company: - type: string - description: The company of the candidate - title: - type: string - description: The title of the candidate - locations: - type: string - description: The locations of the candidate - is_private: - type: boolean - description: Whether the candidate is private - email_reachable: - type: boolean - description: Whether the candidate is reachable by email - remote_created_at: - type: string - format: date-time - description: The remote creation date of the candidate - remote_modified_at: - type: string - format: date-time - description: The remote modification date of the candidate - last_interaction_at: - type: string - format: date-time - description: The last interaction date with the candidate - attachments: - description: The attachments UUIDs of the candidate - type: array - items: - type: string - applications: - description: The applications UUIDs of the candidate - type: array - items: - type: string - tags: - description: The tags of the candidate - type: array - items: - type: string - urls: - description: >- - The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER - type: array - items: - $ref: '#/components/schemas/Url' - phone_numbers: - description: The phone numbers of the candidate - type: array - items: - $ref: '#/components/schemas/Phone' - email_addresses: - description: The email addresses of the candidate - type: array - items: - $ref: '#/components/schemas/Email' - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the candidate - remote_id: - type: string - description: The id of the candidate in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsCandidateInput: - type: object - properties: - first_name: - type: string - description: The first name of the candidate - last_name: - type: string - description: The last name of the candidate - company: - type: string - description: The company of the candidate - title: - type: string - description: The title of the candidate - locations: - type: string - description: The locations of the candidate - is_private: - type: boolean - description: Whether the candidate is private - email_reachable: - type: boolean - description: Whether the candidate is reachable by email - remote_created_at: - type: string - format: date-time - description: The remote creation date of the candidate - remote_modified_at: - type: string - format: date-time - description: The remote modification date of the candidate - last_interaction_at: - type: string - format: date-time - description: The last interaction date with the candidate - attachments: - description: The attachments UUIDs of the candidate - type: array - items: - type: string - applications: - description: The applications UUIDs of the candidate - type: array - items: - type: string - tags: - description: The tags of the candidate - type: array - items: - type: string - urls: - description: >- - The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER - type: array - items: - $ref: '#/components/schemas/Url' - phone_numbers: - description: The phone numbers of the candidate - type: array - items: - $ref: '#/components/schemas/Phone' - email_addresses: - description: The email addresses of the candidate - type: array - items: - $ref: '#/components/schemas/Email' - field_mappings: - type: object - properties: {} - required: - - field_mappings - UnifiedAtsDepartmentOutput: - type: object - properties: - name: - type: string - description: The name of the department - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the department - remote_id: - type: string - description: The remote ID of the department in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsInterviewOutput: - type: object - properties: - status: - type: string - description: The status of the interview - application_id: - type: string - description: The UUID of the application - job_interview_stage_id: - type: string - description: The UUID of the job interview stage - organized_by: - type: string - description: The UUID of the organizer - interviewers: - description: The UUIDs of the interviewers - type: array - items: - type: string - location: - type: string - description: The location of the interview - start_at: - type: string - format: date-time - description: The start date and time of the interview - end_at: - type: string - format: date-time - description: The end date and time of the interview - remote_created_at: - type: string - format: date-time - description: The remote creation date of the interview - remote_updated_at: - type: string - format: date-time - description: The remote modification date of the interview - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the interview - remote_id: - type: string - description: The remote ID of the interview in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsInterviewInput: - type: object - properties: - status: - type: string - description: The status of the interview - application_id: - type: string - description: The UUID of the application - job_interview_stage_id: - type: string - description: The UUID of the job interview stage - organized_by: - type: string - description: The UUID of the organizer - interviewers: - description: The UUIDs of the interviewers - type: array - items: - type: string - location: - type: string - description: The location of the interview - start_at: - type: string - format: date-time - description: The start date and time of the interview - end_at: - type: string - format: date-time - description: The end date and time of the interview - remote_created_at: - type: string - format: date-time - description: The remote creation date of the interview - remote_updated_at: - type: string - format: date-time - description: The remote modification date of the interview - field_mappings: - type: object - properties: {} - required: - - field_mappings - UnifiedAtsJobinterviewstageOutput: - type: object - properties: - name: - type: string - description: The name of the job interview stage - stage_order: - type: number - description: The order of the stage - job_id: - type: string - description: The UUID of the job - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the job interview stage - remote_id: - type: string - description: >- - The remote ID of the job interview stage in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsJobOutput: - type: object - properties: - name: - type: string - description: The name of the job - description: - type: string - description: The description of the job - code: - type: string - description: The code of the job - status: - type: string - description: The status of the job - type: - type: string - description: The type of the job - confidential: - type: boolean - description: Whether the job is confidential - departments: - description: The departments UUIDs associated with the job - type: array - items: - type: string - offices: - description: The offices UUIDs associated with the job - type: array - items: - type: string - managers: - description: The managers UUIDs associated with the job - type: array - items: - type: string - recruiters: - description: The recruiters UUIDs associated with the job - type: array - items: - type: string - remote_created_at: - type: string - format: date-time - description: The remote creation date of the job - remote_updated_at: - type: string - format: date-time - description: The remote modification date of the job - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the job - remote_id: - type: string - description: The remote ID of the job in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsOfferOutput: - type: object - properties: - created_by: - type: string - description: The UUID of the creator - remote_created_at: - type: string - format: date-time - description: The remote creation date of the offer - closed_at: - type: string - format: date-time - description: The closing date of the offer - sent_at: - type: string - format: date-time - description: The sending date of the offer - start_date: - type: string - format: date-time - description: The start date of the offer - status: - type: string - description: The status of the offer - application_id: - type: string - description: The UUID of the application - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the offer - remote_id: - type: string - description: The remote ID of the offer in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsOfficeOutput: - type: object - properties: - name: - type: string - description: The name of the office - location: - type: string - description: The location of the office - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the office - remote_id: - type: string - description: The remote ID of the office in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsRejectreasonOutput: - type: object - properties: - name: - type: string - description: The name of the reject reason - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the reject reason - remote_id: - type: string - description: The remote ID of the reject reason in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsScorecardOutput: - type: object - properties: - overall_recommendation: - type: string - description: The overall recommendation - application_id: - type: string - description: The UUID of the application - interview_id: - type: string - description: The UUID of the interview - remote_created_at: - type: string - format: date-time - description: The remote creation date of the scorecard - submitted_at: - type: string - format: date-time - description: The submission date of the scorecard - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the scorecard - remote_id: - type: string - description: The remote ID of the scorecard in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsTagOutput: - type: object - properties: - name: - type: string - description: The name of the tag - id_ats_candidate: - type: string - description: The UUID of the candidate - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the tag - remote_id: - type: string - description: The remote ID of the tag in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: string - format: date-time - description: The creation date of the tag - modified_at: - type: string - format: date-time - description: The modification date of the tag - required: - - field_mappings - - remote_data - UnifiedAtsUserOutput: - type: object - properties: - first_name: - type: string - description: The first name of the user - last_name: - type: string - description: The last name of the user - email: - type: string - description: The email of the user - disabled: - type: boolean - description: Whether the user is disabled - access_role: - type: string - description: The access role of the user - remote_created_at: - type: string - format: date-time - description: The remote creation date of the user - remote_modified_at: - type: string - format: date-time - description: The remote modification date of the user - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the user - remote_id: - type: string - description: The remote ID of the user in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAtsEeocsOutput: - type: object - properties: - candidate_id: - type: string - description: The UUID of the candidate - submitted_at: - type: string - format: date-time - description: The submission date of the EEOC - race: - type: string - description: The race of the candidate - gender: - type: string - description: The gender of the candidate - veteran_status: - type: string - description: The veteran status of the candidate - disability_status: - type: string - description: The disability status of the candidate - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the EEOC - remote_id: - type: string - description: The remote ID of the EEOC in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedAccountingAccountOutput: - type: object - properties: {} - UnifiedAccountingAccountInput: - type: object - properties: {} - UnifiedAccountingAddressOutput: - type: object - properties: {} - UnifiedAccountingAttachmentOutput: - type: object - properties: {} - UnifiedAccountingAttachmentInput: - type: object - properties: {} - UnifiedAccountingBalancesheetOutput: - type: object - properties: {} - UnifiedAccountingCashflowstatementOutput: - type: object - properties: {} - UnifiedAccountingCompanyinfoOutput: - type: object - properties: {} - UnifiedAccountingContactOutput: - type: object - properties: {} - UnifiedAccountingContactInput: - type: object - properties: {} - UnifiedAccountingCreditnoteOutput: - type: object - properties: {} - UnifiedAccountingExpenseOutput: - type: object - properties: {} - UnifiedAccountingExpenseInput: - type: object - properties: {} - UnifiedAccountingIncomestatementOutput: - type: object - properties: {} - UnifiedAccountingInvoiceOutput: - type: object - properties: {} - UnifiedAccountingInvoiceInput: - type: object - properties: {} - UnifiedAccountingItemOutput: - type: object - properties: {} - UnifiedAccountingJournalentryOutput: - type: object - properties: {} - UnifiedAccountingJournalentryInput: - type: object - properties: {} - UnifiedAccountingPaymentOutput: - type: object - properties: {} - UnifiedAccountingPaymentInput: - type: object - properties: {} - UnifiedAccountingPhonenumberOutput: - type: object - properties: {} - UnifiedAccountingPurchaseorderOutput: - type: object - properties: {} - UnifiedAccountingPurchaseorderInput: - type: object - properties: {} - UnifiedAccountingTaxrateOutput: - type: object - properties: {} - UnifiedAccountingTrackingcategoryOutput: - type: object - properties: {} - UnifiedAccountingTransactionOutput: - type: object - properties: {} - UnifiedAccountingVendorcreditOutput: - type: object - properties: {} - UnifiedFilestorageDriveOutput: - type: object - properties: - name: - type: string - description: The name of the drive - remote_created_at: - type: string - description: When the third party s drive was created. - drive_url: - type: string - description: The url of the drive - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the drive - remote_id: - type: string - description: The id of the drive in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - remote_created_at - - drive_url - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedFilestorageFileOutput: - type: object - properties: - name: - type: string - description: The name of the file - file_url: - type: string - description: The url of the file - mime_type: - type: string - description: The mime type of the file - size: - type: string - description: The size of the file - folder_id: - type: string - description: The UUID of the folder tied to the file - permission: - type: string - description: The UUID of the permission tied to the file - shared_link: - type: string - description: The UUID of the shared link tied to the file - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the file - remote_id: - type: string - description: The id of the file in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - file_url - - mime_type - - size - - folder_id - - permission - - shared_link - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedFilestorageFileInput: - type: object - properties: - name: - type: string - description: The name of the file - file_url: - type: string - description: The url of the file - mime_type: - type: string - description: The mime type of the file - size: - type: string - description: The size of the file - folder_id: - type: string - description: The UUID of the folder tied to the file - permission: - type: string - description: The UUID of the permission tied to the file - shared_link: - type: string - description: The UUID of the shared link tied to the file - field_mappings: - type: object - properties: {} - required: - - name - - file_url - - mime_type - - size - - folder_id - - permission - - shared_link - - field_mappings - UnifiedFilestorageFolderOutput: - type: object - properties: - name: - type: string - description: The name of the folder - size: - type: string - description: The size of the folder - folder_url: - type: string - description: The url of the folder - description: - type: string - description: The description of the folder - drive_id: - type: string - description: The UUID of the drive tied to the folder - parent_folder_id: - type: string - description: The UUID of the parent folder - shared_link: - type: string - description: The UUID of the shared link tied to the folder - permission: - type: string - description: The UUID of the permission tied to the folder - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the folder - remote_id: - type: string - description: The id of the folder in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - size - - folder_url - - description - - drive_id - - parent_folder_id - - shared_link - - permission - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedFilestorageFolderInput: - type: object - properties: - name: - type: string - description: The name of the folder - size: - type: string - description: The size of the folder - folder_url: - type: string - description: The url of the folder - description: - type: string - description: The description of the folder - drive_id: - type: string - description: The UUID of the drive tied to the folder - parent_folder_id: - type: string - description: The UUID of the parent folder - shared_link: - type: string - description: The UUID of the shared link tied to the folder - permission: - type: string - description: The UUID of the permission tied to the folder - field_mappings: - type: object - properties: {} - required: - - name - - size - - folder_url - - description - - drive_id - - parent_folder_id - - shared_link - - permission - - field_mappings - UnifiedFilestorageGroupOutput: - type: object - properties: - name: - type: string - description: The name of the group - users: - description: Uuids of users of the group - type: array - items: - type: string - remote_was_deleted: - type: boolean - description: >- - Indicates whether or not this object has been deleted in the third party platform. - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the group - remote_id: - type: string - description: The id of the group in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - users - - remote_was_deleted - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedUserOutput: - type: object - properties: - name: - type: string - description: The name of the user - email: - type: string - description: The email of the user - is_me: - type: boolean - description: Whether the user is the one who linked this account. - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the user - remote_id: - type: string - description: The id of the user in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - name - - email - - is_me - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedTicketingAttachmentOutput: - type: object - properties: - file_name: - type: string - description: The file name of the attachment - file_url: - type: string - description: The file url of the attachment - uploader: - type: string - description: The uploader's UUID of the attachment - ticket_id: - type: string - description: The UUID of the ticket the attachment is tied to - comment_id: - type: string - description: The UUID of the comment the attachment is tied to - field_mappings: - type: object - properties: {} - id: - type: string - description: The UUID of the attachment - remote_id: - type: string - description: The id of the attachment in the context of the 3rd Party - remote_data: - type: object - properties: {} - created_at: - type: object - properties: {} - modified_at: - type: object - properties: {} - required: - - file_name - - file_url - - uploader - - field_mappings - - remote_data - - created_at - - modified_at - UnifiedTicketingAttachmentInput: - type: object - properties: - file_name: - type: string - description: The file name of the attachment - file_url: - type: string - description: The file url of the attachment - uploader: - type: string - description: The uploader's UUID of the attachment - ticket_id: - type: string - description: The UUID of the ticket the attachment is tied to - comment_id: - type: string - description: The UUID of the comment the attachment is tied to - field_mappings: - type: object - properties: {} - required: - - file_name - - file_url - - uploader - - field_mappings -x-speakeasy-name-override: - - operationId: ^retrieve.* - methodNameOverride: retrieve - - operationId: ^list.* - methodNameOverride: list - - operationId: ^create.* - methodNameOverride: create diff --git a/packages/api/package.json b/packages/api/package.json index c1930e2dc..74929397e 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -58,6 +58,7 @@ "js-yaml": "^4.1.0", "jwt-decode": "^4.0.0", "nestjs-pino": "^3.5.0", + "nodemailer": "^6.9.14", "openai": "^4.38.5", "passport": "^0.6.0", "passport-headerapikey": "^1.2.2", diff --git a/packages/api/prisma/schema.prisma b/packages/api/prisma/schema.prisma index b600e19e2..7e2bcb50e 100644 --- a/packages/api/prisma/schema.prisma +++ b/packages/api/prisma/schema.prisma @@ -11,13 +11,15 @@ datasource db { model users { id_user String @id(map: "pk_users") @db.Uuid identification_strategy String - email String? + email String? @unique(map: "unique_email") password_hash String? first_name String last_name String id_stytch String? @unique(map: "force_stytch_id_unique") created_at DateTime @default(now()) @db.Timestamp(6) modified_at DateTime @default(now()) @db.Timestamp(6) + reset_token String? + reset_token_expires_at DateTime? @db.Timestamptz(6) api_keys api_keys[] projects projects[] } @@ -1637,37 +1639,44 @@ model acc_vendor_credits { } /// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments -model ecom_customer_addresses { - id_ecom_customer_address String @id(map: "pk_ecom_customer_addresses") @db.Uuid - address_type String? - line_1 String? - line_2 String? - street_1 String? - street_2 String? - city String? - state String? - postal_code String? - country String? - id_ecom_customer String @db.Uuid - modified_at DateTime @db.Timestamptz(6) - created_at DateTime @db.Timestamptz(6) - ecom_customers ecom_customers @relation(fields: [id_ecom_customer], references: [id_ecom_customer], onDelete: NoAction, onUpdate: NoAction, map: "fk_ecom_customer_customeraddress") +model ecom_addresses { + id_ecom_address String @id(map: "pk_ecom_customer_addresses") @db.Uuid + address_type String? + street_1 String? + street_2 String? + city String? + state String? + postal_code String? + country String? + id_ecom_customer String @db.Uuid + modified_at DateTime @db.Timestamptz(6) + created_at DateTime @db.Timestamptz(6) + remote_deleted Boolean + id_ecom_order String @db.Uuid + ecom_customers ecom_customers @relation(fields: [id_ecom_customer], references: [id_ecom_customer], onDelete: NoAction, onUpdate: NoAction, map: "fk_ecom_customer_customeraddress") + ecom_orders ecom_orders @relation(fields: [id_ecom_order], references: [id_ecom_order], onDelete: NoAction, onUpdate: NoAction, map: "fk_ecom_order_address") @@index([id_ecom_customer], map: "fk_index_ecom_customer_customeraddress") + @@index([id_ecom_order], map: "fk_index_fk_ecom_order_address") } model ecom_customers { - id_ecom_customer String @id(map: "pk_ecom_customers") @db.Uuid - remote_id String? - email String? - first_name String? - last_name String? - phone_number String? - modifed_at DateTime @db.Timestamptz(6) - created_at DateTime @db.Timestamptz(6) - id_connection String @db.Uuid - ecom_customer_addresses ecom_customer_addresses[] - ecom_orders ecom_orders[] + id_ecom_customer String @id(map: "pk_ecom_customers") @db.Uuid + remote_id String? + email String? + first_name String? + last_name String? + phone_number String? + modified_at DateTime @db.Timestamptz(6) + created_at DateTime @db.Timestamptz(6) + id_connection String @db.Uuid + remote_deleted Boolean + ecom_addresses ecom_addresses[] + ecom_orders ecom_orders[] +} + +model ecom_fulfilment_orders { + id_ecom_fulfilment_order String @id(map: "pk_ecom_fulfilment_order") @db.Uuid } /// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments @@ -1680,13 +1689,18 @@ model ecom_fulfilments { remote_id String? id_ecom_order String? @db.Uuid id_connection String @db.Uuid - modifed_at DateTime @db.Timestamptz(6) + modified_at DateTime @db.Timestamptz(6) created_at DateTime @db.Timestamptz(6) + remote_deleted Boolean ecom_orders ecom_orders? @relation(fields: [id_ecom_order], references: [id_ecom_order], onDelete: NoAction, onUpdate: NoAction, map: "fk_ecom_order_fulfilment") @@index([id_ecom_order], map: "fk_index_ecom_order_fulfilment") } +model ecom_order_line_items { + id_ecom_order_line_item String @id(map: "pk_106") @db.Uuid +} + model ecom_orders { id_ecom_order String @id(map: "pk_ecom_orders") @db.Uuid order_status String? @@ -1701,8 +1715,10 @@ model ecom_orders { remote_id String? id_ecom_customer String? @db.Uuid id_connection String @db.Uuid - modifed_at DateTime @db.Timestamptz(6) + modified_at DateTime @db.Timestamptz(6) created_at DateTime @db.Timestamptz(6) + remote_deleted Boolean + ecom_addresses ecom_addresses[] ecom_fulfilments ecom_fulfilments[] ecom_customers ecom_customers? @relation(fields: [id_ecom_customer], references: [id_ecom_customer], onDelete: NoAction, onUpdate: NoAction, map: "fk_ecom_customer_orders") @@ -1721,8 +1737,9 @@ model ecom_product_variants { weight BigInt? inventory_quantity BigInt? id_ecom_product String? @db.Uuid - modifed_at DateTime @db.Timestamptz(6) + modified_at DateTime @db.Timestamptz(6) created_at DateTime @db.Timestamptz(6) + remote_deleted Boolean ecom_products ecom_products? @relation(fields: [id_ecom_product], references: [id_ecom_product], onDelete: NoAction, onUpdate: NoAction, map: "fk_ecom_products_variants") @@index([id_ecom_product], map: "fk_index_ecom_products_variants") @@ -1738,8 +1755,9 @@ model ecom_products { description String? vendor String? tags String[] - modifed_at DateTime @db.Timestamptz(6) + modified_at DateTime @db.Timestamptz(6) created_at DateTime @db.Timestamptz(6) id_connection String @db.Uuid + remote_deleted Boolean ecom_product_variants ecom_product_variants[] } diff --git a/packages/api/scripts/init.sql b/packages/api/scripts/init.sql index d9a630743..f6d1d46bd 100644 --- a/packages/api/scripts/init.sql +++ b/packages/api/scripts/init.sql @@ -2,9 +2,7 @@ -- *********** Generated by SqlDBM: Panora_DB by rf@panora.dev ********** - -- ************************************** webhooks_reponses - CREATE TABLE webhooks_reponses ( id_webhooks_reponse uuid NOT NULL, @@ -12,17 +10,9 @@ CREATE TABLE webhooks_reponses http_status_code text NOT NULL, CONSTRAINT PK_webhooks_reponse PRIMARY KEY ( id_webhooks_reponse ) ); - - - COMMENT ON COLUMN webhooks_reponses.http_status_code IS 'anything that is not 2xx is failed, and leads to retry'; - - - - -- ************************************** webhooks_payloads - CREATE TABLE webhooks_payloads ( id_webhooks_payload uuid NOT NULL, @@ -30,15 +20,7 @@ CREATE TABLE webhooks_payloads CONSTRAINT PK_webhooks_payload PRIMARY KEY ( id_webhooks_payload ) ); - - - - - - - -- ************************************** webhook_endpoints - CREATE TABLE webhook_endpoints ( id_webhook_endpoint uuid NOT NULL, @@ -52,20 +34,12 @@ CREATE TABLE webhook_endpoints last_update timestamp NULL, CONSTRAINT PK_webhook_endpoint PRIMARY KEY ( id_webhook_endpoint ) ); - - - COMMENT ON COLUMN webhook_endpoints.endpoint_description IS 'An optional description of what the webhook is used for'; COMMENT ON COLUMN webhook_endpoints.secret IS 'a shared secret for secure communication'; COMMENT ON COLUMN webhook_endpoints.active IS 'a flag indicating whether the webhook is active or not'; COMMENT ON COLUMN webhook_endpoints."scope" IS 'stringified array with events,'; - - - - -- ************************************** users - CREATE TABLE users ( id_user uuid NOT NULL, @@ -77,27 +51,20 @@ CREATE TABLE users id_stytch text NULL, created_at timestamp NOT NULL DEFAULT NOW(), modified_at timestamp NOT NULL DEFAULT NOW(), + reset_token text NULL, + reset_token_expires_at timestamp with time zone NULL, CONSTRAINT PK_users PRIMARY KEY ( id_user ), - CONSTRAINT force_stytch_id_unique UNIQUE ( id_stytch ) + CONSTRAINT force_stytch_id_unique UNIQUE ( id_stytch ), + CONSTRAINT unique_email UNIQUE ( email ) ); - - - COMMENT ON COLUMN users.identification_strategy IS 'can be: - PANORA_SELF_HOSTED STYTCH_B2B STYTCH_B2C'; COMMENT ON COLUMN users.created_at IS 'DEFAULT NOW() to automatically insert a value if nothing supplied'; - COMMENT ON CONSTRAINT force_stytch_id_unique ON users IS 'force unique on stytch id'; - - - - -- ************************************** tcg_users - CREATE TABLE tcg_users ( id_tcg_user uuid NOT NULL, @@ -106,23 +73,16 @@ CREATE TABLE tcg_users remote_id text NULL, remote_platform text NULL, teams text[] NULL, - created_at timestamp NULL, - modified_at timestamp NULL, id_linked_user uuid NULL, id_connection uuid NOT NULL, + created_at timestamp NULL, + modified_at timestamp NULL, CONSTRAINT PK_tcg_users PRIMARY KEY ( id_tcg_user ) ); - COMMENT ON TABLE tcg_users IS 'The User object is used to represent an employee within a company.'; - COMMENT ON COLUMN tcg_users.teams IS 'array of id_tcg_team. Teams the support agent belongs to.'; - - - - -- ************************************** tcg_teams - CREATE TABLE tcg_teams ( id_tcg_team uuid NOT NULL, @@ -137,15 +97,7 @@ CREATE TABLE tcg_teams CONSTRAINT PK_tcg_teams PRIMARY KEY ( id_tcg_team ) ); - - - - - - - -- ************************************** tcg_collections - CREATE TABLE tcg_collections ( id_tcg_collection uuid NOT NULL, @@ -155,6 +107,7 @@ CREATE TABLE tcg_collections remote_platform text NULL, collection_type text NULL, parent_collection uuid NULL, + id_tcg_ticket uuid NULL, created_at timestamp NOT NULL, modified_at timestamp NOT NULL, id_linked_user uuid NOT NULL, @@ -162,15 +115,7 @@ CREATE TABLE tcg_collections CONSTRAINT PK_tcg_collections PRIMARY KEY ( id_tcg_collection ) ); - - - - - - - -- ************************************** tcg_accounts - CREATE TABLE tcg_accounts ( id_tcg_account uuid NOT NULL, @@ -184,17 +129,9 @@ CREATE TABLE tcg_accounts id_connection uuid NOT NULL, CONSTRAINT PK_tcg_account PRIMARY KEY ( id_tcg_account ) ); - - - COMMENT ON COLUMN tcg_accounts.name IS 'company or customer name'; - - - - -- ************************************** remote_data - CREATE TABLE remote_data ( id_remote_data uuid NOT NULL, @@ -205,18 +142,10 @@ CREATE TABLE remote_data CONSTRAINT PK_remote_data PRIMARY KEY ( id_remote_data ), CONSTRAINT Force_Unique_ressourceOwnerId UNIQUE ( ressource_owner_id ) ); - - - COMMENT ON COLUMN remote_data.ressource_owner_id IS 'uuid of the unified object that owns this remote data. UUID of the contact, or deal , etc...'; COMMENT ON COLUMN remote_data."format" IS 'can be json, xml'; - - - - -- ************************************** managed_webhooks - CREATE TABLE managed_webhooks ( id_managed_webhook uuid NOT NULL, @@ -230,18 +159,10 @@ CREATE TABLE managed_webhooks created_at timestamp NOT NULL, CONSTRAINT PK_managed_webhooks PRIMARY KEY ( id_managed_webhook ) ); - - - COMMENT ON COLUMN managed_webhooks.endpoint IS 'UUID that will be used in the final URL to help identify where to route data ex: api.panora.dev/mw/{managed_webhooks.endpoint}'; - - - - -- ************************************** fs_users - CREATE TABLE fs_users ( id_fs_user uuid NOT NULL, @@ -255,15 +176,7 @@ CREATE TABLE fs_users CONSTRAINT PK_fs_users PRIMARY KEY ( id_fs_user ) ); - - - - - - - -- ************************************** fs_shared_links - CREATE TABLE fs_shared_links ( id_fs_shared_link uuid NOT NULL, @@ -281,18 +194,10 @@ CREATE TABLE fs_shared_links remote_id text NULL, CONSTRAINT PK_fs_shared_links PRIMARY KEY ( id_fs_shared_link ) ); - - - COMMENT ON COLUMN fs_shared_links."scope" IS 'can be public, or company depending on the link'; COMMENT ON COLUMN fs_shared_links.password IS 'encrypted password'; - - - - -- ************************************** fs_permissions - CREATE TABLE fs_permissions ( id_fs_permission uuid NOT NULL, @@ -306,17 +211,9 @@ CREATE TABLE fs_permissions id_connection uuid NOT NULL, CONSTRAINT PK_fs_permissions PRIMARY KEY ( id_fs_permission ) ); - - - COMMENT ON COLUMN fs_permissions.roles IS 'read, write, owner'; - - - - -- ************************************** fs_groups - CREATE TABLE fs_groups ( id_fs_group uuid NOT NULL, @@ -329,17 +226,9 @@ CREATE TABLE fs_groups id_connection uuid NOT NULL, CONSTRAINT PK_fs_groups PRIMARY KEY ( id_fs_group ) ); - - - COMMENT ON COLUMN fs_groups.remote_was_deleted IS 'set to true'; - - - - -- ************************************** fs_drives - CREATE TABLE fs_drives ( id_fs_drive uuid NOT NULL, @@ -353,15 +242,7 @@ CREATE TABLE fs_drives CONSTRAINT PK_fs_drives PRIMARY KEY ( id_fs_drive ) ); - - - - - - - -- ************************************** entity - CREATE TABLE entity ( id_entity uuid NOT NULL, @@ -370,17 +251,58 @@ CREATE TABLE entity modified_at timestamp with time zone NOT NULL, CONSTRAINT PK_entity PRIMARY KEY ( id_entity ) ); - - - COMMENT ON COLUMN entity.ressource_owner_id IS 'uuid of the ressource owner - can be a a crm_contact, a crm_deal, etc...'; +-- ************************************** ecom_products +CREATE TABLE ecom_products +( + id_ecom_product uuid NOT NULL, + remote_id text NULL, + product_url text NULL, + product_type text NULL, + product_status text NULL, + images_urls text[] NULL, + description text NULL, + vendor text NULL, + tags text[] NULL, + modified_at timestamp with time zone NOT NULL, + created_at timestamp with time zone NOT NULL, + id_connection uuid NOT NULL, + remote_deleted boolean NOT NULL, + CONSTRAINT PK_ecom_products PRIMARY KEY ( id_ecom_product ) +); +-- ************************************** ecom_order_line_items +CREATE TABLE ecom_order_line_items +( + id_ecom_order_line_item uuid NOT NULL, + CONSTRAINT PK_106 PRIMARY KEY ( id_ecom_order_line_item ) +); +-- ************************************** ecom_fulfilment_orders +CREATE TABLE ecom_fulfilment_orders +( + id_ecom_fulfilment_order uuid NOT NULL, + CONSTRAINT PK_ecom_fulfilment_order PRIMARY KEY ( id_ecom_fulfilment_order ) +); +-- ************************************** ecom_customers +CREATE TABLE ecom_customers +( + id_ecom_customer uuid NOT NULL, + remote_id text NULL, + email text NULL, + first_name text NULL, + last_name text NULL, + phone_number text NULL, + modified_at timestamp with time zone NOT NULL, + created_at timestamp with time zone NOT NULL, + id_connection uuid NOT NULL, + remote_deleted boolean NOT NULL, + CONSTRAINT PK_ecom_customers PRIMARY KEY ( id_ecom_customer ) +); -- ************************************** cs_values - CREATE TABLE cs_values ( id_cs_value uuid NOT NULL, @@ -389,15 +311,7 @@ CREATE TABLE cs_values CONSTRAINT PK_ct_values PRIMARY KEY ( id_cs_value ) ); - - - - - - - -- ************************************** cs_entities - CREATE TABLE cs_entities ( id_cs_entity uuid NOT NULL, @@ -405,15 +319,7 @@ CREATE TABLE cs_entities CONSTRAINT PK_ct_entities PRIMARY KEY ( id_cs_entity ) ); - - - - - - - -- ************************************** cs_attributes - CREATE TABLE cs_attributes ( id_cs_attribute uuid NOT NULL, @@ -423,15 +329,7 @@ CREATE TABLE cs_attributes CONSTRAINT PK_ct_attributes PRIMARY KEY ( id_cs_attribute ) ); - - - - - - - -- ************************************** crm_users - CREATE TABLE crm_users ( id_crm_user uuid NOT NULL, @@ -446,15 +344,7 @@ CREATE TABLE crm_users CONSTRAINT PK_crm_users PRIMARY KEY ( id_crm_user ) ); - - - - - - - -- ************************************** crm_deals_stages - CREATE TABLE crm_deals_stages ( id_crm_deals_stage uuid NOT NULL, @@ -468,15 +358,7 @@ CREATE TABLE crm_deals_stages CONSTRAINT PK_crm_deal_stages PRIMARY KEY ( id_crm_deals_stage ) ); - - - - - - - -- ************************************** connector_sets - CREATE TABLE connector_sets ( id_connector_set uuid NOT NULL, @@ -495,15 +377,7 @@ CREATE TABLE connector_sets CONSTRAINT PK_project_connector PRIMARY KEY ( id_connector_set ) ); - - - - - - - -- ************************************** connection_strategies - CREATE TABLE connection_strategies ( id_connection_strategy uuid NOT NULL, @@ -512,19 +386,11 @@ CREATE TABLE connection_strategies id_project uuid NULL, CONSTRAINT PK_connection_strategies PRIMARY KEY ( id_connection_strategy ) ); - - - COMMENT ON COLUMN connection_strategies.id_connection_strategy IS 'Connection strategies are meant to overwrite default env variables for oauth strategies'; COMMENT ON COLUMN connection_strategies.status IS 'if the connection strategy should overwrite default strategy (from env)'; COMMENT ON COLUMN connection_strategies.type IS 'OAUTH2, API_KEY, PIPEDRIVE_CLOUD_OAUTH, PIPEDRIVE_CLOUD_API, HUBSPOT_CLOUD'; - - - - -- ************************************** ats_users - CREATE TABLE ats_users ( id_ats_user uuid NOT NULL, @@ -541,17 +407,9 @@ CREATE TABLE ats_users id_connection uuid NOT NULL, CONSTRAINT PK_ats_users PRIMARY KEY ( id_ats_user ) ); - - - COMMENT ON COLUMN ats_users.access_role IS 'The user''s role. Possible values include: SUPER_ADMIN, ADMIN, TEAM_MEMBER, LIMITED_TEAM_MEMBER, INTERVIEWER. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** ats_reject_reasons - CREATE TABLE ats_reject_reasons ( id_ats_reject_reason uuid NOT NULL, @@ -563,15 +421,7 @@ CREATE TABLE ats_reject_reasons CONSTRAINT PK_ats_reject_reasons PRIMARY KEY ( id_ats_reject_reason ) ); - - - - - - - -- ************************************** ats_offices - CREATE TABLE ats_offices ( id_ats_office uuid NOT NULL, @@ -583,16 +433,9 @@ CREATE TABLE ats_offices id_connection uuid NOT NULL, CONSTRAINT PK_ats_offices PRIMARY KEY ( id_ats_office ) ); - COMMENT ON TABLE ats_offices IS 'The Office object is used to represent an office within a company. A given Job has the Office ID in its offices field.'; - - - - - -- ************************************** ats_jobs - CREATE TABLE ats_jobs ( id_ats_job uuid NOT NULL, @@ -614,9 +457,7 @@ CREATE TABLE ats_jobs id_connection uuid NOT NULL, CONSTRAINT PK_ats_jobs PRIMARY KEY ( id_ats_job ) ); - COMMENT ON TABLE ats_jobs IS 'The Job object can be used to track any jobs that are currently or will be open/closed for applications.'; - COMMENT ON COLUMN ats_jobs.description IS 'the jobs description'; COMMENT ON COLUMN ats_jobs.status IS 'The job''s status. Possible values include: OPEN, CLOSED, DRAFT, ARCHIVED, PENDING. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_jobs.type IS 'The job''s type. Possible values include: POSTING, REQUISITION, PROFILE. In cases where there is no clear mapping, the original value passed through will be returned.'; @@ -625,12 +466,7 @@ COMMENT ON COLUMN ats_jobs.ats_offices IS 'IDs of Office objects for this Job.'; COMMENT ON COLUMN ats_jobs.managers IS 'IDs of RemoteUser objects that serve as hiring managers for this Job.'; COMMENT ON COLUMN ats_jobs.recruiters IS 'IDs of RemoteUser objects that serve as recruiters for this Job.'; - - - - -- ************************************** ats_departments - CREATE TABLE ats_departments ( id_ats_department uuid NOT NULL, @@ -642,15 +478,7 @@ CREATE TABLE ats_departments CONSTRAINT PK_ats_departments PRIMARY KEY ( id_ats_department ) ); - - - - - - - -- ************************************** ats_candidates - CREATE TABLE ats_candidates ( id_ats_candidate uuid NOT NULL, @@ -671,9 +499,6 @@ CREATE TABLE ats_candidates id_connection uuid NOT NULL, CONSTRAINT PK_ats_candidates PRIMARY KEY ( id_ats_candidate ) ); - - - COMMENT ON COLUMN ats_candidates.first_name IS 'candidate''s first name.'; COMMENT ON COLUMN ats_candidates.last_name IS 'candidate''s last name.'; COMMENT ON COLUMN ats_candidates.company IS 'The candidate''s current company'; @@ -681,12 +506,7 @@ COMMENT ON COLUMN ats_candidates.title IS 'The candidate''s current title'; COMMENT ON COLUMN ats_candidates.email_reachable IS 'can the candidate be emailed'; COMMENT ON COLUMN ats_candidates.tags IS 'array of id_ats_candidate_tag'; - - - - -- ************************************** ats_candidate_tags - CREATE TABLE ats_candidate_tags ( id_ats_candidate_tag uuid NOT NULL, @@ -698,15 +518,7 @@ CREATE TABLE ats_candidate_tags CONSTRAINT PK_ats_candidate_tags PRIMARY KEY ( id_ats_candidate_tag ) ); - - - - - - - -- ************************************** acc_vendor_credits - CREATE TABLE acc_vendor_credits ( id_acc_vendor_credit uuid NOT NULL, @@ -725,17 +537,9 @@ CREATE TABLE acc_vendor_credits accounting_period uuid NULL, CONSTRAINT PK_acc_vendor_credits PRIMARY KEY ( id_acc_vendor_credit ) ); - - - COMMENT ON COLUMN acc_vendor_credits.company IS 'The company the vendor credit belongs to.'; - - - - -- ************************************** acc_vendor_credit_lines - CREATE TABLE acc_vendor_credit_lines ( id_acc_vendor_credit_line uuid NOT NULL, @@ -753,15 +557,7 @@ CREATE TABLE acc_vendor_credit_lines CONSTRAINT PK_acc_vendor_credit_lines PRIMARY KEY ( id_acc_vendor_credit_line ) ); - - - - - - - -- ************************************** acc_transactions - CREATE TABLE acc_transactions ( id_acc_transaction uuid NOT NULL, @@ -782,10 +578,8 @@ CREATE TABLE acc_transactions id_connection uuid NOT NULL, CONSTRAINT PK_acc_transactions PRIMARY KEY ( id_acc_transaction ) ); - COMMENT ON TABLE acc_transactions IS 'Transactions The Transaction common model includes records of all types of transactions that do not appear in other common models. The type of transaction can be identified through the type field. More specifically, it will contain all types of transactions outside of: - Credit Notes Expenses Invoices @@ -793,15 +587,9 @@ Journal Entries Payments Purchase Orders Vendor Credits'; - COMMENT ON COLUMN acc_transactions.total_amount IS 'The total amount being paid after taxes.'; - - - - -- ************************************** acc_tracking_categories - CREATE TABLE acc_tracking_categories ( id_acc_tracking_category uuid NOT NULL, @@ -815,19 +603,11 @@ CREATE TABLE acc_tracking_categories id_connection uuid NOT NULL, CONSTRAINT PK_acc_tracking_categories PRIMARY KEY ( id_acc_tracking_category ) ); - - - COMMENT ON COLUMN acc_tracking_categories.status IS 'The tracking category''s status. Possible values include: ACTIVE, ARCHIVED. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_tracking_categories.category_type IS 'The tracking category’s type. Possible values include: CLASS, DEPARTMENT. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_tracking_categories.parent_category IS 'ID of the parent tracking category.'; - - - - -- ************************************** acc_tax_rates - CREATE TABLE acc_tax_rates ( id_acc_tax_rate uuid NOT NULL, @@ -841,18 +621,10 @@ CREATE TABLE acc_tax_rates modified_at timestamp with time zone NOT NULL, CONSTRAINT PK_acc_tax_rates PRIMARY KEY ( id_acc_tax_rate ) ); - - - COMMENT ON COLUMN acc_tax_rates.total_tax_ratge IS 'The tax’s total tax rate - sum of the tax components (not compounded).'; COMMENT ON COLUMN acc_tax_rates.company IS 'The subsidiary that the tax rate belongs to (in the case of multi-entity systems).'; - - - - -- ************************************** acc_report_items - CREATE TABLE acc_report_items ( id_acc_report_item uuid NOT NULL, @@ -866,15 +638,7 @@ CREATE TABLE acc_report_items CONSTRAINT PK_acc_report_items PRIMARY KEY ( id_acc_report_item ) ); - - - - - - - -- ************************************** acc_income_statements - CREATE TABLE acc_income_statements ( id_acc_income_statement uuid NOT NULL, @@ -892,15 +656,7 @@ CREATE TABLE acc_income_statements CONSTRAINT PK_acc_income_statements PRIMARY KEY ( id_acc_income_statement ) ); - - - - - - - -- ************************************** acc_credit_notes - CREATE TABLE acc_credit_notes ( id_acc_credit_note uuid NOT NULL, @@ -925,19 +681,11 @@ CREATE TABLE acc_credit_notes id_connection uuid NOT NULL, CONSTRAINT PK_acc_credit_notes PRIMARY KEY ( id_acc_credit_note ) ); - - - COMMENT ON COLUMN acc_credit_notes.status IS 'The credit note''s status. Possible values include: SUBMITTED, AUTHORIZED, PAID. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_credit_notes."number" IS 'The credit note''s number.'; COMMENT ON COLUMN acc_credit_notes.payments IS 'array of id_acc_payment'; - - - - -- ************************************** acc_company_infos - CREATE TABLE acc_company_infos ( id_acc_company_info uuid NOT NULL, @@ -957,15 +705,7 @@ CREATE TABLE acc_company_infos CONSTRAINT PK_acc_company_infos PRIMARY KEY ( id_acc_company_info ) ); - - - - - - - -- ************************************** acc_cash_flow_statements - CREATE TABLE acc_cash_flow_statements ( id_acc_cash_flow_statement uuid NOT NULL, @@ -984,15 +724,7 @@ CREATE TABLE acc_cash_flow_statements CONSTRAINT PK_acc_cash_flow_statements PRIMARY KEY ( id_acc_cash_flow_statement ) ); - - - - - - - -- ************************************** acc_balance_sheets_report_items - CREATE TABLE acc_balance_sheets_report_items ( id_acc_balance_sheets_report_item uuid NOT NULL, @@ -1005,17 +737,9 @@ CREATE TABLE acc_balance_sheets_report_items id_acc_company_info uuid NULL, CONSTRAINT PK_acc_balance_sheets_report_items PRIMARY KEY ( id_acc_balance_sheets_report_item ) ); - - - COMMENT ON COLUMN acc_balance_sheets_report_items.parent_item IS 'uuid of another id_acc_balance_sheets_report_item'; - - - - -- ************************************** acc_accounting_periods - CREATE TABLE acc_accounting_periods ( id_acc_accounting_period uuid NOT NULL, @@ -1029,17 +753,9 @@ CREATE TABLE acc_accounting_periods id_connection uuid NOT NULL, CONSTRAINT PK_acc_accounting_periods PRIMARY KEY ( id_acc_accounting_period ) ); - - - COMMENT ON COLUMN acc_accounting_periods.status IS 'Possible values include: ACTIVE, INACTIVE. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** tcg_tickets - CREATE TABLE tcg_tickets ( id_tcg_ticket uuid NOT NULL, @@ -1053,39 +769,29 @@ CREATE TABLE tcg_tickets collections text[] NULL, completed_at timestamp NULL, priority text NULL, - created_at timestamp NOT NULL, - modified_at timestamp NOT NULL, assigned_to text[] NULL, remote_id text NULL, remote_platform text NULL, creator_type text NULL, id_tcg_user uuid NULL, - id_linked_user uuid NOT NULL, + id_linked_user uuid NULL, + created_at timestamp NOT NULL, + modified_at timestamp NOT NULL, id_connection uuid NOT NULL, CONSTRAINT PK_tcg_tickets PRIMARY KEY ( id_tcg_ticket ) ); - CREATE INDEX FK_tcg_ticket_tcg_user ON tcg_tickets ( id_tcg_user ); - - - COMMENT ON COLUMN tcg_tickets.name IS 'Name of the ticket. Usually very short.'; COMMENT ON COLUMN tcg_tickets.status IS 'OPEN, CLOSED, IN_PROGRESS, ON_HOLD'; COMMENT ON COLUMN tcg_tickets.tags IS 'array of tags uuid'; COMMENT ON COLUMN tcg_tickets.assigned_to IS 'Employees assigned to this ticket. - It is a stringified array containing tcg_users'; COMMENT ON COLUMN tcg_tickets.id_tcg_user IS 'id of the user who created the ticket'; - - - - -- ************************************** tcg_contacts - CREATE TABLE tcg_contacts ( id_tcg_contact uuid NOT NULL, @@ -1103,21 +809,12 @@ CREATE TABLE tcg_contacts CONSTRAINT PK_tcg_contact PRIMARY KEY ( id_tcg_contact ), CONSTRAINT FK_49 FOREIGN KEY ( id_tcg_account ) REFERENCES tcg_accounts ( id_tcg_account ) ); - CREATE INDEX FK_tcg_contact_tcg_account_id ON tcg_contacts ( id_tcg_account ); - - - - - - - -- ************************************** projects - CREATE TABLE projects ( id_project uuid NOT NULL, @@ -1131,25 +828,15 @@ CREATE TABLE projects CONSTRAINT FK_project_connectorsetid FOREIGN KEY ( id_connector_set ) REFERENCES connector_sets ( id_connector_set ), CONSTRAINT FK_46_1 FOREIGN KEY ( id_user ) REFERENCES users ( id_user ) ); - CREATE INDEX FK_connectors_sets ON projects ( id_connector_set ); - - - COMMENT ON COLUMN projects.sync_mode IS 'Can be realtime or periodic_pull'; COMMENT ON COLUMN projects.pull_frequency IS 'Frequency in seconds for pulls - ex 3600 for one hour'; - - - - -- ************************************** fs_folders - CREATE TABLE fs_folders ( id_fs_folder uuid NOT NULL, @@ -1166,26 +853,68 @@ CREATE TABLE fs_folders id_fs_permission uuid NULL, CONSTRAINT PK_fs_folders PRIMARY KEY ( id_fs_folder ) ); - CREATE INDEX FK_fs_folder_driveID ON fs_folders ( id_fs_drive ); - CREATE INDEX FK_fs_folder_permissionID ON fs_folders ( id_fs_permission ); +-- ************************************** ecom_product_variants +CREATE TABLE ecom_product_variants +( + id_ecom_product_variant uuid NOT NULL, + id_connection uuid NOT NULL, + remote_id text NULL, + title text NULL, + price bigint NULL, + sku text NULL, + options jsonb NULL, + weight bigint NULL, + inventory_quantity bigint NULL, + id_ecom_product uuid NULL, + modified_at timestamp with time zone NOT NULL, + created_at timestamp with time zone NOT NULL, + remote_deleted boolean NOT NULL, + CONSTRAINT PK_ecom_product_variants PRIMARY KEY ( id_ecom_product_variant ), + CONSTRAINT FK_ecom_products_variants FOREIGN KEY ( id_ecom_product ) REFERENCES ecom_products ( id_ecom_product ) +); +CREATE INDEX FK_index_ecom_products_variants ON ecom_product_variants +( + id_ecom_product +); +COMMENT ON COLUMN ecom_product_variants.options IS 'an array of product options. ex [{color: blue}, {size: medium}] ...'; - - - - - +-- ************************************** ecom_orders +CREATE TABLE ecom_orders +( + id_ecom_order uuid NOT NULL, + order_status text NULL, + order_number text NULL, + payment_status text NULL, + currency text NULL, + total_price bigint NULL, + total_discount bigint NULL, + total_shipping bigint NULL, + total_tax bigint NULL, + fulfillment_status text NULL, + remote_id text NULL, + id_ecom_customer uuid NULL, + id_connection uuid NOT NULL, + modified_at timestamp with time zone NOT NULL, + created_at timestamp with time zone NOT NULL, + remote_deleted boolean NOT NULL, + CONSTRAINT PK_ecom_orders PRIMARY KEY ( id_ecom_order ), + CONSTRAINT FK_ecom_customer_orders FOREIGN KEY ( id_ecom_customer ) REFERENCES ecom_customers ( id_ecom_customer ) +); +CREATE INDEX FK_index_ecom_customer_orders ON ecom_orders +( + id_ecom_customer +); -- ************************************** crm_contacts - CREATE TABLE crm_contacts ( id_crm_contact uuid NOT NULL, @@ -1201,22 +930,13 @@ CREATE TABLE crm_contacts CONSTRAINT PK_crm_contacts PRIMARY KEY ( id_crm_contact ), CONSTRAINT FK_23 FOREIGN KEY ( id_crm_user ) REFERENCES crm_users ( id_crm_user ) ); - CREATE INDEX FK_crm_contact_userID ON crm_contacts ( id_crm_user ); - - - COMMENT ON COLUMN crm_contacts.remote_platform IS 'can be hubspot, zendesk, zoho...'; - - - - -- ************************************** crm_companies - CREATE TABLE crm_companies ( id_crm_company uuid NOT NULL, @@ -1231,23 +951,14 @@ CREATE TABLE crm_companies id_linked_user uuid NULL, id_connection uuid NOT NULL, CONSTRAINT PK_crm_companies PRIMARY KEY ( id_crm_company ), - CONSTRAINT FK_24 FOREIGN KEY ( id_crm_user ) REFERENCES crm_users ( id_crm_user ) -); - -CREATE INDEX FK_crm_company_crm_userID ON crm_companies -( - id_crm_user -); - - - - - - - + CONSTRAINT FK_24 FOREIGN KEY ( id_crm_user ) REFERENCES crm_users ( id_crm_user ) +); +CREATE INDEX FK_crm_company_crm_userID ON crm_companies +( + id_crm_user +); -- ************************************** attribute - CREATE TABLE attribute ( id_attribute uuid NOT NULL, @@ -1267,36 +978,24 @@ CREATE TABLE attribute CONSTRAINT PK_attribute PRIMARY KEY ( id_attribute ), CONSTRAINT FK_32 FOREIGN KEY ( id_entity ) REFERENCES entity ( id_entity ) ); - CREATE INDEX FK_attribute_entityID ON attribute ( id_entity ); - - - COMMENT ON COLUMN attribute.status IS 'NEED_REMOTE_ID LINKED'; COMMENT ON COLUMN attribute.ressource_owner_type IS 'ressource_owner type: - crm_deal, crm_contact'; COMMENT ON COLUMN attribute.slug IS 'Custom field name,ex : SIZE, AGE, MIDDLE_NAME, HAS_A_CAR ...'; COMMENT ON COLUMN attribute.description IS 'description of this custom field'; COMMENT ON COLUMN attribute.data_type IS 'INTEGER, STRING, BOOLEAN...'; COMMENT ON COLUMN attribute."source" IS 'can be hubspot, zendesk, etc'; COMMENT ON COLUMN attribute."scope" IS 'defines at which scope the ressource will be available - can be "ORGANIZATION", or "LINKED_USER"'; COMMENT ON COLUMN attribute.id_consumer IS 'Can be an organization iD , or linked user ID - id_linked_user'; - - - - -- ************************************** ats_job_interview_stages - CREATE TABLE ats_job_interview_stages ( id_ats_job_interview_stage uuid NOT NULL, @@ -1309,22 +1008,14 @@ CREATE TABLE ats_job_interview_stages id_connection uuid NOT NULL, CONSTRAINT PK_ats_job_interview_stages PRIMARY KEY ( id_ats_job_interview_stage ) ); - CREATE INDEX FK_ATS_Jobs_ATS_JobInterview_ID ON ats_job_interview_stages ( id_ats_job ); - COMMENT ON TABLE ats_job_interview_stages IS 'The JobInterviewStage object is used to represent a particular recruiting stage for an Application. A given Application typically has the JobInterviewStage object represented in the current_stage field.'; - COMMENT ON COLUMN ats_job_interview_stages.id_ats_job IS 'This field is populated only if the stage is specific to a particular job. If the stage is generic, this field will not be populated.'; - - - - -- ************************************** ats_eeocs - CREATE TABLE ats_eeocs ( id_ats_eeoc uuid NOT NULL, @@ -1340,25 +1031,17 @@ CREATE TABLE ats_eeocs id_connection uuid NOT NULL, CONSTRAINT PK_ats_eeocs PRIMARY KEY ( id_ats_eeoc ) ); - CREATE INDEX FK_candidate_eeocsid ON ats_eeocs ( id_ats_candidate ); - COMMENT ON TABLE ats_eeocs IS 'The EEOC object is used to represent the Equal Employment Opportunity Commission information for a candidate (race, gender, veteran status, disability status).'; - COMMENT ON COLUMN ats_eeocs.race IS 'The candidate''s race. Possible values include: AMERICAN_INDIAN_OR_ALASKAN_NATIVE, ASIAN, BLACK_OR_AFRICAN_AMERICAN, HISPANIC_OR_LATINO, WHITE, NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER, TWO_OR_MORE_RACES, DECLINE_TO_SELF_IDENTIFY. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_eeocs.gender IS 'The candidate''s gender. Possible values include: MALE, FEMALE, NON-BINARY, OTHER, DECLINE_TO_SELF_IDENTIFY. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_eeocs.veteran_status IS 'The candidate''s veteran status. Possible values include: I_AM_NOT_A_PROTECTED_VETERAN, I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN, I_DONT_WISH_TO_ANSWER. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_eeocs.disability_status IS 'The candidate''s disability status. Possible values include: YES_I_HAVE_A_DISABILITY_OR_PREVIOUSLY_HAD_A_DISABILITY, NO_I_DONT_HAVE_A_DISABILITY, I_DONT_WISH_TO_ANSWER. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** ats_candidate_urls - CREATE TABLE ats_candidate_urls ( id_ats_candidate_url uuid NOT NULL, @@ -1369,21 +1052,12 @@ CREATE TABLE ats_candidate_urls id_ats_candidate uuid NOT NULL, CONSTRAINT PK_ats_candidate_urls PRIMARY KEY ( id_ats_candidate_url ) ); - CREATE INDEX FK_candidate_url_ID ON ats_candidate_urls ( id_ats_candidate ); - - - - - - - -- ************************************** ats_candidate_phone_numbers - CREATE TABLE ats_candidate_phone_numbers ( id_ats_candidate_phone_number uuid NOT NULL, @@ -1394,22 +1068,13 @@ CREATE TABLE ats_candidate_phone_numbers id_ats_candidate uuid NOT NULL, CONSTRAINT PK_ats_candidate_phone_numbers PRIMARY KEY ( id_ats_candidate_phone_number ) ); - CREATE INDEX FK_candidate_phone_id ON ats_candidate_phone_numbers ( id_ats_candidate ); - - - COMMENT ON COLUMN ats_candidate_phone_numbers.type IS 'can be PERSONAL, PRO...'; - - - - -- ************************************** ats_candidate_email_addresses - CREATE TABLE ats_candidate_email_addresses ( id_ats_candidate_email_address uuid NOT NULL, @@ -1420,21 +1085,12 @@ CREATE TABLE ats_candidate_email_addresses id_ats_candidate uuid NOT NULL, CONSTRAINT PK_ats_candidate_email_addresses PRIMARY KEY ( id_ats_candidate_email_address ) ); - CREATE INDEX FK_candidate_email_ID ON ats_candidate_email_addresses ( id_ats_candidate ); - - - - - - - -- ************************************** ats_candidate_attachments - CREATE TABLE ats_candidate_attachments ( id_ats_candidate_attachment uuid NOT NULL, @@ -1450,22 +1106,13 @@ CREATE TABLE ats_candidate_attachments id_connection uuid NOT NULL, CONSTRAINT PK_ats_candidate_attachments PRIMARY KEY ( id_ats_candidate_attachment ) ); - CREATE INDEX FK_ats_candidate_attachment_candidateID_Index ON ats_candidate_attachments ( id_ats_candidate ); - - - COMMENT ON COLUMN ats_candidate_attachments.file_type IS 'Can be RESUME, COVER_LETTER, OFFER_LETTER, OTHER'; - - - - -- ************************************** ats_applications - CREATE TABLE ats_applications ( id_ats_application uuid NOT NULL, @@ -1484,29 +1131,19 @@ CREATE TABLE ats_applications id_connection uuid NOT NULL, CONSTRAINT PK_ats_applications PRIMARY KEY ( id_ats_application ) ); - CREATE INDEX FK_ats_application_ATS_JOB_ID ON ats_applications ( id_ats_job ); - CREATE INDEX FK_ats_application_atsCandidateId ON ats_applications ( id_ats_candidate ); - - - COMMENT ON COLUMN ats_applications."source" IS 'the applications source'; COMMENT ON COLUMN ats_applications.credited_to IS 'The user credited for this application.'; COMMENT ON COLUMN ats_applications.current_stage IS 'this is an id_ats_job_interview_stage'; - - - - -- ************************************** ats_activities - CREATE TABLE ats_activities ( id_ats_activity uuid NOT NULL, @@ -1522,26 +1159,17 @@ CREATE TABLE ats_activities id_connection uuid NOT NULL, CONSTRAINT PK_ats_activities PRIMARY KEY ( id_ats_activity ) ); - CREATE INDEX FK_activity_candidate ON ats_activities ( id_ats_candidate ); - - - COMMENT ON COLUMN ats_activities.activity_type IS 'The activity''s type. Possible values include: NOTE, EMAIL, OTHER. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_activities.subject IS 'The activity''s subject.'; COMMENT ON COLUMN ats_activities.body IS 'The activity''s body.'; COMMENT ON COLUMN ats_activities.visibility IS 'The activity''s visibility. Possible values include: ADMIN_ONLY, PUBLIC, PRIVATE. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_activities.id_ats_candidate IS 'The activity’s candidate.'; - - - - -- ************************************** acc_transactions_lines_items - CREATE TABLE acc_transactions_lines_items ( id_acc_transactions_lines_item uuid NOT NULL, @@ -1562,22 +1190,13 @@ CREATE TABLE acc_transactions_lines_items id_acc_transaction uuid NULL, CONSTRAINT PK_acc_transactions_lines_items PRIMARY KEY ( id_acc_transactions_lines_item ) ); - CREATE INDEX FK_acc_transactions_lineItems ON acc_transactions_lines_items ( id_acc_transaction ); - - - COMMENT ON COLUMN acc_transactions_lines_items.id_acc_company_info IS 'The company the line belongs to.'; - - - - -- ************************************** acc_purchase_orders - CREATE TABLE acc_purchase_orders ( id_acc_purchase_order uuid NOT NULL, @@ -1603,14 +1222,10 @@ CREATE TABLE acc_purchase_orders id_acc_accounting_period uuid NULL, CONSTRAINT PK_acc_purchase_orders PRIMARY KEY ( id_acc_purchase_order ) ); - CREATE INDEX FK_purchaseOrder_accountingPeriod ON acc_purchase_orders ( id_acc_accounting_period ); - - - COMMENT ON COLUMN acc_purchase_orders.status IS 'The purchase order''s status. Possible values include: DRAFT, SUBMITTED, AUTHORIZED, BILLED, DELETED. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_purchase_orders.delivery_address IS 'contains a id_acc_address'; COMMENT ON COLUMN acc_purchase_orders.customer IS 'The contact making the purchase order. @@ -1618,12 +1233,7 @@ Contains a id_acc_contact'; COMMENT ON COLUMN acc_purchase_orders.vendor IS 'contains a id_acc_contact'; COMMENT ON COLUMN acc_purchase_orders.id_acc_accounting_period IS 'The accounting period that the PurchaseOrder was generated in.'; - - - - -- ************************************** acc_journal_entries - CREATE TABLE acc_journal_entries ( id_acc_journal_entry uuid NOT NULL, @@ -1646,26 +1256,16 @@ CREATE TABLE acc_journal_entries modified_at timestamp with time zone NOT NULL, CONSTRAINT PK_acc_journal_entries PRIMARY KEY ( id_acc_journal_entry ) ); - CREATE INDEX FK_journal_entry_accounting_period ON acc_journal_entries ( id_acc_accounting_period ); - CREATE INDEX FK_journal_entry_companyInfo ON acc_journal_entries ( id_acc_company_info ); - - - - - - - -- ************************************** acc_contacts - CREATE TABLE acc_contacts ( id_acc_contact uuid NOT NULL, @@ -1684,22 +1284,13 @@ CREATE TABLE acc_contacts modified_at timestamp with time zone NOT NULL, CONSTRAINT PK_acc_contacts PRIMARY KEY ( id_acc_contact ) ); - CREATE INDEX FK_acc_contact_company ON acc_contacts ( id_acc_company_info ); - - - COMMENT ON COLUMN acc_contacts.status IS 'The contact''s status Possible values include: ACTIVE, ARCHIVED. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** acc_cash_flow_statement_report_items - CREATE TABLE acc_cash_flow_statement_report_items ( id_acc_cash_flow_statement_report_item uuid NOT NULL, @@ -1714,22 +1305,13 @@ CREATE TABLE acc_cash_flow_statement_report_items id_acc_cash_flow_statement uuid NULL, CONSTRAINT PK_acc_cash_flow_statement_report_items PRIMARY KEY ( id_acc_cash_flow_statement_report_item ) ); - CREATE INDEX FK_cashflow_statement_acc_cash_flow_statement_report_item ON acc_cash_flow_statement_report_items ( id_acc_cash_flow_statement ); - - - COMMENT ON COLUMN acc_cash_flow_statement_report_items.type IS 'can be operating, investing, financing'; - - - - -- ************************************** acc_balance_sheets - CREATE TABLE acc_balance_sheets ( id_acc_balance_sheet uuid NOT NULL, @@ -1748,25 +1330,16 @@ CREATE TABLE acc_balance_sheets id_connection uuid NOT NULL, CONSTRAINT PK_acc_balance_sheets PRIMARY KEY ( id_acc_balance_sheet ) ); - CREATE INDEX FK_balanceSheetCompanyInfoID ON acc_balance_sheets ( id_acc_company_info ); - - - COMMENT ON COLUMN acc_balance_sheets.net_assets IS 'The balance sheet''s net assets.'; COMMENT ON COLUMN acc_balance_sheets.assets IS 'array of id_acc_balance_sheets_report_item objects'; COMMENT ON COLUMN acc_balance_sheets.liabilities IS 'array of id_acc_balance_sheets_report_item objects'; COMMENT ON COLUMN acc_balance_sheets.equity IS 'array of id_acc_balance_sheets_report_item objects'; - - - - -- ************************************** acc_accounts - CREATE TABLE acc_accounts ( id_acc_account uuid NOT NULL, @@ -1786,26 +1359,17 @@ CREATE TABLE acc_accounts id_connection uuid NOT NULL, CONSTRAINT PK_acc_accounts PRIMARY KEY ( id_acc_account ) ); - CREATE INDEX FK_accounts_companyinfo_ID ON acc_accounts ( id_acc_company_info ); - - - COMMENT ON COLUMN acc_accounts.classification IS 'The account''s broadest grouping. Possible values include: ASSET, EQUITY, EXPENSE, LIABILITY, REVENUE. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_accounts.type IS 'The account''s type is a narrower and more specific grouping within the account''s classification.'; COMMENT ON COLUMN acc_accounts.status IS 'The account''s status. Possible values include: ACTIVE, PENDING, INACTIVE. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_accounts.current_balance IS 'Use cents. 100 USD would be 10000'; COMMENT ON COLUMN acc_accounts.currency IS 'Possible values include: XUA, AFN, AFA, ALL, ALK, DZD, ADP, AOA, AOK, AON, AOR, ARA, ARS, ARM, ARP, ARL, AMD, AWG, AUD, ATS, AZN, AZM, BSD, BHD, BDT, BBD, BYN, BYB, BYR, BEF, BEC, BEL, BZD, BMD, BTN, BOB, BOL, BOV, BOP, BAM, BAD, BAN, BWP, BRC, BRZ, BRE, BRR, BRN, BRB, BRL, GBP, BND, BGL, BGN, BGO, BGM, BUK, BIF, XPF, KHR, CAD, CVE, KYD, XAF, CLE, CLP, CLF, CNX, CNY, CNH, COP, COU, KMF, CDF, CRC, HRD, HRK, CUC, CUP, CYP, CZK, CSK, DKK, DJF, DOP, NLG, XCD, DDM, ECS, ECV, EGP, GQE, ERN, EEK, ETB, EUR, XBA, XEU, XBB, XBC, XBD, FKP, FJD, FIM, FRF, XFO, XFU, GMD, GEK, GEL, DEM, GHS, GHC, GIP, XAU, GRD, GTQ, GWP, GNF, GNS, GYD, HTG, HNL, HKD, HUF, IMP, ISK, ISJ, INR, IDR, IRR, IQD, IEP, ILS, ILP, ILR, ITL, JMD, JPY, JOD, KZT, KES, KWD, KGS, LAK, LVL, LVR, LBP, LSL, LRD, LYD, LTL, LTT, LUL, LUC, LUF, MOP, MKD, MKN, MGA, MGF, MWK, MYR, MVR, MVP, MLF, MTL, MTP, MRU, MRO, MUR, MXV, MXN, MXP, MDC, MDL, MCF, MNT, MAD, MAF, MZE, MZN, MZM, MMK, NAD, NPR, ANG, TWD, NZD, NIO, NIC, NGN, KPW, NOK, OMR, PKR, XPD, PAB, PGK, PYG, PEI, PEN, PES, PHP, XPT, PLN, PLZ, PTE, GWE, QAR, XRE, RHD, RON, ROL, RUB, RUR, RWF, SVC, WST, SAR, RSD, CSD, SCR, SLL, XAG, SGD, SKK, SIT, SBD, SOS, ZAR, ZAL, KRH, KRW, KRO, SSP, SUR, ESP, ESA, ESB, XDR, LKR, SHP, XSU, SDD, SDG, SDP, SRD, SRG, SZL, SEK, CHF, SYP, STN, STD, TVD, TJR, TJS, TZS, XTS, THB, XXX, TPE, TOP, TTD, TND, TRY, TRL, TMT, TMM, USD, USN, USS, UGX, UGS, UAH, UAK, AED, UYW, UYU, UYP, UYI, UZS, VUV, VES, VEB, VEF, VND, VNN, CHE, CHW, XOF, YDD, YER, YUN, YUD, YUM, YUR, ZWN, ZRN, ZRZ, ZMW, ZMK, ZWD, ZWR, ZWL. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** value - CREATE TABLE value ( id_value uuid NOT NULL, @@ -1818,27 +1382,17 @@ CREATE TABLE value CONSTRAINT FK_33 FOREIGN KEY ( id_attribute ) REFERENCES attribute ( id_attribute ), CONSTRAINT FK_34 FOREIGN KEY ( id_entity ) REFERENCES entity ( id_entity ) ); - CREATE INDEX FK_value_attributeID ON value ( id_attribute ); - CREATE INDEX FK_value_entityID ON value ( id_entity ); - - - COMMENT ON COLUMN value.data IS 'can be: true, false, 0, 1 , 2 3 , 4 , hello, world ...'; - - - - -- ************************************** tcg_tags - CREATE TABLE tcg_tags ( id_tcg_tag uuid NOT NULL, @@ -1853,21 +1407,12 @@ CREATE TABLE tcg_tags CONSTRAINT PK_tcg_tags PRIMARY KEY ( id_tcg_tag ), CONSTRAINT FK_48 FOREIGN KEY ( id_tcg_ticket ) REFERENCES tcg_tickets ( id_tcg_ticket ) ); - CREATE INDEX FK_tcg_tag_tcg_ticketID ON tcg_tags ( id_tcg_ticket ); - - - - - - - -- ************************************** tcg_comments - CREATE TABLE tcg_comments ( id_tcg_comment uuid NOT NULL, @@ -1876,46 +1421,36 @@ CREATE TABLE tcg_comments is_private boolean NULL, remote_id text NULL, remote_platform text NULL, - created_at timestamp NULL, - modified_at timestamp NULL, creator_type text NULL, id_tcg_attachment text[] NULL, id_tcg_ticket uuid NULL, id_tcg_contact uuid NULL, id_tcg_user uuid NULL, id_linked_user uuid NULL, + created_at timestamp NULL, + modified_at timestamp NULL, id_connection uuid NOT NULL, CONSTRAINT PK_tcg_comments PRIMARY KEY ( id_tcg_comment ), CONSTRAINT FK_41 FOREIGN KEY ( id_tcg_contact ) REFERENCES tcg_contacts ( id_tcg_contact ), CONSTRAINT FK_40_1 FOREIGN KEY ( id_tcg_ticket ) REFERENCES tcg_tickets ( id_tcg_ticket ), CONSTRAINT FK_42 FOREIGN KEY ( id_tcg_user ) REFERENCES tcg_users ( id_tcg_user ) ); - CREATE INDEX FK_tcg_comment_tcg_contact ON tcg_comments ( id_tcg_contact ); - CREATE INDEX FK_tcg_comment_tcg_ticket ON tcg_comments ( id_tcg_ticket ); - CREATE INDEX FK_tcg_comment_tcg_userID ON tcg_comments ( id_tcg_user ); - COMMENT ON TABLE tcg_comments IS 'The tcg_comment object represents a comment on a ticket.'; - COMMENT ON COLUMN tcg_comments.creator_type IS 'Who created the comment. Can be a a id_tcg_contact or a id_tcg_user'; - - - - -- ************************************** linked_users - CREATE TABLE linked_users ( id_linked_user uuid NOT NULL, @@ -1925,23 +1460,14 @@ CREATE TABLE linked_users CONSTRAINT key_id_linked_users PRIMARY KEY ( id_linked_user ), CONSTRAINT FK_10 FOREIGN KEY ( id_project ) REFERENCES projects ( id_project ) ); - CREATE INDEX FK_proectID_linked_users ON linked_users ( id_project ); - - - COMMENT ON COLUMN linked_users.linked_user_origin_id IS 'id of the customer, in our customers own systems'; COMMENT ON COLUMN linked_users.alias IS 'human-readable alias, for UI (ex ACME company)'; - - - - -- ************************************** fs_files - CREATE TABLE fs_files ( id_fs_file uuid NOT NULL, @@ -1957,26 +1483,69 @@ CREATE TABLE fs_files id_connection uuid NOT NULL, CONSTRAINT PK_fs_files PRIMARY KEY ( id_fs_file ) ); - CREATE INDEX FK_fs_file_FolderID ON fs_files ( id_fs_folder ); - CREATE INDEX FK_fs_file_permissionID ON fs_files ( id_fs_permission ); +-- ************************************** ecom_fulfilments +CREATE TABLE ecom_fulfilments +( + id_ecom_fulfilment uuid NOT NULL, + carrier text NULL, + tracking_urls text[] NULL, + tracking_numbers text[] NULL, + items jsonb NULL, + remote_id text NULL, + id_ecom_order uuid NULL, + id_connection uuid NOT NULL, + modified_at timestamp with time zone NOT NULL, + created_at timestamp with time zone NOT NULL, + remote_deleted boolean NOT NULL, + CONSTRAINT PK_ecom_fulfilments PRIMARY KEY ( id_ecom_fulfilment ), + CONSTRAINT FK_ecom_order_fulfilment FOREIGN KEY ( id_ecom_order ) REFERENCES ecom_orders ( id_ecom_order ) +); +CREATE INDEX FK_index_ecom_order_fulfilment ON ecom_fulfilments +( + id_ecom_order +); +COMMENT ON COLUMN ecom_fulfilments.items IS 'array of ecom_products info'; - - - - - +-- ************************************** ecom_addresses +CREATE TABLE ecom_addresses +( + id_ecom_address uuid NOT NULL, + address_type text NULL, + street_1 text NULL, + street_2 text NULL, + city text NULL, + "state" text NULL, + postal_code text NULL, + country text NULL, + id_ecom_customer uuid NOT NULL, + modified_at timestamp with time zone NOT NULL, + created_at timestamp with time zone NOT NULL, + remote_deleted boolean NOT NULL, + id_ecom_order uuid NOT NULL, + CONSTRAINT PK_ecom_customer_addresses PRIMARY KEY ( id_ecom_address ), + CONSTRAINT FK_ecom_customer_customeraddress FOREIGN KEY ( id_ecom_customer ) REFERENCES ecom_customers ( id_ecom_customer ), + CONSTRAINT FK_ecom_order_address FOREIGN KEY ( id_ecom_order ) REFERENCES ecom_orders ( id_ecom_order ) +); +CREATE INDEX FK_index_ecom_customer_customeraddress ON ecom_addresses +( + id_ecom_customer +); +CREATE INDEX FK_index_FK_ecom_order_address ON ecom_addresses +( + id_ecom_order +); +COMMENT ON COLUMN ecom_addresses.address_type IS 'billing, shipping, other'; -- ************************************** crm_phone_numbers - CREATE TABLE crm_phone_numbers ( id_crm_phone_number uuid NOT NULL, @@ -1992,27 +1561,17 @@ CREATE TABLE crm_phone_numbers CONSTRAINT FK_phonenumber_crm_contactID FOREIGN KEY ( id_crm_contact ) REFERENCES crm_contacts ( id_crm_contact ), CONSTRAINT FK_17 FOREIGN KEY ( id_crm_company ) REFERENCES crm_companies ( id_crm_company ) ); - CREATE INDEX crm_contactID_crm_contact_phone_number ON crm_phone_numbers ( id_crm_contact ); - CREATE INDEX FK_phone_number_companyID ON crm_phone_numbers ( id_crm_company ); - - - COMMENT ON COLUMN crm_phone_numbers.owner_type IS 'can be ''COMPANY'' or ''CONTACT'' - helps locate who to link the phone number to.'; - - - - -- ************************************** crm_engagements - CREATE TABLE crm_engagements ( id_crm_engagement uuid NOT NULL, @@ -2035,30 +1594,19 @@ CREATE TABLE crm_engagements CONSTRAINT FK_crm_engagement_crm_user FOREIGN KEY ( id_crm_user ) REFERENCES crm_users ( id_crm_user ), CONSTRAINT FK_29 FOREIGN KEY ( id_crm_company ) REFERENCES crm_companies ( id_crm_company ) ); - CREATE INDEX FK_crm_engagement_crm_user_ID ON crm_engagements ( id_crm_user ); - CREATE INDEX FK_crm_engagement_crmCompanyID ON crm_engagements ( id_crm_company ); - - - COMMENT ON COLUMN crm_engagements.type IS 'can be (but not restricted to) - MEETING, CALL, EMAIL'; COMMENT ON COLUMN crm_engagements.contacts IS 'array of id_crm_contact (uuids)'; - - - - -- ************************************** crm_email_addresses - CREATE TABLE crm_email_addresses ( id_crm_email uuid NOT NULL, @@ -2074,32 +1622,22 @@ CREATE TABLE crm_email_addresses CONSTRAINT FK_3 FOREIGN KEY ( id_crm_contact ) REFERENCES crm_contacts ( id_crm_contact ), CONSTRAINT FK_16 FOREIGN KEY ( id_crm_company ) REFERENCES crm_companies ( id_crm_company ) ); - CREATE INDEX crm_contactID_crm_contact_email_address ON crm_email_addresses ( id_crm_contact ); - CREATE INDEX FK_contact_email_adress_companyID ON crm_email_addresses ( id_crm_company ); - - - COMMENT ON COLUMN crm_email_addresses.owner_type IS 'can be ''COMPANY'' or ''CONTACT'' - helps locate who to link the email belongs to.'; - - - - -- ************************************** crm_deals - CREATE TABLE crm_deals ( id_crm_deal uuid NOT NULL, name text NOT NULL, - description text NOT NULL, + description text NULL, amount bigint NOT NULL, created_at timestamp NOT NULL, modified_at timestamp NOT NULL, @@ -2115,32 +1653,21 @@ CREATE TABLE crm_deals CONSTRAINT FK_21 FOREIGN KEY ( id_crm_deals_stage ) REFERENCES crm_deals_stages ( id_crm_deals_stage ), CONSTRAINT FK_47_1 FOREIGN KEY ( id_crm_company ) REFERENCES crm_companies ( id_crm_company ) ); - CREATE INDEX crm_deal_crm_userID ON crm_deals ( id_crm_user ); - CREATE INDEX crm_deal_deal_stageID ON crm_deals ( id_crm_deals_stage ); - CREATE INDEX FK_crm_deal_crmCompanyID ON crm_deals ( id_crm_company ); - - - COMMENT ON COLUMN crm_deals.amount IS 'AMOUNT IN CENTS'; - - - - -- ************************************** crm_addresses - CREATE TABLE crm_addresses ( id_crm_address uuid NOT NULL, @@ -2161,30 +1688,19 @@ CREATE TABLE crm_addresses CONSTRAINT FK_14 FOREIGN KEY ( id_crm_contact ) REFERENCES crm_contacts ( id_crm_contact ), CONSTRAINT FK_15 FOREIGN KEY ( id_crm_company ) REFERENCES crm_companies ( id_crm_company ) ); - CREATE INDEX FK_crm_addresses_to_crm_contacts ON crm_addresses ( id_crm_contact ); - CREATE INDEX FK_crm_adresses_to_crm_companies ON crm_addresses ( id_crm_company ); - - - COMMENT ON COLUMN crm_addresses.owner_type IS 'Can be a company or a contact''s address - ''company'' ''contact'''; - - - - -- ************************************** ats_offers - CREATE TABLE ats_offers ( id_ats_offer uuid NOT NULL, @@ -2201,23 +1717,14 @@ CREATE TABLE ats_offers id_connection uuid NOT NULL, CONSTRAINT PK_ats_offers PRIMARY KEY ( id_ats_offer ) ); - CREATE INDEX FK_ats_offers_applicationID ON ats_offers ( id_ats_application ); - - - COMMENT ON COLUMN ats_offers.created_by IS 'the ats_user who created this ID'; COMMENT ON COLUMN ats_offers.status IS 'The offer''s status. Possible values include: DRAFT, APPROVAL-SENT, APPROVED, SENT, SENT-MANUALLY, OPENED, DENIED, SIGNED, DEPRECATED. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** ats_interviews - CREATE TABLE ats_interviews ( id_ats_interview uuid NOT NULL, @@ -2237,30 +1744,20 @@ CREATE TABLE ats_interviews id_connection uuid NOT NULL, CONSTRAINT PK_ats_interviews PRIMARY KEY ( id_ats_interview ) ); - CREATE INDEX FK_applications_interviews ON ats_interviews ( id_ats_application ); - CREATE INDEX FK_id_ats_job_interview_stageID ON ats_interviews ( id_ats_job_interview_stage ); - - - COMMENT ON COLUMN ats_interviews.status IS 'The interview''s status. Possible values include: SCHEDULED, AWAITING_FEEDBACK, COMPLETE. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_interviews.organized_by IS 'The user organizing the interview. Data is a id_ats_user.'; COMMENT ON COLUMN ats_interviews.interviewers IS 'Array of RemoteUser IDs.'; COMMENT ON COLUMN ats_interviews.id_ats_job_interview_stage IS 'The stage of the interview.'; - - - - -- ************************************** api_keys - CREATE TABLE api_keys ( id_api_key uuid NOT NULL, @@ -2273,26 +1770,16 @@ CREATE TABLE api_keys CONSTRAINT FK_8 FOREIGN KEY ( id_user ) REFERENCES users ( id_user ), CONSTRAINT FK_7 FOREIGN KEY ( id_project ) REFERENCES projects ( id_project ) ); - CREATE INDEX FK_2 ON api_keys ( id_user ); - CREATE INDEX FK_api_keys_projects ON api_keys ( id_project ); - - - - - - - -- ************************************** acc_purchase_orders_line_items - CREATE TABLE acc_purchase_orders_line_items ( id_acc_purchase_orders_line_item uuid NOT NULL, @@ -2312,21 +1799,12 @@ CREATE TABLE acc_purchase_orders_line_items id_acc_company uuid NULL, CONSTRAINT PK_acc_purchase_orders_line_items PRIMARY KEY ( id_acc_purchase_orders_line_item ) ); - CREATE INDEX FK_purchaseorder_purchaseorderLineItems ON acc_purchase_orders_line_items ( id_acc_purchase_order ); - - - - - - - -- ************************************** acc_phone_numbers - CREATE TABLE acc_phone_numbers ( id_acc_phone_number uuid NOT NULL, @@ -2339,28 +1817,18 @@ CREATE TABLE acc_phone_numbers id_connection uuid NOT NULL, CONSTRAINT PK_acc_phone_numbers PRIMARY KEY ( id_acc_phone_number ) ); - CREATE INDEX FK_acc_phone_number_contact ON acc_phone_numbers ( id_acc_contact ); - CREATE INDEX FK_company_infos_phone_number ON acc_phone_numbers ( id_acc_company_info ); - - - COMMENT ON COLUMN acc_phone_numbers.id_acc_company_info IS 'holds a valueif if the phone number belongs to a acc_company_infos objects'; COMMENT ON COLUMN acc_phone_numbers.id_acc_contact IS 'holds a valueif if the phone number belongs to a acc_contact object'; - - - - -- ************************************** acc_journal_entries_lines - CREATE TABLE acc_journal_entries_lines ( id_acc_journal_entries_line uuid NOT NULL, @@ -2377,21 +1845,12 @@ CREATE TABLE acc_journal_entries_lines id_acc_journal_entry uuid NOT NULL, CONSTRAINT PK_acc_journal_entries_lines PRIMARY KEY ( id_acc_journal_entries_line ) ); - CREATE INDEX FK_journal_entries_entries_lines ON acc_journal_entries_lines ( id_acc_journal_entry ); - - - - - - - -- ************************************** acc_items - CREATE TABLE acc_items ( id_acc_item uuid NOT NULL, @@ -2409,32 +1868,21 @@ CREATE TABLE acc_items id_connection uuid NOT NULL, CONSTRAINT PK_acc_items PRIMARY KEY ( id_acc_item ) ); - CREATE INDEX FK_acc_item_acc_account ON acc_items ( purchase_account ); - CREATE INDEX FK_acc_item_acc_company_infos ON acc_items ( id_acc_company_info ); - CREATE INDEX FK_acc_items_sales_account ON acc_items ( sales_account ); - - - COMMENT ON COLUMN acc_items.status IS 'The item''s status. Possible values include: ACTIVE, ARCHIVED. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** acc_invoices - CREATE TABLE acc_invoices ( id_acc_invoice uuid NOT NULL, @@ -2462,29 +1910,19 @@ CREATE TABLE acc_invoices tracking_categories text[] NULL, CONSTRAINT PK_acc_invoices PRIMARY KEY ( id_acc_invoice ) ); - CREATE INDEX FK_acc_invoice_accounting_period_index ON acc_invoices ( id_acc_accounting_period ); - CREATE INDEX FK_invoice_contactID ON acc_invoices ( id_acc_contact ); - - - COMMENT ON COLUMN acc_invoices.type IS 'Whether the invoice is an accounts receivable or accounts payable. If type is ACCOUNTS_PAYABLE, the invoice is a bill. If type is ACCOUNTS_RECEIVABLE, it is an invoice. Possible values include: ACCOUNTS_RECEIVABLE, ACCOUNTS_PAYABLE. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_invoices.total_discount IS 'The total discounts applied to the total cost.'; COMMENT ON COLUMN acc_invoices.status IS 'The status of the invoice. Possible values include: PAID, DRAFT, SUBMITTED, PARTIALLY_PAID, OPEN, VOID. In cases where there is no clear mapping, the original value passed through will be returned.'; - - - - -- ************************************** acc_expenses - CREATE TABLE acc_expenses ( id_acc_expense uuid NOT NULL, @@ -2506,34 +1944,23 @@ CREATE TABLE acc_expenses tracking_categories text[] NULL, CONSTRAINT PK_acc_expenses PRIMARY KEY ( id_acc_expense ) ); - CREATE INDEX FK_acc_account_acc_expense_index ON acc_expenses ( id_acc_account ); - CREATE INDEX FK_acc_expense_acc_company_index ON acc_expenses ( id_acc_company_info ); - CREATE INDEX FK_acc_expense_acc_contact_index ON acc_expenses ( id_acc_contact ); - - - COMMENT ON COLUMN acc_expenses.transaction_date IS 'When the transaction occurred.'; COMMENT ON COLUMN acc_expenses.remote_created_at IS 'When the expense was created.'; COMMENT ON COLUMN acc_expenses.tracking_categories IS 'array of id_acc_tracking_category'; - - - - -- ************************************** acc_attachments - CREATE TABLE acc_attachments ( id_acc_attachment uuid NOT NULL, @@ -2546,21 +1973,12 @@ CREATE TABLE acc_attachments id_connection uuid NOT NULL, CONSTRAINT PK_acc_attachments PRIMARY KEY ( id_acc_attachment ) ); - CREATE INDEX FK_acc_attachments_accountID ON acc_attachments ( id_acc_account ); - - - - - - - -- ************************************** acc_addresses - CREATE TABLE acc_addresses ( id_acc_address uuid NOT NULL, @@ -2579,31 +1997,22 @@ CREATE TABLE acc_addresses id_connection uuid NOT NULL, CONSTRAINT PK_acc_addresses PRIMARY KEY ( id_acc_address ) ); - CREATE INDEX FK_acc_company_info_acc_adresses ON acc_addresses ( id_acc_company_info ); - CREATE INDEX FK_acc_contact_acc_addresses ON acc_addresses ( id_acc_contact ); - COMMENT ON TABLE acc_addresses IS 'The Address object is used to represent a contact''s or company''s address.'; - COMMENT ON COLUMN acc_addresses.type IS 'can be SHIPPING, BILLING, OFFICES, PO....'; COMMENT ON COLUMN acc_addresses."state" IS 'can also be a region'; COMMENT ON COLUMN acc_addresses.country_subdivision IS 'Also called a "departement" in some countries (ex: france)'; COMMENT ON COLUMN acc_addresses.id_acc_contact IS 'contains a value if the acc_address belongs to an acc_contact object'; COMMENT ON COLUMN acc_addresses.id_acc_company_info IS 'contains a value if the acc_address belongs to an acc_company_info object'; - - - - -- ************************************** tcg_attachments - CREATE TABLE tcg_attachments ( id_tcg_attachment uuid NOT NULL, @@ -2622,29 +2031,19 @@ CREATE TABLE tcg_attachments CONSTRAINT FK_51 FOREIGN KEY ( id_tcg_comment ) REFERENCES tcg_comments ( id_tcg_comment ), CONSTRAINT FK_50 FOREIGN KEY ( id_tcg_ticket ) REFERENCES tcg_tickets ( id_tcg_ticket ) ); - CREATE INDEX FK_tcg_attachment_tcg_commentID ON tcg_attachments ( id_tcg_comment ); - CREATE INDEX FK_tcg_attachment_tcg_ticketID ON tcg_attachments ( id_tcg_ticket ); - - - COMMENT ON COLUMN tcg_attachments.remote_id IS 'If empty, means the file is stored is panora but not in the destination platform (often because the platform doesn''t support )'; COMMENT ON COLUMN tcg_attachments.uploader IS 'id_tcg_user who uploaded the file'; COMMENT ON COLUMN tcg_attachments.id_tcg_ticket IS 'For cases where the ticketing platform does not specify which comment the attachment belongs to.'; - - - - -- ************************************** invite_links - CREATE TABLE invite_links ( id_invite_link uuid NOT NULL, @@ -2654,21 +2053,12 @@ CREATE TABLE invite_links CONSTRAINT PK_invite_links PRIMARY KEY ( id_invite_link ), CONSTRAINT FK_37 FOREIGN KEY ( id_linked_user ) REFERENCES linked_users ( id_linked_user ) ); - CREATE INDEX FK_invite_link_linkedUserID ON invite_links ( id_linked_user ); - - - - - - - -- ************************************** events - CREATE TABLE events ( id_event uuid NOT NULL, @@ -2683,23 +2073,14 @@ CREATE TABLE events CONSTRAINT PK_jobs PRIMARY KEY ( id_event ), CONSTRAINT FK_12 FOREIGN KEY ( id_linked_user ) REFERENCES linked_users ( id_linked_user ) ); - CREATE INDEX FK_linkeduserID_projectID ON events ( id_linked_user ); - - - COMMENT ON COLUMN events.status IS 'pending,, retry_scheduled, failed, success'; COMMENT ON COLUMN events.type IS 'example crm_contact.created crm_contact.deleted'; - - - - -- ************************************** crm_tasks - CREATE TABLE crm_tasks ( id_crm_task uuid NOT NULL, @@ -2722,31 +2103,20 @@ CREATE TABLE crm_tasks CONSTRAINT FK_25 FOREIGN KEY ( id_crm_user ) REFERENCES crm_users ( id_crm_user ), CONSTRAINT FK_27 FOREIGN KEY ( id_crm_deal ) REFERENCES crm_deals ( id_crm_deal ) ); - CREATE INDEX FK_crm_task_companyID ON crm_tasks ( id_crm_company ); - CREATE INDEX FK_crm_task_userID ON crm_tasks ( id_crm_user ); - CREATE INDEX FK_crmtask_dealID ON crm_tasks ( id_crm_deal ); - - - - - - - -- ************************************** crm_notes - CREATE TABLE crm_notes ( id_crm_note uuid NOT NULL, @@ -2766,36 +2136,24 @@ CREATE TABLE crm_notes CONSTRAINT FK_18 FOREIGN KEY ( id_crm_company ) REFERENCES crm_companies ( id_crm_company ), CONSTRAINT FK_20 FOREIGN KEY ( id_crm_deal ) REFERENCES crm_deals ( id_crm_deal ) ); - CREATE INDEX FK_crm_note_crm_companyID ON crm_notes ( id_crm_contact ); - CREATE INDEX FK_crm_note_crm_contactID ON crm_notes ( id_crm_company ); - CREATE INDEX FK_crm_note_crm_userID ON crm_notes ( id_crm_user ); - CREATE INDEX FK_crm_notes_crm_dealID ON crm_notes ( id_crm_deal ); - - - - - - - -- ************************************** connections - CREATE TABLE connections ( id_connection uuid NOT NULL, @@ -2815,29 +2173,19 @@ CREATE TABLE connections CONSTRAINT FK_9 FOREIGN KEY ( id_project ) REFERENCES projects ( id_project ), CONSTRAINT FK_11 FOREIGN KEY ( id_linked_user ) REFERENCES linked_users ( id_linked_user ) ); - CREATE INDEX FK_1 ON connections ( id_project ); - CREATE INDEX FK_connections_to_LinkedUsersID ON connections ( id_linked_user ); - - - COMMENT ON COLUMN connections.status IS 'ONLY FOR INVITE LINK'; COMMENT ON COLUMN connections.token_type IS 'The type of the token, such as "Bearer," "JWT," or any other supported type.'; COMMENT ON COLUMN connections.connection_token IS 'Connection token users will put in their header to identify which service / linked_User they make request for'; - - - - -- ************************************** ats_scorecards - CREATE TABLE ats_scorecards ( id_ats_scorecard uuid NOT NULL, @@ -2852,29 +2200,19 @@ CREATE TABLE ats_scorecards id_connection uuid NOT NULL, CONSTRAINT PK_ats_scorecards PRIMARY KEY ( id_ats_scorecard ) ); - CREATE INDEX FK_applications_scorecard ON ats_scorecards ( id_ats_application ); - CREATE INDEX FK_interviews_scorecards ON ats_scorecards ( id_ats_interview ); - - - COMMENT ON COLUMN ats_scorecards.overall_recommendation IS 'The inteviewer''s recommendation. Possible values include: DEFINITELY_NO, NO, YES, STRONG_YES, NO_DECISION. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN ats_scorecards.id_ats_application IS 'The application being scored.'; COMMENT ON COLUMN ats_scorecards.id_ats_interview IS 'The interview being scored.'; - - - - -- ************************************** acc_payments - CREATE TABLE acc_payments ( id_acc_payment uuid NOT NULL, @@ -2895,45 +2233,32 @@ CREATE TABLE acc_payments tracking_categories text[] NULL, CONSTRAINT PK_acc_payments PRIMARY KEY ( id_acc_payment ) ); - CREATE INDEX FK_acc_payment_acc_account_index ON acc_payments ( id_acc_account ); - CREATE INDEX FK_acc_payment_acc_company_index ON acc_payments ( id_acc_company_info ); - CREATE INDEX FK_acc_payment_acc_contact ON acc_payments ( id_acc_contact ); - CREATE INDEX FK_acc_payment_accounting_period_index ON acc_payments ( id_acc_accounting_period ); - CREATE INDEX FK_acc_payment_invoiceID ON acc_payments ( id_acc_invoice ); - - - COMMENT ON COLUMN acc_payments.id_acc_contact IS 'The supplier, or customer involved in the payment.'; COMMENT ON COLUMN acc_payments.id_acc_account IS 'The supplier’s or customer’s account in which the payment is made.'; COMMENT ON COLUMN acc_payments.type IS 'The type of the invoice. Possible values include: ACCOUNTS_PAYABLE, ACCOUNTS_RECEIVABLE. In cases where there is no clear mapping, the original value passed through will be returned.'; COMMENT ON COLUMN acc_payments.id_acc_company_info IS 'The company the payment belongs to.'; - - - - -- ************************************** acc_invoices_line_items - CREATE TABLE acc_invoices_line_items ( id_acc_invoices_line_item uuid NOT NULL, @@ -2952,26 +2277,16 @@ CREATE TABLE acc_invoices_line_items acc_tracking_categories text[] NULL, CONSTRAINT PK_acc_invoices_line_items PRIMARY KEY ( id_acc_invoices_line_item ) ); - CREATE INDEX FK_acc_invoice_line_items_index ON acc_invoices_line_items ( id_acc_invoice ); - CREATE INDEX FK_acc_items_lines_invoice_index ON acc_invoices_line_items ( id_acc_item ); - - - - - - - -- ************************************** acc_expense_lines - CREATE TABLE acc_expense_lines ( id_acc_expense_line uuid NOT NULL, @@ -2986,21 +2301,12 @@ CREATE TABLE acc_expense_lines id_connection uuid NOT NULL, CONSTRAINT PK_acc_expense_lines PRIMARY KEY ( id_acc_expense_line ) ); - CREATE INDEX FK_acc_expense_expense_lines_index ON acc_expense_lines ( id_acc_expense ); - - - - - - - -- ************************************** webhook_delivery_attempts - CREATE TABLE webhook_delivery_attempts ( id_webhook_delivery_attempt uuid NOT NULL, @@ -3018,44 +2324,30 @@ CREATE TABLE webhook_delivery_attempts CONSTRAINT FK_39 FOREIGN KEY ( id_event ) REFERENCES events ( id_event ), CONSTRAINT FK_40 FOREIGN KEY ( id_webhooks_reponse ) REFERENCES webhooks_reponses ( id_webhooks_reponse ) ); - CREATE INDEX FK_we_payload_webhookID ON webhook_delivery_attempts ( id_webhooks_payload ); - CREATE INDEX FK_we_webhookEndpointID ON webhook_delivery_attempts ( id_webhook_endpoint ); - CREATE INDEX FK_webhook_delivery_attempt_eventID ON webhook_delivery_attempts ( id_event ); - CREATE INDEX FK_webhook_delivery_attempt_webhook_responseID ON webhook_delivery_attempts ( id_webhooks_reponse ); - - - COMMENT ON COLUMN webhook_delivery_attempts."timestamp" IS 'timestamp of the delivery attempt'; COMMENT ON COLUMN webhook_delivery_attempts.status IS 'status of the delivery attempt - can be success, retry, failure'; COMMENT ON COLUMN webhook_delivery_attempts.next_retry IS 'if null no next retry'; COMMENT ON COLUMN webhook_delivery_attempts.attempt_count IS 'Number of attempt - can be 0 1 2 3 4 5 6'; - - - - -- ************************************** jobs_status_history - CREATE TABLE jobs_status_history ( id_jobs_status_history uuid NOT NULL, @@ -3066,23 +2358,14 @@ CREATE TABLE jobs_status_history CONSTRAINT PK_jobs_status_history PRIMARY KEY ( id_jobs_status_history ), CONSTRAINT FK_4 FOREIGN KEY ( id_event ) REFERENCES events ( id_event ) ); - CREATE INDEX id_job_jobs_status_history ON jobs_status_history ( id_event ); - - - COMMENT ON COLUMN jobs_status_history.previous_status IS 'void when first initialization'; COMMENT ON COLUMN jobs_status_history.new_status IS 'pending, retry_scheduled, failed, success'; - - - - -- ************************************** acc_payments_line_items - CREATE TABLE acc_payments_line_items ( acc_payments_line_item uuid NOT NULL, @@ -3097,16 +2380,9 @@ CREATE TABLE acc_payments_line_items id_connection uuid NOT NULL, CONSTRAINT PK_acc_payments_line_items PRIMARY KEY ( acc_payments_line_item ) ); - CREATE INDEX FK_acc_payment_line_items_index ON acc_payments_line_items ( id_acc_payment ); - - - COMMENT ON COLUMN acc_payments_line_items.related_object_type IS 'can either be a Invoice, CreditNote, or JournalEntry'; - - - diff --git a/packages/api/src/@core/@core-services/webhooks/panora-webhooks/webhook.controller.ts b/packages/api/src/@core/@core-services/webhooks/panora-webhooks/webhook.controller.ts index 1c983275e..2cd7c732c 100644 --- a/packages/api/src/@core/@core-services/webhooks/panora-webhooks/webhook.controller.ts +++ b/packages/api/src/@core/@core-services/webhooks/panora-webhooks/webhook.controller.ts @@ -29,8 +29,8 @@ import { WebhookResponse, } from './dto/webhook.dto'; import { WebhookService } from './webhook.service'; -@ApiTags('webhook') -@Controller('webhook') +@ApiTags('webhooks') +@Controller('webhooks') export class WebhookController { constructor( private webhookService: WebhookService, @@ -41,7 +41,7 @@ export class WebhookController { @ApiOperation({ operationId: 'listWebhooks', - summary: 'List webhooks ', + summary: 'List webhooks', }) @ApiGetArrayCustomResponse(WebhookResponse) @UseGuards(ApiKeyAuthGuard) @@ -125,7 +125,7 @@ export class WebhookController { } @ApiOperation({ - operationId: 'createWebhook', + operationId: 'createWebhookPublic', summary: 'Add webhook metadata', }) @ApiBody({ type: WebhookDto }) @@ -138,7 +138,7 @@ export class WebhookController { } @ApiOperation({ - operationId: 'createWebhook', + operationId: 'createWebhookInternal', summary: 'Add webhook metadata', }) @ApiBody({ type: WebhookDto }) diff --git a/packages/api/src/@core/auth/auth.controller.ts b/packages/api/src/@core/auth/auth.controller.ts index a2df61c89..61e05a879 100644 --- a/packages/api/src/@core/auth/auth.controller.ts +++ b/packages/api/src/@core/auth/auth.controller.ts @@ -22,8 +22,8 @@ import { import { ApiKeyDto } from './dto/api-key.dto'; import { LoginDto } from './dto/login.dto'; import { RefreshDto } from './dto/refresh.dto'; -import { PasswordRecoveryDto } from './dto/password-recovery.dto'; import { ResetPasswordDto } from './dto/reset-password.dto'; +import { RequestPasswordResetDto } from './dto/request-password-reset.dto'; @ApiTags('auth') @ApiExcludeController() @@ -36,30 +36,6 @@ export class AuthController { this.logger.setContext(AuthController.name); } - @ApiOperation({ - operationId: 'initiatePasswordRecovery', - summary: 'Initiate Password Recovery', - }) - @ApiBody({ type: PasswordRecoveryDto }) - @ApiResponse({ status: 200 }) - @Post('forgot-password') - async initiatePasswordRecovery( - @Body() passwordRecoveryDto: PasswordRecoveryDto, - ) { - return this.authService.initiatePasswordRecovery(passwordRecoveryDto.email); - } - - @ApiOperation({ operationId: 'resetPassword', summary: 'Reset Password' }) - @ApiBody({ type: ResetPasswordDto }) - @ApiResponse({ status: 200 }) - @Post('reset-password') - async resetPassword(@Body() resetPasswordDto: ResetPasswordDto) { - return this.authService.resetPassword( - resetPasswordDto.token, - resetPasswordDto.newPassword, - ); - } - @ApiOperation({ operationId: 'signUp', summary: 'Register' }) @ApiBody({ type: CreateUserDto }) @ApiResponse({ status: 201 }) @@ -68,6 +44,18 @@ export class AuthController { return this.authService.register(user); } + @ApiOperation({ + operationId: 'requestPasswordReset', + summary: 'Request Password Reset', + }) + @ApiBody({ type: RequestPasswordResetDto }) + @Post('password_reset_request') + async requestPasswordReset( + @Body() requestPasswordResetDto: RequestPasswordResetDto, + ) { + return this.authService.requestPasswordReset(requestPasswordResetDto); + } + @ApiOperation({ operationId: 'signIn', summary: 'Log In' }) @ApiBody({ type: LoginDto }) @ApiResponse({ status: 201 }) @@ -84,6 +72,14 @@ export class AuthController { return this.authService.getUsers(); } + @ApiOperation({ operationId: 'resetPassword', summary: 'Reset Password' }) + @ApiBody({ type: ResetPasswordDto }) + @ApiResponse({ status: 200, description: 'Password reset successfully' }) + @Post('reset_password') + async resetPassword(@Body() resetPasswordDto: ResetPasswordDto) { + return this.authService.resetPassword(resetPasswordDto); + } + @ApiResponse({ status: 201 }) @UseGuards(JwtAuthGuard) @Get('profile') @@ -94,7 +90,7 @@ export class AuthController { @ApiOperation({ operationId: 'getApiKeys', summary: 'Retrieve API Keys' }) @ApiResponse({ status: 200 }) @UseGuards(JwtAuthGuard) - @Get('api-keys') + @Get('api_keys') async getApiKeys(@Request() req: any) { const { id_project } = req.user; return this.authService.getApiKeys(id_project); @@ -102,7 +98,7 @@ export class AuthController { @ApiOperation({ operationId: 'deleteApiKey', summary: 'Delete API Keys' }) @ApiResponse({ status: 201 }) - @Delete('api-keys/:id') + @Delete('api_keys/:id') @UseGuards(JwtAuthGuard) async deleteApiKey(@Param('id') apiKeyId: string) { return await this.authService.deleteApiKey(apiKeyId); @@ -112,7 +108,7 @@ export class AuthController { @ApiBody({ type: ApiKeyDto }) @ApiResponse({ status: 201 }) @UseGuards(JwtAuthGuard) - @Post('generate-apikey') + @Post() async generateApiKey(@Body() data: ApiKeyDto): Promise<{ api_key: string }> { return this.authService.generateApiKeyForUser( data.userId, @@ -128,7 +124,7 @@ export class AuthController { @ApiBody({ type: RefreshDto }) @ApiResponse({ status: 201 }) @UseGuards(JwtAuthGuard) - @Post('refresh-token') + @Post('refresh_token') refreshAccessToken(@Request() req: any, @Body() body: RefreshDto) { const { projectId } = body; const { id_user, email, first_name, last_name } = req.user; diff --git a/packages/api/src/@core/auth/auth.service.ts b/packages/api/src/@core/auth/auth.service.ts index d6b2d49dd..8defe3eaa 100644 --- a/packages/api/src/@core/auth/auth.service.ts +++ b/packages/api/src/@core/auth/auth.service.ts @@ -2,17 +2,20 @@ import { LoggerService } from '@@core/@core-services/logger/logger.service'; import { ProjectsService } from '@@core/projects/projects.service'; import { MailerService } from '@nestjs-modules/mailer'; import { + BadRequestException, ConflictException, Injectable, - NotFoundException, } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import * as bcrypt from 'bcrypt'; import * as crypto from 'crypto'; +import * as nodemailer from 'nodemailer'; import { v4 as uuidv4 } from 'uuid'; import { PrismaService } from '../@core-services/prisma/prisma.service'; import { CreateUserDto } from './dto/create-user.dto'; import { LoginDto } from './dto/login.dto'; +import { RequestPasswordResetDto } from './dto/request-password-reset.dto'; +import { ResetPasswordDto } from './dto/reset-password.dto'; import { VerifyUserDto } from './dto/verify-user.dto'; @Injectable() @@ -27,12 +30,109 @@ export class AuthService { this.logger.setContext(AuthService.name); } - async initiatePasswordRecovery(email: string) { - return { message: 'Password reset email sent' }; + async resetPassword(resetPasswordDto: ResetPasswordDto) { + const { email, new_password, reset_token } = resetPasswordDto; + + // verify there is a user with corresponding email and non-expired reset token + const checkResetRequestIsValid = await this.prisma.users.findFirst({ + where: { + email: email, + reset_token_expires_at: { + gt: new Date(), + }, + }, + }); + + if (!checkResetRequestIsValid) { + throw new BadRequestException('Invalid email or expired request'); + } + + // Verify the reset token + const isValidToken = await this.verifyResetToken( + checkResetRequestIsValid.reset_token, + reset_token, + ); + + if (!isValidToken) { + throw new BadRequestException('Invalid reset token'); + } + + // Hash the new password + const hashedPassword = await bcrypt.hash(new_password, 10); + + // Update the user's password in the database + const updatedPassword = await this.prisma.users.update({ + where: { email }, + data: { password_hash: hashedPassword }, + }); + console.log(updatedPassword); + return { message: 'Password reset successfully' }; + } + + private async verifyResetToken( + database_token: string, + request_token: string, + ): Promise { + const isValidToken = await bcrypt.compare(request_token, database_token); + return isValidToken; + } + + async requestPasswordReset(requestPasswordResetDto: RequestPasswordResetDto) { + const { email } = requestPasswordResetDto; + + if (!email) { + throw new BadRequestException('Incorrect API request'); + } + + const user = await this.prisma.users.findUnique({ + where: { email }, + }); + + if (!user) { + throw new BadRequestException('Email not found'); + } + + const resetToken = uuidv4(); + const hashedResetToken = await bcrypt.hash(resetToken, 10); + const resetTokenExpiresAt = new Date(Date.now() + 3600 * 1000); // 1 hour from now + + await this.prisma.users.update({ + where: { email }, + data: { + reset_token: hashedResetToken, + reset_token_expires_at: resetTokenExpiresAt, + }, + }); + + // Send email with resetToken (implementation depends on your email service) + await this.sendResetEmail(email, resetToken); + return { message: 'Password reset link sent' }; } - async resetPassword(token: string, newPassword: string) { - return { message: 'Password reset successful' }; + private async sendResetEmail(email: string, resetToken: string) { + const resetLink = `${process.env.PANORA_BASE_API_URL}/reset-password?token=${resetToken}&email=${email}`; + + // Create a transporter object using the default SMTP transport + const transporter = nodemailer.createTransport({ + host: process.env.SMTP_HOST, + port: Number(process.env.SMTP_PORT), + //secure: false, + auth: { + user: process.env.SMTP_USER, + pass: process.env.SMTP_PASSWORD, + }, + }); + + // Send mail with defined transport object + const info = await transporter.sendMail({ + from: `${process.env.EMAIL_SENDING_ADDRESS}`, + to: email, + subject: 'Panora | Password Reset Request', + text: `You requested a password reset. Click the following link within one hour from now to reset your password: ${resetLink}`, + html: `

You requested a password reset. Click the link to reset your password:

${resetLink}

The link will expire after one hour

`, + }); + + this.logger.log(`Send reset email to ${email} with token ${resetToken}`); } async getUsers() { diff --git a/packages/api/src/@core/auth/dto/request-password-reset.dto.ts b/packages/api/src/@core/auth/dto/request-password-reset.dto.ts new file mode 100644 index 000000000..b9c3dd3c2 --- /dev/null +++ b/packages/api/src/@core/auth/dto/request-password-reset.dto.ts @@ -0,0 +1,6 @@ +import { IsEmail } from 'class-validator'; + +export class RequestPasswordResetDto { + @IsEmail() + email: string; +} \ No newline at end of file diff --git a/packages/api/src/@core/auth/dto/reset-password.dto.ts b/packages/api/src/@core/auth/dto/reset-password.dto.ts index efda4ce0c..8f7f2f706 100644 --- a/packages/api/src/@core/auth/dto/reset-password.dto.ts +++ b/packages/api/src/@core/auth/dto/reset-password.dto.ts @@ -1,10 +1,18 @@ -import { IsString, MinLength } from 'class-validator'; +import { ApiProperty } from '@nestjs/swagger'; +import { IsEmail, IsNotEmpty, IsString } from 'class-validator'; export class ResetPasswordDto { + @ApiProperty() + @IsEmail() + email: string; + + @ApiProperty() @IsString() - token: string; + @IsNotEmpty() + new_password: string; + @ApiProperty() @IsString() - @MinLength(8) - newPassword: string; + @IsNotEmpty() + reset_token: string; } diff --git a/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts b/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts index 3731a8340..209bd5445 100644 --- a/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts +++ b/packages/api/src/@core/connections-strategies/connections-strategies.controller.ts @@ -23,9 +23,9 @@ import { UpdateCSDto } from './dto/update-cs.dto'; import { ConnectionStrategyCredentials } from './dto/get-connection-cs-credentials.dto'; import { JwtAuthGuard } from '@@core/auth/guards/jwt-auth.guard'; -@ApiTags('connections-strategies') +@ApiTags('connection_strategies') @ApiExcludeController() -@Controller('connections-strategies') +@Controller('connection_strategies') export class ConnectionsStrategiesController { constructor( private logger: LoggerService, diff --git a/packages/api/src/@core/field-mapping/field-mapping.controller.ts b/packages/api/src/@core/field-mapping/field-mapping.controller.ts index 2758878ed..8ffd3c345 100644 --- a/packages/api/src/@core/field-mapping/field-mapping.controller.ts +++ b/packages/api/src/@core/field-mapping/field-mapping.controller.ts @@ -26,7 +26,7 @@ import { JwtAuthGuard } from '@@core/auth/guards/jwt-auth.guard'; import { ApiPostCustomResponse } from '@@core/utils/dtos/openapi.respone.dto'; @ApiTags('fieldMappings') -@Controller('field-mappings') +@Controller('field_mappings') export class FieldMappingController { constructor( private readonly fieldMappingService: FieldMappingService, @@ -53,7 +53,7 @@ export class FieldMappingController { }) @ApiResponse({ status: 200 }) @ApiExcludeEndpoint() - @Get('attribute') + @Get('attributes') @UseGuards(JwtAuthGuard) getAttributes(@Request() req: any) { const { id_project } = req.user; @@ -66,14 +66,14 @@ export class FieldMappingController { }) @ApiResponse({ status: 200 }) @ApiExcludeEndpoint() - @Get('value') + @Get('values') @UseGuards(JwtAuthGuard) getValues() { return this.fieldMappingService.getValues(); } @ApiOperation({ - operationId: 'define', + operationId: 'definitions', summary: 'Define target Field', }) @ApiBody({ type: DefineTargetFieldDto }) @@ -93,7 +93,7 @@ export class FieldMappingController { } @ApiOperation({ - operationId: 'create', + operationId: 'defineCustomField', summary: 'Create Custom Field', }) @ApiBody({ type: CustomFieldCreateDto }) diff --git a/packages/api/src/@core/linked-users/linked-users.controller.ts b/packages/api/src/@core/linked-users/linked-users.controller.ts index 6ac23d85b..3d0bcd40b 100644 --- a/packages/api/src/@core/linked-users/linked-users.controller.ts +++ b/packages/api/src/@core/linked-users/linked-users.controller.ts @@ -32,7 +32,7 @@ import { } from '@@core/utils/dtos/openapi.respone.dto'; @ApiTags('linkedUsers') -@Controller('linked-users') +@Controller('linked_users') export class LinkedUsersController { constructor( private readonly linkedUsersService: LinkedUsersService, @@ -41,7 +41,7 @@ export class LinkedUsersController { this.logger.setContext(LinkedUsersController.name); } - @ApiOperation({ operationId: 'createLinkedUser', summary: 'Add Linked User' }) + @ApiOperation({ operationId: 'createLinkedUser', summary: 'Create Linked Users' }) @ApiBody({ type: CreateLinkedUserDto }) @ApiPostCustomResponse(LinkedUserResponse) @UseGuards(ApiKeyAuthGuard) @@ -75,7 +75,7 @@ export class LinkedUsersController { @ApiOperation({ operationId: 'listLinkedUsers', - summary: 'Retrieve Linked Users', + summary: 'List Linked Users', }) @ApiGetArrayCustomResponse(LinkedUserResponse) @UseGuards(ApiKeyAuthGuard) @@ -87,7 +87,7 @@ export class LinkedUsersController { @ApiOperation({ operationId: 'retrieveLinkedUser', - summary: 'Retrieve a Linked User', + summary: 'Retrieve Linked Users', }) @ApiQuery({ name: 'id', required: true, type: String }) @ApiGetCustomResponse(LinkedUserResponse) diff --git a/packages/api/src/@core/magic-link/magic-link.controller.ts b/packages/api/src/@core/magic-link/magic-link.controller.ts index 10684291e..6c552db76 100644 --- a/packages/api/src/@core/magic-link/magic-link.controller.ts +++ b/packages/api/src/@core/magic-link/magic-link.controller.ts @@ -11,9 +11,9 @@ import { ApiTags, } from '@nestjs/swagger'; import { JwtAuthGuard } from '@@core/auth/guards/jwt-auth.guard'; -@ApiTags('magic-links') +@ApiTags('magic_links') @ApiExcludeController() -@Controller('magic-links') +@Controller('magic_links') export class MagicLinkController { constructor( private readonly magicLinkService: MagicLinkService, @@ -24,7 +24,7 @@ export class MagicLinkController { @ApiOperation({ operationId: 'createMagicLink', - summary: 'Create a Magic Link', + summary: 'Create Magic Links', }) @ApiBody({ type: CreateMagicLinkDto }) @ApiResponse({ status: 201 }) @@ -36,7 +36,7 @@ export class MagicLinkController { @ApiOperation({ operationId: 'getMagicLinks', - summary: 'Retrieve Magic Links', + summary: 'List Magic Links', }) @ApiResponse({ status: 200 }) @Get() @@ -46,7 +46,7 @@ export class MagicLinkController { @ApiOperation({ operationId: 'getMagicLink', - summary: 'Retrieve a Magic Link', + summary: 'Retrieve Magic Links', }) @ApiQuery({ name: 'id', required: true, type: String }) @ApiResponse({ status: 200 }) diff --git a/packages/api/src/@core/organisations/organisations.controller.ts b/packages/api/src/@core/organisations/organisations.controller.ts index 8bd349929..6c3f6a692 100644 --- a/packages/api/src/@core/organisations/organisations.controller.ts +++ b/packages/api/src/@core/organisations/organisations.controller.ts @@ -27,7 +27,7 @@ export class OrganisationsController { }) @Get() getOragnisations() { - return; //this.organizationsService.getOrganisations(); + return; } @ApiOperation({ @@ -36,8 +36,8 @@ export class OrganisationsController { }) @ApiBody({ type: CreateOrganizationDto }) @ApiResponse({ status: 201 }) - @Post('create') + @Post() createOrg(@Body() orgCreateDto: CreateOrganizationDto) { - return; //this.organizationsService.createOrganization(orgCreateDto); + return; } } diff --git a/packages/api/src/ats/activity/services/registry.service.ts b/packages/api/src/ats/activity/services/registry.service.ts index 0d161fe25..e64298bc4 100644 --- a/packages/api/src/ats/activity/services/registry.service.ts +++ b/packages/api/src/ats/activity/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IActivityService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/activity/sync/sync.service.ts b/packages/api/src/ats/activity/sync/sync.service.ts index 7c279856a..e18c07d5f 100644 --- a/packages/api/src/ats/activity/sync/sync.service.ts +++ b/packages/api/src/ats/activity/sync/sync.service.ts @@ -56,12 +56,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing activities....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -92,7 +92,7 @@ export class SyncService implements OnModuleInit, IBaseSync { const candidates = await this.prisma.ats_candidates.findMany({ where: { - id_connection: connection.id_connection, + id_connection: connection?.id_connection, }, }); for (const candidate of candidates) { @@ -124,7 +124,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId, id_candidate } = data; const service: IActivityService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: activity} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsActivityOutput, diff --git a/packages/api/src/ats/application/services/registry.service.ts b/packages/api/src/ats/application/services/registry.service.ts index 022500b2e..0e7b3324a 100644 --- a/packages/api/src/ats/application/services/registry.service.ts +++ b/packages/api/src/ats/application/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IApplicationService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/application/sync/sync.service.ts b/packages/api/src/ats/application/sync/sync.service.ts index 9060aef92..652258532 100644 --- a/packages/api/src/ats/application/sync/sync.service.ts +++ b/packages/api/src/ats/application/sync/sync.service.ts @@ -53,12 +53,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing applications...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -104,7 +104,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IApplicationService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: application} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsApplicationOutput, diff --git a/packages/api/src/ats/attachment/services/registry.service.ts b/packages/api/src/ats/attachment/services/registry.service.ts index 56484d3bd..dac008f58 100644 --- a/packages/api/src/ats/attachment/services/registry.service.ts +++ b/packages/api/src/ats/attachment/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IAttachmentService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/candidate/services/registry.service.ts b/packages/api/src/ats/candidate/services/registry.service.ts index 7e2292929..f4019ce05 100644 --- a/packages/api/src/ats/candidate/services/registry.service.ts +++ b/packages/api/src/ats/candidate/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): ICandidateService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/candidate/sync/sync.service.ts b/packages/api/src/ats/candidate/sync/sync.service.ts index c880d34a7..bc190d1d7 100644 --- a/packages/api/src/ats/candidate/sync/sync.service.ts +++ b/packages/api/src/ats/candidate/sync/sync.service.ts @@ -57,12 +57,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing candidates...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -108,7 +108,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: ICandidateService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: candidate} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsCandidateOutput, diff --git a/packages/api/src/ats/department/services/registry.service.ts b/packages/api/src/ats/department/services/registry.service.ts index ee946e7b7..d772fcbf2 100644 --- a/packages/api/src/ats/department/services/registry.service.ts +++ b/packages/api/src/ats/department/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IDepartmentService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/department/sync/sync.service.ts b/packages/api/src/ats/department/sync/sync.service.ts index a9742a2b3..12f327ca2 100644 --- a/packages/api/src/ats/department/sync/sync.service.ts +++ b/packages/api/src/ats/department/sync/sync.service.ts @@ -53,12 +53,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing departments...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -104,7 +104,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IDepartmentService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: department} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsDepartmentOutput, diff --git a/packages/api/src/ats/eeocs/services/registry.service.ts b/packages/api/src/ats/eeocs/services/registry.service.ts index 9d5dd2bfc..742dcbe6a 100644 --- a/packages/api/src/ats/eeocs/services/registry.service.ts +++ b/packages/api/src/ats/eeocs/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IEeocsService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/eeocs/sync/sync.service.ts b/packages/api/src/ats/eeocs/sync/sync.service.ts index 871cf5d77..b7ff06363 100644 --- a/packages/api/src/ats/eeocs/sync/sync.service.ts +++ b/packages/api/src/ats/eeocs/sync/sync.service.ts @@ -50,12 +50,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing EEOCs...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -101,7 +101,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IEeocsService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: eeocs} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsEeocsOutput, diff --git a/packages/api/src/ats/interview/services/registry.service.ts b/packages/api/src/ats/interview/services/registry.service.ts index 06b63170a..dffe0a4f1 100644 --- a/packages/api/src/ats/interview/services/registry.service.ts +++ b/packages/api/src/ats/interview/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IInterviewService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/interview/sync/sync.service.ts b/packages/api/src/ats/interview/sync/sync.service.ts index 4bd7ac9d6..e6653d823 100644 --- a/packages/api/src/ats/interview/sync/sync.service.ts +++ b/packages/api/src/ats/interview/sync/sync.service.ts @@ -52,12 +52,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing interviews...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -103,7 +103,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IInterviewService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: interview} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsInterviewOutput, diff --git a/packages/api/src/ats/job/services/registry.service.ts b/packages/api/src/ats/job/services/registry.service.ts index 6e7fc13df..1b0d3ce68 100644 --- a/packages/api/src/ats/job/services/registry.service.ts +++ b/packages/api/src/ats/job/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IJobService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/job/sync/sync.service.ts b/packages/api/src/ats/job/sync/sync.service.ts index 0c7813c77..928a2bb4f 100644 --- a/packages/api/src/ats/job/sync/sync.service.ts +++ b/packages/api/src/ats/job/sync/sync.service.ts @@ -50,12 +50,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing jobs...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -101,7 +101,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IJobService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: job} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsJobOutput, diff --git a/packages/api/src/ats/jobinterviewstage/services/registry.service.ts b/packages/api/src/ats/jobinterviewstage/services/registry.service.ts index dee0ae175..2dfcfc2bc 100644 --- a/packages/api/src/ats/jobinterviewstage/services/registry.service.ts +++ b/packages/api/src/ats/jobinterviewstage/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IJobInterviewStageService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/jobinterviewstage/sync/sync.service.ts b/packages/api/src/ats/jobinterviewstage/sync/sync.service.ts index b17d14803..41f78d011 100644 --- a/packages/api/src/ats/jobinterviewstage/sync/sync.service.ts +++ b/packages/api/src/ats/jobinterviewstage/sync/sync.service.ts @@ -53,12 +53,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing job interview stages...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -104,7 +104,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IJobInterviewStageService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: jobinterviewstage} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsJobinterviewstageOutput, diff --git a/packages/api/src/ats/offer/services/registry.service.ts b/packages/api/src/ats/offer/services/registry.service.ts index c9008f951..86b471648 100644 --- a/packages/api/src/ats/offer/services/registry.service.ts +++ b/packages/api/src/ats/offer/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IOfferService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/offer/sync/sync.service.ts b/packages/api/src/ats/offer/sync/sync.service.ts index f31fb060c..7cdb679a1 100644 --- a/packages/api/src/ats/offer/sync/sync.service.ts +++ b/packages/api/src/ats/offer/sync/sync.service.ts @@ -50,12 +50,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing offers...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -101,7 +101,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IOfferService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: offer} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsOfferOutput, diff --git a/packages/api/src/ats/office/services/registry.service.ts b/packages/api/src/ats/office/services/registry.service.ts index f7db952d9..aef1b36db 100644 --- a/packages/api/src/ats/office/services/registry.service.ts +++ b/packages/api/src/ats/office/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IOfficeService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/office/sync/sync.service.ts b/packages/api/src/ats/office/sync/sync.service.ts index 5dcea6372..f2b61269c 100644 --- a/packages/api/src/ats/office/sync/sync.service.ts +++ b/packages/api/src/ats/office/sync/sync.service.ts @@ -50,12 +50,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing offices...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -101,7 +101,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IOfficeService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: office} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsOfficeOutput, diff --git a/packages/api/src/ats/rejectreason/services/registry.service.ts b/packages/api/src/ats/rejectreason/services/registry.service.ts index c8d604b9e..7d7111eb8 100644 --- a/packages/api/src/ats/rejectreason/services/registry.service.ts +++ b/packages/api/src/ats/rejectreason/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IRejectReasonService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/rejectreason/sync/sync.service.ts b/packages/api/src/ats/rejectreason/sync/sync.service.ts index 434e98643..b102c4363 100644 --- a/packages/api/src/ats/rejectreason/sync/sync.service.ts +++ b/packages/api/src/ats/rejectreason/sync/sync.service.ts @@ -52,12 +52,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing reject reasons...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -103,7 +103,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IRejectReasonService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: rejectreason} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsRejectreasonOutput, diff --git a/packages/api/src/ats/scorecard/services/registry.service.ts b/packages/api/src/ats/scorecard/services/registry.service.ts index ae76236a5..876f2b9f4 100644 --- a/packages/api/src/ats/scorecard/services/registry.service.ts +++ b/packages/api/src/ats/scorecard/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IScoreCardService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/scorecard/sync/sync.service.ts b/packages/api/src/ats/scorecard/sync/sync.service.ts index a6f622341..8977ebef6 100644 --- a/packages/api/src/ats/scorecard/sync/sync.service.ts +++ b/packages/api/src/ats/scorecard/sync/sync.service.ts @@ -53,12 +53,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing score cards...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -104,7 +104,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IScoreCardService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: scorecard} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsScorecardOutput, diff --git a/packages/api/src/ats/tag/services/registry.service.ts b/packages/api/src/ats/tag/services/registry.service.ts index db1ea5c9b..b6ca5ea57 100644 --- a/packages/api/src/ats/tag/services/registry.service.ts +++ b/packages/api/src/ats/tag/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): ITagService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/tag/sync/sync.service.ts b/packages/api/src/ats/tag/sync/sync.service.ts index e10fe4091..7cc231eff 100644 --- a/packages/api/src/ats/tag/sync/sync.service.ts +++ b/packages/api/src/ats/tag/sync/sync.service.ts @@ -49,12 +49,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing tags...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -100,7 +100,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: ITagService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: tag} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsTagOutput, diff --git a/packages/api/src/ats/user/services/registry.service.ts b/packages/api/src/ats/user/services/registry.service.ts index 4624e9330..e5a320e2e 100644 --- a/packages/api/src/ats/user/services/registry.service.ts +++ b/packages/api/src/ats/user/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IUserService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ats/user/sync/sync.service.ts b/packages/api/src/ats/user/sync/sync.service.ts index e513d9962..a4d15705e 100644 --- a/packages/api/src/ats/user/sync/sync.service.ts +++ b/packages/api/src/ats/user/sync/sync.service.ts @@ -50,12 +50,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log('Syncing users...'); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -101,7 +101,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IUserService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ats, commonObject: user} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedAtsUserOutput, diff --git a/packages/api/src/crm/company/services/registry.service.ts b/packages/api/src/crm/company/services/registry.service.ts index 4ea523d04..2dc299e15 100644 --- a/packages/api/src/crm/company/services/registry.service.ts +++ b/packages/api/src/crm/company/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): ICompanyService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/crm/company/sync/sync.service.ts b/packages/api/src/crm/company/sync/sync.service.ts index 9a46fcbbd..7a4cb0a20 100644 --- a/packages/api/src/crm/company/sync/sync.service.ts +++ b/packages/api/src/crm/company/sync/sync.service.ts @@ -53,12 +53,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing companies....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -107,7 +107,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: ICompanyService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: company} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmCompanyOutput, diff --git a/packages/api/src/crm/contact/services/registry.service.ts b/packages/api/src/crm/contact/services/registry.service.ts index bc664c41c..9e70b5229 100644 --- a/packages/api/src/crm/contact/services/registry.service.ts +++ b/packages/api/src/crm/contact/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IContactService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/crm/contact/sync/sync.service.ts b/packages/api/src/crm/contact/sync/sync.service.ts index b06c9782f..a64e78ef3 100644 --- a/packages/api/src/crm/contact/sync/sync.service.ts +++ b/packages/api/src/crm/contact/sync/sync.service.ts @@ -58,12 +58,12 @@ export class SyncService implements OnModuleInit, IBaseSync { const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -112,7 +112,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IContactService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: contact} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmContactOutput, diff --git a/packages/api/src/crm/deal/services/registry.service.ts b/packages/api/src/crm/deal/services/registry.service.ts index 8fdc87f3c..811faf608 100644 --- a/packages/api/src/crm/deal/services/registry.service.ts +++ b/packages/api/src/crm/deal/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): IDealService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/crm/deal/sync/sync.service.ts b/packages/api/src/crm/deal/sync/sync.service.ts index b1cfb4eab..24a2c8550 100644 --- a/packages/api/src/crm/deal/sync/sync.service.ts +++ b/packages/api/src/crm/deal/sync/sync.service.ts @@ -48,12 +48,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing deals....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -102,7 +102,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IDealService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: deal} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmDealOutput, diff --git a/packages/api/src/crm/engagement/services/registry.service.ts b/packages/api/src/crm/engagement/services/registry.service.ts index 6fa0dea9e..1dea81480 100644 --- a/packages/api/src/crm/engagement/services/registry.service.ts +++ b/packages/api/src/crm/engagement/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): IEngagementService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/crm/engagement/sync/sync.service.ts b/packages/api/src/crm/engagement/sync/sync.service.ts index 05fad8763..e5e67f5c3 100644 --- a/packages/api/src/crm/engagement/sync/sync.service.ts +++ b/packages/api/src/crm/engagement/sync/sync.service.ts @@ -56,12 +56,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing engagements....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -114,7 +114,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId, engagement_type } = data; const service: IEngagementService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: engagement} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmEngagementOutput, diff --git a/packages/api/src/crm/note/services/registry.service.ts b/packages/api/src/crm/note/services/registry.service.ts index 3cf749abf..23703c06f 100644 --- a/packages/api/src/crm/note/services/registry.service.ts +++ b/packages/api/src/crm/note/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): INoteService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/crm/note/sync/sync.service.ts b/packages/api/src/crm/note/sync/sync.service.ts index f0d2c68cf..5fe1b08aa 100644 --- a/packages/api/src/crm/note/sync/sync.service.ts +++ b/packages/api/src/crm/note/sync/sync.service.ts @@ -53,12 +53,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing notes....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -107,7 +107,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: INoteService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: note} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmNoteOutput, diff --git a/packages/api/src/crm/stage/services/registry.service.ts b/packages/api/src/crm/stage/services/registry.service.ts index 23f3db550..15a159cc7 100644 --- a/packages/api/src/crm/stage/services/registry.service.ts +++ b/packages/api/src/crm/stage/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): IStageService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/crm/stage/sync/sync.service.ts b/packages/api/src/crm/stage/sync/sync.service.ts index ad1d3ba5e..d59dc256d 100644 --- a/packages/api/src/crm/stage/sync/sync.service.ts +++ b/packages/api/src/crm/stage/sync/sync.service.ts @@ -51,12 +51,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing stages....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -90,7 +90,7 @@ export class SyncService implements OnModuleInit, IBaseSync { //call the sync comments for every ticket of the linkedUser (a comment is tied to a ticket) const deals = await this.prisma.crm_deals.findMany({ where: { - id_connection: connection.id_connection, + id_connection: connection?.id_connection, }, }); for (const deal of deals) { @@ -125,7 +125,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId, deal_id } = data; const service: IStageService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: stage} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmStageOutput, diff --git a/packages/api/src/crm/task/services/registry.service.ts b/packages/api/src/crm/task/services/registry.service.ts index 572a86cd2..68b80d762 100644 --- a/packages/api/src/crm/task/services/registry.service.ts +++ b/packages/api/src/crm/task/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): ITaskService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/crm/task/sync/sync.service.ts b/packages/api/src/crm/task/sync/sync.service.ts index 93a749b22..1085c9025 100644 --- a/packages/api/src/crm/task/sync/sync.service.ts +++ b/packages/api/src/crm/task/sync/sync.service.ts @@ -54,12 +54,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing tasks....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -108,7 +108,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: ITaskService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: task} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmTaskOutput, diff --git a/packages/api/src/crm/user/services/registry.service.ts b/packages/api/src/crm/user/services/registry.service.ts index 2959ac489..e79ad05d5 100644 --- a/packages/api/src/crm/user/services/registry.service.ts +++ b/packages/api/src/crm/user/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): IUserService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/crm/user/sync/sync.service.ts b/packages/api/src/crm/user/sync/sync.service.ts index ff908ca19..50a1a9415 100644 --- a/packages/api/src/crm/user/sync/sync.service.ts +++ b/packages/api/src/crm/user/sync/sync.service.ts @@ -53,12 +53,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing users....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -107,7 +107,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: IUserService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:crm, commonObject: user} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedCrmUserOutput, diff --git a/packages/api/src/ticketing/account/services/registry.service.ts b/packages/api/src/ticketing/account/services/registry.service.ts index c7c0928fa..0e345b243 100644 --- a/packages/api/src/ticketing/account/services/registry.service.ts +++ b/packages/api/src/ticketing/account/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): IAccountService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/ticketing/account/sync/sync.service.ts b/packages/api/src/ticketing/account/sync/sync.service.ts index 6abfc75f5..516af4944 100644 --- a/packages/api/src/ticketing/account/sync/sync.service.ts +++ b/packages/api/src/ticketing/account/sync/sync.service.ts @@ -48,12 +48,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing accounts....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -101,6 +101,11 @@ export class SyncService implements OnModuleInit, IBaseSync { const service: IAccountService = this.serviceRegistry.getService(integrationId); + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: account} for integration ID: ${integrationId}`); + return; + } + await this.ingestService.syncForLinkedUser< UnifiedTicketingAccountOutput, OriginalAccountOutput, diff --git a/packages/api/src/ticketing/attachment/services/registry.service.ts b/packages/api/src/ticketing/attachment/services/registry.service.ts index 56484d3bd..dac008f58 100644 --- a/packages/api/src/ticketing/attachment/services/registry.service.ts +++ b/packages/api/src/ticketing/attachment/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IAttachmentService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ticketing/collection/services/registry.service.ts b/packages/api/src/ticketing/collection/services/registry.service.ts index 605afb5a4..3d3fbeffd 100644 --- a/packages/api/src/ticketing/collection/services/registry.service.ts +++ b/packages/api/src/ticketing/collection/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): ICollectionService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/ticketing/collection/sync/sync.service.ts b/packages/api/src/ticketing/collection/sync/sync.service.ts index 2d5006025..58ef521a5 100644 --- a/packages/api/src/ticketing/collection/sync/sync.service.ts +++ b/packages/api/src/ticketing/collection/sync/sync.service.ts @@ -48,12 +48,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing collections....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -100,7 +100,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: ICollectionService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: collection} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedTicketingCollectionOutput, diff --git a/packages/api/src/ticketing/comment/services/registry.service.ts b/packages/api/src/ticketing/comment/services/registry.service.ts index ca54192d7..443a320dd 100644 --- a/packages/api/src/ticketing/comment/services/registry.service.ts +++ b/packages/api/src/ticketing/comment/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): ICommentService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ticketing/comment/sync/sync.service.ts b/packages/api/src/ticketing/comment/sync/sync.service.ts index a2a1c26f8..aad3d61c1 100644 --- a/packages/api/src/ticketing/comment/sync/sync.service.ts +++ b/packages/api/src/ticketing/comment/sync/sync.service.ts @@ -49,12 +49,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing comments....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -84,7 +84,7 @@ export class SyncService implements OnModuleInit, IBaseSync { //call the sync comments for every ticket of the linkedUser (a comment is tied to a ticket) const tickets = await this.prisma.tcg_tickets.findMany({ where: { - id_connection: connection.id_connection, + id_connection: connection?.id_connection, }, }); for (const ticket of tickets) { @@ -116,7 +116,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId, id_ticket } = data; const service: ICommentService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: comment} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedTicketingCommentOutput, @@ -163,8 +166,8 @@ export class SyncService implements OnModuleInit, IBaseSync { comment.creator_type === 'CONTACT' && comment.contact_id ? { id_tcg_contact: comment.contact_id } : comment.creator_type === 'USER' && comment.user_id - ? { id_tcg_user: comment.user_id } - : {}; + ? { id_tcg_user: comment.user_id } + : {}; const baseData: any = { id_tcg_ticket: id_ticket ?? null, diff --git a/packages/api/src/ticketing/contact/services/registry.service.ts b/packages/api/src/ticketing/contact/services/registry.service.ts index bc664c41c..9e70b5229 100644 --- a/packages/api/src/ticketing/contact/services/registry.service.ts +++ b/packages/api/src/ticketing/contact/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): IContactService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ticketing/contact/sync/sync.service.ts b/packages/api/src/ticketing/contact/sync/sync.service.ts index 8200199bc..66eb5262e 100644 --- a/packages/api/src/ticketing/contact/sync/sync.service.ts +++ b/packages/api/src/ticketing/contact/sync/sync.service.ts @@ -48,12 +48,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing contacts....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -102,6 +102,11 @@ export class SyncService implements OnModuleInit, IBaseSync { const service: IContactService = this.serviceRegistry.getService(integrationId); + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: contact} for integration ID: ${integrationId}`); + return; + } + await this.ingestService.syncForLinkedUser< UnifiedTicketingContactOutput, OriginalContactOutput, diff --git a/packages/api/src/ticketing/tag/services/registry.service.ts b/packages/api/src/ticketing/tag/services/registry.service.ts index c68895086..ba59896be 100644 --- a/packages/api/src/ticketing/tag/services/registry.service.ts +++ b/packages/api/src/ticketing/tag/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): ITagService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/ticketing/tag/sync/sync.service.ts b/packages/api/src/ticketing/tag/sync/sync.service.ts index 78b5c1b2f..2dcd1120e 100644 --- a/packages/api/src/ticketing/tag/sync/sync.service.ts +++ b/packages/api/src/ticketing/tag/sync/sync.service.ts @@ -55,12 +55,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing tags....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -90,7 +90,7 @@ export class SyncService implements OnModuleInit, IBaseSync { //call the sync comments for every ticket of the linkedUser (a comment is tied to a ticket) const tickets = await this.prisma.tcg_tickets.findMany({ where: { - id_connection: connection.id_connection, + id_connection: connection?.id_connection, }, }); for (const ticket of tickets) { @@ -122,7 +122,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId, id_ticket } = data; const service: ITagService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: tag} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedTicketingTagOutput, diff --git a/packages/api/src/ticketing/team/services/registry.service.ts b/packages/api/src/ticketing/team/services/registry.service.ts index b895071ae..d28cc9e9b 100644 --- a/packages/api/src/ticketing/team/services/registry.service.ts +++ b/packages/api/src/ticketing/team/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): ITeamService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/ticketing/team/sync/sync.service.ts b/packages/api/src/ticketing/team/sync/sync.service.ts index d5bc69c0a..d14b3c5be 100644 --- a/packages/api/src/ticketing/team/sync/sync.service.ts +++ b/packages/api/src/ticketing/team/sync/sync.service.ts @@ -48,12 +48,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing teams....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -100,7 +100,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId } = param; const service: ITeamService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: team} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedTicketingTeamOutput, diff --git a/packages/api/src/ticketing/ticket/services/registry.service.ts b/packages/api/src/ticketing/ticket/services/registry.service.ts index 9f2f6944b..8f45b8959 100644 --- a/packages/api/src/ticketing/ticket/services/registry.service.ts +++ b/packages/api/src/ticketing/ticket/services/registry.service.ts @@ -15,11 +15,11 @@ export class ServiceRegistry { getService(integrationId: string): ITicketService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new ReferenceError( - `Service not found for integration ID: ${integrationId}`, - ); - } + // if (!service) { + // throw new ReferenceError( + // `Service not found for integration ID: ${integrationId}`, + // ); + // } return service; } } diff --git a/packages/api/src/ticketing/ticket/sync/sync.service.ts b/packages/api/src/ticketing/ticket/sync/sync.service.ts index 252164c02..5be987506 100644 --- a/packages/api/src/ticketing/ticket/sync/sync.service.ts +++ b/packages/api/src/ticketing/ticket/sync/sync.service.ts @@ -51,12 +51,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing tickets....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -104,6 +104,11 @@ export class SyncService implements OnModuleInit, IBaseSync { const service: ITicketService = this.serviceRegistry.getService(integrationId); + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: ticket} for integration ID: ${integrationId}`); + return; + } + await this.ingestService.syncForLinkedUser< UnifiedTicketingTicketOutput, OriginalTicketOutput, diff --git a/packages/api/src/ticketing/user/services/registry.service.ts b/packages/api/src/ticketing/user/services/registry.service.ts index 2959ac489..e79ad05d5 100644 --- a/packages/api/src/ticketing/user/services/registry.service.ts +++ b/packages/api/src/ticketing/user/services/registry.service.ts @@ -15,9 +15,9 @@ export class ServiceRegistry { getService(integrationId: string): IUserService { const service = this.serviceMap.get(integrationId); - if (!service) { - throw new Error(); - } + // if (!service) { + // throw new Error(); + // } return service; } } diff --git a/packages/api/src/ticketing/user/sync/sync.service.ts b/packages/api/src/ticketing/user/sync/sync.service.ts index 8d04b2905..9e3a93cd2 100644 --- a/packages/api/src/ticketing/user/sync/sync.service.ts +++ b/packages/api/src/ticketing/user/sync/sync.service.ts @@ -48,12 +48,12 @@ export class SyncService implements OnModuleInit, IBaseSync { this.logger.log(`Syncing users....`); const users = user_id ? [ - await this.prisma.users.findUnique({ - where: { - id_user: user_id, - }, - }), - ] + await this.prisma.users.findUnique({ + where: { + id_user: user_id, + }, + }), + ] : await this.prisma.users.findMany(); if (users && users.length > 0) { for (const user of users) { @@ -100,7 +100,10 @@ export class SyncService implements OnModuleInit, IBaseSync { const { integrationId, linkedUserId, wh_real_time_trigger } = param; const service: IUserService = this.serviceRegistry.getService(integrationId); - if (!service) return; + if (!service) { + this.logger.log(`No service found in {vertical:ticketing, commonObject: user} for integration ID: ${integrationId}`); + return; + } await this.ingestService.syncForLinkedUser< UnifiedTicketingUserOutput, diff --git a/packages/api/swagger/openapi-with-code-samples.yaml b/packages/api/swagger/openapi-with-code-samples.yaml new file mode 100644 index 000000000..3f1e4e959 --- /dev/null +++ b/packages/api/swagger/openapi-with-code-samples.yaml @@ -0,0 +1,25088 @@ +openapi: 3.0.0 +paths: + /: + get: + operationId: hello + summary: '' + parameters: [] + responses: + '200': + description: '' + x-codeSamples: + - lang: typescript + label: hello + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hello(); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: hello + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.hello() + + # Use the SDK ... + - lang: go + label: hello + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + + ctx := context.Background() + res, err := s.Hello(ctx) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: hello + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hello()\n\nif res.status_code == 200\n # handle response\nend" + /health: + get: + operationId: health + summary: '' + parameters: [] + responses: + '200': + description: '' + x-codeSamples: + - lang: typescript + label: health + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.health(); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: health + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.health() + + # Use the SDK ... + - lang: go + label: health + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + + ctx := context.Background() + res, err := s.Health(ctx) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: health + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.health()\n\nif res.status_code == 200\n # handle response\nend" + /webhooks: + get: + operationId: listWebhooks + summary: List webhooks + parameters: [] + responses: + '200': + description: '' + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/WebhookResponse' + tags: &ref_0 + - webhooks + x-codeSamples: + - lang: typescript + label: listWebhooks + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.webhooks.list(); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listWebhooks + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.webhooks.list() + + if res is not None: + # handle response + pass + - lang: go + label: listWebhooks + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + + ctx := context.Background() + res, err := s.Webhooks.List(ctx) + if err != nil { + log.Fatal(err) + } + if res.WebhookResponses != nil { + // handle response + } + } + - lang: ruby + label: listWebhooks + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.webhooks.list()\n\nif ! res.webhook_responses.nil?\n # handle response\nend" + post: + operationId: createWebhookPublic + summary: Add webhook metadata + parameters: [] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookDto' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookResponse' + tags: *ref_0 + x-codeSamples: + - lang: typescript + label: createWebhookPublic + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.webhooks.create({ + url: "http://limp-pastry.org", + description: "Inverse discrete benchmark", + scope: [ + "", + ], + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createWebhookPublic + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.webhooks.create(request={ + "url": "http://limp-pastry.org", + "description": "Inverse discrete benchmark", + "scope": [ + "", + ], + }) + + if res is not None: + # handle response + pass + - lang: go + label: createWebhookPublic + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + request := components.WebhookDto{ + URL: "http://limp-pastry.org", + Description: "Inverse discrete benchmark", + Scope: []string{ + "", + }, + } + ctx := context.Background() + res, err := s.Webhooks.Create(ctx, request) + if err != nil { + log.Fatal(err) + } + if res.WebhookResponse != nil { + // handle response + } + } + - lang: ruby + label: createWebhookPublic + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n\nreq = ::OpenApiSDK::Shared::WebhookDto.new(\n url: \"http://limp-pastry.org\",\n description: \"Inverse discrete benchmark\",\n scope: [\n \"\",\n ],\n)\n \nres = s.webhooks.create(req)\n\nif ! res.webhook_response.nil?\n # handle response\nend" + /webhooks/{id}: + delete: + operationId: delete + summary: Delete Webhook + parameters: + - name: id + required: true + in: path + schema: + type: string + responses: + '200': + description: '' + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookResponse' + tags: *ref_0 + x-speakeasy-group: webhooks.{id} + x-codeSamples: + - lang: typescript + label: delete + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.webhooks.id.delete({ + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: delete + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.webhooks.id.delete(id="") + + if res is not None: + # handle response + pass + - lang: go + label: delete + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var id string = "" + ctx := context.Background() + res, err := s.Webhooks.{id}.Delete(ctx, id) + if err != nil { + log.Fatal(err) + } + if res.WebhookResponse != nil { + // handle response + } + } + - lang: ruby + label: delete + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.webhooks_id.delete(id=\"\")\n\nif ! res.webhook_response.nil?\n # handle response\nend" + put: + operationId: updateStatus + summary: Update webhook status + parameters: + - name: id + required: true + in: path + schema: + type: string + responses: + '200': + description: '' + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookResponse' + tags: *ref_0 + x-speakeasy-group: webhooks.{id} + x-codeSamples: + - lang: typescript + label: updateStatus + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.webhooks.id.updateStatus({ + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: updateStatus + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.webhooks.id.update_status(id="") + + if res is not None: + # handle response + pass + - lang: go + label: updateStatus + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var id string = "" + ctx := context.Background() + res, err := s.Webhooks.{id}.UpdateStatus(ctx, id) + if err != nil { + log.Fatal(err) + } + if res.WebhookResponse != nil { + // handle response + } + } + - lang: ruby + label: updateStatus + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.webhooks_id.update_status(id=\"\")\n\nif ! res.webhook_response.nil?\n # handle response\nend" + /webhooks/verifyEvent: + post: + operationId: verifyEvent + summary: Verify payload signature of the webhook + parameters: [] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/SignatureVerificationDto' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/EventPayload' + tags: *ref_0 + x-speakeasy-group: webhooks.verifyevent + x-codeSamples: + - lang: typescript + label: verifyEvent + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.webhooks.verifyevent.verifyEvent({ + payload: {}, + signature: "", + secret: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: verifyEvent + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.webhooks.verifyevent.verify_event(request={ + "payload": {}, + "signature": "", + "secret": "", + }) + + if res is not None: + # handle response + pass + - lang: go + label: verifyEvent + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + request := components.SignatureVerificationDto{ + Payload: components.Payload{}, + Signature: "", + Secret: "", + } + ctx := context.Background() + res, err := s.Webhooks.Verifyevent.VerifyEvent(ctx, request) + if err != nil { + log.Fatal(err) + } + if res.EventPayload != nil { + // handle response + } + } + - lang: ruby + label: verifyEvent + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n\nreq = ::OpenApiSDK::Shared::SignatureVerificationDto.new(\n payload: ::OpenApiSDK::Shared::Payload.new(),\n signature: \"\",\n secret: \"\",\n)\n \nres = s.webhooks_verifyevent.verify_event(req)\n\nif ! res.event_payload.nil?\n # handle response\nend" + /ticketing/tickets: + get: + operationId: listTicketingTicket + summary: List Tickets + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingTicketOutput' + tags: &ref_1 + - ticketing/tickets + security: &ref_2 + - bearer: [] + x-speakeasy-group: ticketing.tickets + x-codeSamples: + - lang: typescript + label: listTicketingTicket + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.tickets.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingTicket + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.tickets.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingTicket + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Tickets.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingTicket + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_tickets.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createTicketingTicket + summary: Create Tickets + description: Create Tickets in any supported Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingTicketInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingTicketOutput' + tags: *ref_1 + security: *ref_2 + x-speakeasy-group: ticketing.tickets + x-codeSamples: + - lang: typescript + label: createTicketingTicket + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.tickets.create({ + xConnectionToken: "", + unifiedTicketingTicketInput: { + name: "", + description: "Multi-tiered human-resource model", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createTicketingTicket + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.tickets.create(x_connection_token="", unified_ticketing_ticket_input={ + "name": "", + "description": "Multi-tiered human-resource model", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createTicketingTicket + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedTicketingTicketInput := components.UnifiedTicketingTicketInput{ + Name: "", + Description: "Multi-tiered human-resource model", + FieldMappings: components.UnifiedTicketingTicketInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Ticketing.Tickets.Create(ctx, xConnectionToken, unifiedTicketingTicketInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingTicketOutput != nil { + // handle response + } + } + - lang: ruby + label: createTicketingTicket + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_tickets.create(x_connection_token=\"\", unified_ticketing_ticket_input=::OpenApiSDK::Shared::UnifiedTicketingTicketInput.new(\n name: \"\",\n description: \"Multi-tiered human-resource model\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedTicketingTicketInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_ticketing_ticket_output.nil?\n # handle response\nend" + /ticketing/tickets/{id}: + get: + operationId: retrieveTicketingTicket + summary: Retrieve Tickets + description: Retrieve Tickets from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the `ticket` you want to retrive. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingTicketOutput' + tags: *ref_1 + security: *ref_2 + x-speakeasy-group: ticketing.tickets + x-codeSamples: + - lang: typescript + label: retrieveTicketingTicket + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.tickets.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingTicket + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.tickets.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingTicket + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Tickets.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingTicketOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingTicket + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_tickets.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ticketing_ticket_output.nil?\n # handle response\nend" + /ticketing/users: + get: + operationId: listTicketingUsers + summary: List Users + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingUserOutput' + tags: &ref_3 + - ticketing/users + security: &ref_4 + - bearer: [] + x-speakeasy-group: ticketing.users + x-codeSamples: + - lang: typescript + label: listTicketingUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.users.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingUsers + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.users.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingUsers + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Users.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_users.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ticketing/users/{id}: + get: + operationId: retrieveTicketingUser + summary: Retrieve Users + description: Retrieve Users from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the user you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingUserOutput' + tags: *ref_3 + security: *ref_4 + x-speakeasy-group: ticketing.users + x-codeSamples: + - lang: typescript + label: retrieveTicketingUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.users.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingUser + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.users.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingUser + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Users.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingUserOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_users.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ticketing_user_output.nil?\n # handle response\nend" + /ticketing/accounts: + get: + operationId: listTicketingAccount + summary: List Accounts + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingAccountOutput' + tags: &ref_5 + - ticketing/accounts + security: &ref_6 + - bearer: [] + x-speakeasy-group: ticketing.accounts + x-codeSamples: + - lang: typescript + label: listTicketingAccount + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.accounts.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingAccount + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.accounts.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingAccount + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Accounts.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingAccount + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_accounts.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ticketing/accounts/{id}: + get: + operationId: retrieveTicketingAccount + summary: Retrieve Accounts + description: Retrieve Accounts from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the account you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingAccountOutput' + tags: *ref_5 + security: *ref_6 + x-speakeasy-group: ticketing.accounts + x-codeSamples: + - lang: typescript + label: retrieveTicketingAccount + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.accounts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingAccount + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.accounts.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingAccount + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Accounts.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingAccountOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingAccount + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_accounts.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ticketing_account_output.nil?\n # handle response\nend" + /ticketing/contacts: + get: + operationId: listTicketingContacts + summary: List all Contacts + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingContactOutput' + tags: &ref_7 + - ticketing/contacts + security: &ref_8 + - bearer: [] + x-speakeasy-group: ticketing.contacts + x-codeSamples: + - lang: typescript + label: listTicketingContacts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.contacts.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingContacts + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.contacts.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingContacts + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Contacts.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingContacts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_contacts.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ticketing/contacts/{id}: + get: + operationId: retrieveTicketingContact + summary: Retrieve Contacts + description: Retrieve Contacts from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the contact you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingContactOutput' + tags: *ref_7 + security: *ref_8 + x-speakeasy-group: ticketing.contacts + x-codeSamples: + - lang: typescript + label: retrieveTicketingContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.contacts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingContact + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.contacts.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingContact + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Contacts.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_contacts.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.object.nil?\n # handle response\nend" + /sync/status/{vertical}: + get: + operationId: status + summary: Retrieve sync status of a certain vertical + parameters: + - name: vertical + required: true + in: path + schema: + type: string + responses: + '200': + description: '' + tags: &ref_9 + - sync + x-speakeasy-group: sync + x-codeSamples: + - lang: typescript + label: status + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.sync.status({ + vertical: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: status + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.sync.status(vertical="") + + # Use the SDK ... + - lang: go + label: status + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var vertical string = "" + ctx := context.Background() + res, err := s.Sync.Status(ctx, vertical) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: status + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.sync.status(vertical=\"\")\n\nif res.status_code == 200\n # handle response\nend" + /sync/resync: + post: + operationId: resync + summary: Resync common objects across a vertical + parameters: [] + responses: + '200': + description: '' + tags: *ref_9 + x-speakeasy-group: sync + x-codeSamples: + - lang: typescript + label: resync + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.sync.resync(); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: resync + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.sync.resync() + + # Use the SDK ... + - lang: go + label: resync + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + + ctx := context.Background() + res, err := s.Sync.Resync(ctx) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: resync + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.sync.resync()\n\nif res.status_code == 200\n # handle response\nend" + /crm/companies: + get: + operationId: listCrmCompany + summary: List Companies + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmCompanyOutput' + tags: &ref_10 + - crm/companies + security: &ref_11 + - bearer: [] + x-speakeasy-group: crm.companies + x-codeSamples: + - lang: typescript + label: listCrmCompany + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.companies.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmCompany + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.companies.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmCompany + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Companies.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmCompany + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_companies.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createCrmCompany + summary: Create Companies + description: Create Companies in any supported CRM software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original CRM software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmCompanyInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmCompanyOutput' + tags: *ref_10 + security: *ref_11 + x-speakeasy-group: crm.companies + x-codeSamples: + - lang: typescript + label: createCrmCompany + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.companies.create({ + xConnectionToken: "", + unifiedCrmCompanyInput: { + name: "", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createCrmCompany + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.companies.create(x_connection_token="", unified_crm_company_input={ + "name": "", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createCrmCompany + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedCrmCompanyInput := components.UnifiedCrmCompanyInput{ + Name: "", + FieldMappings: components.UnifiedCrmCompanyInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Crm.Companies.Create(ctx, xConnectionToken, unifiedCrmCompanyInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmCompanyOutput != nil { + // handle response + } + } + - lang: ruby + label: createCrmCompany + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_companies.create(x_connection_token=\"\", unified_crm_company_input=::OpenApiSDK::Shared::UnifiedCrmCompanyInput.new(\n name: \"\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedCrmCompanyInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_crm_company_output.nil?\n # handle response\nend" + /crm/companies/{id}: + get: + operationId: retrieveCrmCompany + summary: Retrieve Companies + description: Retrieve Companies from any connected Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the company you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmCompanyOutput' + tags: *ref_10 + security: *ref_11 + x-speakeasy-group: crm.companies + x-codeSamples: + - lang: typescript + label: retrieveCrmCompany + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.companies.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmCompany + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.companies.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmCompany + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Companies.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmCompanyOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmCompany + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_companies.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_company_output.nil?\n # handle response\nend" + /crm/contacts: + get: + operationId: listCrmContacts + summary: List CRM Contacts + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmContactOutput' + tags: &ref_12 + - crm/contacts + security: &ref_13 + - bearer: [] + x-speakeasy-group: crm.contacts + x-codeSamples: + - lang: typescript + label: listCrmContacts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.contacts.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmContacts + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.contacts.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmContacts + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Contacts.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmContacts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_contacts.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createCrmContact + summary: Create Contacts + description: Create Contacts in any supported CRM + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original CRM software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmContactInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmContactOutput' + tags: *ref_12 + security: *ref_13 + x-speakeasy-group: crm.contacts + x-codeSamples: + - lang: typescript + label: createCrmContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.contacts.create({ + xConnectionToken: "", + unifiedCrmContactInput: { + firstName: "Jed", + lastName: "Kuhn", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createCrmContact + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.contacts.create(x_connection_token="", unified_crm_contact_input={ + "first_name": "Jed", + "last_name": "Kuhn", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createCrmContact + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedCrmContactInput := components.UnifiedCrmContactInput{ + FirstName: "Jed", + LastName: "Kuhn", + FieldMappings: components.UnifiedCrmContactInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Crm.Contacts.Create(ctx, xConnectionToken, unifiedCrmContactInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmContactOutput != nil { + // handle response + } + } + - lang: ruby + label: createCrmContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_contacts.create(x_connection_token=\"\", unified_crm_contact_input=::OpenApiSDK::Shared::UnifiedCrmContactInput.new(\n first_name: \"Jed\",\n last_name: \"Kuhn\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedCrmContactInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_crm_contact_output.nil?\n # handle response\nend" + /crm/contacts/{id}: + get: + operationId: retrieveCrmContact + summary: Retrieve Contacts + description: Retrieve Contacts from any connected CRM + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the `contact` you want to retrive. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original CRM software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmContactOutput' + tags: *ref_12 + security: *ref_13 + x-speakeasy-group: crm.contacts + x-codeSamples: + - lang: typescript + label: retrieveCrmContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.contacts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmContact + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.contacts.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmContact + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Contacts.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmContactOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_contacts.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_contact_output.nil?\n # handle response\nend" + /crm/deals: + get: + operationId: listCrmDeals + summary: List Deals + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmDealOutput' + tags: &ref_14 + - crm/deals + security: &ref_15 + - bearer: [] + x-speakeasy-group: crm.deals + x-codeSamples: + - lang: typescript + label: listCrmDeals + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.deals.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmDeals + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.deals.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmDeals + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Deals.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmDeals + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_deals.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createCrmDeal + summary: Create Deals + description: Create Deals in any supported Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmDealInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmDealOutput' + tags: *ref_14 + security: *ref_15 + x-speakeasy-group: crm.deals + x-codeSamples: + - lang: typescript + label: createCrmDeal + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.deals.create({ + xConnectionToken: "", + unifiedCrmDealInput: { + name: "", + description: "Multi-tiered human-resource model", + amount: 8592.13, + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createCrmDeal + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.deals.create(x_connection_token="", unified_crm_deal_input={ + "name": "", + "description": "Multi-tiered human-resource model", + "amount": 8592.13, + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createCrmDeal + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedCrmDealInput := components.UnifiedCrmDealInput{ + Name: "", + Description: "Multi-tiered human-resource model", + Amount: 8592.13, + FieldMappings: components.UnifiedCrmDealInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Crm.Deals.Create(ctx, xConnectionToken, unifiedCrmDealInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmDealOutput != nil { + // handle response + } + } + - lang: ruby + label: createCrmDeal + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_deals.create(x_connection_token=\"\", unified_crm_deal_input=::OpenApiSDK::Shared::UnifiedCrmDealInput.new(\n name: \"\",\n description: \"Multi-tiered human-resource model\",\n amount: 8592.13,\n field_mappings: ::OpenApiSDK::Shared::UnifiedCrmDealInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_crm_deal_output.nil?\n # handle response\nend" + /crm/deals/{id}: + get: + operationId: retrieveCrmDeal + summary: Retrieve Deals + description: Retrieve Deals from any connected Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the deal you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmDealOutput' + tags: *ref_14 + security: *ref_15 + x-speakeasy-group: crm.deals + x-codeSamples: + - lang: typescript + label: retrieveCrmDeal + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.deals.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmDeal + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.deals.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmDeal + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Deals.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmDealOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmDeal + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_deals.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_deal_output.nil?\n # handle response\nend" + /crm/engagements: + get: + operationId: listCrmEngagements + summary: List Engagements + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmEngagementOutput' + tags: &ref_16 + - crm/engagements + security: &ref_17 + - bearer: [] + x-speakeasy-group: crm.engagements + x-codeSamples: + - lang: typescript + label: listCrmEngagements + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.engagements.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmEngagements + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.engagements.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmEngagements + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Engagements.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmEngagements + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_engagements.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createCrmEngagement + summary: Create Engagements + description: Create Engagements in any supported Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmEngagementInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmEngagementOutput' + tags: *ref_16 + security: *ref_17 + x-speakeasy-group: crm.engagements + x-codeSamples: + - lang: typescript + label: createCrmEngagement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.engagements.create({ + xConnectionToken: "", + unifiedCrmEngagementInput: { + type: "", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createCrmEngagement + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.engagements.create(x_connection_token="", unified_crm_engagement_input={ + "type": "", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createCrmEngagement + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedCrmEngagementInput := components.UnifiedCrmEngagementInput{ + Type: "", + FieldMappings: components.UnifiedCrmEngagementInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Crm.Engagements.Create(ctx, xConnectionToken, unifiedCrmEngagementInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmEngagementOutput != nil { + // handle response + } + } + - lang: ruby + label: createCrmEngagement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_engagements.create(x_connection_token=\"\", unified_crm_engagement_input=::OpenApiSDK::Shared::UnifiedCrmEngagementInput.new(\n type: \"\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedCrmEngagementInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_crm_engagement_output.nil?\n # handle response\nend" + /crm/engagements/{id}: + get: + operationId: retrieveCrmEngagement + summary: Retrieve Engagements + description: Retrieve Engagements from any connected Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the engagement you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmEngagementOutput' + tags: *ref_16 + security: *ref_17 + x-speakeasy-group: crm.engagements + x-codeSamples: + - lang: typescript + label: retrieveCrmEngagement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.engagements.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmEngagement + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.engagements.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmEngagement + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Engagements.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmEngagementOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmEngagement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_engagements.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_engagement_output.nil?\n # handle response\nend" + /crm/notes: + get: + operationId: listCrmNote + summary: List Notes + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmNoteOutput' + tags: &ref_18 + - crm/notes + security: &ref_19 + - bearer: [] + x-speakeasy-group: crm.notes + x-codeSamples: + - lang: typescript + label: listCrmNote + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.notes.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmNote + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.notes.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmNote + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Notes.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmNote + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_notes.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createCrmNote + summary: Create Notes + description: Create Notes in any supported Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmNoteInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmNoteOutput' + tags: *ref_18 + security: *ref_19 + x-speakeasy-group: crm.notes + x-codeSamples: + - lang: typescript + label: createCrmNote + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.notes.create({ + xConnectionToken: "", + unifiedCrmNoteInput: { + content: "", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createCrmNote + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.notes.create(x_connection_token="", unified_crm_note_input={ + "content": "", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createCrmNote + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedCrmNoteInput := components.UnifiedCrmNoteInput{ + Content: "", + FieldMappings: components.UnifiedCrmNoteInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Crm.Notes.Create(ctx, xConnectionToken, unifiedCrmNoteInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmNoteOutput != nil { + // handle response + } + } + - lang: ruby + label: createCrmNote + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_notes.create(x_connection_token=\"\", unified_crm_note_input=::OpenApiSDK::Shared::UnifiedCrmNoteInput.new(\n content: \"\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedCrmNoteInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_crm_note_output.nil?\n # handle response\nend" + /crm/notes/{id}: + get: + operationId: retrieveCrmNote + summary: Retrieve Notes + description: Retrieve Notes from any connected Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the note you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmNoteOutput' + tags: *ref_18 + security: *ref_19 + x-speakeasy-group: crm.notes + x-codeSamples: + - lang: typescript + label: retrieveCrmNote + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.notes.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmNote + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.notes.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmNote + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Notes.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmNoteOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmNote + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_notes.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_note_output.nil?\n # handle response\nend" + /crm/stages: + get: + operationId: listCrmStages + summary: List Stages + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmStageOutput' + tags: &ref_20 + - crm/stages + security: &ref_21 + - bearer: [] + x-speakeasy-group: crm.stages + x-codeSamples: + - lang: typescript + label: listCrmStages + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.stages.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmStages + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.stages.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmStages + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Stages.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmStages + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_stages.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /crm/stages/{id}: + get: + operationId: retrieveCrmStage + summary: Retrieve Stages + description: Retrieve Stages from any connected Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the stage you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmStageOutput' + tags: *ref_20 + security: *ref_21 + x-speakeasy-group: crm.stages + x-codeSamples: + - lang: typescript + label: retrieveCrmStage + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.stages.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmStage + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.stages.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmStage + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Stages.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmStageOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmStage + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_stages.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_stage_output.nil?\n # handle response\nend" + /crm/tasks: + get: + operationId: listCrmTask + summary: List Tasks + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmTaskOutput' + tags: &ref_22 + - crm/tasks + security: &ref_23 + - bearer: [] + x-speakeasy-group: crm.tasks + x-codeSamples: + - lang: typescript + label: listCrmTask + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.tasks.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmTask + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.tasks.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmTask + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Tasks.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmTask + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_tasks.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createCrmTask + summary: Create Tasks + description: Create Tasks in any supported Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmTaskInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmTaskOutput' + tags: *ref_22 + security: *ref_23 + x-speakeasy-group: crm.tasks + x-codeSamples: + - lang: typescript + label: createCrmTask + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.tasks.create({ + xConnectionToken: "", + unifiedCrmTaskInput: { + subject: "", + content: "", + status: "", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createCrmTask + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.tasks.create(x_connection_token="", unified_crm_task_input={ + "subject": "", + "content": "", + "status": "", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createCrmTask + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedCrmTaskInput := components.UnifiedCrmTaskInput{ + Subject: "", + Content: "", + Status: "", + FieldMappings: components.UnifiedCrmTaskInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Crm.Tasks.Create(ctx, xConnectionToken, unifiedCrmTaskInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmTaskOutput != nil { + // handle response + } + } + - lang: ruby + label: createCrmTask + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_tasks.create(x_connection_token=\"\", unified_crm_task_input=::OpenApiSDK::Shared::UnifiedCrmTaskInput.new(\n subject: \"\",\n content: \"\",\n status: \"\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedCrmTaskInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_crm_task_output.nil?\n # handle response\nend" + /crm/tasks/{id}: + get: + operationId: retrieveCrmTask + summary: Retrieve Tasks + description: Retrieve Tasks from any connected Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the task you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmTaskOutput' + tags: *ref_22 + security: *ref_23 + x-speakeasy-group: crm.tasks + x-codeSamples: + - lang: typescript + label: retrieveCrmTask + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.tasks.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmTask + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.tasks.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmTask + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Tasks.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmTaskOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmTask + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_tasks.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_task_output.nil?\n # handle response\nend" + /crm/users: + get: + operationId: listCrmUsers + summary: List Users + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCrmUserOutput' + tags: &ref_24 + - crm/users + security: &ref_25 + - bearer: [] + x-speakeasy-group: crm.users + x-codeSamples: + - lang: typescript + label: listCrmUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.users.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listCrmUsers + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.users.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listCrmUsers + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Crm.Users.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listCrmUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_users.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /crm/users/{id}: + get: + operationId: retrieveCrmUser + summary: Retrieve Users + description: Retrieve Users from any connected Crm software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the user you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Crm software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCrmUserOutput' + tags: *ref_24 + security: *ref_25 + x-speakeasy-group: crm.users + x-codeSamples: + - lang: typescript + label: retrieveCrmUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.crm.users.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCrmUser + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.crm.users.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCrmUser + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Crm.Users.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCrmUserOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCrmUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.crm_users.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_crm_user_output.nil?\n # handle response\nend" + /ticketing/collections: + get: + operationId: listTicketingCollections + summary: List Collections + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedTicketingCollectionOutput + tags: &ref_26 + - ticketing/collections + security: &ref_27 + - bearer: [] + x-speakeasy-group: ticketing.collections + x-codeSamples: + - lang: typescript + label: listTicketingCollections + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.collections.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingCollections + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.collections.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingCollections + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Collections.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingCollections + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_collections.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ticketing/collections/{id}: + get: + operationId: retrieveCollection + summary: Retrieve Collections + description: Retrieve Collections from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the collection you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingCollectionOutput' + tags: *ref_26 + security: *ref_27 + x-speakeasy-group: ticketing.collections + x-codeSamples: + - lang: typescript + label: retrieveCollection + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.collections.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveCollection + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.collections.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveCollection + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Collections.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingCollectionOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveCollection + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_collections.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ticketing_collection_output.nil?\n # handle response\nend" + /ticketing/comments: + get: + operationId: listTicketingComments + summary: List Comments + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingCommentOutput' + tags: &ref_28 + - ticketing/comments + security: &ref_29 + - bearer: [] + x-speakeasy-group: ticketing.comments + x-codeSamples: + - lang: typescript + label: listTicketingComments + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.comments.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingComments + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.comments.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingComments + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Comments.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingComments + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_comments.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createTicketingComment + summary: Create Comments + description: Create Comments in any supported Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingCommentInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingCommentOutput' + tags: *ref_28 + security: *ref_29 + x-speakeasy-group: ticketing.comments + x-codeSamples: + - lang: typescript + label: createTicketingComment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.comments.create({ + xConnectionToken: "", + unifiedTicketingCommentInput: { + body: "", + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createTicketingComment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.comments.create(x_connection_token="", unified_ticketing_comment_input={ + "body": "", + }) + + if res is not None: + # handle response + pass + - lang: go + label: createTicketingComment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedTicketingCommentInput := components.UnifiedTicketingCommentInput{ + Body: "", + } + ctx := context.Background() + res, err := s.Ticketing.Comments.Create(ctx, xConnectionToken, unifiedTicketingCommentInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingCommentOutput != nil { + // handle response + } + } + - lang: ruby + label: createTicketingComment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_comments.create(x_connection_token=\"\", unified_ticketing_comment_input=::OpenApiSDK::Shared::UnifiedTicketingCommentInput.new(\n body: \"\",\n ), remote_data=false)\n\nif ! res.unified_ticketing_comment_output.nil?\n # handle response\nend" + /ticketing/comments/{id}: + get: + operationId: retrieveTicketingComment + summary: Retrieve Comments + description: Retrieve Comments from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the `comment` you want to retrive. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingCommentOutput' + tags: *ref_28 + security: *ref_29 + x-speakeasy-group: ticketing.comments + x-codeSamples: + - lang: typescript + label: retrieveTicketingComment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.comments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingComment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.comments.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingComment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Comments.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingComment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_comments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.object.nil?\n # handle response\nend" + /ticketing/tags: + get: + operationId: listTicketingTags + summary: List Tags + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingTagOutput' + tags: &ref_30 + - ticketing/tags + security: &ref_31 + - bearer: [] + x-speakeasy-group: ticketing.tags + x-codeSamples: + - lang: typescript + label: listTicketingTags + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.tags.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingTags + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.tags.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingTags + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Tags.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingTags + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_tags.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ticketing/tags/{id}: + get: + operationId: retrieveTicketingTag + summary: Retrieve Tags + description: Retrieve Tags from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the tag you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingTagOutput' + tags: *ref_30 + security: *ref_31 + x-speakeasy-group: ticketing.tags + x-codeSamples: + - lang: typescript + label: retrieveTicketingTag + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.tags.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingTag + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.tags.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingTag + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Tags.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingTagOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingTag + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_tags.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ticketing_tag_output.nil?\n # handle response\nend" + /ticketing/teams: + get: + operationId: listTicketingTeams + summary: List Teams + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedTicketingTeamOutput' + tags: &ref_32 + - ticketing/teams + security: &ref_33 + - bearer: [] + x-speakeasy-group: ticketing.teams + x-codeSamples: + - lang: typescript + label: listTicketingTeams + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.teams.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingTeams + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.teams.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingTeams + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Teams.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingTeams + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_teams.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ticketing/teams/{id}: + get: + operationId: retrieveTicketingTeam + summary: Retrieve Teams + description: Retrieve Teams from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the team you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingTeamOutput' + tags: *ref_32 + security: *ref_33 + x-speakeasy-group: ticketing.teams + x-codeSamples: + - lang: typescript + label: retrieveTicketingTeam + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.teams.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingTeam + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.teams.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingTeam + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Teams.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingTeamOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingTeam + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_teams.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ticketing_team_output.nil?\n # handle response\nend" + /linked_users: + post: + operationId: createLinkedUser + summary: Create Linked Users + parameters: [] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CreateLinkedUserDto' + responses: + '201': + description: '' + tags: &ref_34 + - linkedUsers + x-codeSamples: + - lang: typescript + label: createLinkedUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.linkedUsers.create({ + linkedUserOriginId: "", + alias: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createLinkedUser + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.linked_users.create(request={ + "linked_user_origin_id": "", + "alias": "", + }) + + # Use the SDK ... + - lang: go + label: createLinkedUser + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + request := components.CreateLinkedUserDto{ + LinkedUserOriginID: "", + Alias: "", + } + ctx := context.Background() + res, err := s.LinkedUsers.Create(ctx, request) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: createLinkedUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n\nreq = ::OpenApiSDK::Shared::CreateLinkedUserDto.new(\n linked_user_origin_id: \"\",\n alias_: \"\",\n)\n \nres = s.linked_users.create(req)\n\nif res.status_code == 200\n # handle response\nend" + get: + operationId: listLinkedUsers + summary: List Linked Users + parameters: [] + responses: + '200': + description: '' + tags: *ref_34 + x-codeSamples: + - lang: typescript + label: listLinkedUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.linkedUsers.list(); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listLinkedUsers + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.linked_users.list() + + # Use the SDK ... + - lang: go + label: listLinkedUsers + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + + ctx := context.Background() + res, err := s.LinkedUsers.List(ctx) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: listLinkedUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.linked_users.list()\n\nif res.status_code == 200\n # handle response\nend" + /linked_users/batch: + post: + operationId: importBatch + summary: Add Batch Linked Users + parameters: [] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CreateBatchLinkedUserDto' + responses: + '201': + description: '' + tags: *ref_34 + x-speakeasy-group: linked_users.batch + x-codeSamples: + - lang: typescript + label: importBatch + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.linkedUsers.batch.importBatch({ + linkedUserOriginIds: [ + "", + ], + alias: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: importBatch + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.linked_users.batch.import_batch(request={ + "linked_user_origin_ids": [ + "", + ], + "alias": "", + }) + + # Use the SDK ... + - lang: go + label: importBatch + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + request := components.CreateBatchLinkedUserDto{ + LinkedUserOriginIds: []string{ + "", + }, + Alias: "", + } + ctx := context.Background() + res, err := s.LinkedUsers.Batch.ImportBatch(ctx, request) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: importBatch + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n\nreq = ::OpenApiSDK::Shared::CreateBatchLinkedUserDto.new(\n linked_user_origin_ids: [\n \"\",\n ],\n alias_: \"\",\n)\n \nres = s.linked_users_batch.import_batch(req)\n\nif res.status_code == 200\n # handle response\nend" + /linked_users/single: + get: + operationId: retrieveLinkedUser + summary: Retrieve Linked Users + parameters: + - name: id + required: true + in: query + schema: + type: string + responses: + '200': + description: '' + tags: *ref_34 + x-speakeasy-group: linked_users.single + x-codeSamples: + - lang: typescript + label: retrieveLinkedUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.linkedUsers.single.retrieve({ + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveLinkedUser + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.linked_users.single.retrieve(id="") + + # Use the SDK ... + - lang: go + label: retrieveLinkedUser + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var id string = "" + ctx := context.Background() + res, err := s.LinkedUsers.Single.Retrieve(ctx, id) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: retrieveLinkedUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.linked_users_single.retrieve(id=\"\")\n\nif res.status_code == 200\n # handle response\nend" + /linked_users/fromRemoteId: + get: + operationId: remoteId + summary: Retrieve a Linked User From A Remote Id + parameters: + - name: remoteId + required: true + in: query + schema: + type: string + responses: + '200': + description: '' + tags: *ref_34 + x-speakeasy-group: linked_users.fromremoteid + x-codeSamples: + - lang: typescript + label: remoteId + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.linkedUsers.fromremoteid.remoteId({ + remoteId: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: remoteId + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.linked_users.fromremoteid.remote_id(remote_id="") + + # Use the SDK ... + - lang: go + label: remoteId + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var remoteID string = "" + ctx := context.Background() + res, err := s.LinkedUsers.Fromremoteid.RemoteID(ctx, remoteID) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: remoteId + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.linked_users_fromremoteid.remote_id(remote_id=\"\")\n\nif res.status_code == 200\n # handle response\nend" + /field_mappings/define: + post: + operationId: definitions + summary: Define target Field + parameters: [] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/DefineTargetFieldDto' + responses: + '201': + description: '' + tags: &ref_35 + - fieldMappings + x-speakeasy-group: field_mappings.define + x-codeSamples: + - lang: typescript + label: definitions + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.fieldMappings.define.definitions({ + objectTypeOwner: "", + name: "", + description: "Universal heuristic matrices", + dataType: "decimal", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: definitions + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.field_mappings.define.definitions(request={ + "object_type_owner": "", + "name": "", + "description": "Universal heuristic matrices", + "data_type": "decimal", + }) + + # Use the SDK ... + - lang: go + label: definitions + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + request := components.DefineTargetFieldDto{ + ObjectTypeOwner: "", + Name: "", + Description: "Universal heuristic matrices", + DataType: "decimal", + } + ctx := context.Background() + res, err := s.FieldMappings.Define.Definitions(ctx, request) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: definitions + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n\nreq = ::OpenApiSDK::Shared::DefineTargetFieldDto.new(\n object_type_owner: \"\",\n name: \"\",\n description: \"Universal heuristic matrices\",\n data_type: \"decimal\",\n)\n \nres = s.field_mappings_define.definitions(req)\n\nif res.status_code == 200\n # handle response\nend" + /field_mappings: + post: + operationId: defineCustomField + summary: Create Custom Field + parameters: [] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/CustomFieldCreateDto' + responses: + '201': + description: '' + tags: *ref_35 + x-codeSamples: + - lang: typescript + label: defineCustomField + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.fieldMappings.defineCustomField({ + objectTypeOwner: "", + name: "", + description: "Balanced multimedia policy", + dataType: "point", + sourceCustomFieldId: "", + sourceProvider: "", + linkedUserId: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: defineCustomField + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.field_mappings.define_custom_field(request={ + "object_type_owner": "", + "name": "", + "description": "Balanced multimedia policy", + "data_type": "point", + "source_custom_field_id": "", + "source_provider": "", + "linked_user_id": "", + }) + + # Use the SDK ... + - lang: go + label: defineCustomField + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + request := components.CustomFieldCreateDto{ + ObjectTypeOwner: "", + Name: "", + Description: "Balanced multimedia policy", + DataType: "point", + SourceCustomFieldID: "", + SourceProvider: "", + LinkedUserID: "", + } + ctx := context.Background() + res, err := s.FieldMappings.DefineCustomField(ctx, request) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: defineCustomField + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n\nreq = ::OpenApiSDK::Shared::CustomFieldCreateDto.new(\n object_type_owner: \"\",\n name: \"\",\n description: \"Balanced multimedia policy\",\n data_type: \"point\",\n source_custom_field_id: \"\",\n source_provider: \"\",\n linked_user_id: \"\",\n)\n \nres = s.field_mappings.define_custom_field(req)\n\nif res.status_code == 200\n # handle response\nend" + /field_mappings/map: + post: + operationId: map + summary: Map Custom Field + parameters: [] + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/MapFieldToProviderDto' + responses: + '201': + description: '' + tags: *ref_35 + x-speakeasy-group: field_mappings.map + x-codeSamples: + - lang: typescript + label: map + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.fieldMappings.map.map({ + attributeId: "", + sourceCustomFieldId: "", + sourceProvider: "", + linkedUserId: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: map + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + s.field_mappings.map.map(request={ + "attribute_id": "", + "source_custom_field_id": "", + "source_provider": "", + "linked_user_id": "", + }) + + # Use the SDK ... + - lang: go + label: map + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + request := components.MapFieldToProviderDto{ + AttributeID: "", + SourceCustomFieldID: "", + SourceProvider: "", + LinkedUserID: "", + } + ctx := context.Background() + res, err := s.FieldMappings.Map.Map(ctx, request) + if err != nil { + log.Fatal(err) + } + if res != nil { + // handle response + } + } + - lang: ruby + label: map + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n\nreq = ::OpenApiSDK::Shared::MapFieldToProviderDto.new(\n attribute_id: \"\",\n source_custom_field_id: \"\",\n source_provider: \"\",\n linked_user_id: \"\",\n)\n \nres = s.field_mappings_map.map(req)\n\nif res.status_code == 200\n # handle response\nend" + /passthrough: + post: + operationId: request + summary: Make a passthrough request + parameters: + - name: integrationId + required: true + in: query + schema: + type: string + - name: linkedUserId + required: true + in: query + schema: + type: string + - name: vertical + required: true + in: query + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/PassThroughRequestDto' + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/PassThroughResponse' + tags: + - passthrough + x-codeSamples: + - lang: typescript + label: request + source: |- + import { Panora } from "@panora/sdk"; + import { Method } from "@panora/sdk/models/components"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.passthrough.request({ + integrationId: "", + linkedUserId: "", + vertical: "", + passThroughRequestDto: { + method: Method.Get, + path: "/dev", + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: request + source: |- + import os + import panora_sdk + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.passthrough.request(integration_id="", linked_user_id="", vertical="", pass_through_request_dto={ + "method": panora_sdk.Method.GET, + "path": "/dev", + }) + + if res is not None: + # handle response + pass + - lang: go + label: request + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var integrationID string = "" + + var linkedUserID string = "" + + var vertical string = "" + + passThroughRequestDto := components.PassThroughRequestDto{ + Method: components.MethodGet, + Path: "/dev", + } + ctx := context.Background() + res, err := s.Passthrough.Request(ctx, integrationID, linkedUserID, vertical, passThroughRequestDto) + if err != nil { + log.Fatal(err) + } + if res.PassThroughResponse != nil { + // handle response + } + } + - lang: ruby + label: request + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.passthrough.request(integration_id=\"\", linked_user_id=\"\", vertical=\"\", pass_through_request_dto=::OpenApiSDK::Shared::PassThroughRequestDto.new(\n method: ::OpenApiSDK::Shared::Method::GET,\n path: \"/dev\",\n ))\n\nif ! res.pass_through_response.nil?\n # handle response\nend" + /hris/bankinfos: + get: + operationId: listHrisBankinfo + summary: List Bankinfos + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisBankinfoOutput' + tags: &ref_36 + - hris/bankinfos + security: &ref_37 + - bearer: [] + x-speakeasy-group: hris.bankinfos + x-codeSamples: + - lang: typescript + label: listHrisBankinfo + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.bankinfos.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisBankinfo + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.bankinfos.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisBankinfo + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Bankinfos.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisBankinfo + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_bankinfos.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/bankinfos/{id}: + get: + operationId: retrieveHrisBankinfo + summary: Retrieve Bank Infos + description: Retrieve Bank Infos from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the bankinfo you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisBankinfoOutput' + tags: *ref_36 + security: *ref_37 + x-speakeasy-group: hris.bankinfos + x-codeSamples: + - lang: typescript + label: retrieveHrisBankinfo + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.bankinfos.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisBankinfo + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.bankinfos.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisBankinfo + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Bankinfos.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisBankinfoOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisBankinfo + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_bankinfos.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_bankinfo_output.nil?\n # handle response\nend" + /hris/benefits: + get: + operationId: listHrisBenefit + summary: List Benefits + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisBenefitOutput' + tags: &ref_38 + - hris/benefits + security: &ref_39 + - bearer: [] + x-speakeasy-group: hris.benefits + x-codeSamples: + - lang: typescript + label: listHrisBenefit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.benefits.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisBenefit + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.benefits.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisBenefit + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Benefits.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisBenefit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_benefits.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/benefits/{id}: + get: + operationId: retrieveHrisBenefit + summary: Retrieve Benefits + description: Retrieve Benefits from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the benefit you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisBenefitOutput' + tags: *ref_38 + security: *ref_39 + x-speakeasy-group: hris.benefits + x-codeSamples: + - lang: typescript + label: retrieveHrisBenefit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.benefits.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisBenefit + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.benefits.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisBenefit + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Benefits.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisBenefitOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisBenefit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_benefits.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_benefit_output.nil?\n # handle response\nend" + /hris/companies: + get: + operationId: listHrisCompanys + summary: List Companys + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisCompanyOutput' + tags: + - hris/companies + security: + - bearer: [] + x-speakeasy-group: hris.companies + x-codeSamples: + - lang: typescript + label: listHrisCompanys + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.companies.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisCompanys + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.companies.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisCompanys + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Companies.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisCompanys + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_companies.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/dependents: + get: + operationId: listHrisDependents + summary: List Dependents + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisDependentOutput' + tags: &ref_40 + - hris/dependents + security: &ref_41 + - bearer: [] + x-speakeasy-group: hris.dependents + x-codeSamples: + - lang: typescript + label: listHrisDependents + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.dependents.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisDependents + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.dependents.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisDependents + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Dependents.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisDependents + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_dependents.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/dependents/{id}: + get: + operationId: retrieveHrisDependent + summary: Retrieve Dependents + description: Retrieve Dependents from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the dependent you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisDependentOutput' + tags: *ref_40 + security: *ref_41 + x-speakeasy-group: hris.dependents + x-codeSamples: + - lang: typescript + label: retrieveHrisDependent + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.dependents.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisDependent + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.dependents.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisDependent + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Dependents.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisDependentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisDependent + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_dependents.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_dependent_output.nil?\n # handle response\nend" + /hris/employeepayrollruns: + get: + operationId: listHrisEmployeePayrollRun + summary: List EmployeePayrollRuns + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedHrisEmployeepayrollrunOutput + tags: &ref_42 + - hris/employeepayrollruns + security: &ref_43 + - bearer: [] + x-speakeasy-group: hris.employeepayrollruns + x-codeSamples: + - lang: typescript + label: listHrisEmployeePayrollRun + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employeepayrollruns.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisEmployeePayrollRun + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employeepayrollruns.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisEmployeePayrollRun + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Employeepayrollruns.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisEmployeePayrollRun + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employeepayrollruns.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/employeepayrollruns/{id}: + get: + operationId: retrieveHrisEmployeePayrollRun + summary: Retrieve Employee Payroll Runs + description: Retrieve Employee Payroll Runs from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the employeepayrollrun you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisEmployeepayrollrunOutput' + tags: *ref_42 + security: *ref_43 + x-speakeasy-group: hris.employeepayrollruns + x-codeSamples: + - lang: typescript + label: retrieveHrisEmployeePayrollRun + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employeepayrollruns.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisEmployeePayrollRun + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employeepayrollruns.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisEmployeePayrollRun + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Employeepayrollruns.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisEmployeepayrollrunOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisEmployeePayrollRun + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employeepayrollruns.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_employeepayrollrun_output.nil?\n # handle response\nend" + /hris/employees: + get: + operationId: listHrisEmployee + summary: List Employees + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' + tags: &ref_44 + - hris/employees + security: &ref_45 + - bearer: [] + x-speakeasy-group: hris.employees + x-codeSamples: + - lang: typescript + label: listHrisEmployee + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employees.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisEmployee + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employees.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisEmployee + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Employees.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisEmployee + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employees.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createHrisEmployee + summary: Create Employees + description: Create Employees in any supported Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisEmployeeInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' + tags: *ref_44 + security: *ref_45 + x-speakeasy-group: hris.employees + x-codeSamples: + - lang: typescript + label: createHrisEmployee + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employees.create({ + xConnectionToken: "", + unifiedHrisEmployeeInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createHrisEmployee + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employees.create(x_connection_token="", unified_hris_employee_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createHrisEmployee + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedHrisEmployeeInput := components.UnifiedHrisEmployeeInput{} + ctx := context.Background() + res, err := s.Hris.Employees.Create(ctx, xConnectionToken, unifiedHrisEmployeeInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisEmployeeOutput != nil { + // handle response + } + } + - lang: ruby + label: createHrisEmployee + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employees.create(x_connection_token=\"\", unified_hris_employee_input=::OpenApiSDK::Shared::UnifiedHrisEmployeeInput.new(), remote_data=false)\n\nif ! res.unified_hris_employee_output.nil?\n # handle response\nend" + /hris/employees/{id}: + get: + operationId: retrieveHrisEmployee + summary: Retrieven Employees + description: Retrieven Employees from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the employee you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisEmployeeOutput' + tags: *ref_44 + security: *ref_45 + x-speakeasy-group: hris.employees + x-codeSamples: + - lang: typescript + label: retrieveHrisEmployee + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employees.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisEmployee + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employees.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisEmployee + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Employees.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisEmployeeOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisEmployee + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employees.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_employee_output.nil?\n # handle response\nend" + /hris/employerbenefits: + get: + operationId: listHrisEmployerBenefit + summary: List EmployerBenefits + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedHrisEmployerbenefitOutput + tags: &ref_46 + - hris/employerbenefits + security: &ref_47 + - bearer: [] + x-speakeasy-group: hris.employerbenefits + x-codeSamples: + - lang: typescript + label: listHrisEmployerBenefit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employerbenefits.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisEmployerBenefit + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employerbenefits.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisEmployerBenefit + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Employerbenefits.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisEmployerBenefit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employerbenefits.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/employerbenefits/{id}: + get: + operationId: retrieveHrisEmployerBenefit + summary: Retrieve Employer Benefits + description: Retrieve Employer Benefits from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the employerbenefit you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisEmployerbenefitOutput' + tags: *ref_46 + security: *ref_47 + x-speakeasy-group: hris.employerbenefits + x-codeSamples: + - lang: typescript + label: retrieveHrisEmployerBenefit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employerbenefits.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisEmployerBenefit + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employerbenefits.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisEmployerBenefit + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Employerbenefits.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisEmployerbenefitOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisEmployerBenefit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employerbenefits.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_employerbenefit_output.nil?\n # handle response\nend" + /hris/employments: + get: + operationId: listHrisEmployment + summary: List Employments + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisEmploymentOutput' + tags: &ref_48 + - hris/employments + security: &ref_49 + - bearer: [] + x-speakeasy-group: hris.employments + x-codeSamples: + - lang: typescript + label: listHrisEmployment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employments.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisEmployment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employments.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisEmployment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Employments.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisEmployment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employments.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/employments/{id}: + get: + operationId: retrieveHrisEmployment + summary: Retrieve Employments + description: Retrieve Employments from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the employment you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisEmploymentOutput' + tags: *ref_48 + security: *ref_49 + x-speakeasy-group: hris.employments + x-codeSamples: + - lang: typescript + label: retrieveHrisEmployment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.employments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisEmployment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.employments.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisEmployment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Employments.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisEmploymentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisEmployment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_employments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_employment_output.nil?\n # handle response\nend" + /hris/groups: + get: + operationId: listHrisGroup + summary: List Groups + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisGroupOutput' + tags: &ref_50 + - hris/groups + security: &ref_51 + - bearer: [] + x-speakeasy-group: hris.groups + x-codeSamples: + - lang: typescript + label: listHrisGroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.groups.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisGroup + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.groups.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisGroup + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Groups.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisGroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_groups.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/groups/{id}: + get: + operationId: retrieveHrisGroup + summary: Retrieve Groups + description: Retrieve Groups from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the group you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisGroupOutput' + tags: *ref_50 + security: *ref_51 + x-speakeasy-group: hris.groups + x-codeSamples: + - lang: typescript + label: retrieveHrisGroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.groups.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisGroup + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.groups.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisGroup + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Groups.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisGroupOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisGroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_groups.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_group_output.nil?\n # handle response\nend" + /hris/locations: + get: + operationId: listHrisLocation + summary: List Locations + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisLocationOutput' + tags: &ref_52 + - hris/locations + security: &ref_53 + - bearer: [] + x-speakeasy-group: hris.locations + x-codeSamples: + - lang: typescript + label: listHrisLocation + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.locations.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisLocation + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.locations.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisLocation + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Locations.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisLocation + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_locations.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/locations/{id}: + get: + operationId: retrieveHrisLocation + summary: Retrieve Locations + description: Retrieve Locations from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the location you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisLocationOutput' + tags: *ref_52 + security: *ref_53 + x-speakeasy-group: hris.locations + x-codeSamples: + - lang: typescript + label: retrieveHrisLocation + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.locations.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisLocation + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.locations.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisLocation + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Locations.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisLocationOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisLocation + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_locations.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_location_output.nil?\n # handle response\nend" + /hris/paygroups: + get: + operationId: listHrisPaygroup + summary: List PayGroups + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisPaygroupOutput' + tags: &ref_54 + - hris/paygroups + security: &ref_55 + - bearer: [] + x-speakeasy-group: hris.paygroups + x-codeSamples: + - lang: typescript + label: listHrisPaygroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.paygroups.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisPaygroup + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.paygroups.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisPaygroup + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Paygroups.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisPaygroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_paygroups.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/paygroups/{id}: + get: + operationId: retrieveHrisPaygroup + summary: Retrieve Pay Groups + description: Retrieve Pay Groups from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the paygroup you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisPaygroupOutput' + tags: *ref_54 + security: *ref_55 + x-speakeasy-group: hris.paygroups + x-codeSamples: + - lang: typescript + label: retrieveHrisPaygroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.paygroups.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisPaygroup + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.paygroups.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisPaygroup + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Paygroups.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisPaygroupOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisPaygroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_paygroups.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_paygroup_output.nil?\n # handle response\nend" + /hris/payrollruns: + get: + operationId: listHrisPayrollRuns + summary: List PayrollRuns + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisPayrollrunOutput' + tags: + - hris/payrollruns + security: + - bearer: [] + x-speakeasy-group: hris.payrollruns + x-codeSamples: + - lang: typescript + label: listHrisPayrollRuns + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.payrollruns.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisPayrollRuns + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.payrollruns.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisPayrollRuns + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Payrollruns.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisPayrollRuns + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_payrollruns.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/timeoffs: + get: + operationId: listHrisTimeoffs + summary: List Timeoffs + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' + tags: &ref_56 + - hris/timeoffs + security: &ref_57 + - bearer: [] + x-speakeasy-group: hris.timeoffs + x-codeSamples: + - lang: typescript + label: listHrisTimeoffs + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.timeoffs.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisTimeoffs + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.timeoffs.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisTimeoffs + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Timeoffs.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisTimeoffs + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_timeoffs.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createHrisTimeoff + summary: Create Timeoffs + description: Create Timeoffs in any supported Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisTimeoffInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' + tags: *ref_56 + security: *ref_57 + x-speakeasy-group: hris.timeoffs + x-codeSamples: + - lang: typescript + label: createHrisTimeoff + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.timeoffs.create({ + xConnectionToken: "", + unifiedHrisTimeoffInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createHrisTimeoff + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.timeoffs.create(x_connection_token="", unified_hris_timeoff_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createHrisTimeoff + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedHrisTimeoffInput := components.UnifiedHrisTimeoffInput{} + ctx := context.Background() + res, err := s.Hris.Timeoffs.Create(ctx, xConnectionToken, unifiedHrisTimeoffInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisTimeoffOutput != nil { + // handle response + } + } + - lang: ruby + label: createHrisTimeoff + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_timeoffs.create(x_connection_token=\"\", unified_hris_timeoff_input=::OpenApiSDK::Shared::UnifiedHrisTimeoffInput.new(), remote_data=false)\n\nif ! res.unified_hris_timeoff_output.nil?\n # handle response\nend" + /hris/timeoffs/{id}: + get: + operationId: retrieveHrisTimeoff + summary: Retrieve Timeoffs + description: Retrieve Timeoffs from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the timeoff you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisTimeoffOutput' + tags: *ref_56 + security: *ref_57 + x-speakeasy-group: hris.timeoffs + x-codeSamples: + - lang: typescript + label: retrieveHrisTimeoff + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.timeoffs.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisTimeoff + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.timeoffs.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisTimeoff + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Timeoffs.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisTimeoffOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisTimeoff + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_timeoffs.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_timeoff_output.nil?\n # handle response\nend" + /hris/timeoffbalances: + get: + operationId: listHrisTimeoffbalance + summary: List TimeoffBalances + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedHrisTimeoffbalanceOutput' + tags: &ref_58 + - hris/timeoffbalances + security: &ref_59 + - bearer: [] + x-speakeasy-group: hris.timeoffbalances + x-codeSamples: + - lang: typescript + label: listHrisTimeoffbalance + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.timeoffbalances.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listHrisTimeoffbalance + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.timeoffbalances.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listHrisTimeoffbalance + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Hris.Timeoffbalances.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listHrisTimeoffbalance + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_timeoffbalances.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /hris/timeoffbalances/{id}: + get: + operationId: retrieveHrisTimeoffbalance + summary: Retrieve Time off Balances + description: Retrieve Time off Balances from any connected Hris software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the timeoffbalance you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Hris software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedHrisTimeoffbalanceOutput' + tags: *ref_58 + security: *ref_59 + x-speakeasy-group: hris.timeoffbalances + x-codeSamples: + - lang: typescript + label: retrieveHrisTimeoffbalance + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.hris.timeoffbalances.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveHrisTimeoffbalance + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.hris.timeoffbalances.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveHrisTimeoffbalance + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Hris.Timeoffbalances.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedHrisTimeoffbalanceOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveHrisTimeoffbalance + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.hris_timeoffbalances.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_hris_timeoffbalance_output.nil?\n # handle response\nend" + /marketingautomation/actions: + get: + operationId: listMarketingautomationAction + summary: List Actions + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationActionOutput + tags: &ref_60 + - marketingautomation/actions + security: &ref_61 + - bearer: [] + x-speakeasy-group: marketingautomation.actions + x-codeSamples: + - lang: typescript + label: listMarketingautomationAction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.actions.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingautomationAction + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.actions.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingautomationAction + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Actions.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingautomationAction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationAction + summary: Create Action + description: Create a action in any supported Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationActionInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' + tags: *ref_60 + security: *ref_61 + x-speakeasy-group: marketingautomation.actions + x-codeSamples: + - lang: typescript + label: createMarketingautomationAction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.actions.create({ + xConnectionToken: "", + unifiedMarketingautomationActionInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createMarketingautomationAction + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.actions.create(x_connection_token="", unified_marketingautomation_action_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createMarketingautomationAction + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedMarketingautomationActionInput := components.UnifiedMarketingautomationActionInput{} + ctx := context.Background() + res, err := s.Marketingautomation.Actions.Create(ctx, xConnectionToken, unifiedMarketingautomationActionInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationActionOutput != nil { + // handle response + } + } + - lang: ruby + label: createMarketingautomationAction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.create(x_connection_token=\"\", unified_marketingautomation_action_input=::OpenApiSDK::Shared::UnifiedMarketingautomationActionInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_action_output.nil?\n # handle response\nend" + /marketingautomation/actions/{id}: + get: + operationId: retrieveMarketingautomationAction + summary: Retrieve Actions + description: Retrieve Actions from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the action you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' + tags: *ref_60 + security: *ref_61 + x-speakeasy-group: marketingautomation.actions + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationAction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.actions.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationAction + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.actions.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationAction + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Actions.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationActionOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationAction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_actions.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_action_output.nil?\n # handle response\nend" + /marketingautomation/automations: + get: + operationId: listMarketingautomationAutomation + summary: List Automations + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationAutomationOutput + tags: &ref_62 + - marketingautomation/automations + security: &ref_63 + - bearer: [] + x-speakeasy-group: marketingautomation.automations + x-codeSamples: + - lang: typescript + label: listMarketingautomationAutomation + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.automations.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingautomationAutomation + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.automations.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingautomationAutomation + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Automations.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingautomationAutomation + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationAutomation + summary: Create Automation + description: Create a automation in any supported Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationAutomationInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: >- + #/components/schemas/UnifiedMarketingautomationAutomationOutput + tags: *ref_62 + security: *ref_63 + x-speakeasy-group: marketingautomation.automations + x-codeSamples: + - lang: typescript + label: createMarketingautomationAutomation + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.automations.create({ + xConnectionToken: "", + unifiedMarketingautomationAutomationInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createMarketingautomationAutomation + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.automations.create(x_connection_token="", unified_marketingautomation_automation_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createMarketingautomationAutomation + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedMarketingautomationAutomationInput := components.UnifiedMarketingautomationAutomationInput{} + ctx := context.Background() + res, err := s.Marketingautomation.Automations.Create(ctx, xConnectionToken, unifiedMarketingautomationAutomationInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationAutomationOutput != nil { + // handle response + } + } + - lang: ruby + label: createMarketingautomationAutomation + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.create(x_connection_token=\"\", unified_marketingautomation_automation_input=::OpenApiSDK::Shared::UnifiedMarketingautomationAutomationInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_automation_output.nil?\n # handle response\nend" + /marketingautomation/automations/{id}: + get: + operationId: retrieveMarketingautomationAutomation + summary: Retrieve Automations + description: Retrieve Automations from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the automation you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: >- + #/components/schemas/UnifiedMarketingautomationAutomationOutput + tags: *ref_62 + security: *ref_63 + x-speakeasy-group: marketingautomation.automations + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationAutomation + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.automations.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationAutomation + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.automations.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationAutomation + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Automations.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationAutomationOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationAutomation + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_automations.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_automation_output.nil?\n # handle response\nend" + /marketingautomation/campaigns: + get: + operationId: listMarketingautomationCampaign + summary: List Campaigns + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedCampaignOutput' + tags: &ref_64 + - marketingautomation/campaigns + security: &ref_65 + - bearer: [] + x-speakeasy-group: marketingautomation.campaigns + x-codeSamples: + - lang: typescript + label: listMarketingautomationCampaign + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.campaigns.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingautomationCampaign + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.campaigns.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingautomationCampaign + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Campaigns.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingautomationCampaign + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationCampaign + summary: Create Campaign + description: Create a campaign in any supported Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationCampaignInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCampaignOutput' + tags: *ref_64 + security: *ref_65 + x-speakeasy-group: marketingautomation.campaigns + x-codeSamples: + - lang: typescript + label: createMarketingautomationCampaign + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.campaigns.create({ + xConnectionToken: "", + unifiedMarketingautomationCampaignInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createMarketingautomationCampaign + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.campaigns.create(x_connection_token="", unified_marketingautomation_campaign_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createMarketingautomationCampaign + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedMarketingautomationCampaignInput := components.UnifiedMarketingautomationCampaignInput{} + ctx := context.Background() + res, err := s.Marketingautomation.Campaigns.Create(ctx, xConnectionToken, unifiedMarketingautomationCampaignInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCampaignOutput != nil { + // handle response + } + } + - lang: ruby + label: createMarketingautomationCampaign + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.create(x_connection_token=\"\", unified_marketingautomation_campaign_input=::OpenApiSDK::Shared::UnifiedMarketingautomationCampaignInput.new(), remote_data=false)\n\nif ! res.unified_campaign_output.nil?\n # handle response\nend" + /marketingautomation/campaigns/{id}: + get: + operationId: retrieveMarketingautomationCampaign + summary: Retrieve Campaigns + description: Retrieve Campaigns from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the campaign you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedCampaignOutput' + tags: *ref_64 + security: *ref_65 + x-speakeasy-group: marketingautomation.campaigns + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationCampaign + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.campaigns.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationCampaign + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.campaigns.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationCampaign + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Campaigns.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedCampaignOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationCampaign + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_campaigns.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_campaign_output.nil?\n # handle response\nend" + /marketingautomation/contacts: + get: + operationId: listMarketingAutomationContacts + summary: List Contacts + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationContactOutput + tags: &ref_66 + - marketingautomation/contacts + security: &ref_67 + - bearer: [] + x-speakeasy-group: marketingautomation.contacts + x-codeSamples: + - lang: typescript + label: listMarketingAutomationContacts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.contacts.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingAutomationContacts + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.contacts.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingAutomationContacts + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Contacts.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingAutomationContacts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingAutomationContact + summary: Create Contact + description: Create a contact in any supported Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationContactInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' + tags: *ref_66 + security: *ref_67 + x-speakeasy-group: marketingautomation.contacts + x-codeSamples: + - lang: typescript + label: createMarketingAutomationContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.contacts.create({ + xConnectionToken: "", + unifiedMarketingautomationContactInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createMarketingAutomationContact + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.contacts.create(x_connection_token="", unified_marketingautomation_contact_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createMarketingAutomationContact + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedMarketingautomationContactInput := components.UnifiedMarketingautomationContactInput{} + ctx := context.Background() + res, err := s.Marketingautomation.Contacts.Create(ctx, xConnectionToken, unifiedMarketingautomationContactInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationContactOutput != nil { + // handle response + } + } + - lang: ruby + label: createMarketingAutomationContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.create(x_connection_token=\"\", unified_marketingautomation_contact_input=::OpenApiSDK::Shared::UnifiedMarketingautomationContactInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_contact_output.nil?\n # handle response\nend" + /marketingautomation/contacts/{id}: + get: + operationId: retrieveMarketingAutomationContact + summary: Retrieve Contacts + description: Retrieve Contacts from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the contact you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' + tags: *ref_66 + security: *ref_67 + x-speakeasy-group: marketingautomation.contacts + x-codeSamples: + - lang: typescript + label: retrieveMarketingAutomationContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.contacts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingAutomationContact + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.contacts.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingAutomationContact + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Contacts.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationContactOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingAutomationContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_contacts.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_contact_output.nil?\n # handle response\nend" + /marketingautomation/emails: + get: + operationId: listMarketingautomationEmails + summary: List Emails + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationEmailOutput + tags: &ref_68 + - marketingautomation/emails + security: &ref_69 + - bearer: [] + x-speakeasy-group: marketingautomation.emails + x-codeSamples: + - lang: typescript + label: listMarketingautomationEmails + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.emails.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingautomationEmails + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.emails.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingautomationEmails + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Emails.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingautomationEmails + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_emails.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/emails/{id}: + get: + operationId: retrieveMarketingautomationEmail + summary: Retrieve Emails + description: Retrieve Emails from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the email you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationEmailOutput' + tags: *ref_68 + security: *ref_69 + x-speakeasy-group: marketingautomation.emails + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationEmail + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.emails.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationEmail + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.emails.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationEmail + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Emails.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationEmailOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationEmail + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_emails.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_email_output.nil?\n # handle response\nend" + /marketingautomation/events: + get: + operationId: listMarketingAutomationEvents + summary: List Events + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationEventOutput + tags: &ref_70 + - marketingautomation/events + security: &ref_71 + - bearer: [] + x-speakeasy-group: marketingautomation.events + x-codeSamples: + - lang: typescript + label: listMarketingAutomationEvents + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.events.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingAutomationEvents + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.events.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingAutomationEvents + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Events.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingAutomationEvents + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_events.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/events/{id}: + get: + operationId: retrieveMarketingautomationEvent + summary: Retrieve Events + description: Retrieve Events from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the event you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationEventOutput' + tags: *ref_70 + security: *ref_71 + x-speakeasy-group: marketingautomation.events + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationEvent + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.events.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationEvent + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.events.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationEvent + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Events.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationEventOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationEvent + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_events.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_event_output.nil?\n # handle response\nend" + /marketingautomation/lists: + get: + operationId: listMarketingautomationLists + summary: List Lists + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationListOutput + tags: &ref_72 + - marketingautomation/lists + security: &ref_73 + - bearer: [] + x-speakeasy-group: marketingautomation.lists + x-codeSamples: + - lang: typescript + label: listMarketingautomationLists + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.lists.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingautomationLists + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.lists.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingautomationLists + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Lists.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingautomationLists + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationList + summary: Create Lists + description: Create Lists in any supported Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationListInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' + tags: *ref_72 + security: *ref_73 + x-speakeasy-group: marketingautomation.lists + x-codeSamples: + - lang: typescript + label: createMarketingautomationList + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.lists.create({ + xConnectionToken: "", + unifiedMarketingautomationListInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createMarketingautomationList + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.lists.create(x_connection_token="", unified_marketingautomation_list_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createMarketingautomationList + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedMarketingautomationListInput := components.UnifiedMarketingautomationListInput{} + ctx := context.Background() + res, err := s.Marketingautomation.Lists.Create(ctx, xConnectionToken, unifiedMarketingautomationListInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationListOutput != nil { + // handle response + } + } + - lang: ruby + label: createMarketingautomationList + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.create(x_connection_token=\"\", unified_marketingautomation_list_input=::OpenApiSDK::Shared::UnifiedMarketingautomationListInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_list_output.nil?\n # handle response\nend" + /marketingautomation/lists/{id}: + get: + operationId: retrieveMarketingautomationList + summary: Retrieve Lists + description: Retrieve Lists from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the list you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' + tags: *ref_72 + security: *ref_73 + x-speakeasy-group: marketingautomation.lists + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationList + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.lists.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationList + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.lists.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationList + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Lists.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationListOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationList + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_lists.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_list_output.nil?\n # handle response\nend" + /marketingautomation/messages: + get: + operationId: listMarketingautomationMessages + summary: List Messages + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationMessageOutput + tags: &ref_74 + - marketingautomation/messages + security: &ref_75 + - bearer: [] + x-speakeasy-group: marketingautomation.messages + x-codeSamples: + - lang: typescript + label: listMarketingautomationMessages + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.messages.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingautomationMessages + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.messages.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingautomationMessages + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Messages.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingautomationMessages + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_messages.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/messages/{id}: + get: + operationId: retrieveMarketingautomationMessage + summary: Retrieve Messages + description: Retrieve Messages from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the message you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationMessageOutput' + tags: *ref_74 + security: *ref_75 + x-speakeasy-group: marketingautomation.messages + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationMessage + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.messages.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationMessage + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.messages.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationMessage + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Messages.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationMessageOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationMessage + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_messages.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_message_output.nil?\n # handle response\nend" + /marketingautomation/templates: + get: + operationId: listMarketingautomationTemplates + summary: List Templates + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationTemplateOutput + tags: &ref_76 + - marketingautomation/templates + security: &ref_77 + - bearer: [] + x-speakeasy-group: marketingautomation.templates + x-codeSamples: + - lang: typescript + label: listMarketingautomationTemplates + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.templates.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingautomationTemplates + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.templates.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingautomationTemplates + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Templates.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingautomationTemplates + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createMarketingautomationTemplate + summary: Create Template + description: Create a template in any supported Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationTemplateInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' + tags: *ref_76 + security: *ref_77 + x-speakeasy-group: marketingautomation.templates + x-codeSamples: + - lang: typescript + label: createMarketingautomationTemplate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.templates.create({ + xConnectionToken: "", + unifiedMarketingautomationTemplateInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createMarketingautomationTemplate + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.templates.create(x_connection_token="", unified_marketingautomation_template_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createMarketingautomationTemplate + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedMarketingautomationTemplateInput := components.UnifiedMarketingautomationTemplateInput{} + ctx := context.Background() + res, err := s.Marketingautomation.Templates.Create(ctx, xConnectionToken, unifiedMarketingautomationTemplateInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationTemplateOutput != nil { + // handle response + } + } + - lang: ruby + label: createMarketingautomationTemplate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.create(x_connection_token=\"\", unified_marketingautomation_template_input=::OpenApiSDK::Shared::UnifiedMarketingautomationTemplateInput.new(), remote_data=false)\n\nif ! res.unified_marketingautomation_template_output.nil?\n # handle response\nend" + /marketingautomation/templates/{id}: + get: + operationId: retrieveMarketingautomationTemplate + summary: Retrieve Templates + description: Retrieve Templates from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the template you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' + tags: *ref_76 + security: *ref_77 + x-speakeasy-group: marketingautomation.templates + x-codeSamples: + - lang: typescript + label: retrieveMarketingautomationTemplate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.templates.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingautomationTemplate + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.templates.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingautomationTemplate + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Templates.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationTemplateOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingautomationTemplate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_templates.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_template_output.nil?\n # handle response\nend" + /marketingautomation/users: + get: + operationId: listMarketingAutomationUsers + summary: List Users + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedMarketingautomationUserOutput + tags: &ref_78 + - marketingautomation/users + security: &ref_79 + - bearer: [] + x-speakeasy-group: marketingautomation.users + x-codeSamples: + - lang: typescript + label: listMarketingAutomationUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.users.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listMarketingAutomationUsers + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.users.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listMarketingAutomationUsers + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Users.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listMarketingAutomationUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_users.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /marketingautomation/users/{id}: + get: + operationId: retrieveMarketingAutomationUser + summary: Retrieve Users + description: Retrieve Users from any connected Marketingautomation software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the user you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: >- + Set to true to include data from the original Marketingautomation software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedMarketingautomationUserOutput' + tags: *ref_78 + security: *ref_79 + x-speakeasy-group: marketingautomation.users + x-codeSamples: + - lang: typescript + label: retrieveMarketingAutomationUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.marketingautomation.users.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveMarketingAutomationUser + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.marketingautomation.users.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveMarketingAutomationUser + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Marketingautomation.Users.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedMarketingautomationUserOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveMarketingAutomationUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.marketingautomation_users.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_marketingautomation_user_output.nil?\n # handle response\nend" + /ats/activities: + get: + operationId: listAtsActivity + summary: List Activities + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsActivityOutput' + tags: &ref_80 + - ats/activities + security: &ref_81 + - bearer: [] + x-speakeasy-group: ats.activities + x-codeSamples: + - lang: typescript + label: listAtsActivity + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.activities.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsActivity + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.activities.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsActivity + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Activities.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsActivity + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_activities.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAtsActivity + summary: Create Activities + description: Create Activities in any supported Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsActivityInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsActivityOutput' + tags: *ref_80 + security: *ref_81 + x-speakeasy-group: ats.activities + x-codeSamples: + - lang: typescript + label: createAtsActivity + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.activities.create({ + xConnectionToken: "", + unifiedAtsActivityInput: { + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAtsActivity + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.activities.create(x_connection_token="", unified_ats_activity_input={ + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createAtsActivity + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAtsActivityInput := components.UnifiedAtsActivityInput{ + FieldMappings: components.UnifiedAtsActivityInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Ats.Activities.Create(ctx, xConnectionToken, unifiedAtsActivityInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsActivityOutput != nil { + // handle response + } + } + - lang: ruby + label: createAtsActivity + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_activities.create(x_connection_token=\"\", unified_ats_activity_input=::OpenApiSDK::Shared::UnifiedAtsActivityInput.new(\n field_mappings: ::OpenApiSDK::Shared::UnifiedAtsActivityInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_ats_activity_output.nil?\n # handle response\nend" + /ats/activities/{id}: + get: + operationId: retrieveAtsActivity + summary: Retrieve Activities + description: Retrieve Activities from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the activity you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsActivityOutput' + tags: *ref_80 + security: *ref_81 + x-speakeasy-group: ats.activities + x-codeSamples: + - lang: typescript + label: retrieveAtsActivity + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.activities.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsActivity + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.activities.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsActivity + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Activities.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsActivityOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsActivity + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_activities.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_activity_output.nil?\n # handle response\nend" + /ats/applications: + get: + operationId: listAtsApplication + summary: List Applications + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsApplicationOutput' + tags: &ref_82 + - ats/applications + security: &ref_83 + - bearer: [] + x-speakeasy-group: ats.applications + x-codeSamples: + - lang: typescript + label: listAtsApplication + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.applications.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsApplication + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.applications.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsApplication + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Applications.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsApplication + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_applications.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAtsApplication + summary: Create Applications + description: Create Applications in any supported Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsApplicationInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsApplicationOutput' + tags: *ref_82 + security: *ref_83 + x-speakeasy-group: ats.applications + x-codeSamples: + - lang: typescript + label: createAtsApplication + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.applications.create({ + xConnectionToken: "", + unifiedAtsApplicationInput: { + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAtsApplication + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.applications.create(x_connection_token="", unified_ats_application_input={ + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createAtsApplication + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAtsApplicationInput := components.UnifiedAtsApplicationInput{ + FieldMappings: components.UnifiedAtsApplicationInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Ats.Applications.Create(ctx, xConnectionToken, unifiedAtsApplicationInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsApplicationOutput != nil { + // handle response + } + } + - lang: ruby + label: createAtsApplication + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_applications.create(x_connection_token=\"\", unified_ats_application_input=::OpenApiSDK::Shared::UnifiedAtsApplicationInput.new(\n field_mappings: ::OpenApiSDK::Shared::UnifiedAtsApplicationInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_ats_application_output.nil?\n # handle response\nend" + /ats/applications/{id}: + get: + operationId: retrieveAtsApplication + summary: Retrieve Applications + description: Retrieve Applications from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the application you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsApplicationOutput' + tags: *ref_82 + security: *ref_83 + x-speakeasy-group: ats.applications + x-codeSamples: + - lang: typescript + label: retrieveAtsApplication + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.applications.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsApplication + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.applications.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsApplication + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Applications.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsApplicationOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsApplication + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_applications.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_application_output.nil?\n # handle response\nend" + /ats/attachments: + get: + operationId: listAtsAttachment + summary: List Attachments + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' + tags: &ref_84 + - ats/attachments + security: &ref_85 + - bearer: [] + x-speakeasy-group: ats.attachments + x-codeSamples: + - lang: typescript + label: listAtsAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.attachments.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsAttachment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.attachments.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsAttachment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Attachments.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_attachments.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAtsAttachment + summary: Create Attachments + description: Create Attachments in any supported ATS software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsAttachmentInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' + tags: *ref_84 + security: *ref_85 + x-speakeasy-group: ats.attachments + x-codeSamples: + - lang: typescript + label: createAtsAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.attachments.create({ + xConnectionToken: "", + unifiedAtsAttachmentInput: { + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAtsAttachment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.attachments.create(x_connection_token="", unified_ats_attachment_input={ + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createAtsAttachment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAtsAttachmentInput := components.UnifiedAtsAttachmentInput{ + FieldMappings: components.UnifiedAtsAttachmentInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Ats.Attachments.Create(ctx, xConnectionToken, unifiedAtsAttachmentInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsAttachmentOutput != nil { + // handle response + } + } + - lang: ruby + label: createAtsAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_attachments.create(x_connection_token=\"\", unified_ats_attachment_input=::OpenApiSDK::Shared::UnifiedAtsAttachmentInput.new(\n field_mappings: ::OpenApiSDK::Shared::UnifiedAtsAttachmentInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_ats_attachment_output.nil?\n # handle response\nend" + /ats/attachments/{id}: + get: + operationId: retrieveAtsAttachment + summary: Retrieve Attachments + description: Retrieve Attachments from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the attachment you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsAttachmentOutput' + tags: *ref_84 + security: *ref_85 + x-speakeasy-group: ats.attachments + x-codeSamples: + - lang: typescript + label: retrieveAtsAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.attachments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsAttachment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.attachments.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsAttachment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Attachments.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsAttachmentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_attachments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_attachment_output.nil?\n # handle response\nend" + /ats/candidates: + get: + operationId: listAtsCandidate + summary: List Candidates + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsCandidateOutput' + tags: &ref_86 + - ats/candidates + security: &ref_87 + - bearer: [] + x-speakeasy-group: ats.candidates + x-codeSamples: + - lang: typescript + label: listAtsCandidate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.candidates.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsCandidate + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.candidates.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsCandidate + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Candidates.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsCandidate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_candidates.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAtsCandidate + summary: Create Candidates + description: Create Candidates in any supported Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsCandidateInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsCandidateOutput' + tags: *ref_86 + security: *ref_87 + x-speakeasy-group: ats.candidates + x-codeSamples: + - lang: typescript + label: createAtsCandidate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.candidates.create({ + xConnectionToken: "", + unifiedAtsCandidateInput: { + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAtsCandidate + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.candidates.create(x_connection_token="", unified_ats_candidate_input={ + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createAtsCandidate + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAtsCandidateInput := components.UnifiedAtsCandidateInput{ + FieldMappings: components.UnifiedAtsCandidateInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Ats.Candidates.Create(ctx, xConnectionToken, unifiedAtsCandidateInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsCandidateOutput != nil { + // handle response + } + } + - lang: ruby + label: createAtsCandidate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_candidates.create(x_connection_token=\"\", unified_ats_candidate_input=::OpenApiSDK::Shared::UnifiedAtsCandidateInput.new(\n field_mappings: ::OpenApiSDK::Shared::UnifiedAtsCandidateInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_ats_candidate_output.nil?\n # handle response\nend" + /ats/candidates/{id}: + get: + operationId: retrieveAtsCandidate + summary: Retrieve Candidates + description: Retrieve Candidates from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the candidate you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsCandidateOutput' + tags: *ref_86 + security: *ref_87 + x-speakeasy-group: ats.candidates + x-codeSamples: + - lang: typescript + label: retrieveAtsCandidate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.candidates.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsCandidate + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.candidates.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsCandidate + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Candidates.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsCandidateOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsCandidate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_candidates.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_candidate_output.nil?\n # handle response\nend" + /ats/departments: + get: + operationId: listAtsDepartments + summary: List Departments + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsDepartmentOutput' + tags: &ref_88 + - ats/departments + security: &ref_89 + - bearer: [] + x-speakeasy-group: ats.departments + x-codeSamples: + - lang: typescript + label: listAtsDepartments + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.departments.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsDepartments + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.departments.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsDepartments + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Departments.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsDepartments + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_departments.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/departments/{id}: + get: + operationId: retrieveAtsDepartment + summary: Retrieve Departments + description: Retrieve Departments from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the department you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsDepartmentOutput' + tags: *ref_88 + security: *ref_89 + x-speakeasy-group: ats.departments + x-codeSamples: + - lang: typescript + label: retrieveAtsDepartment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.departments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsDepartment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.departments.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsDepartment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Departments.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsDepartmentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsDepartment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_departments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_department_output.nil?\n # handle response\nend" + /ats/interviews: + get: + operationId: listAtsInterview + summary: List Interviews + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsInterviewOutput' + tags: &ref_90 + - ats/interviews + security: &ref_91 + - bearer: [] + x-speakeasy-group: ats.interviews + x-codeSamples: + - lang: typescript + label: listAtsInterview + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.interviews.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsInterview + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.interviews.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsInterview + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Interviews.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsInterview + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_interviews.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAtsInterview + summary: Create Interviews + description: Create Interviews in any supported Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsInterviewInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsInterviewOutput' + tags: *ref_90 + security: *ref_91 + x-speakeasy-group: ats.interviews + x-codeSamples: + - lang: typescript + label: createAtsInterview + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.interviews.create({ + xConnectionToken: "", + unifiedAtsInterviewInput: { + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAtsInterview + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.interviews.create(x_connection_token="", unified_ats_interview_input={ + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createAtsInterview + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAtsInterviewInput := components.UnifiedAtsInterviewInput{ + FieldMappings: components.UnifiedAtsInterviewInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Ats.Interviews.Create(ctx, xConnectionToken, unifiedAtsInterviewInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsInterviewOutput != nil { + // handle response + } + } + - lang: ruby + label: createAtsInterview + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_interviews.create(x_connection_token=\"\", unified_ats_interview_input=::OpenApiSDK::Shared::UnifiedAtsInterviewInput.new(\n field_mappings: ::OpenApiSDK::Shared::UnifiedAtsInterviewInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_ats_interview_output.nil?\n # handle response\nend" + /ats/interviews/{id}: + get: + operationId: retrieveAtsInterview + summary: Retrieve Interviews + description: Retrieve Interviews from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the interview you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsInterviewOutput' + tags: *ref_90 + security: *ref_91 + x-speakeasy-group: ats.interviews + x-codeSamples: + - lang: typescript + label: retrieveAtsInterview + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.interviews.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsInterview + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.interviews.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsInterview + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Interviews.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsInterviewOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsInterview + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_interviews.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_interview_output.nil?\n # handle response\nend" + /ats/jobinterviewstages: + get: + operationId: listAtsJobInterviewStage + summary: List JobInterviewStages + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAtsJobinterviewstageOutput + tags: &ref_92 + - ats/jobinterviewstages + security: &ref_93 + - bearer: [] + x-speakeasy-group: ats.jobinterviewstages + x-codeSamples: + - lang: typescript + label: listAtsJobInterviewStage + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.jobinterviewstages.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsJobInterviewStage + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.jobinterviewstages.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsJobInterviewStage + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Jobinterviewstages.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsJobInterviewStage + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_jobinterviewstages.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/jobinterviewstages/{id}: + get: + operationId: retrieveAtsJobInterviewStage + summary: Retrieve Job Interview Stages + description: Retrieve Job Interview Stages from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the jobinterviewstage you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsJobinterviewstageOutput' + tags: *ref_92 + security: *ref_93 + x-speakeasy-group: ats.jobinterviewstages + x-codeSamples: + - lang: typescript + label: retrieveAtsJobInterviewStage + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.jobinterviewstages.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsJobInterviewStage + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.jobinterviewstages.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsJobInterviewStage + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Jobinterviewstages.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsJobinterviewstageOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsJobInterviewStage + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_jobinterviewstages.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_jobinterviewstage_output.nil?\n # handle response\nend" + /ats/jobs: + get: + operationId: listAtsJob + summary: List Jobs + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsJobOutput' + tags: &ref_94 + - ats/jobs + security: &ref_95 + - bearer: [] + x-speakeasy-group: ats.jobs + x-codeSamples: + - lang: typescript + label: listAtsJob + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.jobs.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsJob + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.jobs.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsJob + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Jobs.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsJob + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_jobs.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/jobs/{id}: + get: + operationId: retrieveAtsJob + summary: Retrieve Jobs + description: Retrieve Jobs from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the job you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsJobOutput' + tags: *ref_94 + security: *ref_95 + x-speakeasy-group: ats.jobs + x-codeSamples: + - lang: typescript + label: retrieveAtsJob + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.jobs.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsJob + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.jobs.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsJob + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Jobs.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsJobOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsJob + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_jobs.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_job_output.nil?\n # handle response\nend" + /ats/offers: + get: + operationId: listAtsOffer + summary: List Offers + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsOfferOutput' + tags: &ref_96 + - ats/offers + security: &ref_97 + - bearer: [] + x-speakeasy-group: ats.offers + x-codeSamples: + - lang: typescript + label: listAtsOffer + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.offers.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsOffer + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.offers.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsOffer + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Offers.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsOffer + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_offers.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/offers/{id}: + get: + operationId: retrieveAtsOffer + summary: Retrieve Offers + description: Retrieve Offers from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the offer you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsOfferOutput' + tags: *ref_96 + security: *ref_97 + x-speakeasy-group: ats.offers + x-codeSamples: + - lang: typescript + label: retrieveAtsOffer + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.offers.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsOffer + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.offers.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsOffer + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Offers.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsOfferOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsOffer + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_offers.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_offer_output.nil?\n # handle response\nend" + /ats/offices: + get: + operationId: listAtsOffice + summary: List Offices + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsOfficeOutput' + tags: &ref_98 + - ats/offices + security: &ref_99 + - bearer: [] + x-speakeasy-group: ats.offices + x-codeSamples: + - lang: typescript + label: listAtsOffice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.offices.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsOffice + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.offices.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsOffice + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Offices.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsOffice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_offices.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/offices/{id}: + get: + operationId: retrieveAtsOffice + summary: Retrieve Offices + description: Retrieve Offices from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the office you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsOfficeOutput' + tags: *ref_98 + security: *ref_99 + x-speakeasy-group: ats.offices + x-codeSamples: + - lang: typescript + label: retrieveAtsOffice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.offices.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsOffice + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.offices.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsOffice + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Offices.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsOfficeOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsOffice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_offices.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_office_output.nil?\n # handle response\nend" + /ats/rejectreasons: + get: + operationId: listAtsRejectReasons + summary: List RejectReasons + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsRejectreasonOutput' + tags: &ref_100 + - ats/rejectreasons + security: &ref_101 + - bearer: [] + x-speakeasy-group: ats.rejectreasons + x-codeSamples: + - lang: typescript + label: listAtsRejectReasons + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.rejectreasons.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsRejectReasons + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.rejectreasons.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsRejectReasons + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Rejectreasons.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsRejectReasons + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_rejectreasons.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/rejectreasons/{id}: + get: + operationId: retrieveAtsRejectReason + summary: Retrieve Reject Reasons + description: Retrieve Reject Reasons from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the rejectreason you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsRejectreasonOutput' + tags: *ref_100 + security: *ref_101 + x-speakeasy-group: ats.rejectreasons + x-codeSamples: + - lang: typescript + label: retrieveAtsRejectReason + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.rejectreasons.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsRejectReason + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.rejectreasons.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsRejectReason + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Rejectreasons.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsRejectreasonOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsRejectReason + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_rejectreasons.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_rejectreason_output.nil?\n # handle response\nend" + /ats/scorecards: + get: + operationId: listAtsScorecard + summary: List ScoreCards + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsScorecardOutput' + tags: &ref_102 + - ats/scorecards + security: &ref_103 + - bearer: [] + x-speakeasy-group: ats.scorecards + x-codeSamples: + - lang: typescript + label: listAtsScorecard + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.scorecards.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsScorecard + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.scorecards.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsScorecard + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Scorecards.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsScorecard + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_scorecards.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/scorecards/{id}: + get: + operationId: retrieveAtsScorecard + summary: Retrieve Score Cards + description: Retrieve Score Cards from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the scorecard you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsScorecardOutput' + tags: *ref_102 + security: *ref_103 + x-speakeasy-group: ats.scorecards + x-codeSamples: + - lang: typescript + label: retrieveAtsScorecard + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.scorecards.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsScorecard + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.scorecards.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsScorecard + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Scorecards.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsScorecardOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsScorecard + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_scorecards.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_scorecard_output.nil?\n # handle response\nend" + /ats/tags: + get: + operationId: listAtsTags + summary: List Tags + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsTagOutput' + tags: &ref_104 + - ats/tags + security: &ref_105 + - bearer: [] + x-speakeasy-group: ats.tags + x-codeSamples: + - lang: typescript + label: listAtsTags + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.tags.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsTags + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.tags.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsTags + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Tags.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsTags + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_tags.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/tags/{id}: + get: + operationId: retrieveAtsTag + summary: Retrieve Tags + description: Retrieve Tags from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the tag you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsTagOutput' + tags: *ref_104 + security: *ref_105 + x-speakeasy-group: ats.tags + x-codeSamples: + - lang: typescript + label: retrieveAtsTag + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.tags.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsTag + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.tags.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsTag + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Tags.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsTagOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsTag + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_tags.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_tag_output.nil?\n # handle response\nend" + /ats/users: + get: + operationId: listAtsUsers + summary: List Users + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsUserOutput' + tags: &ref_106 + - ats/users + security: &ref_107 + - bearer: [] + x-speakeasy-group: ats.users + x-codeSamples: + - lang: typescript + label: listAtsUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.users.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsUsers + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.users.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsUsers + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Users.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_users.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/users/{id}: + get: + operationId: retrieveAtsUser + summary: Retrieve Users + description: Retrieve Users from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the user you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsUserOutput' + tags: *ref_106 + security: *ref_107 + x-speakeasy-group: ats.users + x-codeSamples: + - lang: typescript + label: retrieveAtsUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.users.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsUser + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.users.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsUser + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Users.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsUserOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_users.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_user_output.nil?\n # handle response\nend" + /ats/eeocs: + get: + operationId: listAtsEeocs + summary: List Eeocss + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAtsEeocsOutput' + tags: &ref_108 + - ats/eeocs + security: &ref_109 + - bearer: [] + x-speakeasy-group: ats.eeocs + x-codeSamples: + - lang: typescript + label: listAtsEeocs + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.eeocs.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAtsEeocs + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.eeocs.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAtsEeocs + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ats.Eeocs.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAtsEeocs + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_eeocs.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /ats/eeocs/{id}: + get: + operationId: retrieveAtsEeocs + summary: Retrieve Eeocs + description: Retrieve a eeocs from any connected Ats software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the eeocs you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ats software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAtsEeocsOutput' + tags: *ref_108 + security: *ref_109 + x-speakeasy-group: ats.eeocs + x-codeSamples: + - lang: typescript + label: retrieveAtsEeocs + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ats.eeocs.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAtsEeocs + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ats.eeocs.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAtsEeocs + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ats.Eeocs.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAtsEeocsOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAtsEeocs + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ats_eeocs.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ats_eeocs_output.nil?\n # handle response\nend" + /accounting/accounts: + get: + operationId: listAccountingAccounts + summary: List Accounts + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingAccountOutput' + tags: &ref_110 + - accounting/accounts + security: &ref_111 + - bearer: [] + x-speakeasy-group: accounting.accounts + x-codeSamples: + - lang: typescript + label: listAccountingAccounts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.accounts.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingAccounts + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.accounts.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingAccounts + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Accounts.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingAccounts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_accounts.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingAccount + summary: Create Accounts + description: Create accounts in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingAccountInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingAccountOutput' + tags: *ref_110 + security: *ref_111 + x-speakeasy-group: accounting.accounts + x-codeSamples: + - lang: typescript + label: createAccountingAccount + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.accounts.create({ + xConnectionToken: "", + unifiedAccountingAccountInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingAccount + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.accounts.create(x_connection_token="", unified_accounting_account_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingAccount + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingAccountInput := components.UnifiedAccountingAccountInput{} + ctx := context.Background() + res, err := s.Accounting.Accounts.Create(ctx, xConnectionToken, unifiedAccountingAccountInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingAccountOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingAccount + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_accounts.create(x_connection_token=\"\", unified_accounting_account_input=::OpenApiSDK::Shared::UnifiedAccountingAccountInput.new(), remote_data=false)\n\nif ! res.unified_accounting_account_output.nil?\n # handle response\nend" + /accounting/accounts/{id}: + get: + operationId: retrieveAccountingAccount + summary: Retrieve Accounts + description: Retrieve Accounts from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the account you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingAccountOutput' + tags: *ref_110 + security: *ref_111 + x-speakeasy-group: accounting.accounts + x-codeSamples: + - lang: typescript + label: retrieveAccountingAccount + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.accounts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingAccount + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.accounts.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingAccount + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Accounts.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingAccountOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingAccount + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_accounts.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_account_output.nil?\n # handle response\nend" + /accounting/addresses: + get: + operationId: listAccountingAddress + summary: List Addresss + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingAddressOutput' + tags: &ref_112 + - accounting/addresses + security: &ref_113 + - bearer: [] + x-speakeasy-group: accounting.addresses + x-codeSamples: + - lang: typescript + label: listAccountingAddress + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.addresses.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingAddress + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.addresses.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingAddress + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Addresses.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingAddress + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_addresses.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/addresses/{id}: + get: + operationId: retrieveAccountingAddress + summary: Retrieve Addresses + description: Retrieve Addresses from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the address you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingAddressOutput' + tags: *ref_112 + security: *ref_113 + x-speakeasy-group: accounting.addresses + x-codeSamples: + - lang: typescript + label: retrieveAccountingAddress + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.addresses.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingAddress + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.addresses.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingAddress + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Addresses.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingAddressOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingAddress + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_addresses.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_address_output.nil?\n # handle response\nend" + /accounting/attachments: + get: + operationId: listAccountingAttachments + summary: List Attachments + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingAttachmentOutput + tags: &ref_114 + - accounting/attachments + security: &ref_115 + - bearer: [] + x-speakeasy-group: accounting.attachments + x-codeSamples: + - lang: typescript + label: listAccountingAttachments + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.attachments.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingAttachments + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.attachments.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingAttachments + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Attachments.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingAttachments + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_attachments.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingAttachment + summary: Create Attachments + description: Create attachments in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingAttachmentInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' + tags: *ref_114 + security: *ref_115 + x-speakeasy-group: accounting.attachments + x-codeSamples: + - lang: typescript + label: createAccountingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.attachments.create({ + xConnectionToken: "", + unifiedAccountingAttachmentInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingAttachment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.attachments.create(x_connection_token="", unified_accounting_attachment_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingAttachment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingAttachmentInput := components.UnifiedAccountingAttachmentInput{} + ctx := context.Background() + res, err := s.Accounting.Attachments.Create(ctx, xConnectionToken, unifiedAccountingAttachmentInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingAttachmentOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_attachments.create(x_connection_token=\"\", unified_accounting_attachment_input=::OpenApiSDK::Shared::UnifiedAccountingAttachmentInput.new(), remote_data=false)\n\nif ! res.unified_accounting_attachment_output.nil?\n # handle response\nend" + /accounting/attachments/{id}: + get: + operationId: retrieveAccountingAttachment + summary: Retrieve Attachments + description: Retrieve attachments from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the attachment you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' + tags: *ref_114 + security: *ref_115 + x-speakeasy-group: accounting.attachments + x-codeSamples: + - lang: typescript + label: retrieveAccountingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.attachments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingAttachment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.attachments.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingAttachment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Attachments.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingAttachmentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_attachments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_attachment_output.nil?\n # handle response\nend" + /accounting/balancesheets: + get: + operationId: listAccountingBalanceSheets + summary: List BalanceSheets + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingBalancesheetOutput + tags: &ref_116 + - accounting/balancesheets + security: &ref_117 + - bearer: [] + x-speakeasy-group: accounting.balancesheets + x-codeSamples: + - lang: typescript + label: listAccountingBalanceSheets + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.balancesheets.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingBalanceSheets + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.balancesheets.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingBalanceSheets + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Balancesheets.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingBalanceSheets + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_balancesheets.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/balancesheets/{id}: + get: + operationId: retrieveAccountingBalanceSheet + summary: Retrieve BalanceSheets + description: Retrieve BalanceSheets from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the balancesheet you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingBalancesheetOutput' + tags: *ref_116 + security: *ref_117 + x-speakeasy-group: accounting.balancesheets + x-codeSamples: + - lang: typescript + label: retrieveAccountingBalanceSheet + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.balancesheets.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingBalanceSheet + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.balancesheets.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingBalanceSheet + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Balancesheets.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingBalancesheetOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingBalanceSheet + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_balancesheets.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_balancesheet_output.nil?\n # handle response\nend" + /accounting/cashflowstatements: + get: + operationId: listAccountingCashflowStatement + summary: List CashflowStatements + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingCashflowstatementOutput + tags: &ref_118 + - accounting/cashflowstatements + security: &ref_119 + - bearer: [] + x-speakeasy-group: accounting.cashflowstatements + x-codeSamples: + - lang: typescript + label: listAccountingCashflowStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.cashflowstatements.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingCashflowStatement + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.cashflowstatements.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingCashflowStatement + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Cashflowstatements.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingCashflowStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_cashflowstatements.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/cashflowstatements/{id}: + get: + operationId: retrieveAccountingCashflowStatement + summary: Retrieve Cashflow Statements + description: Retrieve Cashflow Statements from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the cashflowstatement you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingCashflowstatementOutput' + tags: *ref_118 + security: *ref_119 + x-speakeasy-group: accounting.cashflowstatements + x-codeSamples: + - lang: typescript + label: retrieveAccountingCashflowStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.cashflowstatements.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingCashflowStatement + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.cashflowstatements.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingCashflowStatement + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Cashflowstatements.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingCashflowstatementOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingCashflowStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_cashflowstatements.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_cashflowstatement_output.nil?\n # handle response\nend" + /accounting/companyinfos: + get: + operationId: listAccountingCompanyInfos + summary: List CompanyInfos + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingCompanyinfoOutput + tags: &ref_120 + - accounting/companyinfos + security: &ref_121 + - bearer: [] + x-speakeasy-group: accounting.companyinfos + x-codeSamples: + - lang: typescript + label: listAccountingCompanyInfos + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.companyinfos.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingCompanyInfos + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.companyinfos.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingCompanyInfos + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Companyinfos.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingCompanyInfos + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_companyinfos.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/companyinfos/{id}: + get: + operationId: retrieveAccountingCompanyInfo + summary: Retrieve Company Infos + description: Retrieve Company Infos from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the companyinfo you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingCompanyinfoOutput' + tags: *ref_120 + security: *ref_121 + x-speakeasy-group: accounting.companyinfos + x-codeSamples: + - lang: typescript + label: retrieveAccountingCompanyInfo + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.companyinfos.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingCompanyInfo + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.companyinfos.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingCompanyInfo + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Companyinfos.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingCompanyinfoOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingCompanyInfo + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_companyinfos.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_companyinfo_output.nil?\n # handle response\nend" + /accounting/contacts: + get: + operationId: listAccountingContacts + summary: List Contacts + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingContactOutput' + tags: &ref_122 + - accounting/contacts + security: &ref_123 + - bearer: [] + x-speakeasy-group: accounting.contacts + x-codeSamples: + - lang: typescript + label: listAccountingContacts + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.contacts.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingContacts + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.contacts.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingContacts + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Contacts.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingContacts + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_contacts.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingContact + summary: Create Contacts + description: Create contacts in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingContactInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingContactOutput' + tags: *ref_122 + security: *ref_123 + x-speakeasy-group: accounting.contacts + x-codeSamples: + - lang: typescript + label: createAccountingContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.contacts.create({ + xConnectionToken: "", + unifiedAccountingContactInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingContact + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.contacts.create(x_connection_token="", unified_accounting_contact_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingContact + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingContactInput := components.UnifiedAccountingContactInput{} + ctx := context.Background() + res, err := s.Accounting.Contacts.Create(ctx, xConnectionToken, unifiedAccountingContactInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingContactOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_contacts.create(x_connection_token=\"\", unified_accounting_contact_input=::OpenApiSDK::Shared::UnifiedAccountingContactInput.new(), remote_data=false)\n\nif ! res.unified_accounting_contact_output.nil?\n # handle response\nend" + /accounting/contacts/{id}: + get: + operationId: retrieveAccountingContact + summary: Retrieve Contacts + description: Retrieve Contacts from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the contact you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingContactOutput' + tags: *ref_122 + security: *ref_123 + x-speakeasy-group: accounting.contacts + x-codeSamples: + - lang: typescript + label: retrieveAccountingContact + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.contacts.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingContact + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.contacts.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingContact + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Contacts.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingContactOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingContact + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_contacts.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_contact_output.nil?\n # handle response\nend" + /accounting/creditnotes: + get: + operationId: listAccountingCreditNote + summary: List CreditNotes + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingCreditnoteOutput + tags: &ref_124 + - accounting/creditnotes + security: &ref_125 + - bearer: [] + x-speakeasy-group: accounting.creditnotes + x-codeSamples: + - lang: typescript + label: listAccountingCreditNote + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.creditnotes.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingCreditNote + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.creditnotes.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingCreditNote + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Creditnotes.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingCreditNote + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_creditnotes.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/creditnotes/{id}: + get: + operationId: retrieveAccountingCreditNote + summary: Retrieve Credit Notes + description: Retrieve Credit Notes from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the creditnote you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingCreditnoteOutput' + tags: *ref_124 + security: *ref_125 + x-speakeasy-group: accounting.creditnotes + x-codeSamples: + - lang: typescript + label: retrieveAccountingCreditNote + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.creditnotes.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingCreditNote + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.creditnotes.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingCreditNote + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Creditnotes.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingCreditnoteOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingCreditNote + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_creditnotes.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_creditnote_output.nil?\n # handle response\nend" + /accounting/expenses: + get: + operationId: listAccountingExpense + summary: List Expenses + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' + tags: &ref_126 + - accounting/expenses + security: &ref_127 + - bearer: [] + x-speakeasy-group: accounting.expenses + x-codeSamples: + - lang: typescript + label: listAccountingExpense + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.expenses.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingExpense + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.expenses.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingExpense + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Expenses.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingExpense + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_expenses.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingExpense + summary: Create Expenses + description: Create Expenses in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingExpenseInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' + tags: *ref_126 + security: *ref_127 + x-speakeasy-group: accounting.expenses + x-codeSamples: + - lang: typescript + label: createAccountingExpense + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.expenses.create({ + xConnectionToken: "", + unifiedAccountingExpenseInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingExpense + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.expenses.create(x_connection_token="", unified_accounting_expense_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingExpense + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingExpenseInput := components.UnifiedAccountingExpenseInput{} + ctx := context.Background() + res, err := s.Accounting.Expenses.Create(ctx, xConnectionToken, unifiedAccountingExpenseInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingExpenseOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingExpense + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_expenses.create(x_connection_token=\"\", unified_accounting_expense_input=::OpenApiSDK::Shared::UnifiedAccountingExpenseInput.new(), remote_data=false)\n\nif ! res.unified_accounting_expense_output.nil?\n # handle response\nend" + /accounting/expenses/{id}: + get: + operationId: retrieveAccountingExpense + summary: Retrieve Expenses + description: Retrieve Expenses from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the expense you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' + tags: *ref_126 + security: *ref_127 + x-speakeasy-group: accounting.expenses + x-codeSamples: + - lang: typescript + label: retrieveAccountingExpense + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.expenses.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingExpense + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.expenses.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingExpense + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Expenses.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingExpenseOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingExpense + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_expenses.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_expense_output.nil?\n # handle response\nend" + /accounting/incomestatements: + get: + operationId: listAccountingIncomeStatement + summary: List IncomeStatements + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingIncomestatementOutput + tags: &ref_128 + - accounting/incomestatements + security: &ref_129 + - bearer: [] + x-speakeasy-group: accounting.incomestatements + x-codeSamples: + - lang: typescript + label: listAccountingIncomeStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.incomestatements.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingIncomeStatement + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.incomestatements.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingIncomeStatement + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Incomestatements.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingIncomeStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_incomestatements.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/incomestatements/{id}: + get: + operationId: retrieveAccountingIncomeStatement + summary: Retrieve Income Statements + description: Retrieve Income Statements from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the incomestatement you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingIncomestatementOutput' + tags: *ref_128 + security: *ref_129 + x-speakeasy-group: accounting.incomestatements + x-codeSamples: + - lang: typescript + label: retrieveAccountingIncomeStatement + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.incomestatements.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingIncomeStatement + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.incomestatements.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingIncomeStatement + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Incomestatements.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingIncomestatementOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingIncomeStatement + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_incomestatements.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_incomestatement_output.nil?\n # handle response\nend" + /accounting/invoices: + get: + operationId: listAccountingInvoice + summary: List Invoices + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' + tags: &ref_130 + - accounting/invoices + security: &ref_131 + - bearer: [] + x-speakeasy-group: accounting.invoices + x-codeSamples: + - lang: typescript + label: listAccountingInvoice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.invoices.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingInvoice + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.invoices.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingInvoice + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Invoices.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingInvoice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_invoices.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingInvoice + summary: Create Invoices + description: Create invoices in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingInvoiceInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' + tags: *ref_130 + security: *ref_131 + x-speakeasy-group: accounting.invoices + x-codeSamples: + - lang: typescript + label: createAccountingInvoice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.invoices.create({ + xConnectionToken: "", + unifiedAccountingInvoiceInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingInvoice + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.invoices.create(x_connection_token="", unified_accounting_invoice_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingInvoice + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingInvoiceInput := components.UnifiedAccountingInvoiceInput{} + ctx := context.Background() + res, err := s.Accounting.Invoices.Create(ctx, xConnectionToken, unifiedAccountingInvoiceInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingInvoiceOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingInvoice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_invoices.create(x_connection_token=\"\", unified_accounting_invoice_input=::OpenApiSDK::Shared::UnifiedAccountingInvoiceInput.new(), remote_data=false)\n\nif ! res.unified_accounting_invoice_output.nil?\n # handle response\nend" + /accounting/invoices/{id}: + get: + operationId: retrieveAccountingInvoice + summary: Retrieve Invoices + description: Retrieve Invoices from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the invoice you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' + tags: *ref_130 + security: *ref_131 + x-speakeasy-group: accounting.invoices + x-codeSamples: + - lang: typescript + label: retrieveAccountingInvoice + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.invoices.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingInvoice + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.invoices.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingInvoice + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Invoices.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingInvoiceOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingInvoice + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_invoices.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_invoice_output.nil?\n # handle response\nend" + /accounting/items: + get: + operationId: listAccountingItem + summary: List Items + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingItemOutput' + tags: &ref_132 + - accounting/items + security: &ref_133 + - bearer: [] + x-speakeasy-group: accounting.items + x-codeSamples: + - lang: typescript + label: listAccountingItem + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.items.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingItem + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.items.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingItem + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Items.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingItem + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_items.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/items/{id}: + get: + operationId: retrieveAccountingItem + summary: Retrieve Items + description: Retrieve Items from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the item you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingItemOutput' + tags: *ref_132 + security: *ref_133 + x-speakeasy-group: accounting.items + x-codeSamples: + - lang: typescript + label: retrieveAccountingItem + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.items.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingItem + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.items.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingItem + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Items.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingItemOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingItem + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_items.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_item_output.nil?\n # handle response\nend" + /accounting/journalentries: + get: + operationId: listAccountingJournalEntry + summary: List JournalEntrys + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingJournalentryOutput + tags: &ref_134 + - accounting/journalentries + security: &ref_135 + - bearer: [] + x-speakeasy-group: accounting.journalentries + x-codeSamples: + - lang: typescript + label: listAccountingJournalEntry + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.journalentries.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingJournalEntry + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.journalentries.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingJournalEntry + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Journalentries.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingJournalEntry + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingJournalEntry + summary: Create Journal Entries + description: Create Journal Entries in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingJournalentryInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' + tags: *ref_134 + security: *ref_135 + x-speakeasy-group: accounting.journalentries + x-codeSamples: + - lang: typescript + label: createAccountingJournalEntry + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.journalentries.create({ + xConnectionToken: "", + unifiedAccountingJournalentryInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingJournalEntry + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.journalentries.create(x_connection_token="", unified_accounting_journalentry_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingJournalEntry + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingJournalentryInput := components.UnifiedAccountingJournalentryInput{} + ctx := context.Background() + res, err := s.Accounting.Journalentries.Create(ctx, xConnectionToken, unifiedAccountingJournalentryInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingJournalentryOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingJournalEntry + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.create(x_connection_token=\"\", unified_accounting_journalentry_input=::OpenApiSDK::Shared::UnifiedAccountingJournalentryInput.new(), remote_data=false)\n\nif ! res.unified_accounting_journalentry_output.nil?\n # handle response\nend" + /accounting/journalentries/{id}: + get: + operationId: retrieveAccountingJournalEntry + summary: Retrieve Journal Entries + description: Retrieve Journal Entries from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the journalentry you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' + tags: *ref_134 + security: *ref_135 + x-speakeasy-group: accounting.journalentries + x-codeSamples: + - lang: typescript + label: retrieveAccountingJournalEntry + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.journalentries.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingJournalEntry + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.journalentries.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingJournalEntry + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Journalentries.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingJournalentryOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingJournalEntry + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_journalentries.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_journalentry_output.nil?\n # handle response\nend" + /accounting/payments: + get: + operationId: listAccountingPayment + summary: List Payments + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' + tags: &ref_136 + - accounting/payments + security: &ref_137 + - bearer: [] + x-speakeasy-group: accounting.payments + x-codeSamples: + - lang: typescript + label: listAccountingPayment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.payments.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingPayment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.payments.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingPayment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Payments.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingPayment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_payments.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingPayment + summary: Create Payments + description: Create Payments in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPaymentInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' + tags: *ref_136 + security: *ref_137 + x-speakeasy-group: accounting.payments + x-codeSamples: + - lang: typescript + label: createAccountingPayment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.payments.create({ + xConnectionToken: "", + unifiedAccountingPaymentInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingPayment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.payments.create(x_connection_token="", unified_accounting_payment_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingPayment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingPaymentInput := components.UnifiedAccountingPaymentInput{} + ctx := context.Background() + res, err := s.Accounting.Payments.Create(ctx, xConnectionToken, unifiedAccountingPaymentInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingPaymentOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingPayment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_payments.create(x_connection_token=\"\", unified_accounting_payment_input=::OpenApiSDK::Shared::UnifiedAccountingPaymentInput.new(), remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" + /accounting/payments/{id}: + get: + operationId: retrieveAccountingPayment + summary: Retrieve Payments + description: Retrieve Payments from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the payment you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' + tags: *ref_136 + security: *ref_137 + x-speakeasy-group: accounting.payments + x-codeSamples: + - lang: typescript + label: retrieveAccountingPayment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.payments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingPayment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.payments.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingPayment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Payments.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingPaymentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingPayment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_payments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" + /accounting/phonenumbers: + get: + operationId: listAccountingPhonenumber + summary: List PhoneNumbers + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingPhonenumberOutput + tags: &ref_138 + - accounting/phonenumbers + security: &ref_139 + - bearer: [] + x-speakeasy-group: accounting.phonenumbers + x-codeSamples: + - lang: typescript + label: listAccountingPhonenumber + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.phonenumbers.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingPhonenumber + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.phonenumbers.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingPhonenumber + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Phonenumbers.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingPhonenumber + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/phonenumbers/{id}: + get: + operationId: retrieveAccountingPhonenumber + summary: Retrieve Phone Numbers + description: Retrieve Phone Numbers from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the phonenumber you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPhonenumberOutput' + tags: *ref_138 + security: *ref_139 + x-speakeasy-group: accounting.phonenumbers + x-codeSamples: + - lang: typescript + label: retrieveAccountingPhonenumber + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.phonenumbers.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingPhonenumber + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.phonenumbers.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingPhonenumber + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Phonenumbers.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingPhonenumberOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingPhonenumber + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_phonenumber_output.nil?\n # handle response\nend" + /accounting/purchaseorders: + get: + operationId: listAccountingPurchaseOrder + summary: List PurchaseOrders + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingPurchaseorderOutput + tags: &ref_140 + - accounting/purchaseorders + security: &ref_141 + - bearer: [] + x-speakeasy-group: accounting.purchaseorders + x-codeSamples: + - lang: typescript + label: listAccountingPurchaseOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.purchaseorders.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingPurchaseOrder + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.purchaseorders.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingPurchaseOrder + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Purchaseorders.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingPurchaseOrder + summary: Create Purchase Orders + description: Create Purchase Orders in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' + tags: *ref_140 + security: *ref_141 + x-speakeasy-group: accounting.purchaseorders + x-codeSamples: + - lang: typescript + label: createAccountingPurchaseOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.purchaseorders.create({ + xConnectionToken: "", + unifiedAccountingPurchaseorderInput: {}, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createAccountingPurchaseOrder + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.purchaseorders.create(x_connection_token="", unified_accounting_purchaseorder_input={}) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingPurchaseOrder + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedAccountingPurchaseorderInput := components.UnifiedAccountingPurchaseorderInput{} + ctx := context.Background() + res, err := s.Accounting.Purchaseorders.Create(ctx, xConnectionToken, unifiedAccountingPurchaseorderInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingPurchaseorderOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.create(x_connection_token=\"\", unified_accounting_purchaseorder_input=::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInput.new(), remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" + /accounting/purchaseorders/{id}: + get: + operationId: retrieveAccountingPurchaseOrder + summary: Retrieve Purchase Orders + description: Retrieve Purchase Orders from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the purchaseorder you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' + tags: *ref_140 + security: *ref_141 + x-speakeasy-group: accounting.purchaseorders + x-codeSamples: + - lang: typescript + label: retrieveAccountingPurchaseOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.purchaseorders.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingPurchaseOrder + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.purchaseorders.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingPurchaseOrder + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Purchaseorders.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingPurchaseorderOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" + /accounting/taxrates: + get: + operationId: listAccountingTaxRate + summary: List TaxRates + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' + tags: &ref_142 + - accounting/taxrates + security: &ref_143 + - bearer: [] + x-speakeasy-group: accounting.taxrates + x-codeSamples: + - lang: typescript + label: listAccountingTaxRate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.taxrates.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingTaxRate + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.taxrates.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingTaxRate + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Taxrates.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingTaxRate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/taxrates/{id}: + get: + operationId: retrieveAccountingTaxRate + summary: Retrieve Tax Rates + description: Retrieve Tax Rates from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the taxrate you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' + tags: *ref_142 + security: *ref_143 + x-speakeasy-group: accounting.taxrates + x-codeSamples: + - lang: typescript + label: retrieveAccountingTaxRate + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.taxrates.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingTaxRate + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.taxrates.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingTaxRate + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Taxrates.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingTaxrateOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingTaxRate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_taxrate_output.nil?\n # handle response\nend" + /accounting/trackingcategories: + get: + operationId: listAccountingTrackingCategorys + summary: List TrackingCategorys + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingTrackingcategoryOutput + tags: &ref_144 + - accounting/trackingcategories + security: &ref_145 + - bearer: [] + x-speakeasy-group: accounting.trackingcategories + x-codeSamples: + - lang: typescript + label: listAccountingTrackingCategorys + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.trackingcategories.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingTrackingCategorys + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.trackingcategories.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingTrackingCategorys + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Trackingcategories.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingTrackingCategorys + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/trackingcategories/{id}: + get: + operationId: retrieveAccountingTrackingCategory + summary: Retrieve Tracking Categories + description: Retrieve Tracking Categories from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the trackingcategory you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingTrackingcategoryOutput' + tags: *ref_144 + security: *ref_145 + x-speakeasy-group: accounting.trackingcategories + x-codeSamples: + - lang: typescript + label: retrieveAccountingTrackingCategory + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.trackingcategories.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingTrackingCategory + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.trackingcategories.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingTrackingCategory + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Trackingcategories.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingTrackingcategoryOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingTrackingCategory + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_trackingcategory_output.nil?\n # handle response\nend" + /accounting/transactions: + get: + operationId: listAccountingTransaction + summary: List Transactions + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingTransactionOutput + tags: &ref_146 + - accounting/transactions + security: &ref_147 + - bearer: [] + x-speakeasy-group: accounting.transactions + x-codeSamples: + - lang: typescript + label: listAccountingTransaction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.transactions.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingTransaction + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.transactions.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingTransaction + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Transactions.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingTransaction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_transactions.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/transactions/{id}: + get: + operationId: retrieveAccountingTransaction + summary: Retrieve Transactions + description: Retrieve Transactions from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the transaction you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingTransactionOutput' + tags: *ref_146 + security: *ref_147 + x-speakeasy-group: accounting.transactions + x-codeSamples: + - lang: typescript + label: retrieveAccountingTransaction + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.transactions.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingTransaction + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.transactions.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingTransaction + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Transactions.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingTransactionOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingTransaction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_transactions.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_transaction_output.nil?\n # handle response\nend" + /accounting/vendorcredits: + get: + operationId: listAccountingVendorCredit + summary: List VendorCredits + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingVendorcreditOutput + tags: &ref_148 + - accounting/vendorcredits + security: &ref_149 + - bearer: [] + x-speakeasy-group: accounting.vendorcredits + x-codeSamples: + - lang: typescript + label: listAccountingVendorCredit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.vendorcredits.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listAccountingVendorCredit + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.vendorcredits.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listAccountingVendorCredit + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Accounting.Vendorcredits.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listAccountingVendorCredit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/vendorcredits/{id}: + get: + operationId: retrieveAccountingVendorCredit + summary: Retrieve Vendor Credits + description: Retrieve Vendor Credits from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the vendorcredit you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingVendorcreditOutput' + tags: *ref_148 + security: *ref_149 + x-speakeasy-group: accounting.vendorcredits + x-codeSamples: + - lang: typescript + label: retrieveAccountingVendorCredit + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.accounting.vendorcredits.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveAccountingVendorCredit + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.accounting.vendorcredits.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingVendorCredit + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Accounting.Vendorcredits.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingVendorcreditOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingVendorCredit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_accounting_vendorcredit_output.nil?\n # handle response\nend" + /filestorage/drives: + get: + operationId: listFilestorageDrives + summary: List Drives + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedFilestorageDriveOutput' + tags: &ref_150 + - filestorage/drives + security: &ref_151 + - bearer: [] + x-speakeasy-group: filestorage.drives + x-codeSamples: + - lang: typescript + label: listFilestorageDrives + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.drives.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listFilestorageDrives + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.drives.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listFilestorageDrives + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Filestorage.Drives.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listFilestorageDrives + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_drives.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /filestorage/drives/{id}: + get: + operationId: retrieveFilestorageDrive + summary: Retrieve Drives + description: Retrieve Drives from any connected Filestorage software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the drive you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original File Storage software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageDriveOutput' + tags: *ref_150 + security: *ref_151 + x-speakeasy-group: filestorage.drives + x-codeSamples: + - lang: typescript + label: retrieveFilestorageDrive + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.drives.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveFilestorageDrive + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.drives.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveFilestorageDrive + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Filestorage.Drives.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedFilestorageDriveOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveFilestorageDrive + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_drives.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_filestorage_drive_output.nil?\n # handle response\nend" + /filestorage/files: + get: + operationId: listFilestorageFile + summary: List Files + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedFilestorageFileOutput' + tags: &ref_152 + - filestorage/files + security: &ref_153 + - bearer: [] + x-speakeasy-group: filestorage.files + x-codeSamples: + - lang: typescript + label: listFilestorageFile + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.files.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listFilestorageFile + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.files.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listFilestorageFile + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Filestorage.Files.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listFilestorageFile + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_files.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createFilestorageFile + summary: Create Files + description: Create Files in any supported Filestorage software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: true + in: query + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageFileInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageFileOutput' + tags: *ref_152 + security: *ref_153 + x-speakeasy-group: filestorage.files + x-codeSamples: + - lang: typescript + label: createFilestorageFile + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.files.create({ + xConnectionToken: "", + remoteData: false, + unifiedFilestorageFileInput: { + name: "", + fileUrl: "", + mimeType: "", + size: "", + folderId: "", + permission: "", + sharedLink: "", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createFilestorageFile + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.files.create(x_connection_token="", remote_data=False, unified_filestorage_file_input={ + "name": "", + "file_url": "", + "mime_type": "", + "size": "", + "folder_id": "", + "permission": "", + "shared_link": "", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createFilestorageFile + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var remoteData bool = false + + unifiedFilestorageFileInput := components.UnifiedFilestorageFileInput{ + Name: "", + FileURL: "", + MimeType: "", + Size: "", + FolderID: "", + Permission: "", + SharedLink: "", + FieldMappings: components.UnifiedFilestorageFileInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Filestorage.Files.Create(ctx, xConnectionToken, remoteData, unifiedFilestorageFileInput) + if err != nil { + log.Fatal(err) + } + if res.UnifiedFilestorageFileOutput != nil { + // handle response + } + } + - lang: ruby + label: createFilestorageFile + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_files.create(x_connection_token=\"\", remote_data=false, unified_filestorage_file_input=::OpenApiSDK::Shared::UnifiedFilestorageFileInput.new(\n name: \"\",\n file_url: \"\",\n mime_type: \"\",\n size: \"\",\n folder_id: \"\",\n permission: \"\",\n shared_link: \"\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedFilestorageFileInputFieldMappings.new(),\n ))\n\nif ! res.unified_filestorage_file_output.nil?\n # handle response\nend" + /filestorage/files/{id}: + get: + operationId: retrieveFilestorageFile + summary: Retrieve Files + description: Retrieve Files from any connected Filestorage software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the file you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original File Storage software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageFileOutput' + tags: *ref_152 + security: *ref_153 + x-speakeasy-group: filestorage.files + x-codeSamples: + - lang: typescript + label: retrieveFilestorageFile + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.files.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveFilestorageFile + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.files.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveFilestorageFile + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Filestorage.Files.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedFilestorageFileOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveFilestorageFile + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_files.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_filestorage_file_output.nil?\n # handle response\nend" + /filestorage/folders: + get: + operationId: listFilestorageFolder + summary: List Folders + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' + tags: &ref_154 + - filestorage/folders + security: &ref_155 + - bearer: [] + x-speakeasy-group: filestorage.folders + x-codeSamples: + - lang: typescript + label: listFilestorageFolder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.folders.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listFilestorageFolder + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.folders.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listFilestorageFolder + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Filestorage.Folders.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listFilestorageFolder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_folders.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createFilestorageFolder + summary: Create Folders + description: Create Folders in any supported Filestorage software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: true + in: query + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageFolderInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' + tags: *ref_154 + security: *ref_155 + x-speakeasy-group: filestorage.folders + x-codeSamples: + - lang: typescript + label: createFilestorageFolder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.folders.create({ + xConnectionToken: "", + remoteData: false, + unifiedFilestorageFolderInput: { + name: "", + size: "", + folderUrl: "", + description: "Multi-tiered human-resource model", + driveId: "", + parentFolderId: "", + sharedLink: "", + permission: "", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createFilestorageFolder + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.folders.create(x_connection_token="", remote_data=False, unified_filestorage_folder_input={ + "name": "", + "size": "", + "folder_url": "", + "description": "Multi-tiered human-resource model", + "drive_id": "", + "parent_folder_id": "", + "shared_link": "", + "permission": "", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createFilestorageFolder + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var remoteData bool = false + + unifiedFilestorageFolderInput := components.UnifiedFilestorageFolderInput{ + Name: "", + Size: "", + FolderURL: "", + Description: "Multi-tiered human-resource model", + DriveID: "", + ParentFolderID: "", + SharedLink: "", + Permission: "", + FieldMappings: components.UnifiedFilestorageFolderInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Filestorage.Folders.Create(ctx, xConnectionToken, remoteData, unifiedFilestorageFolderInput) + if err != nil { + log.Fatal(err) + } + if res.UnifiedFilestorageFolderOutput != nil { + // handle response + } + } + - lang: ruby + label: createFilestorageFolder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_folders.create(x_connection_token=\"\", remote_data=false, unified_filestorage_folder_input=::OpenApiSDK::Shared::UnifiedFilestorageFolderInput.new(\n name: \"\",\n size: \"\",\n folder_url: \"\",\n description: \"Multi-tiered human-resource model\",\n drive_id: \"\",\n parent_folder_id: \"\",\n shared_link: \"\",\n permission: \"\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedFilestorageFolderInputFieldMappings.new(),\n ))\n\nif ! res.unified_filestorage_folder_output.nil?\n # handle response\nend" + /filestorage/folders/{id}: + get: + operationId: retrieveFilestorageFolder + summary: Retrieve Folders + description: Retrieve Folders from any connected Filestorage software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the folder you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original File Storage software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' + tags: *ref_154 + security: *ref_155 + x-speakeasy-group: filestorage.folders + x-codeSamples: + - lang: typescript + label: retrieveFilestorageFolder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.folders.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveFilestorageFolder + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.folders.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveFilestorageFolder + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Filestorage.Folders.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedFilestorageFolderOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveFilestorageFolder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_folders.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_filestorage_folder_output.nil?\n # handle response\nend" + /filestorage/groups: + get: + operationId: listFilestorageGroup + summary: List Groups + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' + tags: &ref_156 + - filestorage/groups + security: &ref_157 + - bearer: [] + x-speakeasy-group: filestorage.groups + x-codeSamples: + - lang: typescript + label: listFilestorageGroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.groups.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listFilestorageGroup + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.groups.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listFilestorageGroup + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Filestorage.Groups.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listFilestorageGroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_groups.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /filestorage/groups/{id}: + get: + operationId: retrieveFilestorageGroup + summary: Retrieve Groups + description: Retrieve Groups from any connected Filestorage software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the permission you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original File Storage software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' + tags: *ref_156 + security: *ref_157 + x-speakeasy-group: filestorage.groups + x-codeSamples: + - lang: typescript + label: retrieveFilestorageGroup + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.groups.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveFilestorageGroup + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.groups.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveFilestorageGroup + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Filestorage.Groups.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedFilestorageGroupOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveFilestorageGroup + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_groups.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_filestorage_group_output.nil?\n # handle response\nend" + /filestorage/users: + get: + operationId: listFilestorageUsers + summary: List Users + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedUserOutput' + tags: &ref_158 + - filestorage/users + security: &ref_159 + - bearer: [] + x-speakeasy-group: filestorage.users + x-codeSamples: + - lang: typescript + label: listFilestorageUsers + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.users.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listFilestorageUsers + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.users.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listFilestorageUsers + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Filestorage.Users.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listFilestorageUsers + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_users.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + /filestorage/users/{id}: + get: + operationId: retrieveFilestorageUser + summary: Retrieve Users + description: Retrieve Users from any connected Filestorage software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the permission you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original File Storage software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedUserOutput' + tags: *ref_158 + security: *ref_159 + x-speakeasy-group: filestorage.users + x-codeSamples: + - lang: typescript + label: retrieveFilestorageUser + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.filestorage.users.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveFilestorageUser + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.filestorage.users.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveFilestorageUser + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Filestorage.Users.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedUserOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveFilestorageUser + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.filestorage_users.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_user_output.nil?\n # handle response\nend" + /ticketing/attachments: + get: + operationId: listTicketingAttachments + summary: List Attachments + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedTicketingAttachmentOutput + tags: &ref_160 + - ticketing/attachments + security: &ref_161 + - bearer: [] + x-speakeasy-group: ticketing.attachments + x-codeSamples: + - lang: typescript + label: listTicketingAttachments + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.attachments.list({ + xConnectionToken: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: listTicketingAttachments + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.attachments.list(x_connection_token="") + + if res is not None: + # handle response + pass + - lang: go + label: listTicketingAttachments + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + ctx := context.Background() + res, err := s.Ticketing.Attachments.List(ctx, xConnectionToken, nil, nil, nil) + if err != nil { + log.Fatal(err) + } + if res.Object != nil { + // handle response + } + } + - lang: ruby + label: listTicketingAttachments + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.list(x_connection_token=\"\", remote_data=false, limit=7685.78, cursor=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createTicketingAttachment + summary: Create Attachments + description: Create Attachments in any supported Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingAttachmentInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' + tags: *ref_160 + security: *ref_161 + x-speakeasy-group: ticketing.attachments + x-codeSamples: + - lang: typescript + label: createTicketingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.attachments.create({ + xConnectionToken: "", + unifiedTicketingAttachmentInput: { + fileName: "your_file_here", + fileUrl: "", + uploader: "", + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: createTicketingAttachment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.attachments.create(x_connection_token="", unified_ticketing_attachment_input={ + "file_name": "your_file_here", + "file_url": "", + "uploader": "", + "field_mappings": {}, + }) + + if res is not None: + # handle response + pass + - lang: go + label: createTicketingAttachment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "github.com/panoratech/go-sdk/models/components" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + unifiedTicketingAttachmentInput := components.UnifiedTicketingAttachmentInput{ + FileName: "your_file_here", + FileURL: "", + Uploader: "", + FieldMappings: components.UnifiedTicketingAttachmentInputFieldMappings{}, + } + ctx := context.Background() + res, err := s.Ticketing.Attachments.Create(ctx, xConnectionToken, unifiedTicketingAttachmentInput, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingAttachmentOutput != nil { + // handle response + } + } + - lang: ruby + label: createTicketingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.create(x_connection_token=\"\", unified_ticketing_attachment_input=::OpenApiSDK::Shared::UnifiedTicketingAttachmentInput.new(\n file_name: \"your_file_here\",\n file_url: \"\",\n uploader: \"\",\n field_mappings: ::OpenApiSDK::Shared::UnifiedTicketingAttachmentInputFieldMappings.new(),\n ), remote_data=false)\n\nif ! res.unified_ticketing_attachment_output.nil?\n # handle response\nend" + /ticketing/attachments/{id}: + get: + operationId: retrieveTicketingAttachment + summary: Retrieve Attachments + description: Retrieve Attachments from any connected Ticketing software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + description: id of the attachment you want to retrive. + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original Ticketing software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' + tags: *ref_160 + security: *ref_161 + x-speakeasy-group: ticketing.attachments + x-codeSamples: + - lang: typescript + label: retrieveTicketingAttachment + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + bearer: process.env.BEARER, + }); + + async function run() { + const result = await panora.ticketing.attachments.retrieve({ + xConnectionToken: "", + id: "", + }); + + // Handle the result + console.log(result) + } + + run(); + - lang: python + label: retrieveTicketingAttachment + source: |- + import os + from panora_sdk import Panora + + s = Panora( + bearer=os.getenv("BEARER", ""), + ) + + + res = s.ticketing.attachments.retrieve(x_connection_token="", id="") + + if res is not None: + # handle response + pass + - lang: go + label: retrieveTicketingAttachment + source: |- + package main + + import( + "os" + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(os.Getenv("BEARER")), + ) + var xConnectionToken string = "" + + var id string = "" + ctx := context.Background() + res, err := s.Ticketing.Attachments.Retrieve(ctx, xConnectionToken, id, nil) + if err != nil { + log.Fatal(err) + } + if res.UnifiedTicketingAttachmentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveTicketingAttachment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n bearer: \"\",\n )\n)\n\n \nres = s.ticketing_attachments.retrieve(x_connection_token=\"\", id=\"\", remote_data=false)\n\nif ! res.unified_ticketing_attachment_output.nil?\n # handle response\nend" +info: + title: Panora API + description: A unified API to ship integrations + version: '1.0' + contact: {} +tags: [] +servers: + - url: https://api.panora.dev + description: Production server + - url: https://api-sandbox.panora.dev + description: Sandbox server + - url: https://api-dev.panora.dev + description: Development server +components: + securitySchemes: + bearer: + type: http + scheme: bearer + schemas: + WebhookResponse: + type: object + properties: + id_webhook_endpoint: + type: string + description: The unique UUID of the webhook. + endpoint_description: + type: string + description: The description of the webhook. + url: + type: string + description: The endpoint url of the webhook. + secret: + type: string + description: The secret of the webhook. + active: + type: boolean + description: The status of the webhook. + created_at: + format: date-time + type: string + description: The created date of the webhook. + scope: + description: The events that the webhook listen to. + type: array + items: + type: string + id_project: + type: string + description: The project id tied to the webhook. + last_update: + format: date-time + type: string + description: The last update date of the webhook. + required: + - id_webhook_endpoint + - endpoint_description + - url + - secret + - active + - created_at + - scope + - id_project + - last_update + WebhookDto: + type: object + properties: + url: + type: string + description: The endpoint url of the webhook. + description: + type: string + description: The description of the webhook. + scope: + description: The events that the webhook listen to. + type: array + items: + type: string + required: + - url + - description + - scope + EventPayload: + type: object + properties: {} + SignatureVerificationDto: + type: object + properties: + payload: + type: object + description: The payload event of the webhook. + signature: + type: string + description: The signature of the webhook. + secret: + type: string + description: The secret of the webhook. + required: + - payload + - signature + - secret + PaginatedDto: + type: object + properties: + prev_cursor: + type: string + next_cursor: + type: string + data: + type: array + items: + type: object + required: + - prev_cursor + - next_cursor + - data + UnifiedTicketingCommentInput: + type: object + properties: + body: + type: string + description: The body of the comment + html_body: + type: string + description: The html body of the comment + is_private: + type: boolean + description: The public status of the comment + creator_type: + type: string + description: >- + The creator type of the comment. Authorized values are either USER or CONTACT + ticket_id: + type: string + description: The UUID of the ticket the comment is tied to + contact_id: + type: string + description: >- + The UUID of the contact which the comment belongs to (if no user_id specified) + user_id: + type: string + description: >- + The UUID of the user which the comment belongs to (if no contact_id specified) + attachments: + description: The attachements UUIDs tied to the comment + type: array + items: + type: string + required: + - body + UnifiedTicketingTicketOutput: + type: object + properties: + name: + type: string + description: The name of the ticket + status: + type: string + description: The status of the ticket. Authorized values are OPEN or CLOSED. + description: + type: string + description: The description of the ticket + due_date: + format: date-time + type: string + description: The date the ticket is due + type: + type: string + description: >- + The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK + parent_ticket: + type: string + description: The UUID of the parent ticket + collections: + type: string + description: The collection UUIDs the ticket belongs to + tags: + description: The tags names of the ticket + type: array + items: + type: string + completed_at: + format: date-time + type: string + description: The date the ticket has been completed + priority: + type: string + description: >- + The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. + assigned_to: + description: The users UUIDs the ticket is assigned to + type: array + items: + type: string + comment: + description: The comment of the ticket + allOf: + - $ref: '#/components/schemas/UnifiedTicketingCommentInput' + account_id: + type: string + description: The UUID of the account which the ticket belongs to + contact_id: + type: string + description: The UUID of the contact which the ticket belongs to + attachments: + description: The attachements UUIDs tied to the ticket + type: array + items: + type: string + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the ticket + remote_id: + type: string + description: The id of the ticket in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - description + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedTicketingTicketInput: + type: object + properties: + name: + type: string + description: The name of the ticket + status: + type: string + description: The status of the ticket. Authorized values are OPEN or CLOSED. + description: + type: string + description: The description of the ticket + due_date: + format: date-time + type: string + description: The date the ticket is due + type: + type: string + description: >- + The type of the ticket. Authorized values are PROBLEM, QUESTION, or TASK + parent_ticket: + type: string + description: The UUID of the parent ticket + collections: + type: string + description: The collection UUIDs the ticket belongs to + tags: + description: The tags names of the ticket + type: array + items: + type: string + completed_at: + format: date-time + type: string + description: The date the ticket has been completed + priority: + type: string + description: >- + The priority of the ticket. Authorized values are HIGH, MEDIUM or LOW. + assigned_to: + description: The users UUIDs the ticket is assigned to + type: array + items: + type: string + comment: + description: The comment of the ticket + allOf: + - $ref: '#/components/schemas/UnifiedTicketingCommentInput' + account_id: + type: string + description: The UUID of the account which the ticket belongs to + contact_id: + type: string + description: The UUID of the contact which the ticket belongs to + attachments: + description: The attachements UUIDs tied to the ticket + type: array + items: + type: string + field_mappings: + type: object + properties: {} + required: + - name + - description + - field_mappings + UnifiedTicketingUserOutput: + type: object + properties: + name: + type: string + description: The name of the user + email_address: + type: string + description: The email address of the user + teams: + description: The teams whose the user is part of + type: array + items: + type: string + account_id: + type: string + description: The account or organization the user is part of + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the user + remote_id: + type: string + description: The id of the user in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - email_address + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedTicketingAccountOutput: + type: object + properties: + name: + type: string + description: The name of the account + domains: + description: The domains of the account + type: array + items: + type: string + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the account + remote_id: + type: string + description: The id of the account in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedTicketingContactOutput: + type: object + properties: + name: + type: string + description: The name of the contact + email_address: + type: string + description: The email address of the contact + phone_number: + type: string + description: The phone number of the contact + details: + type: string + description: The details of the contact + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the contact + remote_id: + type: string + description: The id of the contact in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - email_address + - field_mappings + - remote_data + - created_at + - modified_at + Email: + type: object + properties: + email_address: + type: string + description: The email address + email_address_type: + type: string + description: >- + The email address type. Authorized values are either PERSONAL or WORK. + owner_type: + type: string + description: The owner type of an email + required: + - email_address + - email_address_type + Address: + type: object + properties: + street_1: + type: string + description: The street + street_2: + type: string + description: 'More information about the street ' + city: + type: string + description: The city + state: + type: string + description: The state + postal_code: + type: string + description: The postal code + country: + type: string + description: The country + address_type: + type: string + description: The address type. Authorized values are either PERSONAL or WORK. + owner_type: + type: string + description: The owner type of the address + required: + - street_1 + - street_2 + - city + - state + - postal_code + - country + - address_type + - owner_type + Phone: + type: object + properties: + phone_number: + type: string + description: >- + The phone number starting with a plus (+) followed by the country code (e.g +336676778890 for France) + phone_type: + type: string + description: The phone type. Authorized values are either MOBILE or WORK + owner_type: + type: string + description: The owner type of a phone number + required: + - phone_number + - phone_type + UnifiedCrmCompanyOutput: + type: object + properties: + name: + type: string + description: The name of the company + industry: + type: string + description: >- + The industry of the company. Authorized values can be found in the Industry enum. + number_of_employees: + type: number + description: The number of employees of the company + user_id: + type: string + description: The UUID of the user who owns the company + email_addresses: + description: The email addresses of the company + type: array + items: + $ref: '#/components/schemas/Email' + addresses: + description: The addresses of the company + type: array + items: + $ref: '#/components/schemas/Address' + phone_numbers: + description: The phone numbers of the company + type: array + items: + $ref: '#/components/schemas/Phone' + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the company + remote_id: + type: string + description: The id of the company in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedCrmCompanyInput: + type: object + properties: + name: + type: string + description: The name of the company + industry: + type: string + description: >- + The industry of the company. Authorized values can be found in the Industry enum. + number_of_employees: + type: number + description: The number of employees of the company + user_id: + type: string + description: The UUID of the user who owns the company + email_addresses: + description: The email addresses of the company + type: array + items: + $ref: '#/components/schemas/Email' + addresses: + description: The addresses of the company + type: array + items: + $ref: '#/components/schemas/Address' + phone_numbers: + description: The phone numbers of the company + type: array + items: + $ref: '#/components/schemas/Phone' + field_mappings: + type: object + properties: {} + required: + - name + - field_mappings + UnifiedCrmContactOutput: + type: object + properties: + first_name: + type: string + description: The first name of the contact + last_name: + type: string + description: The last name of the contact + email_addresses: + description: The email addresses of the contact + type: array + items: + $ref: '#/components/schemas/Email' + phone_numbers: + description: The phone numbers of the contact + type: array + items: + $ref: '#/components/schemas/Phone' + addresses: + description: The addresses of the contact + type: array + items: + $ref: '#/components/schemas/Address' + user_id: + type: string + description: The UUID of the user who owns the contact + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the contact + remote_id: + type: string + description: The id of the contact in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - first_name + - last_name + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedCrmContactInput: + type: object + properties: + first_name: + type: string + description: The first name of the contact + last_name: + type: string + description: The last name of the contact + email_addresses: + description: The email addresses of the contact + type: array + items: + $ref: '#/components/schemas/Email' + phone_numbers: + description: The phone numbers of the contact + type: array + items: + $ref: '#/components/schemas/Phone' + addresses: + description: The addresses of the contact + type: array + items: + $ref: '#/components/schemas/Address' + user_id: + type: string + description: The UUID of the user who owns the contact + field_mappings: + type: object + properties: {} + required: + - first_name + - last_name + - field_mappings + UnifiedCrmDealOutput: + type: object + properties: + name: + type: string + description: The name of the deal + description: + type: string + description: The description of the deal + amount: + type: number + description: The amount of the deal + user_id: + type: string + description: The UUID of the user who is on the deal + stage_id: + type: string + description: The UUID of the stage of the deal + company_id: + type: string + description: The UUID of the company tied to the deal + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the deal + remote_id: + type: string + description: The id of the deal in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - description + - amount + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedCrmDealInput: + type: object + properties: + name: + type: string + description: The name of the deal + description: + type: string + description: The description of the deal + amount: + type: number + description: The amount of the deal + user_id: + type: string + description: The UUID of the user who is on the deal + stage_id: + type: string + description: The UUID of the stage of the deal + company_id: + type: string + description: The UUID of the company tied to the deal + field_mappings: + type: object + properties: {} + required: + - name + - description + - amount + - field_mappings + UnifiedCrmEngagementOutput: + type: object + properties: + content: + type: string + description: The content of the engagement + direction: + type: string + description: >- + The direction of the engagement. Authorized values are INBOUND or OUTBOUND + subject: + type: string + description: The subject of the engagement + start_at: + format: date-time + type: string + description: The start time of the engagement + end_time: + format: date-time + type: string + description: The end time of the engagement + type: + type: string + description: >- + The type of the engagement. Authorized values are EMAIL, CALL or MEETING + user_id: + type: string + description: The UUID of the user tied to the engagement + company_id: + type: string + description: The UUID of the company tied to the engagement + contacts: + description: The UUIDs of contacts tied to the engagement object + type: array + items: + type: string + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the engagement + remote_id: + type: string + description: The id of the engagement in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - type + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedCrmEngagementInput: + type: object + properties: + content: + type: string + description: The content of the engagement + direction: + type: string + description: >- + The direction of the engagement. Authorized values are INBOUND or OUTBOUND + subject: + type: string + description: The subject of the engagement + start_at: + format: date-time + type: string + description: The start time of the engagement + end_time: + format: date-time + type: string + description: The end time of the engagement + type: + type: string + description: >- + The type of the engagement. Authorized values are EMAIL, CALL or MEETING + user_id: + type: string + description: The UUID of the user tied to the engagement + company_id: + type: string + description: The UUID of the company tied to the engagement + contacts: + description: The UUIDs of contacts tied to the engagement object + type: array + items: + type: string + field_mappings: + type: object + properties: {} + required: + - type + - field_mappings + UnifiedCrmNoteOutput: + type: object + properties: + content: + type: string + description: The content of the note + user_id: + type: string + description: The UUID of the user tied the note + company_id: + type: string + description: The UUID of the company tied to the note + contact_id: + type: string + description: The UUID fo the contact tied to the note + deal_id: + type: string + description: The UUID of the deal tied to the note + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the note + remote_id: + type: string + description: The id of the note in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - content + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedCrmNoteInput: + type: object + properties: + content: + type: string + description: The content of the note + user_id: + type: string + description: The UUID of the user tied the note + company_id: + type: string + description: The UUID of the company tied to the note + contact_id: + type: string + description: The UUID fo the contact tied to the note + deal_id: + type: string + description: The UUID of the deal tied to the note + field_mappings: + type: object + properties: {} + required: + - content + - field_mappings + UnifiedCrmStageOutput: + type: object + properties: + stage_name: + type: string + description: The name of the stage + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the stage + remote_id: + type: string + description: The id of the stage in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - stage_name + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedCrmTaskOutput: + type: object + properties: + subject: + type: string + description: The subject of the task + content: + type: string + description: The content of the task + status: + type: string + description: The status of the task. Authorized values are PENDING, COMPLETED. + due_date: + format: date-time + type: string + description: The due date of the task + finished_date: + format: date-time + type: string + description: The finished date of the task + user_id: + type: string + description: The UUID of the user tied to the task + company_id: + type: string + description: The UUID fo the company tied to the task + deal_id: + type: string + description: The UUID of the deal tied to the task + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the task + remote_id: + type: string + description: The id of the task in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - subject + - content + - status + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedCrmTaskInput: + type: object + properties: + subject: + type: string + description: The subject of the task + content: + type: string + description: The content of the task + status: + type: string + description: The status of the task. Authorized values are PENDING, COMPLETED. + due_date: + format: date-time + type: string + description: The due date of the task + finished_date: + format: date-time + type: string + description: The finished date of the task + user_id: + type: string + description: The UUID of the user tied to the task + company_id: + type: string + description: The UUID fo the company tied to the task + deal_id: + type: string + description: The UUID of the deal tied to the task + field_mappings: + type: object + properties: {} + required: + - subject + - content + - status + - field_mappings + UnifiedCrmUserOutput: + type: object + properties: + name: + type: string + description: The name of the user + email: + type: string + description: The email of the user + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the user + remote_id: + type: string + description: The id of the user in the context of the Crm 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - email + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedTicketingCollectionOutput: + type: object + properties: + name: + type: string + description: The name of the collection + description: + type: string + description: The description of the collection + collection_type: + type: string + description: "The type of the collection. Authorized values are either PROJECT or LIST " + id: + type: string + description: The UUID of the collection + remote_id: + type: string + description: The id of the collection in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - remote_data + - created_at + - modified_at + UnifiedTicketingCommentOutput: + type: object + properties: + body: + type: string + description: The body of the comment + html_body: + type: string + description: The html body of the comment + is_private: + type: boolean + description: The public status of the comment + creator_type: + type: string + description: >- + The creator type of the comment. Authorized values are either USER or CONTACT + ticket_id: + type: string + description: The UUID of the ticket the comment is tied to + contact_id: + type: string + description: >- + The UUID of the contact which the comment belongs to (if no user_id specified) + user_id: + type: string + description: >- + The UUID of the user which the comment belongs to (if no contact_id specified) + attachments: + description: The attachements UUIDs tied to the comment + type: array + items: + type: string + id: + type: string + description: The UUID of the comment + remote_id: + type: string + description: The id of the comment in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - body + - remote_data + - created_at + - modified_at + UnifiedTicketingTagOutput: + type: object + properties: + name: + type: string + description: The name of the tag + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the tag + remote_id: + type: string + description: The id of the tag in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedTicketingTeamOutput: + type: object + properties: + name: + type: string + description: The name of the team + description: + type: string + description: The description of the team + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the team + remote_id: + type: string + description: The id of the team in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - field_mappings + - remote_data + - created_at + - modified_at + CreateLinkedUserDto: + type: object + properties: + linked_user_origin_id: + type: string + alias: + type: string + required: + - linked_user_origin_id + - alias + CreateBatchLinkedUserDto: + type: object + properties: + linked_user_origin_ids: + type: array + items: + type: string + alias: + type: string + required: + - linked_user_origin_ids + - alias + DefineTargetFieldDto: + type: object + properties: + object_type_owner: + type: string + name: + type: string + description: + type: string + data_type: + type: string + required: + - object_type_owner + - name + - description + - data_type + CustomFieldCreateDto: + type: object + properties: + object_type_owner: + type: string + name: + type: string + description: + type: string + data_type: + type: string + source_custom_field_id: + type: string + source_provider: + type: string + linked_user_id: + type: string + required: + - object_type_owner + - name + - description + - data_type + - source_custom_field_id + - source_provider + - linked_user_id + MapFieldToProviderDto: + type: object + properties: + attributeId: + type: string + source_custom_field_id: + type: string + source_provider: + type: string + linked_user_id: + type: string + required: + - attributeId + - source_custom_field_id + - source_provider + - linked_user_id + PassThroughRequestDto: + type: object + properties: + method: + enum: + - GET + - POST + - PATCH + - DELETE + - PUT + type: string + path: + type: string + data: + type: object + headers: + type: object + required: + - method + - path + PassThroughResponse: + type: object + properties: + url: + type: string + status: + type: number + data: + type: object + required: + - url + - status + - data + UnifiedHrisBankinfoOutput: + type: object + properties: {} + UnifiedHrisBenefitOutput: + type: object + properties: {} + UnifiedHrisCompanyOutput: + type: object + properties: {} + UnifiedHrisDependentOutput: + type: object + properties: {} + UnifiedHrisEmployeepayrollrunOutput: + type: object + properties: {} + UnifiedHrisEmployeeOutput: + type: object + properties: {} + UnifiedHrisEmployeeInput: + type: object + properties: {} + UnifiedHrisEmployerbenefitOutput: + type: object + properties: {} + UnifiedHrisEmploymentOutput: + type: object + properties: {} + UnifiedHrisGroupOutput: + type: object + properties: {} + UnifiedHrisLocationOutput: + type: object + properties: {} + UnifiedHrisPaygroupOutput: + type: object + properties: {} + UnifiedHrisPayrollrunOutput: + type: object + properties: {} + UnifiedHrisTimeoffOutput: + type: object + properties: {} + UnifiedHrisTimeoffInput: + type: object + properties: {} + UnifiedHrisTimeoffbalanceOutput: + type: object + properties: {} + UnifiedMarketingautomationActionOutput: + type: object + properties: {} + UnifiedMarketingautomationActionInput: + type: object + properties: {} + UnifiedMarketingautomationAutomationOutput: + type: object + properties: {} + UnifiedMarketingautomationAutomationInput: + type: object + properties: {} + UnifiedCampaignOutput: + type: object + properties: {} + UnifiedMarketingautomationCampaignInput: + type: object + properties: {} + UnifiedMarketingautomationContactOutput: + type: object + properties: {} + UnifiedMarketingautomationContactInput: + type: object + properties: {} + UnifiedMarketingautomationEmailOutput: + type: object + properties: {} + UnifiedMarketingautomationEventOutput: + type: object + properties: {} + UnifiedMarketingautomationListOutput: + type: object + properties: {} + UnifiedMarketingautomationListInput: + type: object + properties: {} + UnifiedMarketingautomationMessageOutput: + type: object + properties: {} + UnifiedMarketingautomationTemplateOutput: + type: object + properties: {} + UnifiedMarketingautomationTemplateInput: + type: object + properties: {} + UnifiedMarketingautomationUserOutput: + type: object + properties: {} + UnifiedAtsActivityOutput: + type: object + properties: + activity_type: + type: string + description: The type of activity + subject: + type: string + description: The subject of the activity + body: + type: string + description: The body of the activity + visibility: + type: string + description: The visibility of the activity + candidate_id: + type: string + description: The UUID of the candidate + remote_created_at: + type: string + format: date-time + description: The remote creation date of the activity + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the activity + remote_id: + type: string + description: The remote ID of the activity in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsActivityInput: + type: object + properties: + activity_type: + type: string + description: The type of activity + subject: + type: string + description: The subject of the activity + body: + type: string + description: The body of the activity + visibility: + type: string + description: The visibility of the activity + candidate_id: + type: string + description: The UUID of the candidate + remote_created_at: + type: string + format: date-time + description: The remote creation date of the activity + field_mappings: + type: object + properties: {} + required: + - field_mappings + UnifiedAtsApplicationOutput: + type: object + properties: + applied_at: + type: string + format: date-time + description: The application date + rejected_at: + type: string + format: date-time + description: The rejection date + offers: + description: The offers UUIDs for the application + type: array + items: + type: string + source: + type: string + description: The source of the application + credited_to: + type: string + description: The UUID of the person credited for the application + current_stage: + type: string + description: The UUID of the current stage of the application + reject_reason: + type: string + description: The rejection reason for the application + candidate_id: + type: string + description: The UUID of the candidate + job_id: + type: string + description: The UUID of the job + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the application + remote_id: + type: string + description: The remote ID of the application in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsApplicationInput: + type: object + properties: + applied_at: + type: string + format: date-time + description: The application date + rejected_at: + type: string + format: date-time + description: The rejection date + offers: + description: The offers UUIDs for the application + type: array + items: + type: string + source: + type: string + description: The source of the application + credited_to: + type: string + description: The UUID of the person credited for the application + current_stage: + type: string + description: The UUID of the current stage of the application + reject_reason: + type: string + description: The rejection reason for the application + candidate_id: + type: string + description: The UUID of the candidate + job_id: + type: string + description: The UUID of the job + field_mappings: + type: object + properties: {} + required: + - field_mappings + UnifiedAtsAttachmentOutput: + type: object + properties: + file_url: + type: string + description: The URL of the file + file_name: + type: string + description: The name of the file + attachment_type: + type: string + description: The type of the file + remote_created_at: + type: string + format: date-time + description: The remote creation date of the attachment + remote_modified_at: + type: string + format: date-time + description: The remote modification date of the attachment + candidate_id: + type: string + description: The UUID of the candidate + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the attachment + remote_id: + type: string + description: The remote ID of the attachment + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsAttachmentInput: + type: object + properties: + file_url: + type: string + description: The URL of the file + file_name: + type: string + description: The name of the file + attachment_type: + type: string + description: The type of the file + remote_created_at: + type: string + format: date-time + description: The remote creation date of the attachment + remote_modified_at: + type: string + format: date-time + description: The remote modification date of the attachment + candidate_id: + type: string + description: The UUID of the candidate + field_mappings: + type: object + properties: {} + required: + - field_mappings + Url: + type: object + properties: {} + UnifiedAtsCandidateOutput: + type: object + properties: + first_name: + type: string + description: The first name of the candidate + last_name: + type: string + description: The last name of the candidate + company: + type: string + description: The company of the candidate + title: + type: string + description: The title of the candidate + locations: + type: string + description: The locations of the candidate + is_private: + type: boolean + description: Whether the candidate is private + email_reachable: + type: boolean + description: Whether the candidate is reachable by email + remote_created_at: + type: string + format: date-time + description: The remote creation date of the candidate + remote_modified_at: + type: string + format: date-time + description: The remote modification date of the candidate + last_interaction_at: + type: string + format: date-time + description: The last interaction date with the candidate + attachments: + description: The attachments UUIDs of the candidate + type: array + items: + type: string + applications: + description: The applications UUIDs of the candidate + type: array + items: + type: string + tags: + description: The tags of the candidate + type: array + items: + type: string + urls: + description: >- + The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER + type: array + items: + $ref: '#/components/schemas/Url' + phone_numbers: + description: The phone numbers of the candidate + type: array + items: + $ref: '#/components/schemas/Phone' + email_addresses: + description: The email addresses of the candidate + type: array + items: + $ref: '#/components/schemas/Email' + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the candidate + remote_id: + type: string + description: The id of the candidate in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsCandidateInput: + type: object + properties: + first_name: + type: string + description: The first name of the candidate + last_name: + type: string + description: The last name of the candidate + company: + type: string + description: The company of the candidate + title: + type: string + description: The title of the candidate + locations: + type: string + description: The locations of the candidate + is_private: + type: boolean + description: Whether the candidate is private + email_reachable: + type: boolean + description: Whether the candidate is reachable by email + remote_created_at: + type: string + format: date-time + description: The remote creation date of the candidate + remote_modified_at: + type: string + format: date-time + description: The remote modification date of the candidate + last_interaction_at: + type: string + format: date-time + description: The last interaction date with the candidate + attachments: + description: The attachments UUIDs of the candidate + type: array + items: + type: string + applications: + description: The applications UUIDs of the candidate + type: array + items: + type: string + tags: + description: The tags of the candidate + type: array + items: + type: string + urls: + description: >- + The urls of the candidate, possible values for Url type are WEBSITE, BLOG, LINKEDIN, GITHUB, or OTHER + type: array + items: + $ref: '#/components/schemas/Url' + phone_numbers: + description: The phone numbers of the candidate + type: array + items: + $ref: '#/components/schemas/Phone' + email_addresses: + description: The email addresses of the candidate + type: array + items: + $ref: '#/components/schemas/Email' + field_mappings: + type: object + properties: {} + required: + - field_mappings + UnifiedAtsDepartmentOutput: + type: object + properties: + name: + type: string + description: The name of the department + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the department + remote_id: + type: string + description: The remote ID of the department in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsInterviewOutput: + type: object + properties: + status: + type: string + description: The status of the interview + application_id: + type: string + description: The UUID of the application + job_interview_stage_id: + type: string + description: The UUID of the job interview stage + organized_by: + type: string + description: The UUID of the organizer + interviewers: + description: The UUIDs of the interviewers + type: array + items: + type: string + location: + type: string + description: The location of the interview + start_at: + type: string + format: date-time + description: The start date and time of the interview + end_at: + type: string + format: date-time + description: The end date and time of the interview + remote_created_at: + type: string + format: date-time + description: The remote creation date of the interview + remote_updated_at: + type: string + format: date-time + description: The remote modification date of the interview + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the interview + remote_id: + type: string + description: The remote ID of the interview in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsInterviewInput: + type: object + properties: + status: + type: string + description: The status of the interview + application_id: + type: string + description: The UUID of the application + job_interview_stage_id: + type: string + description: The UUID of the job interview stage + organized_by: + type: string + description: The UUID of the organizer + interviewers: + description: The UUIDs of the interviewers + type: array + items: + type: string + location: + type: string + description: The location of the interview + start_at: + type: string + format: date-time + description: The start date and time of the interview + end_at: + type: string + format: date-time + description: The end date and time of the interview + remote_created_at: + type: string + format: date-time + description: The remote creation date of the interview + remote_updated_at: + type: string + format: date-time + description: The remote modification date of the interview + field_mappings: + type: object + properties: {} + required: + - field_mappings + UnifiedAtsJobinterviewstageOutput: + type: object + properties: + name: + type: string + description: The name of the job interview stage + stage_order: + type: number + description: The order of the stage + job_id: + type: string + description: The UUID of the job + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the job interview stage + remote_id: + type: string + description: >- + The remote ID of the job interview stage in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsJobOutput: + type: object + properties: + name: + type: string + description: The name of the job + description: + type: string + description: The description of the job + code: + type: string + description: The code of the job + status: + type: string + description: The status of the job + type: + type: string + description: The type of the job + confidential: + type: boolean + description: Whether the job is confidential + departments: + description: The departments UUIDs associated with the job + type: array + items: + type: string + offices: + description: The offices UUIDs associated with the job + type: array + items: + type: string + managers: + description: The managers UUIDs associated with the job + type: array + items: + type: string + recruiters: + description: The recruiters UUIDs associated with the job + type: array + items: + type: string + remote_created_at: + type: string + format: date-time + description: The remote creation date of the job + remote_updated_at: + type: string + format: date-time + description: The remote modification date of the job + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the job + remote_id: + type: string + description: The remote ID of the job in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsOfferOutput: + type: object + properties: + created_by: + type: string + description: The UUID of the creator + remote_created_at: + type: string + format: date-time + description: The remote creation date of the offer + closed_at: + type: string + format: date-time + description: The closing date of the offer + sent_at: + type: string + format: date-time + description: The sending date of the offer + start_date: + type: string + format: date-time + description: The start date of the offer + status: + type: string + description: The status of the offer + application_id: + type: string + description: The UUID of the application + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the offer + remote_id: + type: string + description: The remote ID of the offer in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsOfficeOutput: + type: object + properties: + name: + type: string + description: The name of the office + location: + type: string + description: The location of the office + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the office + remote_id: + type: string + description: The remote ID of the office in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsRejectreasonOutput: + type: object + properties: + name: + type: string + description: The name of the reject reason + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the reject reason + remote_id: + type: string + description: The remote ID of the reject reason in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsScorecardOutput: + type: object + properties: + overall_recommendation: + type: string + description: The overall recommendation + application_id: + type: string + description: The UUID of the application + interview_id: + type: string + description: The UUID of the interview + remote_created_at: + type: string + format: date-time + description: The remote creation date of the scorecard + submitted_at: + type: string + format: date-time + description: The submission date of the scorecard + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the scorecard + remote_id: + type: string + description: The remote ID of the scorecard in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsTagOutput: + type: object + properties: + name: + type: string + description: The name of the tag + id_ats_candidate: + type: string + description: The UUID of the candidate + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the tag + remote_id: + type: string + description: The remote ID of the tag in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: string + format: date-time + description: The creation date of the tag + modified_at: + type: string + format: date-time + description: The modification date of the tag + required: + - field_mappings + - remote_data + UnifiedAtsUserOutput: + type: object + properties: + first_name: + type: string + description: The first name of the user + last_name: + type: string + description: The last name of the user + email: + type: string + description: The email of the user + disabled: + type: boolean + description: Whether the user is disabled + access_role: + type: string + description: The access role of the user + remote_created_at: + type: string + format: date-time + description: The remote creation date of the user + remote_modified_at: + type: string + format: date-time + description: The remote modification date of the user + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the user + remote_id: + type: string + description: The remote ID of the user in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAtsEeocsOutput: + type: object + properties: + candidate_id: + type: string + description: The UUID of the candidate + submitted_at: + type: string + format: date-time + description: The submission date of the EEOC + race: + type: string + description: The race of the candidate + gender: + type: string + description: The gender of the candidate + veteran_status: + type: string + description: The veteran status of the candidate + disability_status: + type: string + description: The disability status of the candidate + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the EEOC + remote_id: + type: string + description: The remote ID of the EEOC in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedAccountingAccountOutput: + type: object + properties: {} + UnifiedAccountingAccountInput: + type: object + properties: {} + UnifiedAccountingAddressOutput: + type: object + properties: {} + UnifiedAccountingAttachmentOutput: + type: object + properties: {} + UnifiedAccountingAttachmentInput: + type: object + properties: {} + UnifiedAccountingBalancesheetOutput: + type: object + properties: {} + UnifiedAccountingCashflowstatementOutput: + type: object + properties: {} + UnifiedAccountingCompanyinfoOutput: + type: object + properties: {} + UnifiedAccountingContactOutput: + type: object + properties: {} + UnifiedAccountingContactInput: + type: object + properties: {} + UnifiedAccountingCreditnoteOutput: + type: object + properties: {} + UnifiedAccountingExpenseOutput: + type: object + properties: {} + UnifiedAccountingExpenseInput: + type: object + properties: {} + UnifiedAccountingIncomestatementOutput: + type: object + properties: {} + UnifiedAccountingInvoiceOutput: + type: object + properties: {} + UnifiedAccountingInvoiceInput: + type: object + properties: {} + UnifiedAccountingItemOutput: + type: object + properties: {} + UnifiedAccountingJournalentryOutput: + type: object + properties: {} + UnifiedAccountingJournalentryInput: + type: object + properties: {} + UnifiedAccountingPaymentOutput: + type: object + properties: {} + UnifiedAccountingPaymentInput: + type: object + properties: {} + UnifiedAccountingPhonenumberOutput: + type: object + properties: {} + UnifiedAccountingPurchaseorderOutput: + type: object + properties: {} + UnifiedAccountingPurchaseorderInput: + type: object + properties: {} + UnifiedAccountingTaxrateOutput: + type: object + properties: {} + UnifiedAccountingTrackingcategoryOutput: + type: object + properties: {} + UnifiedAccountingTransactionOutput: + type: object + properties: {} + UnifiedAccountingVendorcreditOutput: + type: object + properties: {} + UnifiedFilestorageDriveOutput: + type: object + properties: + name: + type: string + description: The name of the drive + remote_created_at: + type: string + description: When the third party s drive was created. + drive_url: + type: string + description: The url of the drive + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the drive + remote_id: + type: string + description: The id of the drive in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - remote_created_at + - drive_url + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedFilestorageFileOutput: + type: object + properties: + name: + type: string + description: The name of the file + file_url: + type: string + description: The url of the file + mime_type: + type: string + description: The mime type of the file + size: + type: string + description: The size of the file + folder_id: + type: string + description: The UUID of the folder tied to the file + permission: + type: string + description: The UUID of the permission tied to the file + shared_link: + type: string + description: The UUID of the shared link tied to the file + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the file + remote_id: + type: string + description: The id of the file in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - file_url + - mime_type + - size + - folder_id + - permission + - shared_link + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedFilestorageFileInput: + type: object + properties: + name: + type: string + description: The name of the file + file_url: + type: string + description: The url of the file + mime_type: + type: string + description: The mime type of the file + size: + type: string + description: The size of the file + folder_id: + type: string + description: The UUID of the folder tied to the file + permission: + type: string + description: The UUID of the permission tied to the file + shared_link: + type: string + description: The UUID of the shared link tied to the file + field_mappings: + type: object + properties: {} + required: + - name + - file_url + - mime_type + - size + - folder_id + - permission + - shared_link + - field_mappings + UnifiedFilestorageFolderOutput: + type: object + properties: + name: + type: string + description: The name of the folder + size: + type: string + description: The size of the folder + folder_url: + type: string + description: The url of the folder + description: + type: string + description: The description of the folder + drive_id: + type: string + description: The UUID of the drive tied to the folder + parent_folder_id: + type: string + description: The UUID of the parent folder + shared_link: + type: string + description: The UUID of the shared link tied to the folder + permission: + type: string + description: The UUID of the permission tied to the folder + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the folder + remote_id: + type: string + description: The id of the folder in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - size + - folder_url + - description + - drive_id + - parent_folder_id + - shared_link + - permission + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedFilestorageFolderInput: + type: object + properties: + name: + type: string + description: The name of the folder + size: + type: string + description: The size of the folder + folder_url: + type: string + description: The url of the folder + description: + type: string + description: The description of the folder + drive_id: + type: string + description: The UUID of the drive tied to the folder + parent_folder_id: + type: string + description: The UUID of the parent folder + shared_link: + type: string + description: The UUID of the shared link tied to the folder + permission: + type: string + description: The UUID of the permission tied to the folder + field_mappings: + type: object + properties: {} + required: + - name + - size + - folder_url + - description + - drive_id + - parent_folder_id + - shared_link + - permission + - field_mappings + UnifiedFilestorageGroupOutput: + type: object + properties: + name: + type: string + description: The name of the group + users: + description: Uuids of users of the group + type: array + items: + type: string + remote_was_deleted: + type: boolean + description: >- + Indicates whether or not this object has been deleted in the third party platform. + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the group + remote_id: + type: string + description: The id of the group in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - users + - remote_was_deleted + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedUserOutput: + type: object + properties: + name: + type: string + description: The name of the user + email: + type: string + description: The email of the user + is_me: + type: boolean + description: Whether the user is the one who linked this account. + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the user + remote_id: + type: string + description: The id of the user in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - name + - email + - is_me + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedTicketingAttachmentOutput: + type: object + properties: + file_name: + type: string + description: The file name of the attachment + file_url: + type: string + description: The file url of the attachment + uploader: + type: string + description: The uploader's UUID of the attachment + ticket_id: + type: string + description: The UUID of the ticket the attachment is tied to + comment_id: + type: string + description: The UUID of the comment the attachment is tied to + field_mappings: + type: object + properties: {} + id: + type: string + description: The UUID of the attachment + remote_id: + type: string + description: The id of the attachment in the context of the 3rd Party + remote_data: + type: object + properties: {} + created_at: + type: object + properties: {} + modified_at: + type: object + properties: {} + required: + - file_name + - file_url + - uploader + - field_mappings + - remote_data + - created_at + - modified_at + UnifiedTicketingAttachmentInput: + type: object + properties: + file_name: + type: string + description: The file name of the attachment + file_url: + type: string + description: The file url of the attachment + uploader: + type: string + description: The uploader's UUID of the attachment + ticket_id: + type: string + description: The UUID of the ticket the attachment is tied to + comment_id: + type: string + description: The UUID of the comment the attachment is tied to + field_mappings: + type: object + properties: {} + required: + - file_name + - file_url + - uploader + - field_mappings +x-speakeasy-name-override: + - operationId: ^retrieve.* + methodNameOverride: retrieve + - operationId: ^list.* + methodNameOverride: list + - operationId: ^create.* + methodNameOverride: create diff --git a/packages/api/swagger/swagger-spec.yaml b/packages/api/swagger/swagger-spec.yaml index 7c32fddb5..6b3a71908 100644 --- a/packages/api/swagger/swagger-spec.yaml +++ b/packages/api/swagger/swagger-spec.yaml @@ -24,10 +24,10 @@ paths: application/json: schema: $ref: '#/components/schemas/Number' - /webhook: + /webhooks: get: operationId: listWebhooks - summary: 'List webhooks ' + summary: List webhooks parameters: [] responses: '200': @@ -39,10 +39,10 @@ paths: items: $ref: '#/components/schemas/WebhookResponse' tags: &ref_0 - - webhook + - webhooks x-speakeasy-group: webhook post: - operationId: createWebhook + operationId: createWebhookPublic summary: Add webhook metadata parameters: [] requestBody: @@ -60,7 +60,7 @@ paths: $ref: '#/components/schemas/WebhookResponse' tags: *ref_0 x-speakeasy-group: webhook - /webhook/{id}: + /webhooks/{id}: delete: operationId: delete summary: Delete Webhook @@ -80,7 +80,7 @@ paths: schema: $ref: '#/components/schemas/WebhookResponse' tags: *ref_0 - x-speakeasy-group: webhook + x-speakeasy-group: webhooks.{id} put: operationId: updateStatus summary: Update webhook status @@ -101,7 +101,7 @@ paths: $ref: '#/components/schemas/WebhookResponse' tags: *ref_0 x-speakeasy-group: webhook - /webhook/verifyEvent: + /webhooks/verifyEvent: post: operationId: verifyEvent summary: Verify payload signature of the webhook @@ -126,7 +126,7 @@ paths: '201': description: '' tags: *ref_0 - x-speakeasy-group: webhook + x-speakeasy-group: webhooks.verifyevent /ticketing/tickets: get: operationId: listTicketingTicket @@ -1746,10 +1746,10 @@ paths: tags: *ref_32 security: *ref_33 x-speakeasy-group: ticketing.teams - /linked-users: + /linked_users: post: operationId: createLinkedUser - summary: Add Linked User + summary: Create Linked Users parameters: [] requestBody: required: true @@ -1769,7 +1769,7 @@ paths: x-speakeasy-group: linkedUsers get: operationId: listLinkedUsers - summary: Retrieve Linked Users + summary: List Linked Users parameters: [] responses: '200': @@ -1782,7 +1782,7 @@ paths: $ref: '#/components/schemas/LinkedUserResponse' tags: *ref_34 x-speakeasy-group: linkedUsers - /linked-users/batch: + /linked_users/batch: post: operationId: importBatch summary: Add Batch Linked Users @@ -1804,10 +1804,10 @@ paths: $ref: '#/components/schemas/LinkedUserResponse' tags: *ref_34 x-speakeasy-group: linkedUsers - /linked-users/single: + /linked_users/single: get: operationId: retrieveLinkedUser - summary: Retrieve a Linked User + summary: Retrieve Linked Users parameters: - name: id required: true @@ -1823,7 +1823,7 @@ paths: $ref: '#/components/schemas/LinkedUserResponse' tags: *ref_34 x-speakeasy-group: linkedUsers - /linked-users/fromRemoteId: + /linked_users/fromRemoteId: get: operationId: remoteId summary: Retrieve a Linked User From A Remote Id @@ -1842,9 +1842,9 @@ paths: $ref: '#/components/schemas/LinkedUserResponse' tags: *ref_34 x-speakeasy-group: linkedUsers - /field-mappings/define: + /field_mappings/define: post: - operationId: define + operationId: definitions summary: Define target Field parameters: [] requestBody: @@ -1863,9 +1863,9 @@ paths: tags: &ref_35 - fieldMappings x-speakeasy-group: fieldMappings - /field-mappings: + /field_mappings: post: - operationId: create + operationId: defineCustomField summary: Create Custom Field parameters: [] requestBody: @@ -1883,7 +1883,7 @@ paths: $ref: '#/components/schemas/CustomFieldResponse' tags: *ref_35 x-speakeasy-group: fieldMappings - /field-mappings/map: + /field_mappings/map: post: operationId: map summary: Map Custom Field @@ -8060,13 +8060,12 @@ servers: description: Production server - url: https://api-sandbox.panora.dev description: Sandbox server - - url: https://api-dev.panora.dev - description: Development server components: securitySchemes: - bearer: - type: http - scheme: bearer + apiKey: + type: apiKey + name: x-api-key + in: header schemas: String: type: object diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ee1d2012f..904d3ba94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -526,6 +526,9 @@ importers: nestjs-pino: specifier: ^3.5.0 version: 3.5.0(@nestjs/common@10.3.7)(pino-http@8.6.1) + nodemailer: + specifier: ^6.9.14 + version: 6.9.14 openai: specifier: ^4.38.5 version: 4.38.5 @@ -13008,17 +13011,10 @@ packages: /node-releases@2.0.18: resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} - /nodemailer@6.9.13: - resolution: {integrity: sha512-7o38Yogx6krdoBf3jCAqnIN4oSQFx+fMa0I7dK1D+me9kBxx12D+/33wSb+fhOCtIxvYJ+4x4IMEhmhCKfAiOA==} - engines: {node: '>=6.0.0'} - requiresBuild: true - dev: true - optional: true - /nodemailer@6.9.14: resolution: {integrity: sha512-Dobp/ebDKBvz91sbtRKhcznLThrKxKt97GI2FAlAyy+fk19j73Uz3sBXolVtmcXjaorivqsbbbjDY+Jkt4/bQA==} engines: {node: '>=6.0.0'} - dev: true + dev: false /nopt@5.0.0: resolution: {integrity: sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==}