From 2b7d6f43cd2843d78e29fc60de2d2a757a9343b8 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 26 Oct 2025 00:03:59 +0000 Subject: [PATCH] ci: regenerated with Speakeasy CLI v1.639.3 --- .speakeasy/workflow.lock | 9 +- .../swagger/openapi-with-code-samples.yaml | 2876 +++++++++-------- 2 files changed, 1509 insertions(+), 1376 deletions(-) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 54aee2d7c..885215111 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,13 @@ -speakeasyVersion: 1.441.0 +speakeasyVersion: 1.639.3 sources: merge-code-samples-into-spec: sourceNamespace: merge-code-samples-into-spec - sourceRevisionDigest: sha256:207aca7b31667aa710fdbe316a59408df4dbcb0be4f1437deb9a09dd671f68f7 - sourceBlobDigest: sha256:6cae9e4c3673dec9ca1223e878a3583b4fd46d3eadf1f38c7140ae75c45487e3 + sourceRevisionDigest: sha256:ef0a3624825348708f4efe35903d87251bbdbd5e810691bb36aa55cdb1b45a7a + sourceBlobDigest: sha256:4748bf3675d9ac222556f60836545e3f1c35e60477fc3fa063adad789bbfa25a tags: - latest - - speakeasy-sdk-regen-1731974607 + - speakeasy-sdk-regen-1732147399 + - "1.0" targets: {} workflow: workflowVersion: 1.0.0 diff --git a/packages/api/swagger/openapi-with-code-samples.yaml b/packages/api/swagger/openapi-with-code-samples.yaml index 76448dbc8..c4455fb3f 100644 --- a/packages/api/swagger/openapi-with-code-samples.yaml +++ b/packages/api/swagger/openapi-with-code-samples.yaml @@ -147,449 +147,6 @@ paths: - lang: ruby label: health source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.health()\n\nif ! res.number.nil?\n # handle response\nend" - /rag/query: - post: - operationId: query - summary: Query using RAG Search - description: Query across your connected data sources using RAG Search - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/QueryBody' - responses: - '201': - description: '' - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/RagQueryOutput' - x-speakeasy-group: rag - x-codeSamples: - - lang: typescript - label: query - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - apiKey: "", - }); - - async function run() { - const result = await panora.rag.query({ - xConnectionToken: "", - queryBody: { - query: "When does Panora incorporated?", - topK: 3, - }, - }); - - // Handle the result - console.log(result); - } - - run(); - - lang: python - label: query - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.rag.query(x_connection_token="", query_body={ - "query": "When does Panora incorporated?", - "top_k": 3, - }) - - if res is not None: - # handle response - pass - - lang: go - label: query - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Rag.Query(ctx, "", components.QueryBody{ - Query: "When does Panora incorporated?", - TopK: gosdk.Float64(3), - }) - if err != nil { - log.Fatal(err) - } - if res.RagQueryOutputs != nil { - // handle response - } - } - - lang: ruby - label: query - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.rag.query(x_connection_token=\"\", query_body=::OpenApiSDK::Shared::QueryBody.new(\n query: \"When does Panora incorporated?\",\n top_k: 3,\n))\n\nif ! res.rag_query_outputs.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 - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: '#/components/schemas/UnifiedFilestorageFileOutput' - tags: &ref_0 - - filestorage/files - x-speakeasy-group: filestorage.files - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listFilestorageFile - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - apiKey: "", - }); - - async function run() { - const result = await panora.filestorage.files.list({ - xConnectionToken: "", - remoteData: true, - limit: 10, - cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", - }); - - for await (const page of result) { - // Handle the page - console.log(page); - } - } - - run(); - - lang: python - label: listFilestorageFile - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.files.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listFilestorageFile - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Files.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listFilestorageFile - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_files.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: 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: false - in: query - example: false - description: Set to true to include data from the original Accounting software. - schema: - type: boolean - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFileInput' - responses: - '201': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFileOutput' - tags: *ref_0 - x-speakeasy-group: filestorage.files - x-codeSamples: - - lang: typescript - label: createFilestorageFile - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - apiKey: "", - }); - - async function run() { - const result = await panora.filestorage.files.create({ - xConnectionToken: "", - remoteData: false, - unifiedFilestorageFileInput: { - name: "my_paris_photo.png", - fileUrl: "https://example.com/my_paris_photo.png", - mimeType: "application/pdf", - size: "1024", - folderId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - permission: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - sharedLink: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - fieldMappings: { - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, - }); - - // Handle the result - console.log(result); - } - - run(); - - lang: python - label: createFilestorageFile - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.files.create(x_connection_token="", unified_filestorage_file_input={ - "name": "my_paris_photo.png", - "file_url": "https://example.com/my_paris_photo.png", - "mime_type": "application/pdf", - "size": "1024", - "folder_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "permission": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "shared_link": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "field_mappings": { - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: createFilestorageFile - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "github.com/panoratech/go-sdk/models/components" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Filestorage.Files.Create(ctx, "", components.UnifiedFilestorageFileInput{ - Name: gosdk.String("my_paris_photo.png"), - FileURL: gosdk.String("https://example.com/my_paris_photo.png"), - MimeType: gosdk.String("application/pdf"), - Size: gosdk.String("1024"), - FolderID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Permission: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - SharedLink: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - FieldMappings: map[string]any{ - "fav_dish": "broccoli", - "fav_color": "red", - }, - }, gosdk.Bool(false)) - if err != nil { - log.Fatal(err) - } - if res.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 api_key: \"\",\n )\n)\n\n \nres = s.filestorage_files.create(x_connection_token=\"\", unified_filestorage_file_input=::OpenApiSDK::Shared::UnifiedFilestorageFileInput.new(\n name: \"my_paris_photo.png\",\n file_url: \"https://example.com/my_paris_photo.png\",\n mime_type: \"application/pdf\",\n size: \"1024\",\n folder_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n permission: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n shared_link: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_filestorage_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. - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - schema: - type: string - - name: remote_data - required: false - in: query - description: Set to true to include data from the original File Storage software. - example: false - schema: - type: boolean - responses: - '200': - description: '' - content: - application/json: - schema: - $ref: '#/components/schemas/UnifiedFilestorageFileOutput' - tags: *ref_0 - x-speakeasy-group: filestorage.files - x-codeSamples: - - lang: typescript - label: retrieveFilestorageFile - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - apiKey: "", - }); - - async function run() { - const result = await panora.filestorage.files.retrieve({ - xConnectionToken: "", - id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - remoteData: false, - }); - - // Handle the result - console.log(result); - } - - run(); - - lang: python - label: retrieveFilestorageFile - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.filestorage.files.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) - - if res is not None: - # handle response - pass - - lang: go - label: retrieveFilestorageFile - source: |- - package main - - import( - gosdk "github.com/panoratech/go-sdk" - "context" - "log" - ) - - func main() { - s := gosdk.New( - gosdk.WithSecurity(""), - ) - - ctx := context.Background() - res, err := s.Filestorage.Files.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) - 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 api_key: \"\",\n )\n)\n\n \nres = s.filestorage_files.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_file_output.nil?\n # handle response\nend" /auth/login: post: operationId: signIn @@ -767,7 +324,7 @@ paths: type: array items: $ref: '#/components/schemas/WebhookResponse' - tags: &ref_1 + tags: &ref_0 - webhooks x-speakeasy-group: webhooks x-codeSamples: @@ -848,7 +405,7 @@ paths: application/json: schema: $ref: '#/components/schemas/WebhookResponse' - tags: *ref_1 + tags: *ref_0 x-speakeasy-group: webhooks x-codeSamples: - lang: typescript @@ -943,13 +500,15 @@ paths: schema: type: string responses: + '200': + description: '' '201': description: '' content: application/json: schema: $ref: '#/components/schemas/WebhookResponse' - tags: *ref_1 + tags: *ref_0 x-speakeasy-group: webhooks x-codeSamples: - lang: typescript @@ -1026,13 +585,15 @@ paths: schema: type: string responses: + '200': + description: '' '201': description: '' content: application/json: schema: $ref: '#/components/schemas/WebhookResponse' - tags: *ref_1 + tags: *ref_0 x-speakeasy-group: webhooks x-codeSamples: - lang: typescript @@ -1117,7 +678,7 @@ paths: type: object additionalProperties: true description: Dynamic event payload - tags: *ref_1 + tags: *ref_0 x-speakeasy-group: webhooks x-codeSamples: - lang: typescript @@ -1227,6 +788,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -1248,7 +810,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingTicketOutput' - tags: &ref_2 + tags: &ref_1 - ticketing/tickets x-speakeasy-group: ticketing.tickets x-speakeasy-pagination: @@ -1340,7 +902,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingTicketOutput' - tags: *ref_2 + tags: *ref_1 x-speakeasy-group: ticketing.tickets x-codeSamples: - lang: typescript @@ -1573,7 +1135,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingTicketOutput' - tags: *ref_2 + tags: *ref_1 x-speakeasy-group: ticketing.tickets x-codeSamples: - lang: typescript @@ -1664,6 +1226,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -1685,7 +1248,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingUserOutput' - tags: &ref_3 + tags: &ref_2 - ticketing/users x-speakeasy-group: ticketing.users x-speakeasy-pagination: @@ -1779,7 +1342,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingUserOutput' - tags: *ref_3 + tags: *ref_2 x-speakeasy-group: ticketing.users x-codeSamples: - lang: typescript @@ -1870,6 +1433,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -1891,7 +1455,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingAccountOutput' - tags: &ref_4 + tags: &ref_3 - ticketing/accounts x-speakeasy-group: ticketing.accounts x-speakeasy-pagination: @@ -1983,7 +1547,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingAccountOutput' - tags: *ref_4 + tags: *ref_3 x-speakeasy-group: ticketing.accounts x-codeSamples: - lang: typescript @@ -2073,6 +1637,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -2094,7 +1659,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingContactOutput' - tags: &ref_5 + tags: &ref_4 - ticketing/contacts x-speakeasy-group: ticketing.contacts x-speakeasy-pagination: @@ -2192,7 +1757,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingContactOutput' - tags: *ref_5 + tags: *ref_4 x-speakeasy-group: ticketing.contacts x-codeSamples: - lang: typescript @@ -2279,7 +1844,7 @@ paths: responses: '200': description: '' - tags: &ref_6 + tags: &ref_5 - sync x-speakeasy-group: sync x-codeSamples: @@ -2357,7 +1922,7 @@ paths: application/json: schema: $ref: '#/components/schemas/ResyncStatusDto' - tags: *ref_6 + tags: *ref_5 x-speakeasy-group: sync x-codeSamples: - lang: typescript @@ -2434,7 +1999,13 @@ paths: responses: '200': description: Pull frequency updated successfully - tags: *ref_6 + '201': + description: '' + content: + application/json: + schema: + type: object + tags: *ref_5 x-speakeasy-group: sync x-codeSamples: - lang: typescript @@ -2470,7 +2041,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UpdatePullFrequencyDto' - tags: *ref_6 + tags: *ref_5 x-speakeasy-group: sync x-codeSamples: - lang: typescript @@ -2514,6 +2085,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -2535,7 +2107,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmCompanyOutput' - tags: &ref_7 + tags: &ref_6 - crm/companies x-speakeasy-group: crm.companies x-speakeasy-pagination: @@ -2627,7 +2199,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmCompanyOutput' - tags: *ref_7 + tags: *ref_6 x-speakeasy-group: crm.companies x-codeSamples: - lang: typescript @@ -2827,7 +2399,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmCompanyOutput' - tags: *ref_7 + tags: *ref_6 x-speakeasy-group: crm.companies x-codeSamples: - lang: typescript @@ -2918,6 +2490,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -2939,7 +2512,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmContactOutput' - tags: &ref_8 + tags: &ref_7 - crm/contacts x-speakeasy-group: crm.contacts x-speakeasy-pagination: @@ -3031,7 +2604,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmContactOutput' - tags: *ref_8 + tags: *ref_7 x-speakeasy-group: crm.contacts x-codeSamples: - lang: typescript @@ -3228,7 +2801,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmContactOutput' - tags: *ref_8 + tags: *ref_7 x-speakeasy-group: crm.contacts x-codeSamples: - lang: typescript @@ -3319,6 +2892,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -3340,7 +2914,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmDealOutput' - tags: &ref_9 + tags: &ref_8 - crm/deals x-speakeasy-group: crm.deals x-speakeasy-pagination: @@ -3431,7 +3005,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmDealOutput' - tags: *ref_9 + tags: *ref_8 x-speakeasy-group: crm.deals x-codeSamples: - lang: typescript @@ -3564,7 +3138,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmDealOutput' - tags: *ref_9 + tags: *ref_8 x-speakeasy-group: crm.deals x-codeSamples: - lang: typescript @@ -3655,6 +3229,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -3676,7 +3251,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmEngagementOutput' - tags: &ref_10 + tags: &ref_9 - crm/engagements x-speakeasy-group: crm.engagements x-speakeasy-pagination: @@ -3768,7 +3343,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmEngagementOutput' - tags: *ref_10 + tags: *ref_9 x-speakeasy-group: crm.engagements x-codeSamples: - lang: typescript @@ -3919,7 +3494,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmEngagementOutput' - tags: *ref_10 + tags: *ref_9 x-speakeasy-group: crm.engagements x-codeSamples: - lang: typescript @@ -4010,6 +3585,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -4031,7 +3607,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmNoteOutput' - tags: &ref_11 + tags: &ref_10 - crm/notes x-speakeasy-group: crm.notes x-speakeasy-pagination: @@ -4123,7 +3699,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmNoteOutput' - tags: *ref_11 + tags: *ref_10 x-speakeasy-group: crm.notes x-codeSamples: - lang: typescript @@ -4254,7 +3830,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmNoteOutput' - tags: *ref_11 + tags: *ref_10 x-speakeasy-group: crm.notes x-codeSamples: - lang: typescript @@ -4345,6 +3921,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -4366,7 +3943,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmStageOutput' - tags: &ref_12 + tags: &ref_11 - crm/stages x-speakeasy-group: crm.stages x-speakeasy-pagination: @@ -4460,7 +4037,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmStageOutput' - tags: *ref_12 + tags: *ref_11 x-speakeasy-group: crm.stages x-codeSamples: - lang: typescript @@ -4551,6 +4128,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -4572,7 +4150,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmTaskOutput' - tags: &ref_13 + tags: &ref_12 - crm/tasks x-speakeasy-group: crm.tasks x-speakeasy-pagination: @@ -4663,7 +4241,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmTaskOutput' - tags: *ref_13 + tags: *ref_12 x-speakeasy-group: crm.tasks x-codeSamples: - lang: typescript @@ -4802,7 +4380,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmTaskOutput' - tags: *ref_13 + tags: *ref_12 x-speakeasy-group: crm.tasks x-codeSamples: - lang: typescript @@ -4893,6 +4471,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -4914,7 +4493,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedCrmUserOutput' - tags: &ref_14 + tags: &ref_13 - crm/users x-speakeasy-group: crm.users x-speakeasy-pagination: @@ -5008,7 +4587,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedCrmUserOutput' - tags: *ref_14 + tags: *ref_13 x-speakeasy-group: crm.users x-codeSamples: - lang: typescript @@ -5099,6 +4678,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -5121,7 +4701,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedTicketingCollectionOutput - tags: &ref_15 + tags: &ref_14 - ticketing/collections x-speakeasy-group: ticketing.collections x-speakeasy-pagination: @@ -5215,7 +4795,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingCollectionOutput' - tags: *ref_15 + tags: *ref_14 x-speakeasy-group: ticketing.collections x-codeSamples: - lang: typescript @@ -5306,6 +4886,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -5327,7 +4908,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingCommentOutput' - tags: &ref_16 + tags: &ref_15 - ticketing/comments x-speakeasy-group: ticketing.comments x-speakeasy-pagination: @@ -5418,7 +4999,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingCommentOutput' - tags: *ref_16 + tags: *ref_15 x-speakeasy-group: ticketing.comments x-codeSamples: - lang: typescript @@ -5557,7 +5138,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingCommentOutput' - tags: *ref_16 + tags: *ref_15 x-speakeasy-group: ticketing.comments x-codeSamples: - lang: typescript @@ -5647,6 +5228,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -5668,7 +5250,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingTagOutput' - tags: &ref_17 + tags: &ref_16 - ticketing/tags x-speakeasy-group: ticketing.tags x-speakeasy-pagination: @@ -5762,7 +5344,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingTagOutput' - tags: *ref_17 + tags: *ref_16 x-speakeasy-group: ticketing.tags x-codeSamples: - lang: typescript @@ -5853,6 +5435,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -5874,7 +5457,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedTicketingTeamOutput' - tags: &ref_18 + tags: &ref_17 - ticketing/teams x-speakeasy-group: ticketing.teams x-speakeasy-pagination: @@ -5968,7 +5551,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingTeamOutput' - tags: *ref_18 + tags: *ref_17 x-speakeasy-group: ticketing.teams x-codeSamples: - lang: typescript @@ -6053,7 +5636,7 @@ paths: application/json: schema: $ref: '#/components/schemas/LinkedUserResponse' - tags: &ref_19 + tags: &ref_18 - linkedUsers x-speakeasy-group: linkedUsers x-codeSamples: @@ -6137,7 +5720,7 @@ paths: application/json: schema: $ref: '#/components/schemas/LinkedUserResponse' - tags: *ref_19 + tags: *ref_18 x-speakeasy-group: linkedUsers x-codeSamples: - lang: typescript @@ -6223,7 +5806,7 @@ paths: type: array items: $ref: '#/components/schemas/LinkedUserResponse' - tags: *ref_19 + tags: *ref_18 x-speakeasy-group: linkedUsers x-codeSamples: - lang: typescript @@ -6306,7 +5889,7 @@ paths: type: array items: $ref: '#/components/schemas/LinkedUserResponse' - tags: *ref_19 + tags: *ref_18 x-speakeasy-group: linkedUsers x-codeSamples: - lang: typescript @@ -6403,7 +5986,7 @@ paths: application/json: schema: $ref: '#/components/schemas/LinkedUserResponse' - tags: *ref_19 + tags: *ref_18 x-speakeasy-group: linkedUsers x-codeSamples: - lang: typescript @@ -6482,7 +6065,7 @@ paths: type: array items: $ref: '#/components/schemas/ProjectResponse' - tags: &ref_20 + tags: &ref_19 - projects x-codeSamples: - lang: typescript @@ -6562,7 +6145,7 @@ paths: application/json: schema: $ref: '#/components/schemas/ProjectResponse' - tags: *ref_20 + tags: *ref_19 x-codeSamples: - lang: typescript label: createProject @@ -6645,7 +6228,7 @@ paths: responses: '200': description: '' - tags: &ref_21 + tags: &ref_20 - fieldMappings x-speakeasy-group: fieldMappings x-codeSamples: @@ -6714,7 +6297,7 @@ paths: responses: '200': description: '' - tags: *ref_21 + tags: *ref_20 x-speakeasy-group: fieldMappings x-codeSamples: - lang: typescript @@ -6782,7 +6365,7 @@ paths: responses: '200': description: '' - tags: *ref_21 + tags: *ref_20 x-speakeasy-group: fieldMappings x-codeSamples: - lang: typescript @@ -6860,7 +6443,7 @@ paths: application/json: schema: $ref: '#/components/schemas/CustomFieldResponse' - tags: *ref_21 + tags: *ref_20 x-speakeasy-group: fieldMappings x-codeSamples: - lang: typescript @@ -6959,7 +6542,7 @@ paths: application/json: schema: $ref: '#/components/schemas/CustomFieldResponse' - tags: *ref_21 + tags: *ref_20 x-speakeasy-group: fieldMappings x-codeSamples: - lang: typescript @@ -7067,7 +6650,7 @@ paths: application/json: schema: $ref: '#/components/schemas/CustomFieldResponse' - tags: *ref_21 + tags: *ref_20 x-speakeasy-group: fieldMappings x-codeSamples: - lang: typescript @@ -7155,11 +6738,15 @@ paths: required: false in: query schema: + minimum: 1 + default: 1 type: number - name: limit required: false in: query schema: + minimum: 1 + default: 10 type: number responses: '200': @@ -7256,7 +6843,13 @@ paths: application/json: schema: type: object - tags: &ref_22 + '201': + description: '' + content: + application/json: + schema: + type: object + tags: &ref_21 - passthrough x-speakeasy-group: passthrough x-codeSamples: @@ -7357,7 +6950,7 @@ paths: responses: '200': description: '' - tags: *ref_22 + tags: *ref_21 x-speakeasy-group: passthrough.{retryid} x-codeSamples: - lang: typescript @@ -7443,6 +7036,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -7465,7 +7059,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationActionOutput - tags: &ref_23 + tags: &ref_22 - marketingautomation/actions x-speakeasy-group: marketingautomation.actions x-speakeasy-pagination: @@ -7558,7 +7152,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' - tags: *ref_23 + tags: *ref_22 x-speakeasy-group: marketingautomation.actions x-codeSamples: - lang: typescript @@ -7660,7 +7254,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationActionOutput' - tags: *ref_23 + tags: *ref_22 x-speakeasy-group: marketingautomation.actions x-codeSamples: - lang: typescript @@ -7751,6 +7345,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -7773,7 +7368,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: &ref_24 + tags: &ref_23 - marketingautomation/automations x-speakeasy-group: marketingautomation.automations x-speakeasy-pagination: @@ -7867,7 +7462,7 @@ paths: schema: $ref: >- #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: *ref_24 + tags: *ref_23 x-speakeasy-group: marketingautomation.automations x-codeSamples: - lang: typescript @@ -7970,7 +7565,7 @@ paths: schema: $ref: >- #/components/schemas/UnifiedMarketingautomationAutomationOutput - tags: *ref_24 + tags: *ref_23 x-speakeasy-group: marketingautomation.automations x-codeSamples: - lang: typescript @@ -8061,6 +7656,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -8083,7 +7679,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationCampaignOutput - tags: &ref_25 + tags: &ref_24 - marketingautomation/campaigns x-speakeasy-group: marketingautomation.campaigns x-speakeasy-pagination: @@ -8176,7 +7772,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationCampaignOutput' - tags: *ref_25 + tags: *ref_24 x-speakeasy-group: marketingautomation.campaigns x-codeSamples: - lang: typescript @@ -8278,7 +7874,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationCampaignOutput' - tags: *ref_25 + tags: *ref_24 x-speakeasy-group: marketingautomation.campaigns x-codeSamples: - lang: typescript @@ -8369,6 +7965,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -8391,7 +7988,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationContactOutput - tags: &ref_26 + tags: &ref_25 - marketingautomation/contacts x-speakeasy-group: marketingautomation.contacts x-speakeasy-pagination: @@ -8484,7 +8081,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' - tags: *ref_26 + tags: *ref_25 x-speakeasy-group: marketingautomation.contacts x-codeSamples: - lang: typescript @@ -8586,7 +8183,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationContactOutput' - tags: *ref_26 + tags: *ref_25 x-speakeasy-group: marketingautomation.contacts x-codeSamples: - lang: typescript @@ -8677,6 +8274,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -8699,7 +8297,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationEmailOutput - tags: &ref_27 + tags: &ref_26 - marketingautomation/emails x-speakeasy-group: marketingautomation.emails x-speakeasy-pagination: @@ -8794,7 +8392,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationEmailOutput' - tags: *ref_27 + tags: *ref_26 x-speakeasy-group: marketingautomation.emails x-codeSamples: - lang: typescript @@ -8885,6 +8483,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -8907,7 +8506,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationEventOutput - tags: &ref_28 + tags: &ref_27 - marketingautomation/events x-speakeasy-group: marketingautomation.events x-speakeasy-pagination: @@ -9002,7 +8601,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationEventOutput' - tags: *ref_28 + tags: *ref_27 x-speakeasy-group: marketingautomation.events x-codeSamples: - lang: typescript @@ -9093,6 +8692,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -9115,7 +8715,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationListOutput - tags: &ref_29 + tags: &ref_28 - marketingautomation/lists x-speakeasy-group: marketingautomation.lists x-speakeasy-pagination: @@ -9207,7 +8807,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' - tags: *ref_29 + tags: *ref_28 x-speakeasy-group: marketingautomation.lists x-codeSamples: - lang: typescript @@ -9308,7 +8908,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationListOutput' - tags: *ref_29 + tags: *ref_28 x-speakeasy-group: marketingautomation.lists x-codeSamples: - lang: typescript @@ -9399,6 +8999,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -9421,7 +9022,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationMessageOutput - tags: &ref_30 + tags: &ref_29 - marketingautomation/messages x-speakeasy-group: marketingautomation.messages x-speakeasy-pagination: @@ -9516,7 +9117,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationMessageOutput' - tags: *ref_30 + tags: *ref_29 x-speakeasy-group: marketingautomation.messages x-codeSamples: - lang: typescript @@ -9607,6 +9208,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -9629,7 +9231,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationTemplateOutput - tags: &ref_31 + tags: &ref_30 - marketingautomation/templates x-speakeasy-group: marketingautomation.templates x-speakeasy-pagination: @@ -9721,7 +9323,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' - tags: *ref_31 + tags: *ref_30 x-speakeasy-group: marketingautomation.templates x-codeSamples: - lang: typescript @@ -9822,7 +9424,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationTemplateOutput' - tags: *ref_31 + tags: *ref_30 x-speakeasy-group: marketingautomation.templates x-codeSamples: - lang: typescript @@ -9913,6 +9515,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -9935,7 +9538,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedMarketingautomationUserOutput - tags: &ref_32 + tags: &ref_31 - marketingautomation/users x-speakeasy-group: marketingautomation.users x-speakeasy-pagination: @@ -10030,7 +9633,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedMarketingautomationUserOutput' - tags: *ref_32 + tags: *ref_31 x-speakeasy-group: marketingautomation.users x-codeSamples: - lang: typescript @@ -10121,6 +9724,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -10142,7 +9746,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: &ref_33 + tags: &ref_32 - accounting/accounts x-speakeasy-group: accounting.accounts x-speakeasy-pagination: @@ -10234,7 +9838,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: *ref_33 + tags: *ref_32 x-speakeasy-group: accounting.accounts x-codeSamples: - lang: typescript @@ -10371,7 +9975,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingAccountOutput' - tags: *ref_33 + tags: *ref_32 x-speakeasy-group: accounting.accounts x-codeSamples: - lang: typescript @@ -10462,6 +10066,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -10483,7 +10088,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedAccountingAddressOutput' - tags: &ref_34 + tags: &ref_33 - accounting/addresses x-speakeasy-group: accounting.addresses x-speakeasy-pagination: @@ -10577,7 +10182,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingAddressOutput' - tags: *ref_34 + tags: *ref_33 x-speakeasy-group: accounting.addresses x-codeSamples: - lang: typescript @@ -10668,6 +10273,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -10690,7 +10296,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedAccountingAttachmentOutput - tags: &ref_35 + tags: &ref_34 - accounting/attachments x-speakeasy-group: accounting.attachments x-speakeasy-pagination: @@ -10782,7 +10388,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' - tags: *ref_35 + tags: *ref_34 x-speakeasy-group: accounting.attachments x-codeSamples: - lang: typescript @@ -10898,7 +10504,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingAttachmentOutput' - tags: *ref_35 + tags: *ref_34 x-speakeasy-group: accounting.attachments x-codeSamples: - lang: typescript @@ -10989,6 +10595,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -11011,7 +10618,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedAccountingBalancesheetOutput - tags: &ref_36 + tags: &ref_35 - accounting/balancesheets x-speakeasy-group: accounting.balancesheets x-speakeasy-pagination: @@ -11105,7 +10712,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingBalancesheetOutput' - tags: *ref_36 + tags: *ref_35 x-speakeasy-group: accounting.balancesheets x-codeSamples: - lang: typescript @@ -11196,6 +10803,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -11218,7 +10826,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedAccountingCashflowstatementOutput - tags: &ref_37 + tags: &ref_36 - accounting/cashflowstatements x-speakeasy-group: accounting.cashflowstatements x-speakeasy-pagination: @@ -11312,7 +10920,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingCashflowstatementOutput' - tags: *ref_37 + tags: *ref_36 x-speakeasy-group: accounting.cashflowstatements x-codeSamples: - lang: typescript @@ -11403,6 +11011,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -11425,7 +11034,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedAccountingCompanyinfoOutput - tags: &ref_38 + tags: &ref_37 - accounting/companyinfos x-speakeasy-group: accounting.companyinfos x-speakeasy-pagination: @@ -11519,7 +11128,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingCompanyinfoOutput' - tags: *ref_38 + tags: *ref_37 x-speakeasy-group: accounting.companyinfos x-codeSamples: - lang: typescript @@ -11610,6 +11219,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -11631,7 +11241,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: &ref_39 + tags: &ref_38 - accounting/contacts x-speakeasy-group: accounting.contacts x-speakeasy-pagination: @@ -11723,7 +11333,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: *ref_39 + tags: *ref_38 x-speakeasy-group: accounting.contacts x-codeSamples: - lang: typescript @@ -11857,7 +11467,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingContactOutput' - tags: *ref_39 + tags: *ref_38 x-speakeasy-group: accounting.contacts x-codeSamples: - lang: typescript @@ -11948,6 +11558,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -11970,7 +11581,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedAccountingCreditnoteOutput - tags: &ref_40 + tags: &ref_39 - accounting/creditnotes x-speakeasy-group: accounting.creditnotes x-speakeasy-pagination: @@ -12064,7 +11675,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingCreditnoteOutput' - tags: *ref_40 + tags: *ref_39 x-speakeasy-group: accounting.creditnotes x-codeSamples: - lang: typescript @@ -12155,6 +11766,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -12176,7 +11788,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: &ref_41 + tags: &ref_40 - accounting/expenses x-speakeasy-group: accounting.expenses x-speakeasy-pagination: @@ -12268,7 +11880,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: *ref_41 + tags: *ref_40 x-speakeasy-group: accounting.expenses x-codeSamples: - lang: typescript @@ -12455,7 +12067,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingExpenseOutput' - tags: *ref_41 + tags: *ref_40 x-speakeasy-group: accounting.expenses x-codeSamples: - lang: typescript @@ -12546,6 +12158,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -12568,7 +12181,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedAccountingIncomestatementOutput - tags: &ref_42 + tags: &ref_41 - accounting/incomestatements x-speakeasy-group: accounting.incomestatements x-speakeasy-pagination: @@ -12662,7 +12275,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingIncomestatementOutput' - tags: *ref_42 + tags: *ref_41 x-speakeasy-group: accounting.incomestatements x-codeSamples: - lang: typescript @@ -12753,6 +12366,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -12774,7 +12388,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: &ref_43 + tags: &ref_42 - accounting/invoices x-speakeasy-group: accounting.invoices x-speakeasy-pagination: @@ -12866,7 +12480,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: *ref_43 + tags: *ref_42 x-speakeasy-group: accounting.invoices x-codeSamples: - lang: typescript @@ -13074,7 +12688,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingInvoiceOutput' - tags: *ref_43 + tags: *ref_42 x-speakeasy-group: accounting.invoices x-codeSamples: - lang: typescript @@ -13165,6 +12779,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -13186,7 +12801,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedAccountingItemOutput' - tags: &ref_44 + tags: &ref_43 - accounting/items x-speakeasy-group: accounting.items x-speakeasy-pagination: @@ -13280,7 +12895,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingItemOutput' - tags: *ref_44 + tags: *ref_43 x-speakeasy-group: accounting.items x-codeSamples: - lang: typescript @@ -13371,6 +12986,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -13393,7 +13009,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedAccountingJournalentryOutput - tags: &ref_45 + tags: &ref_44 - accounting/journalentries x-speakeasy-group: accounting.journalentries x-speakeasy-pagination: @@ -13485,7 +13101,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' - tags: *ref_45 + tags: *ref_44 x-speakeasy-group: accounting.journalentries x-codeSamples: - lang: typescript @@ -13690,7 +13306,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingJournalentryOutput' - tags: *ref_45 + tags: *ref_44 x-speakeasy-group: accounting.journalentries x-codeSamples: - lang: typescript @@ -13781,6 +13397,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -13802,7 +13419,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: &ref_46 + tags: &ref_45 - accounting/payments x-speakeasy-group: accounting.payments x-speakeasy-pagination: @@ -13894,7 +13511,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: *ref_46 + tags: *ref_45 x-speakeasy-group: accounting.payments x-codeSamples: - lang: typescript @@ -14081,7 +13698,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedAccountingPaymentOutput' - tags: *ref_46 + tags: *ref_45 x-speakeasy-group: accounting.payments x-codeSamples: - lang: typescript @@ -14106,7 +13723,215 @@ paths: run(); - lang: python - label: retrieveAccountingPayment + label: retrieveAccountingPayment + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.accounting.payments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + + if res is not None: + # handle response + pass + - lang: go + label: retrieveAccountingPayment + source: |- + package main + + import( + gosdk "github.com/panoratech/go-sdk" + "context" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(""), + ) + + ctx := context.Background() + res, err := s.Accounting.Payments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingPaymentOutput != nil { + // handle response + } + } + - lang: ruby + label: retrieveAccountingPayment + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" + /accounting/phonenumbers: + get: + operationId: listAccountingPhonenumber + summary: List PhoneNumbers + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + example: true + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + example: 10 + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + example: 1b8b05bb-5273-4012-b520-8657b0b90874 + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingPhonenumberOutput + tags: &ref_46 + - accounting/phonenumbers + x-speakeasy-group: accounting.phonenumbers + x-speakeasy-pagination: + type: cursor + inputs: + - name: cursor + in: parameters + type: cursor + outputs: + nextCursor: $.next_cursor + x-codeSamples: + - lang: typescript + label: listAccountingPhonenumber + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.phonenumbers.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); + - lang: python + label: listAccountingPhonenumber + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.accounting.phonenumbers.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + + if res is not None: + while True: + # handle items + + res = res.Next() + if res is None: + break + - lang: go + label: listAccountingPhonenumber + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Phonenumbers.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + - lang: ruby + label: listAccountingPhonenumber + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/phonenumbers/{id}: + get: + operationId: retrieveAccountingPhonenumber + summary: Retrieve Phone Numbers + description: Retrieve Phone Numbers from any connected Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the phonenumber you want to retrieve. + schema: + type: string + - name: remote_data + required: false + in: query + example: false + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPhonenumberOutput' + tags: *ref_46 + x-speakeasy-group: accounting.phonenumbers + x-codeSamples: + - lang: typescript + label: retrieveAccountingPhonenumber + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.phonenumbers.retrieve({ + xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteData: false, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: retrieveAccountingPhonenumber source: |- from panora_sdk import Panora @@ -14115,13 +13940,13 @@ paths: ) - res = s.accounting.payments.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.phonenumbers.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingPayment + label: retrieveAccountingPhonenumber source: |- package main @@ -14137,21 +13962,21 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Payments.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Phonenumbers.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingPaymentOutput != nil { + if res.UnifiedAccountingPhonenumberOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingPayment - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_payments.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_payment_output.nil?\n # handle response\nend" - /accounting/phonenumbers: + label: retrieveAccountingPhonenumber + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_phonenumber_output.nil?\n # handle response\nend" + /accounting/purchaseorders: get: - operationId: listAccountingPhonenumber - summary: List PhoneNumbers + operationId: listAccountingPurchaseOrder + summary: List PurchaseOrders parameters: - name: x-connection-token required: true @@ -14172,6 +13997,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -14193,10 +14019,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedAccountingPhonenumberOutput + #/components/schemas/UnifiedAccountingPurchaseorderOutput tags: &ref_47 - - accounting/phonenumbers - x-speakeasy-group: accounting.phonenumbers + - accounting/purchaseorders + x-speakeasy-group: accounting.purchaseorders x-speakeasy-pagination: type: cursor inputs: @@ -14207,7 +14033,7 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingPhonenumber + label: listAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; @@ -14216,7 +14042,7 @@ paths: }); async function run() { - const result = await panora.accounting.phonenumbers.list({ + const result = await panora.accounting.purchaseorders.list({ xConnectionToken: "", remoteData: true, limit: 10, @@ -14231,7 +14057,7 @@ paths: run(); - lang: python - label: listAccountingPhonenumber + label: listAccountingPurchaseOrder source: |- from panora_sdk import Panora @@ -14240,7 +14066,7 @@ paths: ) - res = s.accounting.phonenumbers.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.purchaseorders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -14250,16 +14076,210 @@ paths: if res is None: break - lang: go - label: listAccountingPhonenumber - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Phonenumbers.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingPurchaseOrder + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Purchaseorders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingPhonenumber - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/phonenumbers/{id}: + label: listAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createAccountingPurchaseOrder + summary: Create Purchase Orders + description: Create Purchase Orders in any supported Accounting software + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + example: false + description: Set to true to include data from the original Accounting software. + schema: + type: boolean + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderInput' + responses: + '201': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' + tags: *ref_47 + x-speakeasy-group: accounting.purchaseorders + x-codeSamples: + - lang: typescript + label: createAccountingPurchaseOrder + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.purchaseorders.create({ + xConnectionToken: "", + remoteData: false, + unifiedAccountingPurchaseorderInput: { + status: "Pending", + issueDate: new Date("2024-06-15T12:00:00Z"), + purchaseOrderNumber: "PO-001", + deliveryDate: new Date("2024-07-15T12:00:00Z"), + deliveryAddress: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + customer: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + vendor: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + memo: "Purchase order for Q3 inventory", + companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + totalAmount: 100000, + currency: "USD", + exchangeRate: "1.2", + trackingCategories: [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + accountingPeriodId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + lineItems: [ + { + name: "Net Income", + value: 100000, + type: "Operating Activities", + parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + remoteId: "report_item_1234", + remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), + companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + createdAt: new Date("2024-06-15T12:00:00Z"), + modifiedAt: new Date("2024-06-15T12:00:00Z"), + }, + ], + fieldMappings: {}, + }, + }); + + // Handle the result + console.log(result); + } + + run(); + - lang: python + label: createAccountingPurchaseOrder + source: |- + import dateutil.parser + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.accounting.purchaseorders.create(x_connection_token="", unified_accounting_purchaseorder_input={ + "status": "Pending", + "issue_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "purchase_order_number": "PO-001", + "delivery_date": dateutil.parser.isoparse("2024-07-15T12:00:00Z"), + "delivery_address": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "customer": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "vendor": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "memo": "Purchase order for Q3 inventory", + "company_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "total_amount": 100000, + "currency": "USD", + "exchange_rate": "1.2", + "tracking_categories": [ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + ], + "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "line_items": [ + { + "name": "Net Income", + "value": 100000, + "type": "Operating Activities", + "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "remote_id": "report_item_1234", + "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), + "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), + }, + ], + "field_mappings": {}, + }, remote_data=False) + + if res is not None: + # handle response + pass + - lang: go + label: createAccountingPurchaseOrder + source: |- + package main + + import( + gosdk "github.com/panoratech/go-sdk" + "context" + "github.com/panoratech/go-sdk/types" + "github.com/panoratech/go-sdk/models/components" + "log" + ) + + func main() { + s := gosdk.New( + gosdk.WithSecurity(""), + ) + + ctx := context.Background() + res, err := s.Accounting.Purchaseorders.Create(ctx, "", components.UnifiedAccountingPurchaseorderInput{ + Status: gosdk.String("Pending"), + IssueDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + PurchaseOrderNumber: gosdk.String("PO-001"), + DeliveryDate: types.MustNewTimeFromString("2024-07-15T12:00:00Z"), + DeliveryAddress: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Customer: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Vendor: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Memo: gosdk.String("Purchase order for Q3 inventory"), + CompanyID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + TotalAmount: gosdk.Float64(100000), + Currency: gosdk.String("USD"), + ExchangeRate: gosdk.String("1.2"), + TrackingCategories: []string{ + "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + }, + AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + LineItems: []components.LineItem{ + components.LineItem{ + Name: gosdk.String("Net Income"), + Value: gosdk.Float64(100000), + Type: gosdk.String("Operating Activities"), + ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + RemoteID: gosdk.String("report_item_1234"), + RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), + CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), + }, + }, + FieldMappings: &components.UnifiedAccountingPurchaseorderInputFieldMappings{}, + }, gosdk.Bool(false)) + if err != nil { + log.Fatal(err) + } + if res.UnifiedAccountingPurchaseorderOutput != nil { + // handle response + } + } + - lang: ruby + label: createAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.create(x_connection_token=\"\", unified_accounting_purchaseorder_input=::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInput.new(\n status: \"Pending\",\n issue_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n purchase_order_number: \"PO-001\",\n delivery_date: DateTime.iso8601('2024-07-15T12:00:00Z'),\n delivery_address: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n customer: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n vendor: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n memo: \"Purchase order for Q3 inventory\",\n company_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n total_amount: 100000.0,\n currency: \"USD\",\n exchange_rate: \"1.2\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" + /accounting/purchaseorders/{id}: get: - operationId: retrieveAccountingPhonenumber - summary: Retrieve Phone Numbers - description: Retrieve Phone Numbers from any connected Accounting software + operationId: retrieveAccountingPurchaseOrder + summary: Retrieve Purchase Orders + description: Retrieve Purchase Orders from any connected Accounting software parameters: - name: x-connection-token required: true @@ -14271,7 +14291,7 @@ paths: required: true in: path example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the phonenumber you want to retrieve. + description: id of the purchaseorder you want to retrieve. schema: type: string - name: remote_data @@ -14287,12 +14307,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingPhonenumberOutput' + $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' tags: *ref_47 - x-speakeasy-group: accounting.phonenumbers + x-speakeasy-group: accounting.purchaseorders x-codeSamples: - lang: typescript - label: retrieveAccountingPhonenumber + label: retrieveAccountingPurchaseOrder source: |- import { Panora } from "@panora/sdk"; @@ -14301,7 +14321,7 @@ paths: }); async function run() { - const result = await panora.accounting.phonenumbers.retrieve({ + const result = await panora.accounting.purchaseorders.retrieve({ xConnectionToken: "", id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", remoteData: false, @@ -14313,7 +14333,7 @@ paths: run(); - lang: python - label: retrieveAccountingPhonenumber + label: retrieveAccountingPurchaseOrder source: |- from panora_sdk import Panora @@ -14322,13 +14342,13 @@ paths: ) - res = s.accounting.phonenumbers.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.purchaseorders.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingPhonenumber + label: retrieveAccountingPurchaseOrder source: |- package main @@ -14344,21 +14364,21 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Phonenumbers.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Purchaseorders.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingPhonenumberOutput != nil { + if res.UnifiedAccountingPurchaseorderOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingPhonenumber - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_phonenumbers.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_phonenumber_output.nil?\n # handle response\nend" - /accounting/purchaseorders: + label: retrieveAccountingPurchaseOrder + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" + /accounting/taxrates: get: - operationId: listAccountingPurchaseOrder - summary: List PurchaseOrders + operationId: listAccountingTaxRate + summary: List TaxRates parameters: - name: x-connection-token required: true @@ -14379,6 +14399,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -14399,11 +14420,10 @@ paths: data: type: array items: - $ref: >- - #/components/schemas/UnifiedAccountingPurchaseorderOutput + $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' tags: &ref_48 - - accounting/purchaseorders - x-speakeasy-group: accounting.purchaseorders + - accounting/taxrates + x-speakeasy-group: accounting.taxrates x-speakeasy-pagination: type: cursor inputs: @@ -14414,7 +14434,7 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingPurchaseOrder + label: listAccountingTaxRate source: |- import { Panora } from "@panora/sdk"; @@ -14423,7 +14443,7 @@ paths: }); async function run() { - const result = await panora.accounting.purchaseorders.list({ + const result = await panora.accounting.taxrates.list({ xConnectionToken: "", remoteData: true, limit: 10, @@ -14438,7 +14458,7 @@ paths: run(); - lang: python - label: listAccountingPurchaseOrder + label: listAccountingTaxRate source: |- from panora_sdk import Panora @@ -14447,7 +14467,7 @@ paths: ) - res = s.accounting.purchaseorders.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.taxrates.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -14457,15 +14477,16 @@ paths: if res is None: break - lang: go - label: listAccountingPurchaseOrder - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Purchaseorders.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingTaxRate + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Taxrates.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingPurchaseOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - post: - operationId: createAccountingPurchaseOrder - summary: Create Purchase Orders - description: Create Purchase Orders in any supported Accounting software + label: listAccountingTaxRate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/taxrates/{id}: + get: + operationId: retrieveAccountingTaxRate + summary: Retrieve Tax Rates + description: Retrieve Tax Rates from any connected Accounting software parameters: - name: x-connection-token required: true @@ -14473,6 +14494,13 @@ paths: description: The connection token schema: type: string + - name: id + required: true + in: path + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: id of the taxrate you want to retrieve. + schema: + type: string - name: remote_data required: false in: query @@ -14480,24 +14508,18 @@ paths: 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': + '200': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' + $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' tags: *ref_48 - x-speakeasy-group: accounting.purchaseorders + x-speakeasy-group: accounting.taxrates x-codeSamples: - lang: typescript - label: createAccountingPurchaseOrder + label: retrieveAccountingTaxRate source: |- import { Panora } from "@panora/sdk"; @@ -14506,41 +14528,10 @@ paths: }); async function run() { - const result = await panora.accounting.purchaseorders.create({ + const result = await panora.accounting.taxrates.retrieve({ xConnectionToken: "", + id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", remoteData: false, - unifiedAccountingPurchaseorderInput: { - status: "Pending", - issueDate: new Date("2024-06-15T12:00:00Z"), - purchaseOrderNumber: "PO-001", - deliveryDate: new Date("2024-07-15T12:00:00Z"), - deliveryAddress: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - customer: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - vendor: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - memo: "Purchase order for Q3 inventory", - companyId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - totalAmount: 100000, - currency: "USD", - exchangeRate: "1.2", - trackingCategories: [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - accountingPeriodId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - lineItems: [ - { - name: "Net Income", - value: 100000, - type: "Operating Activities", - parentItem: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - remoteId: "report_item_1234", - remoteGeneratedAt: new Date("2024-07-01T12:00:00Z"), - companyInfoId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - createdAt: new Date("2024-06-15T12:00:00Z"), - modifiedAt: new Date("2024-06-15T12:00:00Z"), - }, - ], - fieldMappings: {}, - }, }); // Handle the result @@ -14549,9 +14540,8 @@ paths: run(); - lang: python - label: createAccountingPurchaseOrder + label: retrieveAccountingTaxRate source: |- - import dateutil.parser from panora_sdk import Panora s = Panora( @@ -14559,52 +14549,19 @@ paths: ) - res = s.accounting.purchaseorders.create(x_connection_token="", unified_accounting_purchaseorder_input={ - "status": "Pending", - "issue_date": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "purchase_order_number": "PO-001", - "delivery_date": dateutil.parser.isoparse("2024-07-15T12:00:00Z"), - "delivery_address": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "customer": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "vendor": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "memo": "Purchase order for Q3 inventory", - "company_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "total_amount": 100000, - "currency": "USD", - "exchange_rate": "1.2", - "tracking_categories": [ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - ], - "accounting_period_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "line_items": [ - { - "name": "Net Income", - "value": 100000, - "type": "Operating Activities", - "parent_item": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "remote_id": "report_item_1234", - "remote_generated_at": dateutil.parser.isoparse("2024-07-01T12:00:00Z"), - "company_info_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - "created_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - "modified_at": dateutil.parser.isoparse("2024-06-15T12:00:00Z"), - }, - ], - "field_mappings": {}, - }, remote_data=False) + res = s.accounting.taxrates.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: createAccountingPurchaseOrder + label: retrieveAccountingTaxRate source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" - "github.com/panoratech/go-sdk/types" - "github.com/panoratech/go-sdk/models/components" "log" ) @@ -14614,53 +14571,130 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Purchaseorders.Create(ctx, "", components.UnifiedAccountingPurchaseorderInput{ - Status: gosdk.String("Pending"), - IssueDate: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - PurchaseOrderNumber: gosdk.String("PO-001"), - DeliveryDate: types.MustNewTimeFromString("2024-07-15T12:00:00Z"), - DeliveryAddress: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Customer: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Vendor: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - Memo: gosdk.String("Purchase order for Q3 inventory"), - CompanyID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - TotalAmount: gosdk.Float64(100000), - Currency: gosdk.String("USD"), - ExchangeRate: gosdk.String("1.2"), - TrackingCategories: []string{ - "801f9ede-c698-4e66-a7fc-48d19eebaa4f", - }, - AccountingPeriodID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - LineItems: []components.LineItem{ - components.LineItem{ - Name: gosdk.String("Net Income"), - Value: gosdk.Float64(100000), - Type: gosdk.String("Operating Activities"), - ParentItem: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - RemoteID: gosdk.String("report_item_1234"), - RemoteGeneratedAt: types.MustNewTimeFromString("2024-07-01T12:00:00Z"), - CompanyInfoID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), - CreatedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - ModifiedAt: types.MustNewTimeFromString("2024-06-15T12:00:00Z"), - }, - }, - FieldMappings: &components.UnifiedAccountingPurchaseorderInputFieldMappings{}, - }, gosdk.Bool(false)) + res, err := s.Accounting.Taxrates.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingPurchaseorderOutput != nil { + if res.UnifiedAccountingTaxrateOutput != nil { // handle response } } - lang: ruby - label: createAccountingPurchaseOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.create(x_connection_token=\"\", unified_accounting_purchaseorder_input=::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInput.new(\n status: \"Pending\",\n issue_date: DateTime.iso8601('2024-06-15T12:00:00Z'),\n purchase_order_number: \"PO-001\",\n delivery_date: DateTime.iso8601('2024-07-15T12:00:00Z'),\n delivery_address: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n customer: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n vendor: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n memo: \"Purchase order for Q3 inventory\",\n company_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n total_amount: 100000.0,\n currency: \"USD\",\n exchange_rate: \"1.2\",\n tracking_categories: [\n \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n ],\n accounting_period_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n line_items: [\n ::OpenApiSDK::Shared::LineItem.new(\n name: \"Net Income\",\n value: 100000.0,\n type: \"Operating Activities\",\n parent_item: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n remote_id: \"report_item_1234\",\n remote_generated_at: DateTime.iso8601('2024-07-01T12:00:00Z'),\n company_info_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n created_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n modified_at: DateTime.iso8601('2024-06-15T12:00:00Z'),\n ),\n ],\n field_mappings: ::OpenApiSDK::Shared::UnifiedAccountingPurchaseorderInputFieldMappings.new(),\n), remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" - /accounting/purchaseorders/{id}: + label: retrieveAccountingTaxRate + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_taxrate_output.nil?\n # handle response\nend" + /accounting/trackingcategories: + get: + operationId: listAccountingTrackingCategorys + summary: List TrackingCategorys + parameters: + - name: x-connection-token + required: true + in: header + description: The connection token + schema: + type: string + - name: remote_data + required: false + in: query + example: true + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + example: 10 + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + example: 1b8b05bb-5273-4012-b520-8657b0b90874 + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: >- + #/components/schemas/UnifiedAccountingTrackingcategoryOutput + tags: &ref_49 + - accounting/trackingcategories + x-speakeasy-group: accounting.trackingcategories + x-speakeasy-pagination: + type: cursor + inputs: + - name: cursor + in: parameters + type: cursor + outputs: + nextCursor: $.next_cursor + x-codeSamples: + - lang: typescript + label: listAccountingTrackingCategorys + source: |- + import { Panora } from "@panora/sdk"; + + const panora = new Panora({ + apiKey: "", + }); + + async function run() { + const result = await panora.accounting.trackingcategories.list({ + xConnectionToken: "", + remoteData: true, + limit: 10, + cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", + }); + + for await (const page of result) { + // Handle the page + console.log(page); + } + } + + run(); + - lang: python + label: listAccountingTrackingCategorys + source: |- + from panora_sdk import Panora + + s = Panora( + api_key="", + ) + + + res = s.accounting.trackingcategories.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + + if res is not None: + while True: + # handle items + + res = res.Next() + if res is None: + break + - lang: go + label: listAccountingTrackingCategorys + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Trackingcategories.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + - lang: ruby + label: listAccountingTrackingCategorys + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/trackingcategories/{id}: get: - operationId: retrieveAccountingPurchaseOrder - summary: Retrieve Purchase Orders - description: Retrieve Purchase Orders from any connected Accounting software + operationId: retrieveAccountingTrackingCategory + summary: Retrieve Tracking Categories + description: Retrieve Tracking Categories from any connected Accounting software parameters: - name: x-connection-token required: true @@ -14672,7 +14706,7 @@ paths: required: true in: path example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the purchaseorder you want to retrieve. + description: id of the trackingcategory you want to retrieve. schema: type: string - name: remote_data @@ -14688,12 +14722,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingPurchaseorderOutput' - tags: *ref_48 - x-speakeasy-group: accounting.purchaseorders + $ref: '#/components/schemas/UnifiedAccountingTrackingcategoryOutput' + tags: *ref_49 + x-speakeasy-group: accounting.trackingcategories x-codeSamples: - lang: typescript - label: retrieveAccountingPurchaseOrder + label: retrieveAccountingTrackingCategory source: |- import { Panora } from "@panora/sdk"; @@ -14702,7 +14736,7 @@ paths: }); async function run() { - const result = await panora.accounting.purchaseorders.retrieve({ + const result = await panora.accounting.trackingcategories.retrieve({ xConnectionToken: "", id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", remoteData: false, @@ -14714,7 +14748,7 @@ paths: run(); - lang: python - label: retrieveAccountingPurchaseOrder + label: retrieveAccountingTrackingCategory source: |- from panora_sdk import Panora @@ -14723,13 +14757,13 @@ paths: ) - res = s.accounting.purchaseorders.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.trackingcategories.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingPurchaseOrder + label: retrieveAccountingTrackingCategory source: |- package main @@ -14745,21 +14779,21 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Purchaseorders.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Trackingcategories.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingPurchaseorderOutput != nil { + if res.UnifiedAccountingTrackingcategoryOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingPurchaseOrder - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_purchaseorders.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_purchaseorder_output.nil?\n # handle response\nend" - /accounting/taxrates: + label: retrieveAccountingTrackingCategory + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_trackingcategory_output.nil?\n # handle response\nend" + /accounting/transactions: get: - operationId: listAccountingTaxRate - summary: List TaxRates + operationId: listAccountingTransaction + summary: List Transactions parameters: - name: x-connection-token required: true @@ -14780,6 +14814,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -14800,10 +14835,11 @@ paths: data: type: array items: - $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' - tags: &ref_49 - - accounting/taxrates - x-speakeasy-group: accounting.taxrates + $ref: >- + #/components/schemas/UnifiedAccountingTransactionOutput + tags: &ref_50 + - accounting/transactions + x-speakeasy-group: accounting.transactions x-speakeasy-pagination: type: cursor inputs: @@ -14814,7 +14850,7 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingTaxRate + label: listAccountingTransaction source: |- import { Panora } from "@panora/sdk"; @@ -14823,7 +14859,7 @@ paths: }); async function run() { - const result = await panora.accounting.taxrates.list({ + const result = await panora.accounting.transactions.list({ xConnectionToken: "", remoteData: true, limit: 10, @@ -14838,7 +14874,7 @@ paths: run(); - lang: python - label: listAccountingTaxRate + label: listAccountingTransaction source: |- from panora_sdk import Panora @@ -14847,7 +14883,7 @@ paths: ) - res = s.accounting.taxrates.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.transactions.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -14857,16 +14893,16 @@ paths: if res is None: break - lang: go - label: listAccountingTaxRate - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Taxrates.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingTransaction + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Transactions.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingTaxRate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/taxrates/{id}: + label: listAccountingTransaction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/transactions/{id}: get: - operationId: retrieveAccountingTaxRate - summary: Retrieve Tax Rates - description: Retrieve Tax Rates from any connected Accounting software + operationId: retrieveAccountingTransaction + summary: Retrieve Transactions + description: Retrieve Transactions from any connected Accounting software parameters: - name: x-connection-token required: true @@ -14878,7 +14914,7 @@ paths: required: true in: path example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the taxrate you want to retrieve. + description: id of the transaction you want to retrieve. schema: type: string - name: remote_data @@ -14894,12 +14930,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingTaxrateOutput' - tags: *ref_49 - x-speakeasy-group: accounting.taxrates + $ref: '#/components/schemas/UnifiedAccountingTransactionOutput' + tags: *ref_50 + x-speakeasy-group: accounting.transactions x-codeSamples: - lang: typescript - label: retrieveAccountingTaxRate + label: retrieveAccountingTransaction source: |- import { Panora } from "@panora/sdk"; @@ -14908,7 +14944,7 @@ paths: }); async function run() { - const result = await panora.accounting.taxrates.retrieve({ + const result = await panora.accounting.transactions.retrieve({ xConnectionToken: "", id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", remoteData: false, @@ -14920,7 +14956,7 @@ paths: run(); - lang: python - label: retrieveAccountingTaxRate + label: retrieveAccountingTransaction source: |- from panora_sdk import Panora @@ -14929,13 +14965,13 @@ paths: ) - res = s.accounting.taxrates.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.transactions.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingTaxRate + label: retrieveAccountingTransaction source: |- package main @@ -14951,21 +14987,21 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Taxrates.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Transactions.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingTaxrateOutput != nil { + if res.UnifiedAccountingTransactionOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingTaxRate - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_taxrates.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_taxrate_output.nil?\n # handle response\nend" - /accounting/trackingcategories: + label: retrieveAccountingTransaction + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_transaction_output.nil?\n # handle response\nend" + /accounting/vendorcredits: get: - operationId: listAccountingTrackingCategorys - summary: List TrackingCategorys + operationId: listAccountingVendorCredit + summary: List VendorCredits parameters: - name: x-connection-token required: true @@ -14986,6 +15022,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -15007,10 +15044,10 @@ paths: type: array items: $ref: >- - #/components/schemas/UnifiedAccountingTrackingcategoryOutput - tags: &ref_50 - - accounting/trackingcategories - x-speakeasy-group: accounting.trackingcategories + #/components/schemas/UnifiedAccountingVendorcreditOutput + tags: &ref_51 + - accounting/vendorcredits + x-speakeasy-group: accounting.vendorcredits x-speakeasy-pagination: type: cursor inputs: @@ -15021,7 +15058,7 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingTrackingCategorys + label: listAccountingVendorCredit source: |- import { Panora } from "@panora/sdk"; @@ -15030,7 +15067,7 @@ paths: }); async function run() { - const result = await panora.accounting.trackingcategories.list({ + const result = await panora.accounting.vendorcredits.list({ xConnectionToken: "", remoteData: true, limit: 10, @@ -15045,7 +15082,7 @@ paths: run(); - lang: python - label: listAccountingTrackingCategorys + label: listAccountingVendorCredit source: |- from panora_sdk import Panora @@ -15054,7 +15091,7 @@ paths: ) - res = s.accounting.trackingcategories.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.accounting.vendorcredits.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -15064,16 +15101,16 @@ paths: if res is None: break - lang: go - label: listAccountingTrackingCategorys - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Trackingcategories.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listAccountingVendorCredit + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Vendorcredits.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingTrackingCategorys - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/trackingcategories/{id}: + label: listAccountingVendorCredit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + /accounting/vendorcredits/{id}: get: - operationId: retrieveAccountingTrackingCategory - summary: Retrieve Tracking Categories - description: Retrieve Tracking Categories from any connected Accounting software + operationId: retrieveAccountingVendorCredit + summary: Retrieve Vendor Credits + description: Retrieve Vendor Credits from any connected Accounting software parameters: - name: x-connection-token required: true @@ -15085,7 +15122,7 @@ paths: required: true in: path example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the trackingcategory you want to retrieve. + description: id of the vendorcredit you want to retrieve. schema: type: string - name: remote_data @@ -15101,12 +15138,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingTrackingcategoryOutput' - tags: *ref_50 - x-speakeasy-group: accounting.trackingcategories + $ref: '#/components/schemas/UnifiedAccountingVendorcreditOutput' + tags: *ref_51 + x-speakeasy-group: accounting.vendorcredits x-codeSamples: - lang: typescript - label: retrieveAccountingTrackingCategory + label: retrieveAccountingVendorCredit source: |- import { Panora } from "@panora/sdk"; @@ -15115,7 +15152,7 @@ paths: }); async function run() { - const result = await panora.accounting.trackingcategories.retrieve({ + const result = await panora.accounting.vendorcredits.retrieve({ xConnectionToken: "", id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", remoteData: false, @@ -15127,7 +15164,7 @@ paths: run(); - lang: python - label: retrieveAccountingTrackingCategory + label: retrieveAccountingVendorCredit source: |- from panora_sdk import Panora @@ -15136,13 +15173,13 @@ paths: ) - res = s.accounting.trackingcategories.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.accounting.vendorcredits.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingTrackingCategory + label: retrieveAccountingVendorCredit source: |- package main @@ -15158,21 +15195,113 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Trackingcategories.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Accounting.Vendorcredits.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingTrackingcategoryOutput != nil { + if res.UnifiedAccountingVendorcreditOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingTrackingCategory - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_trackingcategories.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_trackingcategory_output.nil?\n # handle response\nend" - /accounting/transactions: + label: retrieveAccountingVendorCredit + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_vendorcredit_output.nil?\n # handle response\nend" + /filestorage/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 + example: true + description: Set to true to include data from the original software. + schema: + type: boolean + - name: limit + required: false + in: query + example: 10 + description: Set to get the number of records. + schema: + default: 50 + type: number + - name: cursor + required: false + in: query + example: 1b8b05bb-5273-4012-b520-8657b0b90874 + description: Set to get the number of records after this cursor. + schema: + type: string + responses: + '200': + description: '' + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/PaginatedDto' + - properties: + data: + type: array + items: + $ref: '#/components/schemas/UnifiedFilestorageDriveOutput' + tags: &ref_52 + - filestorage/drives + x-speakeasy-group: filestorage.drives + x-speakeasy-pagination: + type: cursor + inputs: + - name: cursor + in: parameters + type: cursor + outputs: + nextCursor: $.next_cursor + /filestorage/drives/{id}: + get: + operationId: retrieveFilestorageDrive + summary: Retrieve Drive + description: Retrieve a Drive from any connected file storage service + 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. + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + schema: + type: string + - name: remote_data + required: false + in: query + description: Set to true to include data from the original file storage service. + example: false + schema: + type: boolean + responses: + '200': + description: '' + content: + application/json: + schema: + $ref: '#/components/schemas/UnifiedFilestorageDriveOutput' + tags: *ref_52 + x-speakeasy-group: filestorage.drives + /filestorage/files: get: - operationId: listAccountingTransaction - summary: List Transactions + operationId: listFilestorageFile + summary: List Files parameters: - name: x-connection-token required: true @@ -15193,6 +15322,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -15213,11 +15343,10 @@ paths: data: type: array items: - $ref: >- - #/components/schemas/UnifiedAccountingTransactionOutput - tags: &ref_51 - - accounting/transactions - x-speakeasy-group: accounting.transactions + $ref: '#/components/schemas/UnifiedFilestorageFileOutput' + tags: &ref_53 + - filestorage/files + x-speakeasy-group: filestorage.files x-speakeasy-pagination: type: cursor inputs: @@ -15228,7 +15357,7 @@ paths: nextCursor: $.next_cursor x-codeSamples: - lang: typescript - label: listAccountingTransaction + label: listFilestorageFile source: |- import { Panora } from "@panora/sdk"; @@ -15237,7 +15366,7 @@ paths: }); async function run() { - const result = await panora.accounting.transactions.list({ + const result = await panora.filestorage.files.list({ xConnectionToken: "", remoteData: true, limit: 10, @@ -15252,7 +15381,7 @@ paths: run(); - lang: python - label: listAccountingTransaction + label: listFilestorageFile source: |- from panora_sdk import Panora @@ -15261,7 +15390,7 @@ paths: ) - res = s.accounting.transactions.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") + res = s.filestorage.files.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") if res is not None: while True: @@ -15271,16 +15400,15 @@ paths: if res is None: break - lang: go - label: listAccountingTransaction - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Transactions.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" + label: listFilestorageFile + source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Filestorage.Files.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - lang: ruby - label: listAccountingTransaction - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/transactions/{id}: - get: - operationId: retrieveAccountingTransaction - summary: Retrieve Transactions - description: Retrieve Transactions from any connected Accounting software + label: listFilestorageFile + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_files.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" + post: + operationId: createFilestorageFile + summary: Create Files + description: Create Files in any supported Filestorage software parameters: - name: x-connection-token required: true @@ -15288,13 +15416,6 @@ paths: description: The connection token schema: type: string - - name: id - required: true - in: path - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the transaction you want to retrieve. - schema: - type: string - name: remote_data required: false in: query @@ -15302,18 +15423,24 @@ paths: 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/UnifiedFilestorageFileInput' responses: - '200': + '201': description: '' content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingTransactionOutput' - tags: *ref_51 - x-speakeasy-group: accounting.transactions + $ref: '#/components/schemas/UnifiedFilestorageFileOutput' + tags: *ref_53 + x-speakeasy-group: filestorage.files x-codeSamples: - lang: typescript - label: retrieveAccountingTransaction + label: createFilestorageFile source: |- import { Panora } from "@panora/sdk"; @@ -15322,10 +15449,22 @@ paths: }); async function run() { - const result = await panora.accounting.transactions.retrieve({ + const result = await panora.filestorage.files.create({ xConnectionToken: "", - id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", remoteData: false, + unifiedFilestorageFileInput: { + name: "my_paris_photo.png", + fileUrl: "https://example.com/my_paris_photo.png", + mimeType: "application/pdf", + size: "1024", + folderId: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + permission: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + sharedLink: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + fieldMappings: { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, }); // Handle the result @@ -15334,7 +15473,7 @@ paths: run(); - lang: python - label: retrieveAccountingTransaction + label: createFilestorageFile source: |- from panora_sdk import Panora @@ -15343,19 +15482,32 @@ paths: ) - res = s.accounting.transactions.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.filestorage.files.create(x_connection_token="", unified_filestorage_file_input={ + "name": "my_paris_photo.png", + "file_url": "https://example.com/my_paris_photo.png", + "mime_type": "application/pdf", + "size": "1024", + "folder_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "permission": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "shared_link": "801f9ede-c698-4e66-a7fc-48d19eebaa4f", + "field_mappings": { + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingTransaction + label: createFilestorageFile source: |- package main import( gosdk "github.com/panoratech/go-sdk" "context" + "github.com/panoratech/go-sdk/models/components" "log" ) @@ -15365,129 +15517,34 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Transactions.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Filestorage.Files.Create(ctx, "", components.UnifiedFilestorageFileInput{ + Name: gosdk.String("my_paris_photo.png"), + FileURL: gosdk.String("https://example.com/my_paris_photo.png"), + MimeType: gosdk.String("application/pdf"), + Size: gosdk.String("1024"), + FolderID: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + Permission: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + SharedLink: gosdk.String("801f9ede-c698-4e66-a7fc-48d19eebaa4f"), + FieldMappings: map[string]any{ + "fav_dish": "broccoli", + "fav_color": "red", + }, + }, gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingTransactionOutput != nil { + if res.UnifiedFilestorageFileOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingTransaction - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_transactions.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_transaction_output.nil?\n # handle response\nend" - /accounting/vendorcredits: - get: - operationId: listAccountingVendorCredit - summary: List VendorCredits - parameters: - - name: x-connection-token - required: true - in: header - description: The connection token - schema: - type: string - - name: remote_data - required: false - in: query - example: true - description: Set to true to include data from the original software. - schema: - type: boolean - - name: limit - required: false - in: query - example: 10 - description: Set to get the number of records. - schema: - type: number - - name: cursor - required: false - in: query - example: 1b8b05bb-5273-4012-b520-8657b0b90874 - description: Set to get the number of records after this cursor. - schema: - type: string - responses: - '200': - description: '' - content: - application/json: - schema: - allOf: - - $ref: '#/components/schemas/PaginatedDto' - - properties: - data: - type: array - items: - $ref: >- - #/components/schemas/UnifiedAccountingVendorcreditOutput - tags: &ref_52 - - accounting/vendorcredits - x-speakeasy-group: accounting.vendorcredits - x-speakeasy-pagination: - type: cursor - inputs: - - name: cursor - in: parameters - type: cursor - outputs: - nextCursor: $.next_cursor - x-codeSamples: - - lang: typescript - label: listAccountingVendorCredit - source: |- - import { Panora } from "@panora/sdk"; - - const panora = new Panora({ - apiKey: "", - }); - - async function run() { - const result = await panora.accounting.vendorcredits.list({ - xConnectionToken: "", - remoteData: true, - limit: 10, - cursor: "1b8b05bb-5273-4012-b520-8657b0b90874", - }); - - for await (const page of result) { - // Handle the page - console.log(page); - } - } - - run(); - - lang: python - label: listAccountingVendorCredit - source: |- - from panora_sdk import Panora - - s = Panora( - api_key="", - ) - - - res = s.accounting.vendorcredits.list(x_connection_token="", remote_data=True, limit=10, cursor="1b8b05bb-5273-4012-b520-8657b0b90874") - - if res is not None: - while True: - # handle items - - res = res.Next() - if res is None: - break - - lang: go - label: listAccountingVendorCredit - source: "package main\n\nimport(\n\tgosdk \"github.com/panoratech/go-sdk\"\n\t\"context\"\n\t\"log\"\n)\n\nfunc main() {\n s := gosdk.New(\n gosdk.WithSecurity(\"\"),\n )\n\n ctx := context.Background()\n res, err := s.Accounting.Vendorcredits.List(ctx, \"\", gosdk.Bool(true), gosdk.Float64(10), gosdk.String(\"1b8b05bb-5273-4012-b520-8657b0b90874\"))\n if err != nil {\n log.Fatal(err)\n }\n if res.Object != nil {\n for {\n // handle items\n \n res, err = res.Next()\n \n if err != nil {\n // handle error\n }\n \n if res == nil {\n break\n }\n }\n \n }\n}" - - lang: ruby - label: listAccountingVendorCredit - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.list(x_connection_token=\"\", remote_data=true, limit=10.0, cursor=\"1b8b05bb-5273-4012-b520-8657b0b90874\")\n\nif ! res.object.nil?\n # handle response\nend" - /accounting/vendorcredits/{id}: + label: createFilestorageFile + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_files.create(x_connection_token=\"\", unified_filestorage_file_input=::OpenApiSDK::Shared::UnifiedFilestorageFileInput.new(\n name: \"my_paris_photo.png\",\n file_url: \"https://example.com/my_paris_photo.png\",\n mime_type: \"application/pdf\",\n size: \"1024\",\n folder_id: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n permission: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n shared_link: \"801f9ede-c698-4e66-a7fc-48d19eebaa4f\",\n field_mappings: {\n \"fav_dish\": \"broccoli\",\n \"fav_color\": \"red\",\n },\n), remote_data=false)\n\nif ! res.unified_filestorage_file_output.nil?\n # handle response\nend" + /filestorage/files/{id}: get: - operationId: retrieveAccountingVendorCredit - summary: Retrieve Vendor Credits - description: Retrieve Vendor Credits from any connected Accounting software + operationId: retrieveFilestorageFile + summary: Retrieve Files + description: Retrieve Files from any connected Filestorage software parameters: - name: x-connection-token required: true @@ -15498,15 +15555,15 @@ paths: - name: id required: true in: path + description: id of the file you want to retrieve. example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: id of the vendorcredit you want to retrieve. schema: type: string - name: remote_data required: false in: query + description: Set to true to include data from the original File Storage software. example: false - description: Set to true to include data from the original Accounting software. schema: type: boolean responses: @@ -15515,12 +15572,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UnifiedAccountingVendorcreditOutput' - tags: *ref_52 - x-speakeasy-group: accounting.vendorcredits + $ref: '#/components/schemas/UnifiedFilestorageFileOutput' + tags: *ref_53 + x-speakeasy-group: filestorage.files x-codeSamples: - lang: typescript - label: retrieveAccountingVendorCredit + label: retrieveFilestorageFile source: |- import { Panora } from "@panora/sdk"; @@ -15529,7 +15586,7 @@ paths: }); async function run() { - const result = await panora.accounting.vendorcredits.retrieve({ + const result = await panora.filestorage.files.retrieve({ xConnectionToken: "", id: "801f9ede-c698-4e66-a7fc-48d19eebaa4f", remoteData: false, @@ -15541,7 +15598,7 @@ paths: run(); - lang: python - label: retrieveAccountingVendorCredit + label: retrieveFilestorageFile source: |- from panora_sdk import Panora @@ -15550,13 +15607,13 @@ paths: ) - res = s.accounting.vendorcredits.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) + res = s.filestorage.files.retrieve(x_connection_token="", id="801f9ede-c698-4e66-a7fc-48d19eebaa4f", remote_data=False) if res is not None: # handle response pass - lang: go - label: retrieveAccountingVendorCredit + label: retrieveFilestorageFile source: |- package main @@ -15572,17 +15629,17 @@ paths: ) ctx := context.Background() - res, err := s.Accounting.Vendorcredits.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) + res, err := s.Filestorage.Files.Retrieve(ctx, "", "801f9ede-c698-4e66-a7fc-48d19eebaa4f", gosdk.Bool(false)) if err != nil { log.Fatal(err) } - if res.UnifiedAccountingVendorcreditOutput != nil { + if res.UnifiedFilestorageFileOutput != nil { // handle response } } - lang: ruby - label: retrieveAccountingVendorCredit - source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.accounting_vendorcredits.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_accounting_vendorcredit_output.nil?\n # handle response\nend" + label: retrieveFilestorageFile + source: "require 'panora'\n\n\ns = ::OpenApiSDK::Panora.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n api_key: \"\",\n )\n)\n\n \nres = s.filestorage_files.retrieve(x_connection_token=\"\", id=\"801f9ede-c698-4e66-a7fc-48d19eebaa4f\", remote_data=false)\n\nif ! res.unified_filestorage_file_output.nil?\n # handle response\nend" /filestorage/folders: get: operationId: listFilestorageFolder @@ -15607,6 +15664,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -15628,7 +15686,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: &ref_53 + tags: &ref_54 - filestorage/folders x-speakeasy-group: filestorage.folders x-speakeasy-pagination: @@ -15720,7 +15778,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: *ref_53 + tags: *ref_54 x-speakeasy-group: filestorage.folders x-codeSamples: - lang: typescript @@ -15860,7 +15918,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedFilestorageFolderOutput' - tags: *ref_53 + tags: *ref_54 x-speakeasy-group: filestorage.folders x-codeSamples: - lang: typescript @@ -15951,6 +16009,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -15972,7 +16031,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' - tags: &ref_54 + tags: &ref_55 - filestorage/groups x-speakeasy-group: filestorage.groups x-speakeasy-pagination: @@ -16066,7 +16125,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedFilestorageGroupOutput' - tags: *ref_54 + tags: *ref_55 x-speakeasy-group: filestorage.groups x-codeSamples: - lang: typescript @@ -16157,6 +16216,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -16178,7 +16238,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedFilestorageUserOutput' - tags: &ref_55 + tags: &ref_56 - filestorage/users x-speakeasy-group: filestorage.users x-speakeasy-pagination: @@ -16272,7 +16332,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedFilestorageUserOutput' - tags: *ref_55 + tags: *ref_56 x-speakeasy-group: filestorage.users x-codeSamples: - lang: typescript @@ -16363,6 +16423,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -16384,7 +16445,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedEcommerceProductOutput' - tags: &ref_56 + tags: &ref_57 - ecommerce/products x-speakeasy-group: ecommerce.products x-speakeasy-pagination: @@ -16476,7 +16537,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedEcommerceProductOutput' - tags: *ref_56 + tags: *ref_57 x-speakeasy-group: ecommerce.products x-codeSamples: - lang: typescript @@ -16623,7 +16684,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedEcommerceProductOutput' - tags: *ref_56 + tags: *ref_57 x-speakeasy-group: ecommerce.products x-codeSamples: - lang: typescript @@ -16713,6 +16774,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -16734,7 +16796,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' - tags: &ref_57 + tags: &ref_58 - ecommerce/orders x-speakeasy-group: ecommerce.orders x-speakeasy-pagination: @@ -16826,7 +16888,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' - tags: *ref_57 + tags: *ref_58 x-speakeasy-group: ecommerce.orders x-codeSamples: - lang: typescript @@ -17002,7 +17064,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedEcommerceOrderOutput' - tags: *ref_57 + tags: *ref_58 x-speakeasy-group: ecommerce.orders x-codeSamples: - lang: typescript @@ -17092,6 +17154,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -17113,7 +17176,7 @@ paths: type: array items: $ref: '#/components/schemas/UnifiedEcommerceCustomerOutput' - tags: &ref_58 + tags: &ref_59 - ecommerce/customers x-speakeasy-group: ecommerce.customers x-speakeasy-pagination: @@ -17205,7 +17268,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedEcommerceCustomerOutput' - tags: *ref_58 + tags: *ref_59 x-speakeasy-group: ecommerce.customers x-codeSamples: - lang: typescript @@ -17295,6 +17358,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -17317,7 +17381,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedEcommerceFulfillmentOutput - tags: &ref_59 + tags: &ref_60 - ecommerce/fulfillments x-speakeasy-group: ecommerce.fulfillments x-speakeasy-pagination: @@ -17409,7 +17473,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedEcommerceFulfillmentOutput' - tags: *ref_59 + tags: *ref_60 x-speakeasy-group: ecommerce.fulfillments x-codeSamples: - lang: typescript @@ -17499,6 +17563,7 @@ paths: example: 10 description: Set to get the number of records. schema: + default: 50 type: number - name: cursor required: false @@ -17521,7 +17586,7 @@ paths: items: $ref: >- #/components/schemas/UnifiedTicketingAttachmentOutput - tags: &ref_60 + tags: &ref_61 - ticketing/attachments x-speakeasy-group: ticketing.attachments x-speakeasy-pagination: @@ -17612,7 +17677,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' - tags: *ref_60 + tags: *ref_61 x-speakeasy-group: ticketing.attachments x-codeSamples: - lang: typescript @@ -17742,7 +17807,7 @@ paths: application/json: schema: $ref: '#/components/schemas/UnifiedTicketingAttachmentOutput' - tags: *ref_60 + tags: *ref_61 x-speakeasy-group: ticketing.attachments x-codeSamples: - lang: typescript @@ -17829,216 +17894,6 @@ components: in: header name: x-api-key schemas: - RagQueryOutput: - type: object - properties: - chunk: - type: string - example: 'Date : 06/07/2023' - nullable: false - description: The chunk which matches the embed query - metadata: - type: object - example: - blobType: '' - text: ATTESTATION - additionalProperties: true - nullable: true - description: The metadata tied to the chunk - score: - type: number - example: 0.87 - nullable: true - description: The score - embedding: - example: - - -0.00442447886 - - -0.00116857514 - - 0.00869117491 - - -0.0361584462 - - -0.00220073434 - - 0.00946036354 - - -0.0101112155 - nullable: true - description: The embedding of the relevant chunk - type: array - items: - type: number - required: - - chunk - - metadata - - score - - embedding - QueryBody: - type: object - properties: - query: - type: string - example: When does Panora incorporated? - nullable: false - description: The query you want to received embeddings and chunks for - topK: - type: number - example: '3' - nullable: true - description: The number of most appropriate documents for your query. - required: - - query - PaginatedDto: - type: object - properties: - prev_cursor: - type: string - nullable: true - next_cursor: - type: string - nullable: true - data: - type: array - items: - type: object - required: - - prev_cursor - - next_cursor - - data - UnifiedFilestorageFileOutput: - type: object - properties: - name: - type: string - example: my_paris_photo.png - description: The name of the file - nullable: true - file_url: - type: string - example: https://example.com/my_paris_photo.png - description: The url of the file - nullable: true - mime_type: - type: string - example: application/pdf - description: The mime type of the file - nullable: true - size: - type: string - example: '1024' - description: The size of the file - nullable: true - folder_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the folder tied to the file - nullable: true - permission: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the permission tied to the file - nullable: true - shared_link: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the shared link tied to the file - nullable: true - field_mappings: - type: object - example: &ref_61 - fav_dish: broccoli - fav_color: red - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - nullable: true - additionalProperties: true - id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the file - nullable: true - remote_id: - type: string - example: id_1 - description: The id of the file in the context of the 3rd Party - nullable: true - remote_data: - type: object - example: - fav_dish: broccoli - fav_color: red - description: The remote data of the file in the context of the 3rd Party - nullable: true - additionalProperties: true - created_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The created date of the object - nullable: true - modified_at: - format: date-time - type: string - example: '2024-10-01T12:00:00Z' - description: The modified date of the object - nullable: true - required: - - name - - file_url - - mime_type - - size - - folder_id - - permission - - shared_link - UnifiedFilestorageFileInput: - type: object - properties: - name: - type: string - example: my_paris_photo.png - description: The name of the file - nullable: true - file_url: - type: string - example: https://example.com/my_paris_photo.png - description: The url of the file - nullable: true - mime_type: - type: string - example: application/pdf - description: The mime type of the file - nullable: true - size: - type: string - example: '1024' - description: The size of the file - nullable: true - folder_id: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the folder tied to the file - nullable: true - permission: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the permission tied to the file - nullable: true - shared_link: - type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f - description: The UUID of the shared link tied to the file - nullable: true - field_mappings: - type: object - example: *ref_61 - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - nullable: true - additionalProperties: true - required: - - name - - file_url - - mime_type - - size - - folder_id - - permission - - shared_link LoginDto: type: object properties: @@ -18049,7 +17904,6 @@ components: password_hash: type: string required: - - id_user - email - password_hash Connection: @@ -18137,8 +17991,8 @@ components: description: The unique UUID of the webhook. endpoint_description: type: string - example: Webhook to receive connection events nullable: true + example: Webhook to receive connection events description: The description of the webhook. url: type: string @@ -18176,8 +18030,8 @@ components: last_update: format: date-time type: string - example: '2024-10-01T12:00:00Z' nullable: true + example: '2024-10-01T12:00:00Z' description: The last update date of the webhook. required: - id_webhook_endpoint @@ -18212,7 +18066,6 @@ components: type: string required: - url - - description - scope SignatureVerificationDto: type: object @@ -18234,6 +18087,23 @@ components: - payload - signature - secret + PaginatedDto: + type: object + properties: + prev_cursor: + type: string + nullable: true + next_cursor: + type: string + nullable: true + data: + type: array + items: + type: object + required: + - prev_cursor + - next_cursor + - data UnifiedTicketingCommentInput: type: object properties: @@ -20120,8 +19990,6 @@ components: - id_project - name - sync_mode - - pull_frequency - - redirect_url - id_user - id_connector_set CreateProjectDto: @@ -20490,10 +20358,10 @@ components: type: object properties: method: - type: string enum: - GET - POST + type: string path: type: string nullable: true @@ -20512,12 +20380,11 @@ components: type: object additionalProperties: true nullable: true + headers: + type: object required: - method - path - - data - - request_format - - overrideBaseUrl UnifiedMarketingautomationActionOutput: type: object properties: {} @@ -22899,191 +22766,434 @@ components: type: string example: '1.2' nullable: true - description: The exchange rate applied to the transaction - currency: + description: The exchange rate applied to the transaction + currency: + type: string + example: USD + nullable: true + description: The currency of the transaction + tracking_categories: + example: + - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUIDs of the tracking categories associated with the transaction + type: array + items: + type: string + account_id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the associated account + contact_id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the associated contact + company_info_id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the associated company info + accounting_period_id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the associated accounting period + line_items: + description: The line items associated with this transaction + type: array + items: + $ref: '#/components/schemas/LineItem' + field_mappings: + type: object + example: + custom_field_1: value1 + custom_field_2: value2 + nullable: true + description: >- + The custom field mappings of the object between the remote 3rd party & Panora + id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the transaction record + remote_id: + type: string + example: remote_id_1234 + nullable: false + description: The remote ID of the transaction + created_at: + format: date-time + type: string + example: '2024-06-15T12:00:00Z' + nullable: false + description: The created date of the transaction + remote_data: + type: object + example: + raw_data: + additional_field: some value + nullable: true + description: >- + The remote data of the tracking category in the context of the 3rd Party + modified_at: + format: date-time + type: string + example: '2024-06-15T12:00:00Z' + nullable: false + description: The last modified date of the transaction + remote_updated_at: + format: date-time + type: string + example: '2024-06-15T12:00:00Z' + nullable: true + description: The date when the transaction was last updated in the remote system + UnifiedAccountingVendorcreditOutput: + type: object + properties: + number: + type: string + example: VC-001 + nullable: true + description: The number of the vendor credit + transaction_date: + format: date-time + type: string + example: '2024-06-15T12:00:00Z' + nullable: true + description: The date of the transaction + vendor: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the vendor associated with the credit + total_amount: + type: string + example: '1000' + nullable: true + description: The total amount of the vendor credit + currency: + type: string + example: USD + nullable: true + description: The currency of the vendor credit + exchange_rate: + type: string + example: '1.2' + nullable: true + description: The exchange rate applied to the vendor credit + company_id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the associated company + tracking_categories: + example: + - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: >- + The UUID of the tracking categories associated with the vendor credit + type: array + items: + type: string + accounting_period_id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the associated accounting period + line_items: + description: The line items associated with this vendor credit + type: array + items: + $ref: '#/components/schemas/LineItem' + field_mappings: + type: object + example: + custom_field_1: value1 + custom_field_2: value2 + nullable: true + description: >- + The custom field mappings of the object between the remote 3rd party & Panora + id: + type: string + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + nullable: true + description: The UUID of the vendor credit record + remote_id: + type: string + example: remote_id_1234 + nullable: true + description: The remote ID of the vendor credit + created_at: + format: date-time + type: string + example: '2024-06-15T12:00:00Z' + nullable: false + description: The created date of the vendor credit + modified_at: + format: date-time + type: string + example: '2024-06-15T12:00:00Z' + nullable: false + description: The last modified date of the vendor credit + remote_updated_at: + format: date-time + type: string + example: '2024-06-15T12:00:00Z' + nullable: true + description: >- + The date when the vendor credit was last updated in the remote system + remote_data: + type: object + example: + raw_data: + additional_field: some value + nullable: true + description: The remote data of the vendor credit in the context of the 3rd Party + UnifiedFilestorageDriveOutput: + type: object + properties: + name: + type: string + nullable: true + example: school + description: The name of the drive + remote_created_at: + type: string + nullable: true + example: '2024-10-01T12:00:00Z' + description: When the third party s drive was created. + drive_url: + type: string + nullable: true + example: https://example.com/school + description: The url of the drive + field_mappings: + type: object + example: + fav_dish: broccoli + fav_color: red + additionalProperties: true + nullable: true + description: >- + The custom field mappings of the object between the remote 3rd party & Panora + id: + type: string + nullable: true + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the drive + remote_id: + type: string + nullable: true + example: id_1 + description: The id of the drive in the context of the 3rd Party + remote_data: + type: object + nullable: true + example: + fav_dish: broccoli + fav_color: red + additionalProperties: true + description: The remote data of the drive in the context of the 3rd Party + created_at: + format: date-time + type: string + nullable: true + example: '2024-10-01T12:00:00Z' + description: The created date of the object + modified_at: + format: date-time + type: string + nullable: true + example: '2024-10-01T12:00:00Z' + description: The modified date of the object + remote_cursor: + type: string + nullable: true + example: next_page_token_123 + description: The cursor used for pagination with the 3rd party provider + required: + - name + - remote_created_at + - drive_url + UnifiedFilestorageFileOutput: + type: object + properties: + name: + type: string + example: my_paris_photo.png + description: The name of the file + nullable: true + file_url: + type: string + example: https://example.com/my_paris_photo.png + description: The url of the file + nullable: true + mime_type: type: string - example: USD + example: application/pdf + description: The mime type of the file nullable: true - description: The currency of the transaction - tracking_categories: - example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + size: + type: string + example: '1024' + description: The size of the file nullable: true - description: The UUIDs of the tracking categories associated with the transaction - type: array - items: - type: string - account_id: + folder_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the folder tied to the file nullable: true - description: The UUID of the associated account - contact_id: + drive_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the drive tied to the file nullable: true - description: The UUID of the associated contact - company_info_id: + permissions: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the permission tied to the file nullable: true - description: The UUID of the associated company info - accounting_period_id: + shared_link: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the shared link tied to the file nullable: true - description: The UUID of the associated accounting period - line_items: - description: The line items associated with this transaction - type: array - items: - $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: - custom_field_1: value1 - custom_field_2: value2 - nullable: true + example: &ref_101 + fav_dish: broccoli + fav_color: red description: >- The custom field mappings of the object between the remote 3rd party & Panora + nullable: true + additionalProperties: true id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the file nullable: true - description: The UUID of the transaction record remote_id: type: string - example: remote_id_1234 - nullable: false - description: The remote ID of the transaction - created_at: - format: date-time - type: string - example: '2024-06-15T12:00:00Z' - nullable: false - description: The created date of the transaction + example: id_1 + description: The id of the file in the context of the 3rd Party + nullable: true remote_data: type: object example: - raw_data: - additional_field: some value + fav_dish: broccoli + fav_color: red + description: The remote data of the file in the context of the 3rd Party nullable: true - description: >- - The remote data of the tracking category in the context of the 3rd Party - modified_at: - format: date-time + additionalProperties: true + remote_folder_id: type: string - example: '2024-06-15T12:00:00Z' - nullable: false - description: The last modified date of the transaction - remote_updated_at: - format: date-time + example: folder_123 + description: The id of the parent folder in the context of the 3rd Party + nullable: true + remote_drive_id: type: string - example: '2024-06-15T12:00:00Z' + example: drive_123 + description: The id of the parent drive in the context of the 3rd Party nullable: true - description: The date when the transaction was last updated in the remote system - UnifiedAccountingVendorcreditOutput: - type: object - properties: - number: + created_at: + format: date-time type: string - example: VC-001 + example: '2024-10-01T12:00:00Z' + description: The created date of the object nullable: true - description: The number of the vendor credit - transaction_date: + modified_at: format: date-time type: string - example: '2024-06-15T12:00:00Z' + example: '2024-10-01T12:00:00Z' + description: The modified date of the object nullable: true - description: The date of the transaction - vendor: + remote_created_at: + format: date-time type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: '2024-10-01T12:00:00Z' + description: The created date of the object in the context of the 3rd Party nullable: true - description: The UUID of the vendor associated with the credit - total_amount: + remote_modified_at: + format: date-time type: string - example: '1000' + example: '2024-10-01T12:00:00Z' + description: The modified date of the object in the context of the 3rd Party nullable: true - description: The total amount of the vendor credit - currency: + remote_was_deleted: + type: boolean + example: false + description: Whether the object was deleted in the context of the 3rd Party + default: false + required: + - name + - file_url + - mime_type + - size + - folder_id + - drive_id + - permissions + - shared_link + UnifiedFilestorageFileInput: + type: object + properties: + name: type: string - example: USD + example: my_paris_photo.png + description: The name of the file nullable: true - description: The currency of the vendor credit - exchange_rate: + file_url: type: string - example: '1.2' + example: https://example.com/my_paris_photo.png + description: The url of the file nullable: true - description: The exchange rate applied to the vendor credit - company_id: + mime_type: type: string - example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + example: application/pdf + description: The mime type of the file nullable: true - description: The UUID of the associated company - tracking_categories: - example: - - 801f9ede-c698-4e66-a7fc-48d19eebaa4f + size: + type: string + example: '1024' + description: The size of the file nullable: true - description: >- - The UUID of the tracking categories associated with the vendor credit - type: array - items: - type: string - accounting_period_id: + folder_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the folder tied to the file nullable: true - description: The UUID of the associated accounting period - line_items: - description: The line items associated with this vendor credit - type: array - items: - $ref: '#/components/schemas/LineItem' - field_mappings: - type: object - example: - custom_field_1: value1 - custom_field_2: value2 - nullable: true - description: >- - The custom field mappings of the object between the remote 3rd party & Panora - id: + drive_id: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the drive tied to the file nullable: true - description: The UUID of the vendor credit record - remote_id: + permissions: type: string - example: remote_id_1234 + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the permission tied to the file nullable: true - description: The remote ID of the vendor credit - created_at: - format: date-time - type: string - example: '2024-06-15T12:00:00Z' - nullable: false - description: The created date of the vendor credit - modified_at: - format: date-time - type: string - example: '2024-06-15T12:00:00Z' - nullable: false - description: The last modified date of the vendor credit - remote_updated_at: - format: date-time + shared_link: type: string - example: '2024-06-15T12:00:00Z' + example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f + description: The UUID of the shared link tied to the file nullable: true - description: >- - The date when the vendor credit was last updated in the remote system - remote_data: + field_mappings: type: object - example: - raw_data: - additional_field: some value + example: *ref_101 + description: >- + The custom field mappings of the object between the remote 3rd party & Panora nullable: true - description: The remote data of the vendor credit in the context of the 3rd Party + additionalProperties: true + required: + - name + - file_url + - mime_type + - size + - folder_id + - drive_id + - permissions + - shared_link UnifiedFilestorageFolderOutput: type: object properties: @@ -23121,14 +23231,14 @@ components: example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: The UUID of the shared link tied to the folder - permission: + permissions: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: The UUID of the permission tied to the folder field_mappings: type: object - example: &ref_101 + example: &ref_102 fav_dish: broccoli fav_color: red additionalProperties: true @@ -23153,6 +23263,11 @@ components: additionalProperties: true nullable: true description: The remote data of the folder in the context of the 3rd Party + remote_drive_id: + type: string + example: drive_123 + description: The remote ID of the drive in the context of the 3rd Party + nullable: true created_at: format: date-time type: string @@ -23165,6 +23280,23 @@ components: example: '2024-10-01T12:00:00Z' description: The modified date of the folder nullable: true + remote_created_at: + format: date-time + type: string + example: '2024-10-01T12:00:00Z' + description: The created date of the folder in the context of the 3rd Party + nullable: true + remote_modified_at: + format: date-time + type: string + example: '2024-10-01T12:00:00Z' + description: The modified date of the folder in the context of the 3rd Party + nullable: true + remote_was_deleted: + type: boolean + example: false + description: Whether the folder was deleted in the context of the 3rd Party + default: false required: - name - size @@ -23173,7 +23305,7 @@ components: - drive_id - parent_folder_id - shared_link - - permission + - permissions UnifiedFilestorageFolderInput: type: object properties: @@ -23211,14 +23343,14 @@ components: example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: The UUID of the shared link tied to the folder - permission: + permissions: type: string example: 801f9ede-c698-4e66-a7fc-48d19eebaa4f nullable: true description: The UUID of the permission tied to the folder field_mappings: type: object - example: *ref_101 + example: *ref_102 additionalProperties: true nullable: true description: >- @@ -23231,7 +23363,7 @@ components: - drive_id - parent_folder_id - shared_link - - permission + - permissions UnifiedFilestorageGroupOutput: type: object properties: @@ -23381,7 +23513,7 @@ components: nullable: true description: The status of the product. Either ACTIVE, DRAFT OR ARCHIVED. images_urls: - example: &ref_102 + example: &ref_103 - https://myproduct/image nullable: true description: The URLs of the product images @@ -23399,7 +23531,7 @@ components: nullable: true description: The vendor of the product variants: - example: &ref_103 + example: &ref_104 - title: teeshirt price: 20 sku: '3' @@ -23411,7 +23543,7 @@ components: items: $ref: '#/components/schemas/Variant' tags: - example: &ref_104 + example: &ref_105 - tag_1 nullable: true description: The tags associated with the product @@ -23420,7 +23552,7 @@ components: type: string field_mappings: type: object - example: &ref_105 + example: &ref_106 fav_dish: broccoli fav_color: red nullable: true @@ -23472,7 +23604,7 @@ components: nullable: true description: The status of the product. Either ACTIVE, DRAFT OR ARCHIVED. images_urls: - example: *ref_102 + example: *ref_103 nullable: true description: The URLs of the product images type: array @@ -23489,13 +23621,13 @@ components: nullable: true description: The vendor of the product variants: - example: *ref_103 + example: *ref_104 description: The variants of the product type: array items: $ref: '#/components/schemas/Variant' tags: - example: *ref_104 + example: *ref_105 nullable: true description: The tags associated with the product type: array @@ -23503,7 +23635,7 @@ components: type: string field_mappings: type: object - example: *ref_105 + example: *ref_106 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -23563,7 +23695,7 @@ components: description: The UUID of the customer associated with the order items: nullable: true - example: &ref_106 + example: &ref_107 - remote_id: '12345' product_id: prod_001 variant_id: var_001 @@ -23594,7 +23726,7 @@ components: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: &ref_107 + example: &ref_108 fav_dish: broccoli fav_color: red nullable: true @@ -23683,14 +23815,14 @@ components: description: The UUID of the customer associated with the order items: nullable: true - example: *ref_106 + example: *ref_107 description: The items in the order type: array items: $ref: '#/components/schemas/LineItem' field_mappings: type: object - example: *ref_107 + example: *ref_108 nullable: true description: >- The custom field mappings of the object between the remote 3rd party & Panora @@ -23864,7 +23996,7 @@ components: field_mappings: type: object nullable: true - example: &ref_108 + example: &ref_109 fav_dish: broccoli fav_color: red description: >- @@ -23935,7 +24067,7 @@ components: field_mappings: type: object nullable: true - example: *ref_108 + example: *ref_109 description: >- The custom field mappings of the attachment between the remote 3rd party & Panora additionalProperties: true