From 8f5a34dc6a6eb8d8f17c5c2e3d50460a0e55a0d1 Mon Sep 17 00:00:00 2001 From: Amadeo Pellicce Date: Mon, 6 Jan 2025 10:17:46 +0100 Subject: [PATCH] updating openint SDK --- sdks/sdk-openint/openint.oas.json | 301 +- sdks/sdk-openint/openint.oas.types.d.ts | 3377 ++++------------------- sdks/sdk-openint/package.json | 2 +- 3 files changed, 783 insertions(+), 2897 deletions(-) diff --git a/sdks/sdk-openint/openint.oas.json b/sdks/sdk-openint/openint.oas.json index 8d15276..1bcaf3c 100644 --- a/sdks/sdk-openint/openint.oas.json +++ b/sdks/sdk-openint/openint.oas.json @@ -56,6 +56,61 @@ } } }, + "/clerk-testing-token": { + "get": { + "operationId": "createClerkTestingToken", + "summary": "Create clerk testing token", + "tags": ["Internal"], + "parameters": [ + { + "in": "query", + "name": "secret", + "schema": {"type": "string"}, + "required": true + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {"testing_token": {"type": "string"}}, + "required": ["testing_token"] + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": {"$ref": "#/components/schemas/error.BAD_REQUEST"} + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": {"$ref": "#/components/schemas/error.NOT_FOUND"} + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } + } + }, "/connect/token": { "post": { "operationId": "createConnectToken", @@ -579,7 +634,11 @@ "responses": { "200": { "description": "Successful response", - "content": {"application/json": {"schema": {}}} + "content": { + "application/json": { + "schema": {"type": "object", "properties": {}} + } + } }, "400": { "description": "Invalid input data", @@ -823,7 +882,27 @@ "responses": { "200": { "description": "Successful response", - "content": {"application/json": {"schema": {}}} + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "connection_requested_event_id": {"type": "string"}, + "pipeline_syncs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "pipeline_id": {"type": "string"}, + "sync_completed_event_id": {"type": "string"} + }, + "required": ["pipeline_id", "sync_completed_event_id"] + } + } + } + } + } + } }, "400": { "description": "Invalid input data", @@ -1937,7 +2016,11 @@ "responses": { "200": { "description": "Successful response", - "content": {"application/json": {"schema": {}}} + "content": { + "application/json": { + "schema": {"type": "object", "properties": {}} + } + } }, "400": { "description": "Invalid input data", @@ -1960,20 +2043,58 @@ } } }, - "/core/sync_run": { + "/core/events": { "get": { - "operationId": "listSyncRuns", - "summary": "List sync runs", - "tags": ["Core"], + "operationId": "listEvents", + "summary": "List events", + "tags": ["Connect"], "parameters": [ - {"in": "query", "name": "limit", "schema": {"type": "number"}}, - {"in": "query", "name": "offset", "schema": {"type": "number"}} + { + "in": "query", + "name": "sync_mode", + "schema": {"type": "string", "enum": ["full", "incremental"]} + }, + { + "in": "query", + "name": "cursor", + "schema": {"type": ["string", "null"]} + }, + {"in": "query", "name": "page_size", "schema": {"type": "number"}}, + { + "in": "query", + "name": "since", + "schema": {"type": "integer"}, + "required": true + }, + { + "in": "query", + "name": "customerId", + "schema": {"type": ["string", "null"], "minLength": 1} + }, + { + "in": "query", + "name": "name", + "schema": {"type": ["string", "null"]} + } ], "responses": { "200": { "description": "Successful response", "content": { - "application/json": {"schema": {"type": "array", "items": {}}} + "application/json": { + "schema": { + "type": "object", + "properties": { + "next_cursor": {"type": ["string", "null"]}, + "has_next_page": {"type": "boolean"}, + "items": { + "type": "array", + "items": {"$ref": "#/components/schemas/Event"} + } + }, + "required": ["has_next_page", "items"] + } + } } }, "400": { @@ -2094,6 +2215,124 @@ } } } + }, + "patch": { + "operationId": "updateCurrentOrganization", + "summary": "Update current organization", + "tags": ["Internal"], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "publicMetadata": { + "type": "object", + "properties": { + "database_url": { + "type": "string", + "title": "PostgreSQL Database URL", + "description": "This is where data from connections are synced to by default", + "example": "postgres://username:password@host:port/database" + }, + "synced_data_schema": { + "type": "string", + "title": "Synced Data Schema", + "description": "Postgres schema to pipe data synced from customer connections into. Defaults to \"synced\" if missing." + }, + "webhook_url": { + "type": "string", + "title": "Webhook URL", + "description": "Events like sync.completed and connection.created can be sent to url of your choosing" + }, + "migrate_tables": { + "type": "boolean", + "title": "Migrate Tables", + "description": "If enabled, table migrations will be run if needed when entities are persisted", + "default": true + } + } + } + }, + "required": ["publicMetadata"] + } + } + } + }, + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Must start with 'org_'" + }, + "slug": {"type": ["string", "null"]}, + "publicMetadata": { + "type": "object", + "properties": { + "database_url": { + "type": "string", + "title": "PostgreSQL Database URL", + "description": "This is where data from connections are synced to by default", + "example": "postgres://username:password@host:port/database" + }, + "synced_data_schema": { + "type": "string", + "title": "Synced Data Schema", + "description": "Postgres schema to pipe data synced from customer connections into. Defaults to \"synced\" if missing." + }, + "webhook_url": { + "type": "string", + "title": "Webhook URL", + "description": "Events like sync.completed and connection.created can be sent to url of your choosing" + }, + "migrate_tables": { + "type": "boolean", + "title": "Migrate Tables", + "description": "If enabled, table migrations will be run if needed when entities are persisted", + "default": true + } + } + } + }, + "required": ["id", "publicMetadata"] + } + } + } + }, + "400": { + "description": "Invalid input data", + "content": { + "application/json": { + "schema": {"$ref": "#/components/schemas/error.BAD_REQUEST"} + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": {"$ref": "#/components/schemas/error.NOT_FOUND"} + } + } + }, + "500": { + "description": "Internal server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR" + } + } + } + } + } } }, "/openapi.json": { @@ -5194,7 +5433,8 @@ {"in": "query", "name": "sort_order", "schema": {"type": "string"}}, {"in": "query", "name": "customer", "schema": {"type": "string"}}, {"in": "query", "name": "department", "schema": {"type": "string"}}, - {"in": "query", "name": "date_macro", "schema": {"type": "string"}} + {"in": "query", "name": "date_macro", "schema": {"type": "string"}}, + {"in": "query", "name": "summarize_by", "schema": {"type": "string"}} ], "responses": { "200": { @@ -5353,7 +5593,19 @@ {"in": "query", "name": "sort_order", "schema": {"type": "string"}}, {"in": "query", "name": "customer", "schema": {"type": "string"}}, {"in": "query", "name": "department", "schema": {"type": "string"}}, - {"in": "query", "name": "date_macro", "schema": {"type": "string"}} + {"in": "query", "name": "date_macro", "schema": {"type": "string"}}, + { + "in": "query", + "name": "payment_method", + "schema": {"type": "string"} + }, + {"in": "query", "name": "arpaid", "schema": {"type": "string"}}, + { + "in": "query", + "name": "transaction_type", + "schema": {"type": "string"} + }, + {"in": "query", "name": "sort_by", "schema": {"type": "string"}} ], "responses": { "200": { @@ -7298,15 +7550,14 @@ "standard": { "type": ["object", "null"], "properties": { - "displayName": {"type": "string"}, + "displayName": {"type": ["string", "null"]}, "status": { "type": ["string", "null"], "enum": ["healthy", "disconnected", "error", "manual"] }, "statusMessage": {"type": ["string", "null"]}, "labels": {"type": "array", "items": {"type": "string"}} - }, - "required": ["displayName"] + } }, "disabled": {"type": "boolean"}, "metadata": { @@ -7481,6 +7732,26 @@ }, "required": ["createdAt", "updatedAt", "id"] }, + "Event": { + "type": "object", + "properties": { + "id": {"type": "string", "description": "Must start with 'evt_'"}, + "name": {"type": "string"}, + "data": {"type": ["object", "null"], "additionalProperties": {}}, + "timestamp": {"type": "string"}, + "user": {"type": ["object", "null"], "additionalProperties": {}}, + "org_id": { + "type": ["string", "null"], + "description": "Must start with 'org_'" + }, + "customer_id": {"type": ["string", "null"], "minLength": 1}, + "user_id": { + "type": ["string", "null"], + "description": "Must start with 'user_'" + } + }, + "required": ["id", "name", "timestamp"] + }, "Viewer": { "oneOf": [ { diff --git a/sdks/sdk-openint/openint.oas.types.d.ts b/sdks/sdk-openint/openint.oas.types.d.ts index 6448675..7e679eb 100644 --- a/sdks/sdk-openint/openint.oas.types.d.ts +++ b/sdks/sdk-openint/openint.oas.types.d.ts @@ -1,1544 +1,438 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + +/** WithRequired type helpers */ +type WithRequired = T & {[P in K]-?: T[P]} + +/** OneOf type helpers */ +type Without = {[P in Exclude]?: never} +type XOR = T | U extends object + ? (Without & U) | (Without & T) + : T | U +type OneOf = T extends [infer Only] + ? Only + : T extends [infer A, infer B, ...infer Rest] + ? OneOf<[XOR, ...Rest]> + : never + export interface paths { '/health': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Health check */ get: operations['health'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never + } + '/clerk-testing-token': { + /** Create clerk testing token */ + get: operations['createClerkTestingToken'] } '/connect/token': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Create a connect token */ post: operations['createConnectToken'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/connect/magic-link': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Create a magic link */ post: operations['createMagicLink'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/passthrough': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Passthrough */ post: operations['passthrough'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/connection/{id}/source_sync': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** * Source sync * @description Return records that would have otherwise been emitted during a sync and return it instead */ post: operations['sourceSync'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/connection': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List connections */ get: operations['listConnection'] - put?: never /** Create connection */ post: operations['createConnection'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/connection/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get connection */ get: operations['getConnection'] - put?: never - post?: never /** Delete connection */ delete: operations['deleteConnection'] - options?: never - head?: never /** Update connection */ patch: operations['updateConnection'] - trace?: never } '/core/connection/{id}/_check': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Check connection */ post: operations['checkConnection'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/connection/{id}/_sync': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Sync connection */ post: operations['syncConnection'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/connector_config': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Admin list connector configs */ get: operations['adminListConnectorConfigs'] - put?: never /** Admin upsert connector config */ post: operations['adminUpsertConnectorConfig'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/connector_config/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Admin get connector config */ get: operations['adminGetConnectorConfig'] - put?: never - post?: never /** Admin delete connector config */ delete: operations['adminDeleteConnectorConfig'] - options?: never - head?: never /** Admin update connector config */ patch: operations['adminUpdateConnectorConfig'] - trace?: never } '/core/connector_config_info': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** * List connector config infos * @description For customer authentication and list a limited set of non private data */ get: operations['listConnectorConfigInfos'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/connector': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** * List connector metas * @description Get catalog of all available connectors */ get: operations['listConnectorMetas'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/connector/{name}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get connector meta */ get: operations['getConnectorMeta'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/connector/{name}/oas': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get connector open api spec */ get: operations['getConnectorOpenApiSpec'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/connector/{name}/schemas': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get connector schemas */ get: operations['getConnectorSchemas'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/connector/{name}/integrations': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List connector integrations */ get: operations['listConnectorIntegrations'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/configured_integrations': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List configured integrations */ get: operations['listConfiguredIntegrations'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/pipeline': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List pipelines */ get: operations['listPipelines'] - put?: never /** Create pipeline */ post: operations['createPipeline'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/core/pipeline/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never - post?: never /** Delete pipeline */ delete: operations['deletePipeline'] - options?: never - head?: never /** Update pipeline */ patch: operations['updatePipeline'] - trace?: never } '/core/pipeline/{id}/_sync': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Sync pipeline */ post: operations['syncPipeline'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } - '/core/sync_run': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - /** List sync runs */ - get: operations['listSyncRuns'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never + '/core/events': { + /** List events */ + get: operations['listEvents'] } '/viewer': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get current viewer accessing the API */ get: operations['getViewer'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/viewer/organization': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get current organization of viewer accessing the API */ get: operations['getCurrentOrganization'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never + /** Update current organization */ + patch: operations['updateCurrentOrganization'] } '/openapi.json': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get openapi document */ get: operations['public-getOpenapiDocument'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/contact': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Contacts */ get: operations['salesEngagement-listContacts'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/sequence': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Sequences */ get: operations['salesEngagement-listSequences'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/sequence_state': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Sequence States */ get: operations['salesEngagement-listSequenceStates'] - put?: never /** Insert Sequence State */ post: operations['salesEngagement-insertSequenceState'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/user': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Users */ get: operations['salesEngagement-listUsers'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/account': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Accounts */ get: operations['salesEngagement-listAccounts'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/mailbox': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Mailboxes */ get: operations['salesEngagement-listMailboxes'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/account/_upsert': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Upsert Account */ post: operations['salesEngagement-upsertAccount'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/sales-engagement/contact/_upsert': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Upsert Contact */ post: operations['salesEngagement-upsertContact'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/{entity}/_count': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Count Entities */ get: operations['crm-countEntity'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/account': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Accounts */ get: operations['crm-listAccounts'] - put?: never /** Create account */ post: operations['crm-createAccount'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/account/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Account */ get: operations['crm-getAccount'] - put?: never - post?: never - delete?: never - options?: never - head?: never /** Update account */ patch: operations['crm-updateAccount'] - trace?: never } '/unified/crm/account/_batch_read': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Batch read accounts */ post: operations['crm-batchReadAccounts'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/account/_upsert': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Upsert account */ post: operations['crm-upsertAccount'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/contact': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Contacts */ get: operations['crm-listContacts'] - put?: never /** Create contact */ post: operations['crm-createContact'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/contact/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Contact */ get: operations['crm-getContact'] - put?: never - post?: never - delete?: never - options?: never - head?: never /** Update contact */ patch: operations['crm-updateContact'] - trace?: never } '/unified/crm/contact/_batch_read': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Batch read contacts */ post: operations['crm-batchReadContacts'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/contact/_upsert': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Upsert contact */ post: operations['crm-upsertContact'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/lead': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Leads */ get: operations['crm-listLeads'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/lead/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Lead */ get: operations['crm-getLead'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/opportunity': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Opportunities */ get: operations['crm-listOpportunities'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/opportunity/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Opportunity */ get: operations['crm-getOpportunity'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/note': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List notes */ get: operations['crm-listNotes'] - put?: never /** Create note */ post: operations['crm-createNote'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/user': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List users */ get: operations['crm-listUsers'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/user/{id}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get user */ get: operations['crm-getUser'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/custom_objects/{object_name}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List custom object records */ get: operations['crm-listCustomObjectRecords'] - put?: never /** Create custom object record */ post: operations['crm-createCustomObjectRecord'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/metadata/objects': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Metadata list objects */ get: operations['crm-metadataListObjects'] - put?: never /** * Metadata create object * @description Create custom object schema */ post: operations['crm-metadataCreateObject'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/metadata/objects/{object_name}/properties': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Metadata list object properties */ get: operations['crm-metadataListObjectProperties'] - put?: never /** Metadata create object property */ post: operations['crm-metadataCreateObjectProperty'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/crm/metadata/associations': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Metadata create association */ post: operations['crm-metadataCreateAssociation'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/banking/account': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Accounts */ get: operations['banking-listAccounts'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/banking/merchant': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Merchants */ get: operations['banking-listMerchants'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/banking/category': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Categories */ get: operations['banking-listCategories'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/banking/transaction': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Transactions */ get: operations['banking-listTransactions'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/account': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Account */ get: operations['accounting-listAccounts'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/expense': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Expenses */ get: operations['accounting-listExpenses'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/vendor': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Vendors */ get: operations['accounting-listVendors'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/balance-sheet': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Balance Sheet */ get: operations['accounting-getBalanceSheet'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/profit-and-loss': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Profit and Loss */ get: operations['accounting-getProfitAndLoss'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/cash-flow': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Cash Flow */ get: operations['accounting-getCashFlow'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/transaction-list': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Transaction List */ get: operations['accounting-getTransactionList'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/customer-balance': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Customer Balance */ get: operations['accounting-getCustomerBalance'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/customer-income': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Customer Income */ get: operations['accounting-getCustomerIncome'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/bank-accounts': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Bank Accounts */ get: operations['accounting-getBankAccounts'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/accounting/payment-receipt': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get Payment Receipts */ get: operations['accounting-getPaymentReceipts'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/pta/account': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Accounts */ get: operations['pta-listAccounts'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/pta/transaction': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Transactions */ get: operations['pta-listTransactions'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/pta/commodity': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Commodities */ get: operations['pta-listCommodities'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/ats/job': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Jobs */ get: operations['ats-listJobs'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/ats/job/{jobId}/opening': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Job Openings */ get: operations['ats-listJobOpenings'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/ats/offer': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Offers */ get: operations['ats-listOffers'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/ats/candidate': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Candidates */ get: operations['ats-listCandidates'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/ats/department': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Departments */ get: operations['ats-listDepartments'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/hris/individual': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List Individuals */ get: operations['hris-listIndividual'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/etl/read/{stream}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Read Stream */ get: operations['etl-readStream'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/etl/discover': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Discover */ get: operations['etl-discover'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/etl/read': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Read Data */ post: operations['etl-read'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/etl/write': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never /** Write Data */ post: operations['etl-write'] - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/file-storage/drive': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List drives */ get: operations['fileStorage-listDrives'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/file-storage/drive/{driveId}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get drive */ get: operations['fileStorage-getDrive'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/file-storage/drive/{driveId}/folder': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List folders */ get: operations['fileStorage-listFolders'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/file-storage/drive/{driveId}/folder/{folderId}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get folder */ get: operations['fileStorage-getFolder'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/file-storage/drive/{driveId}/file': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** List files */ get: operations['fileStorage-listFiles'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } '/unified/file-storage/drive/{driveId}/file/{fileId}': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } /** Get file */ get: operations['fileStorage-getFile'] - put?: never - post?: never - delete?: never - options?: never - head?: never - patch?: never - trace?: never } } + export interface webhooks { 'sync.completed': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - get?: never - put?: never post: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody?: { content: { 'application/json': components['schemas']['webhooks.sync.completed'] } } - responses: never + responses: {} } - delete?: never - options?: never - head?: never - patch?: never - trace?: never } } + export interface components { schemas: { 'webhooks.sync.completed': { @@ -1558,10 +452,10 @@ export interface components { * Error * @description The error information * @example { - * "code": "BAD_REQUEST", - * "message": "Invalid input data", - * "issues": [] - * } + * "code": "BAD_REQUEST", + * "message": "Invalid input data", + * "issues": [] + * } */ 'error.BAD_REQUEST': { /** @@ -1586,10 +480,10 @@ export interface components { * Error * @description The error information * @example { - * "code": "NOT_FOUND", - * "message": "Not found", - * "issues": [] - * } + * "code": "NOT_FOUND", + * "message": "Not found", + * "issues": [] + * } */ 'error.NOT_FOUND': { /** @@ -1614,10 +508,10 @@ export interface components { * Error * @description The error information * @example { - * "code": "INTERNAL_SERVER_ERROR", - * "message": "Internal server error", - * "issues": [] - * } + * "code": "INTERNAL_SERVER_ERROR", + * "message": "Internal server error", + * "issues": [] + * } */ 'error.INTERNAL_SERVER_ERROR': { /** @@ -1655,18 +549,19 @@ export interface components { [key: string]: unknown } | null standard?: { - displayName: string + displayName?: string | null /** @enum {string|null} */ - status?: 'healthy' | 'disconnected' | 'error' | 'manual' | null + status?: 'healthy' | 'disconnected' | 'error' | 'manual' statusMessage?: string | null labels?: string[] } | null disabled?: boolean - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown } ConnectorConfig: { @@ -1704,11 +599,12 @@ export interface components { source_id: string } | null envName?: string | null - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown } /** @enum {string} */ @@ -1754,10 +650,13 @@ export interface components { | null connector_name: string } - 'core.configured_integration': { - /** @description Must start with 'ccfg_' */ - connector_config_id: string - } & components['schemas']['core.integration'] + 'core.configured_integration': WithRequired< + { + /** @description Must start with 'ccfg_' */ + connector_config_id: string + } & components['schemas']['core.integration'], + 'connector_config_id' + > Pipeline: { createdAt: string updatedAt: string @@ -1785,26 +684,45 @@ export interface components { lastSyncStartedAt?: string | null lastSyncCompletedAt?: string | null disabled?: boolean - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown } - Viewer: - | { + Event: { + /** @description Must start with 'evt_' */ + id: string + name: string + data?: { + [key: string]: unknown + } | null + timestamp: string + user?: { + [key: string]: unknown + } | null + /** @description Must start with 'org_' */ + org_id?: string | null + customer_id?: string | null + /** @description Must start with 'user_' */ + user_id?: string | null + } + Viewer: OneOf< + [ + { /** @enum {string} */ role: 'anon' - } - | { + }, + { /** @enum {string} */ role: 'customer' customerId: string /** @description Must start with 'org_' */ orgId: string - } - | { + }, + { /** @enum {string} */ role: 'user' /** @description Must start with 'user_' */ @@ -1815,8 +733,8 @@ export interface components { extra?: { [key: string]: unknown } - } - | { + }, + { /** @enum {string} */ role: 'org' /** @description Must start with 'org_' */ @@ -1825,11 +743,13 @@ export interface components { extra?: { [key: string]: unknown } - } - | { + }, + { /** @enum {string} */ role: 'system' - } + }, + ] + > 'sales-engagement.contact': { id: string first_name: string @@ -2165,12 +1085,12 @@ export interface components { } /** * @description :::note - * `picklist` and `multipicklist` property types are currently only supported in Salesforce and Hubspot - * ::: + * `picklist` and `multipicklist` property types are currently only supported in Salesforce and Hubspot + * ::: * - * :::note - * `url` property type currently is only natively supported in Salesforce. - * ::: + * :::note + * `url` property type currently is only natively supported in Salesforce. + * ::: * @enum {string} */ 'crm.meta.property_type': @@ -2390,24 +1310,22 @@ export interface components { headers: never pathItems: never } + export type $defs = Record + +export type external = Record + export interface operations { + /** Health check */ health: { parameters: { query?: { exp?: boolean } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { healthy: boolean @@ -2417,40 +1335,62 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } - createConnectToken: { + /** Create clerk testing token */ + createClerkTestingToken: { parameters: { - query?: never - header?: never - path?: never - cookie?: never + query: { + secret: string + } + } + responses: { + /** @description Successful response */ + 200: { + content: { + 'application/json': { + testing_token: string + } + } + } + /** @description Invalid input data */ + 400: { + content: { + 'application/json': components['schemas']['error.BAD_REQUEST'] + } + } + /** @description Not found */ + 404: { + content: { + 'application/json': components['schemas']['error.NOT_FOUND'] + } + } + /** @description Internal server error */ + 500: { + content: { + 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] + } + } } + } + /** Create a connect token */ + createConnectToken: { requestBody: { content: { 'application/json': { @@ -2467,9 +1407,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { token: string @@ -2478,31 +1415,20 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Create a magic link */ createMagicLink: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -2519,7 +1445,7 @@ export interface operations { redirectUrl?: string | null /** @description Filter connector config by connector name */ connectorName?: string | null - /** @description Filter connector config by displayName */ + /** @description Filter connector config by displayName */ connectorConfigDisplayName?: string | null /** @description Must start with 'ccfg_' */ connectorConfigId?: string @@ -2531,9 +1457,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { url: string @@ -2542,31 +1465,20 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Passthrough */ passthrough: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -2588,41 +1500,33 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** + * Source sync + * @description Return records that would have otherwise been emitted during a sync and return it instead + */ sourceSync: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { @@ -2639,9 +1543,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { [key: string]: unknown @@ -2650,24 +1551,19 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List connections */ listConnection: { parameters: { query?: { @@ -2679,17 +1575,10 @@ export interface operations { forceRefresh?: boolean expand?: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': ({ integration?: { @@ -2711,40 +1600,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Create connection */ createConnection: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -2756,11 +1631,12 @@ export interface operations { displayName?: string | null customerId?: string | null disabled?: boolean - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown /** @description Must start with 'int_' */ integrationId?: string | null @@ -2770,166 +1646,130 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': string } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get connection */ getConnection: { parameters: { query?: { forceRefresh?: boolean expand?: string } - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { - 'application/json': { - connector_config: { - /** @description Must start with 'ccfg_' */ - id: string - /** @description Must start with 'org_' */ - orgId: string - connectorName: string - } - integration?: { - /** @description Must start with 'int_' */ - id: string - name: string - /** Format: uri */ - logoUrl: string - } | null - connector?: { - /** @description Must start with 'ccfg_' */ - id: string - name: string - /** Format: uri */ - logoUrl: string - } | null - } & components['schemas']['Connection'] + 'application/json': WithRequired< + { + connector_config: { + /** @description Must start with 'ccfg_' */ + id: string + /** @description Must start with 'org_' */ + orgId: string + connectorName: string + } + integration?: { + /** @description Must start with 'int_' */ + id: string + name: string + /** Format: uri */ + logoUrl: string + } | null + connector?: { + /** @description Must start with 'ccfg_' */ + id: string + name: string + /** Format: uri */ + logoUrl: string + } | null + } & components['schemas']['Connection'], + 'connector_config' + > } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Delete connection */ deleteConnection: { parameters: { query?: { skipRevoke?: boolean } - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { - 'application/json': unknown + 'application/json': Record } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Update connection */ updateConnection: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { @@ -2938,11 +1778,12 @@ export interface operations { [key: string]: unknown } | null displayName?: string | null - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown disabled?: boolean customerId?: string | null @@ -2954,50 +1795,36 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['Connection'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Check connection */ checkConnection: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { @@ -3013,61 +1840,53 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Sync connection */ syncConnection: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { 'application/json': { /** @description Run sync in the background, not compatible with other options for now... */ async?: boolean | null - /** @description Only sync connection metadata and skip pipelines */ + /** @description Only sync connection metadata and skip pipelines */ metaOnly?: boolean | null /** @description Remove `state` of pipeline and trigger a full resync */ fullResync?: boolean | null - /** @description - * Triggers provider to refresh data from its source - * https://plaid.com/docs/api/products/transactions/#transactionsrefresh - * This may also load historical transactions. For example, - * Finicity treats historical transaction as premium service. - * */ + /** + * @description + * Triggers provider to refresh data from its source + * https://plaid.com/docs/api/products/transactions/#transactionsrefresh + * This may also load historical transactions. For example, + * Finicity treats historical transaction as premium service. + */ todo_upstreamRefresh?: boolean | null - /** @description - * See coda's implmementation. Requires adding a new message to the sync protocol - * to remove all data from a particular source_id */ + /** + * @description + * See coda's implmementation. Requires adding a new message to the sync protocol + * to remove all data from a particular source_id + */ todo_removeUnsyncedData?: boolean | null } } @@ -3075,69 +1894,49 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { - 'application/json': unknown + 'application/json': { + connection_requested_event_id?: string + pipeline_syncs?: { + pipeline_id: string + sync_completed_event_id: string + }[] + } } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Admin list connector configs */ adminListConnectorConfigs: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['ConnectorConfig'][] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Admin upsert connector config */ adminUpsertConnectorConfig: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -3178,148 +1977,108 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['ConnectorConfig'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Admin get connector config */ adminGetConnectorConfig: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['ConnectorConfig'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Admin delete connector config */ adminDeleteConnectorConfig: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Admin update connector config */ adminUpdateConnectorConfig: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { 'application/json': { - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown displayName?: string | null /** @@ -3333,60 +2092,45 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['ConnectorConfig'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** + * List connector config infos + * @description For customer authentication and list a limited set of non private data + */ listConnectorConfigInfos: { parameters: { query?: { - type?: 'source' | 'destination' | null + type?: 'source' | 'destination' id?: string | null connectorName?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { /** @description Must start with 'ccfg_' */ @@ -3423,235 +2167,173 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** + * List connector metas + * @description Get catalog of all available connectors + */ listConnectorMetas: { parameters: { query?: { includeOas?: boolean } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get connector meta */ getConnectorMeta: { parameters: { query?: { includeOas?: boolean } - header?: never path: { name: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get connector open api spec */ getConnectorOpenApiSpec: { parameters: { query?: { original?: boolean } - header?: never path: { name: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get connector schemas */ getConnectorSchemas: { parameters: { query?: { type?: string } - header?: never path: { name: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List connector integrations */ listConnectorIntegrations: { parameters: { query?: { @@ -3661,19 +2343,13 @@ export interface operations { search_text?: string | null ccfgId?: string } - header?: never path: { name: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -3684,33 +2360,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List configured integrations */ listConfiguredIntegrations: { parameters: { query?: { @@ -3720,17 +2388,10 @@ export interface operations { search_text?: string connector_config_ids?: string[] } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -3741,33 +2402,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List pipelines */ listPipelines: { parameters: { query?: { @@ -3775,67 +2428,47 @@ export interface operations { offset?: number connectionIds?: string[] } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['Pipeline'][] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Create pipeline */ createPipeline: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { /** @description Must start with 'pipe_' */ id: string - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown disabled?: boolean /** @description Must start with 'conn_' */ @@ -3854,99 +2487,74 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['Pipeline'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Delete pipeline */ deletePipeline: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': true } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Update pipeline */ updatePipeline: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { 'application/json': { - /** @description - * JSON object can can be used to associate arbitrary metadata to - * avoid needing a separate 1-1 table just for simple key values in your application. - * During updates this object will be shallowly merged - * */ + /** + * @description + * JSON object can can be used to associate arbitrary metadata to + * avoid needing a separate 1-1 table just for simple key values in your application. + * During updates this object will be shallowly merged + */ metadata?: unknown disabled?: boolean streams?: { @@ -3961,70 +2569,59 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['Pipeline'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Sync pipeline */ syncPipeline: { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { 'application/json': { /** @description Run sync in the background, not compatible with other options for now... */ async?: boolean | null - /** @description Only sync connection metadata and skip pipelines */ + /** @description Only sync connection metadata and skip pipelines */ metaOnly?: boolean | null /** @description Remove `state` of pipeline and trigger a full resync */ fullResync?: boolean | null - /** @description - * Triggers provider to refresh data from its source - * https://plaid.com/docs/api/products/transactions/#transactionsrefresh - * This may also load historical transactions. For example, - * Finicity treats historical transaction as premium service. - * */ + /** + * @description + * Triggers provider to refresh data from its source + * https://plaid.com/docs/api/products/transactions/#transactionsrefresh + * This may also load historical transactions. For example, + * Finicity treats historical transaction as premium service. + */ todo_upstreamRefresh?: boolean | null - /** @description - * See coda's implmementation. Requires adding a new message to the sync protocol - * to remove all data from a particular source_id */ + /** + * @description + * See coda's implmementation. Requires adding a new message to the sync protocol + * to remove all data from a particular source_id + */ todo_removeUnsyncedData?: boolean | null } } @@ -4032,126 +2629,89 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { - 'application/json': unknown + 'application/json': Record } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } - listSyncRuns: { + /** List events */ + listEvents: { parameters: { - query?: { - limit?: number - offset?: number + query: { + sync_mode?: 'full' | 'incremental' + cursor?: string | null + page_size?: number + since: number + customerId?: string | null + name?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { - 'application/json': unknown[] + 'application/json': { + next_cursor?: string | null + has_next_page: boolean + items: components['schemas']['Event'][] + } } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get current viewer accessing the API */ getViewer: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['Viewer'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get current organization of viewer accessing the API */ getCurrentOrganization: { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { /** @description Must start with 'org_' */ @@ -4179,67 +2739,133 @@ export interface operations { * @description If enabled, table migrations will be run if needed when entities are persisted * @default true */ - migrate_tables: boolean + migrate_tables?: boolean } } } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } - 'public-getOpenapiDocument': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never + /** Update current organization */ + updateCurrentOrganization: { + requestBody: { + content: { + 'application/json': { + publicMetadata: { + /** + * PostgreSQL Database URL + * @description This is where data from connections are synced to by default + * @example postgres://username:password@host:port/database + */ + database_url?: string + /** + * Synced Data Schema + * @description Postgres schema to pipe data synced from customer connections into. Defaults to "synced" if missing. + */ + synced_data_schema?: string + /** + * Webhook URL + * @description Events like sync.completed and connection.created can be sent to url of your choosing + */ + webhook_url?: string + /** + * Migrate Tables + * @description If enabled, table migrations will be run if needed when entities are persisted + * @default true + */ + migrate_tables?: boolean + } + } + } } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown + content: { + 'application/json': { + /** @description Must start with 'org_' */ + id: string + slug?: string | null + publicMetadata: { + /** + * PostgreSQL Database URL + * @description This is where data from connections are synced to by default + * @example postgres://username:password@host:port/database + */ + database_url?: string + /** + * Synced Data Schema + * @description Postgres schema to pipe data synced from customer connections into. Defaults to "synced" if missing. + */ + synced_data_schema?: string + /** + * Webhook URL + * @description Events like sync.completed and connection.created can be sent to url of your choosing + */ + webhook_url?: string + /** + * Migrate Tables + * @description If enabled, table migrations will be run if needed when entities are persisted + * @default true + */ + migrate_tables?: boolean + } + } } + } + /** @description Invalid input data */ + 400: { content: { - 'application/json': unknown + 'application/json': components['schemas']['error.BAD_REQUEST'] + } + } + /** @description Not found */ + 404: { + content: { + 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown + content: { + 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] + } + } + } + } + /** Get openapi document */ + 'public-getOpenapiDocument': { + responses: { + /** @description Successful response */ + 200: { + content: { + 'application/json': unknown } + } + /** @description Internal server error */ + 500: { content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Contacts */ 'salesEngagement-listContacts': { parameters: { query?: { cursor?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_page_cursor?: string | null @@ -4249,49 +2875,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Sequences */ 'salesEngagement-listSequences': { parameters: { query?: { cursor?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_page_cursor?: string | null @@ -4301,49 +2912,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Sequence States */ 'salesEngagement-listSequenceStates': { parameters: { query?: { cursor?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_page_cursor?: string | null @@ -4353,40 +2949,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Insert Sequence State */ 'salesEngagement-insertSequenceState': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -4406,9 +2988,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record?: { @@ -4419,40 +2998,28 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Users */ 'salesEngagement-listUsers': { parameters: { query?: { cursor?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_page_cursor?: string | null @@ -4462,49 +3029,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Accounts */ 'salesEngagement-listAccounts': { parameters: { query?: { cursor?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_page_cursor?: string | null @@ -4514,49 +3066,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Mailboxes */ 'salesEngagement-listMailboxes': { parameters: { query?: { cursor?: string | null } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_page_cursor?: string | null @@ -4566,40 +3103,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Upsert Account */ 'salesEngagement-upsertAccount': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -4628,9 +3151,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record?: { @@ -4641,31 +3161,20 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Upsert Contact */ 'salesEngagement-upsertContact': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -4676,14 +3185,16 @@ export interface operations { last_name?: string | null /** @example CEO */ job_title?: string | null - /** @example { - * "city": "San Francisco", - * "country": "US", - * "postal_code": "94107", - * "state": "CA", - * "street_1": "525 Brannan", - * "street_2": null - * } */ + /** + * @example { + * "city": "San Francisco", + * "country": "US", + * "postal_code": "94107", + * "state": "CA", + * "street_1": "525 Brannan", + * "street_2": null + * } + */ address: { city?: string | null country?: string | null @@ -4692,23 +3203,27 @@ export interface operations { street_1?: string | null street_2?: string | null } - /** @example [ - * { - * "email_address": "hello@revtron.ai", - * "email_address_type": "work" - * } - * ] */ + /** + * @example [ + * { + * "email_address": "hello@revtron.ai", + * "email_address_type": "work" + * } + * ] + */ email_addresses: { email_address: string /** @enum {string|null} */ - email_address_type?: 'primary' | 'personal' | 'work' | null + email_address_type?: 'primary' | 'personal' | 'work' }[] - /** @example [ - * { - * "phone_number": "+14151234567", - * "phone_number_type": "work" - * } - * ] */ + /** + * @example [ + * { + * "phone_number": "+14151234567", + * "phone_number_type": "work" + * } + * ] + */ phone_numbers: { phone_number: string /** @enum {string} */ @@ -4737,9 +3252,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record?: { @@ -4750,40 +3262,28 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Count Entities */ 'crm-countEntity': { parameters: { - query?: never - header?: never path: { entity: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { count: number @@ -4792,33 +3292,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Accounts */ 'crm-listAccounts': { parameters: { query?: { @@ -4826,17 +3318,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -4847,40 +3332,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Create account */ 'crm-createAccount': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -4891,9 +3362,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.account'] @@ -4902,40 +3370,28 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Account */ 'crm-getAccount': { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.account'] @@ -4945,41 +3401,30 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Update account */ 'crm-updateAccount': { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { @@ -4991,9 +3436,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.account'] @@ -5002,40 +3444,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Batch read accounts */ 'crm-batchReadAccounts': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -5047,40 +3475,26 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['crm.account'][] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Upsert account */ 'crm-upsertAccount': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -5100,9 +3514,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.account'] @@ -5111,24 +3522,19 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Contacts */ 'crm-listContacts': { parameters: { query?: { @@ -5136,17 +3542,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -5157,40 +3556,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Create contact */ 'crm-createContact': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -5201,9 +3586,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.contact'] @@ -5212,40 +3594,28 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Contact */ 'crm-getContact': { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.contact'] @@ -5255,41 +3625,30 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Update contact */ 'crm-updateContact': { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } requestBody: { content: { @@ -5301,9 +3660,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.contact'] @@ -5312,40 +3668,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Batch read contacts */ 'crm-batchReadContacts': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -5357,40 +3699,26 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['crm.contact'][] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Upsert contact */ 'crm-upsertContact': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -5410,9 +3738,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.contact'] @@ -5421,24 +3746,19 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Leads */ 'crm-listLeads': { parameters: { query?: { @@ -5446,17 +3766,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -5467,49 +3780,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Lead */ 'crm-getLead': { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.lead'] @@ -5519,33 +3817,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Opportunities */ 'crm-listOpportunities': { parameters: { query?: { @@ -5553,17 +3843,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -5574,49 +3857,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Opportunity */ 'crm-getOpportunity': { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.opportunity'] @@ -5626,33 +3894,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List notes */ 'crm-listNotes': { parameters: { query?: { @@ -5660,17 +3920,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -5681,40 +3934,26 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Create note */ 'crm-createNote': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -5725,9 +3964,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.note'] @@ -5736,24 +3972,19 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List users */ 'crm-listUsers': { parameters: { query?: { @@ -5761,17 +3992,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -5782,49 +4006,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get user */ 'crm-getUser': { parameters: { - query?: never - header?: never path: { id: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: components['schemas']['crm.user'] @@ -5834,33 +4043,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List custom object records */ 'crm-listCustomObjectRecords': { parameters: { query?: { @@ -5868,19 +4069,13 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never path: { object_name: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -5891,41 +4086,30 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Create custom object record */ 'crm-createCustomObjectRecord': { parameters: { - query?: never - header?: never path: { object_name: string } - cookie?: never } requestBody: { content: { @@ -5939,9 +4123,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record?: unknown @@ -5951,80 +4132,57 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Metadata list objects */ 'crm-metadataListObjects': { parameters: { query?: { type?: 'standard' | 'custom' } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['crm.meta.object'][] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** + * Metadata create object + * @description Create custom object schema + */ 'crm-metadataCreateObject': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -6042,90 +4200,64 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['crm.meta.object'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Metadata list object properties */ 'crm-metadataListObjectProperties': { parameters: { - query?: never - header?: never path: { object_name: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['crm.meta.property'][] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Metadata create object property */ 'crm-metadataCreateObjectProperty': { parameters: { - query?: never - header?: never path: { object_name: string } - cookie?: never } requestBody: { content: { @@ -6158,40 +4290,26 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['crm.meta.property'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Metadata create association */ 'crm-metadataCreateAssociation': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -6206,9 +4324,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { association_schema: components['schemas']['crm.meta.association_schema'] @@ -6218,24 +4333,19 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Accounts */ 'banking-listAccounts': { parameters: { query?: { @@ -6243,17 +4353,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -6264,33 +4367,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Merchants */ 'banking-listMerchants': { parameters: { query?: { @@ -6298,17 +4393,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -6319,33 +4407,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Categories */ 'banking-listCategories': { parameters: { query?: { @@ -6353,17 +4433,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -6374,33 +4447,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Transactions */ 'banking-listTransactions': { parameters: { query?: { @@ -6408,17 +4473,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -6429,33 +4487,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Account */ 'accounting-listAccounts': { parameters: { query?: { @@ -6463,17 +4513,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -6501,33 +4544,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Expenses */ 'accounting-listExpenses': { parameters: { query?: { @@ -6535,17 +4570,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -6561,33 +4589,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Vendors */ 'accounting-listVendors': { parameters: { query?: { @@ -6595,17 +4615,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -6620,33 +4633,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Balance Sheet */ 'accounting-getBalanceSheet': { parameters: { query?: { @@ -6658,17 +4663,10 @@ export interface operations { date_macro?: string summarize_by?: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { /** Format: date */ @@ -6692,33 +4690,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Profit and Loss */ 'accounting-getProfitAndLoss': { parameters: { query?: { @@ -6728,18 +4718,12 @@ export interface operations { customer?: string department?: string date_macro?: string + summarize_by?: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { reportName: string @@ -6759,33 +4743,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Cash Flow */ 'accounting-getCashFlow': { parameters: { query?: { @@ -6797,17 +4773,10 @@ export interface operations { date_macro?: string summarize_by?: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { reportName: string @@ -6827,33 +4796,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Transaction List */ 'accounting-getTransactionList': { parameters: { query?: { @@ -6863,18 +4824,15 @@ export interface operations { customer?: string department?: string date_macro?: string + payment_method?: string + arpaid?: string + transaction_type?: string + sort_by?: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { reportName: string @@ -6898,33 +4856,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Customer Balance */ 'accounting-getCustomerBalance': { parameters: { query: { @@ -6936,17 +4886,10 @@ export interface operations { date_macro?: string summarize_by?: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { reportName: string @@ -6963,33 +4906,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Customer Income */ 'accounting-getCustomerIncome': { parameters: { query: { @@ -7001,17 +4936,10 @@ export interface operations { date_macro?: string summarize_by?: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { reportName: string @@ -7033,49 +4961,34 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Bank Accounts */ 'accounting-getBankAccounts': { parameters: { query: { customer: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { updated: string @@ -7093,82 +5006,59 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get Payment Receipts */ 'accounting-getPaymentReceipts': { parameters: { query: { customer_transaction_id: string } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': unknown } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Accounts */ 'pta-listAccounts': { parameters: { query?: { @@ -7176,17 +5066,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7197,33 +5080,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Transactions */ 'pta-listTransactions': { parameters: { query?: { @@ -7231,17 +5106,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7252,33 +5120,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Commodities */ 'pta-listCommodities': { parameters: { query?: { @@ -7286,17 +5146,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7307,33 +5160,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Jobs */ 'ats-listJobs': { parameters: { query?: { @@ -7341,17 +5186,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7362,33 +5200,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Job Openings */ 'ats-listJobOpenings': { parameters: { query?: { @@ -7396,19 +5226,13 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never path: { jobId: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7419,33 +5243,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Offers */ 'ats-listOffers': { parameters: { query?: { @@ -7453,17 +5269,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7474,33 +5283,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Candidates */ 'ats-listCandidates': { parameters: { query?: { @@ -7508,17 +5309,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7529,33 +5323,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Departments */ 'ats-listDepartments': { parameters: { query?: { @@ -7563,17 +5349,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7584,33 +5363,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List Individuals */ 'hris-listIndividual': { parameters: { query?: { @@ -7618,17 +5389,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7644,33 +5408,25 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Read Stream */ 'etl-readStream': { parameters: { query?: { @@ -7679,19 +5435,13 @@ export interface operations { page_size?: number fields?: string[] } - header?: never path: { stream: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7702,47 +5452,29 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Discover */ 'etl-discover': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { streams: { @@ -7759,22 +5491,14 @@ export interface operations { } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Read Data */ 'etl-read': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -7812,9 +5536,6 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { record: { @@ -7828,31 +5549,20 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Write Data */ 'etl-write': { - parameters: { - query?: never - header?: never - path?: never - cookie?: never - } requestBody: { content: { 'application/json': { @@ -7870,12 +5580,10 @@ export interface operations { responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { - 'application/json': ( - | { + 'application/json': OneOf< + [ + { streams: { name: string json_schema: { @@ -7885,43 +5593,39 @@ export interface operations { }[] /** @enum {string} */ type: 'CATALOG' - } - | { + }, + { record: { data?: unknown stream: string } /** @enum {string} */ type: 'RECORD' - } - | { + }, + { state?: unknown /** @enum {string} */ type: 'STATE' - } - )[] + }, + ] + >[] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List drives */ 'fileStorage-listDrives': { parameters: { query?: { @@ -7929,17 +5633,10 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never - path?: never - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -7950,82 +5647,59 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get drive */ 'fileStorage-getDrive': { parameters: { - query?: never - header?: never path: { driveId: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['unified.drive'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List folders */ 'fileStorage-listFolders': { parameters: { query?: { @@ -8033,19 +5707,13 @@ export interface operations { cursor?: string | null page_size?: number } - header?: never path: { driveId: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -8056,83 +5724,60 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get folder */ 'fileStorage-getFolder': { parameters: { - query?: never - header?: never path: { driveId: string folderId: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['unified.folder'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** List files */ 'fileStorage-listFiles': { parameters: { query?: { @@ -8141,19 +5786,13 @@ export interface operations { page_size?: number folderId?: string | null } - header?: never path: { driveId: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': { next_cursor?: string | null @@ -8164,77 +5803,53 @@ export interface operations { } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } } } } + /** Get file */ 'fileStorage-getFile': { parameters: { - query?: never - header?: never path: { driveId: string fileId: string } - cookie?: never } - requestBody?: never responses: { /** @description Successful response */ 200: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['unified.file'] } } /** @description Invalid input data */ 400: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.BAD_REQUEST'] } } /** @description Not found */ 404: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.NOT_FOUND'] } } /** @description Internal server error */ 500: { - headers: { - [name: string]: unknown - } content: { 'application/json': components['schemas']['error.INTERNAL_SERVER_ERROR'] } diff --git a/sdks/sdk-openint/package.json b/sdks/sdk-openint/package.json index e9adb9f..b76c493 100644 --- a/sdks/sdk-openint/package.json +++ b/sdks/sdk-openint/package.json @@ -1,6 +1,6 @@ { "name": "@opensdks/sdk-openint", - "version": "0.1.1", + "version": "0.1.3", "type": "module", "exports": { ".": {