From 6dc83f33b3a7fae0169b75f6ff5e271d7da06c91 Mon Sep 17 00:00:00 2001 From: tom Date: Tue, 10 Oct 2023 13:55:26 -0700 Subject: [PATCH] chore: audit responses. remove unused mgmt apis --- apps/api/middleware/openapi.ts | 12 + .../mgmt/v2/customer/connection/index.ts | 7 +- apps/api/routes/mgmt/v2/destination/index.ts | 78 -- apps/api/routes/mgmt/v2/entity/index.ts | 3 + apps/api/routes/mgmt/v2/index.ts | 4 - apps/api/routes/mgmt/v2/provider/index.ts | 97 --- docs/docs/api/v2/actions/actions-api.info.mdx | 2 +- .../actions/send-passthrough-request.api.mdx | 46 +- docs/docs/api/v2/crm/create-account.api.mdx | 6 +- docs/docs/api/v2/crm/create-contact.api.mdx | 6 +- docs/docs/api/v2/crm/create-lead.api.mdx | 6 +- .../api/v2/crm/create-opportunity.api.mdx | 6 +- docs/docs/api/v2/crm/get-account.api.mdx | 6 +- docs/docs/api/v2/crm/get-contact.api.mdx | 6 +- docs/docs/api/v2/crm/get-lead.api.mdx | 6 +- docs/docs/api/v2/crm/get-opportunity.api.mdx | 6 +- docs/docs/api/v2/crm/get-user.api.mdx | 6 +- docs/docs/api/v2/crm/list-accounts.api.mdx | 6 +- docs/docs/api/v2/crm/list-contacts.api.mdx | 6 +- .../api/v2/crm/list-list-memberships.api.mdx | 6 +- docs/docs/api/v2/crm/list-lists.api.mdx | 6 +- docs/docs/api/v2/crm/search-contacts.api.mdx | 6 +- docs/docs/api/v2/crm/search-leads.api.mdx | 6 +- .../v2/crm/send-passthrough-request.api.mdx | 46 +- docs/docs/api/v2/crm/unified-crm-api.info.mdx | 2 +- docs/docs/api/v2/crm/update-account.api.mdx | 6 +- docs/docs/api/v2/crm/update-contact.api.mdx | 6 +- docs/docs/api/v2/crm/update-lead.api.mdx | 6 +- .../api/v2/crm/update-opportunity.api.mdx | 6 +- docs/docs/api/v2/crm/upsert-account.api.mdx | 6 +- docs/docs/api/v2/crm/upsert-contact.api.mdx | 6 +- docs/docs/api/v2/crm/upsert-lead.api.mdx | 6 +- .../api/v2/data/data-listing-api.info.mdx | 2 +- .../v2/data/list-hubspot-companies.api.mdx | 6 +- .../api/v2/data/list-hubspot-contacts.api.mdx | 6 +- .../v2/data/list-salesforce-accounts.api.mdx | 6 +- .../v2/data/list-salesforce-contacts.api.mdx | 6 +- .../api/v2/engagement/create-account.api.mdx | 6 +- .../api/v2/engagement/create-contact.api.mdx | 6 +- .../engagement/create-sequence-state.api.mdx | 6 +- .../engagement/create-sequence-step.api.mdx | 12 +- .../api/v2/engagement/create-sequence.api.mdx | 12 +- .../api/v2/engagement/get-account.api.mdx | 6 +- .../api/v2/engagement/get-contact.api.mdx | 6 +- .../api/v2/engagement/get-mailbox.api.mdx | 6 +- .../v2/engagement/get-sequence-state.api.mdx | 6 +- .../api/v2/engagement/get-sequence.api.mdx | 6 +- docs/docs/api/v2/engagement/get-user.api.mdx | 6 +- .../send-passthrough-request.api.mdx | 46 +- .../unified-engagement-api.info.mdx | 2 +- .../api/v2/engagement/update-account.api.mdx | 6 +- .../api/v2/engagement/update-contact.api.mdx | 6 +- .../api/v2/enrichment/enrich-person.api.mdx | 6 +- .../unified-enrichment-api.info.mdx | 2 +- .../get-form-fields.api.mdx | 6 +- .../marketing-automation/list-forms.api.mdx | 6 +- .../marketing-automation/submit-form.api.mdx | 6 +- .../unified-enrichment-api.info.mdx | 2 +- .../metadata/create-association-type.api.mdx | 6 +- .../v2/metadata/create-custom-object.api.mdx | 6 +- .../api/v2/metadata/create-property.api.mdx | 6 +- .../v2/metadata/get-association-types.api.mdx | 6 +- .../api/v2/metadata/get-custom-object.api.mdx | 6 +- .../docs/api/v2/metadata/get-property.api.mdx | 6 +- .../v2/metadata/list-custom-objects.api.mdx | 6 +- .../list-properties-deprecated.api.mdx | 6 +- .../metadata/list-properties-preview.api.mdx | 6 +- .../v2/metadata/list-standard-objects.api.mdx | 6 +- .../api/v2/metadata/metadata-api.info.mdx | 2 +- .../api/v2/metadata/register-property.api.mdx | 6 +- .../v2/metadata/update-custom-object.api.mdx | 6 +- .../api/v2/metadata/update-property.api.mdx | 6 +- .../api/v2/mgmt/connection-created.api.mdx | 6 +- .../api/v2/mgmt/connection-deleted.api.mdx | 6 +- .../api/v2/mgmt/create-connection.api.mdx | 25 +- .../api/v2/mgmt/create-destination.api.mdx | 42 -- docs/docs/api/v2/mgmt/create-entity.api.mdx | 10 +- .../api/v2/mgmt/create-magic-link.api.mdx | 8 +- docs/docs/api/v2/mgmt/create-provider.api.mdx | 70 -- docs/docs/api/v2/mgmt/create-schema.api.mdx | 10 +- .../api/v2/mgmt/create-sync-config.api.mdx | 10 +- .../delete-connection-sync-config.api.mdx | 6 +- .../api/v2/mgmt/delete-connection.api.mdx | 6 +- docs/docs/api/v2/mgmt/delete-customer.api.mdx | 16 +- .../api/v2/mgmt/delete-entity-mapping.api.mdx | 6 +- docs/docs/api/v2/mgmt/delete-entity.api.mdx | 8 +- .../api/v2/mgmt/delete-magic-link.api.mdx | 6 +- docs/docs/api/v2/mgmt/delete-provider.api.mdx | 54 -- docs/docs/api/v2/mgmt/delete-schema.api.mdx | 8 +- .../api/v2/mgmt/delete-sync-config.api.mdx | 8 +- docs/docs/api/v2/mgmt/destinations.tag.mdx | 20 - .../entity-entity-mapping-created.api.mdx | 6 +- .../entity-entity-mapping-deleted.api.mdx | 6 +- .../entity-entity-mapping-updated.api.mdx | 6 +- .../mgmt/get-connection-sync-config.api.mdx | 12 +- docs/docs/api/v2/mgmt/get-connection.api.mdx | 25 +- docs/docs/api/v2/mgmt/get-connections.api.mdx | 25 +- docs/docs/api/v2/mgmt/get-customer.api.mdx | 16 +- docs/docs/api/v2/mgmt/get-customers.api.mdx | 16 +- docs/docs/api/v2/mgmt/get-destination.api.mdx | 42 -- .../docs/api/v2/mgmt/get-destinations.api.mdx | 42 -- docs/docs/api/v2/mgmt/get-entities.api.mdx | 8 +- docs/docs/api/v2/mgmt/get-entity.api.mdx | 8 +- docs/docs/api/v2/mgmt/get-magic-links.api.mdx | 8 +- .../api/v2/mgmt/get-provider-user-id.api.mdx | 6 +- docs/docs/api/v2/mgmt/get-provider.api.mdx | 54 -- docs/docs/api/v2/mgmt/get-providers.api.mdx | 54 -- docs/docs/api/v2/mgmt/get-schema.api.mdx | 8 +- docs/docs/api/v2/mgmt/get-schemas.api.mdx | 8 +- docs/docs/api/v2/mgmt/get-sync-config.api.mdx | 8 +- .../docs/api/v2/mgmt/get-sync-configs.api.mdx | 8 +- docs/docs/api/v2/mgmt/get-sync-runs.api.mdx | 10 +- docs/docs/api/v2/mgmt/get-syncs.api.mdx | 10 +- .../api/v2/mgmt/list-entity-mappings.api.mdx | 6 +- .../api/v2/mgmt/list-field-mappings.api.mdx | 6 +- docs/docs/api/v2/mgmt/management-api.info.mdx | 2 +- .../mgmt/object-field-mapping-created.api.mdx | 6 +- .../mgmt/object-field-mapping-updated.api.mdx | 6 +- docs/docs/api/v2/mgmt/pause-sync.api.mdx | 10 +- docs/docs/api/v2/mgmt/providers.tag.mdx | 20 - docs/docs/api/v2/mgmt/resume-sync.api.mdx | 10 +- docs/docs/api/v2/mgmt/sidebar.js | 2 +- docs/docs/api/v2/mgmt/sync-complete.api.mdx | 6 +- docs/docs/api/v2/mgmt/trigger-sync.api.mdx | 10 +- .../api/v2/mgmt/update-destination.api.mdx | 42 -- docs/docs/api/v2/mgmt/update-entity.api.mdx | 10 +- .../mgmt/update-object-field-mappings.api.mdx | 6 +- docs/docs/api/v2/mgmt/update-provider.api.mdx | 78 -- docs/docs/api/v2/mgmt/update-schema.api.mdx | 10 +- .../api/v2/mgmt/update-sync-config.api.mdx | 10 +- .../upsert-connection-sync-config.api.mdx | 16 +- docs/docs/api/v2/mgmt/upsert-customer.api.mdx | 25 +- .../api/v2/mgmt/upsert-entity-mapping.api.mdx | 6 +- .../v2/ticketing/create-attachment.api.mdx | 6 +- .../api/v2/ticketing/create-comment.api.mdx | 6 +- .../api/v2/ticketing/create-ticket.api.mdx | 6 +- .../docs/api/v2/ticketing/get-account.api.mdx | 6 +- .../api/v2/ticketing/get-attachment.api.mdx | 6 +- .../api/v2/ticketing/get-collection.api.mdx | 6 +- .../docs/api/v2/ticketing/get-contact.api.mdx | 6 +- docs/docs/api/v2/ticketing/get-tag.api.mdx | 6 +- docs/docs/api/v2/ticketing/get-team.api.mdx | 6 +- docs/docs/api/v2/ticketing/get-ticket.api.mdx | 6 +- docs/docs/api/v2/ticketing/get-user.api.mdx | 6 +- .../api/v2/ticketing/list-accounts.api.mdx | 6 +- .../api/v2/ticketing/list-attachments.api.mdx | 6 +- .../ticketing/list-collection-users.api.mdx | 6 +- .../api/v2/ticketing/list-collections.api.mdx | 6 +- .../api/v2/ticketing/list-comments.api.mdx | 6 +- .../api/v2/ticketing/list-contacts.api.mdx | 6 +- docs/docs/api/v2/ticketing/list-tags.api.mdx | 6 +- docs/docs/api/v2/ticketing/list-teams.api.mdx | 6 +- .../api/v2/ticketing/list-tickets.api.mdx | 6 +- docs/docs/api/v2/ticketing/list-users.api.mdx | 6 +- .../unified-ticketing-api-preview.info.mdx | 2 +- .../api/v2/ticketing/update-ticket.api.mdx | 6 +- .../schemas/create_destination.yaml | 21 +- .../schemas/objects/connection.yaml | 2 + .../objects/connection_entity_mapping.yaml | 3 +- .../objects/connection_entity_mappings.yaml | 1 + .../components/schemas/objects/customer.yaml | 1 + .../schemas/objects/destination.yaml | 35 +- .../components/schemas/objects/entity.yaml | 1 + .../schemas/objects/entity_config.yaml | 1 + .../schemas/objects/entity_field_mapping.yaml | 1 + .../schemas/objects/magic_link.yaml | 4 +- .../components/schemas/objects/provider.yaml | 1 + .../objects/provider_entity_mapping.yaml | 1 + .../objects/provider_entity_mappings.yaml | 1 + .../objects/s3_config_at_least_safe.yaml | 18 - .../schemas/objects/s3_config_safe.yaml | 15 - .../schemas/objects/s3_config_unsafe.yaml | 19 - .../components/schemas/objects/schema.yaml | 1 + .../schemas/objects/schema_config.yaml | 1 + .../objects/schema_mappings_config.yaml | 1 + .../schemas/objects/simple_customer.yaml | 19 + .../mgmt/components/schemas/objects/sync.yaml | 47 +- .../schemas/objects/sync_config_data.yaml | 1 + .../components/schemas/objects/sync_run.yaml | 18 + .../sync_with_provider_and_customer.yaml | 40 +- openapi/v2/mgmt/openapi.bundle.json | 693 ++++++------------ openapi/v2/mgmt/openapi.yaml | 10 +- .../paths/connections@{connection_id}.yaml | 5 - openapi/v2/mgmt/paths/customers.yaml | 2 +- .../mgmt/paths/customers@{customer_id}.yaml | 18 +- openapi/v2/mgmt/paths/sync_runs.yaml | 5 +- openapi/v2/mgmt/paths/syncs.yaml | 1 + openapi/v2/mgmt/paths/syncs@_pause.yaml | 17 +- openapi/v2/mgmt/paths/syncs@_resume.yaml | 19 +- openapi/v2/mgmt/paths/syncs@_trigger.yaml | 23 +- packages/schemas/gen/v2/mgmt.ts | 384 ++++------ packages/types/magic_link.ts | 1 - 192 files changed, 1059 insertions(+), 2205 deletions(-) delete mode 100644 apps/api/routes/mgmt/v2/destination/index.ts delete mode 100644 apps/api/routes/mgmt/v2/provider/index.ts delete mode 100644 docs/docs/api/v2/mgmt/create-destination.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/create-provider.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/delete-provider.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/destinations.tag.mdx delete mode 100644 docs/docs/api/v2/mgmt/get-destination.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/get-destinations.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/get-provider.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/get-providers.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/providers.tag.mdx delete mode 100644 docs/docs/api/v2/mgmt/update-destination.api.mdx delete mode 100644 docs/docs/api/v2/mgmt/update-provider.api.mdx delete mode 100644 openapi/v2/mgmt/components/schemas/objects/s3_config_at_least_safe.yaml delete mode 100644 openapi/v2/mgmt/components/schemas/objects/s3_config_safe.yaml delete mode 100644 openapi/v2/mgmt/components/schemas/objects/s3_config_unsafe.yaml create mode 100644 openapi/v2/mgmt/components/schemas/objects/simple_customer.yaml diff --git a/apps/api/middleware/openapi.ts b/apps/api/middleware/openapi.ts index c7e5a96442..64abee7c7f 100644 --- a/apps/api/middleware/openapi.ts +++ b/apps/api/middleware/openapi.ts @@ -1,3 +1,4 @@ +import { logger } from '@supaglue/core/lib'; import type { NextFunction, Request, Response } from 'express'; import * as OpenApiValidator from 'express-openapi-validator'; import fs from 'fs'; @@ -39,6 +40,17 @@ export const openapiMiddleware = (specDir: string, version = 'v2') => { validateRequests: { removeAdditional: true, }, + validateResponses: { + onError: (error, body, req) => { + logger.error( + { + error, + originalUrl: req.originalUrl, + }, + 'API reference validation error' + ); + }, + }, }); }; diff --git a/apps/api/routes/mgmt/v2/customer/connection/index.ts b/apps/api/routes/mgmt/v2/customer/connection/index.ts index f91d1152d7..d026650346 100644 --- a/apps/api/routes/mgmt/v2/customer/connection/index.ts +++ b/apps/api/routes/mgmt/v2/customer/connection/index.ts @@ -107,12 +107,7 @@ export default function init(app: Router): void { req.supaglueApplication.id ); - // enrich with user_id, if we can. - // TODO remove this after users migrate to /_provider_user_id above - const [client] = await remoteService.getCrmRemoteClient(req.params.connection_id); - const { userId } = await client.getUserIdAndDetails(); - - return res.status(200).send(snakecaseKeys({ ...connection, userId })); + return res.status(200).send(snakecaseKeys(connection)); } ); diff --git a/apps/api/routes/mgmt/v2/destination/index.ts b/apps/api/routes/mgmt/v2/destination/index.ts deleted file mode 100644 index c8b5fb569c..0000000000 --- a/apps/api/routes/mgmt/v2/destination/index.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { getDependencyContainer } from '@/dependency_container'; -import type { - CreateDestinationPathParams, - CreateDestinationRequest, - CreateDestinationResponse, - GetDestinationPathParams, - GetDestinationRequest, - GetDestinationResponse, - GetDestinationsPathParams, - GetDestinationsRequest, - GetDestinationsResponse, - UpdateDestinationPathParams, - UpdateDestinationRequest, - UpdateDestinationResponse, -} from '@supaglue/schemas/v2/mgmt'; -import { camelcaseKeys } from '@supaglue/utils/camelcase'; -import { snakecaseKeys } from '@supaglue/utils/snakecase'; -import type { Request, Response } from 'express'; -import { Router } from 'express'; - -const { destinationService } = getDependencyContainer(); - -export default function init(app: Router): void { - const destinationRouter = Router({ mergeParams: true }); - - destinationRouter.get( - '/', - async ( - req: Request, - res: Response - ) => { - const destinations = await destinationService.getDestinationsSafeByApplicationId(req.supaglueApplication.id); - return res.status(200).send(destinations.map(snakecaseKeys)); - } - ); - - destinationRouter.get( - '/:destination_id', - async ( - req: Request, - res: Response - ) => { - const destination = await destinationService.getDestinationSafeById(req.params.destination_id); - return res.status(200).send(snakecaseKeys(destination)); - } - ); - - destinationRouter.post( - '/', - async ( - req: Request, - res: Response - ) => { - const destination = await destinationService.createDestination({ - applicationId: req.supaglueApplication.id, - ...camelcaseKeys(req.body), - }); - return res.status(200).send(snakecaseKeys(destination)); - } - ); - - destinationRouter.put( - '/:destination_id', - async ( - req: Request, - res: Response - ) => { - const destination = await destinationService.updateDestination({ - id: req.params.destination_id, - applicationId: req.supaglueApplication.id, - ...camelcaseKeys(req.body), - }); - return res.status(200).send(snakecaseKeys(destination)); - } - ); - - app.use('/destinations', destinationRouter); -} diff --git a/apps/api/routes/mgmt/v2/entity/index.ts b/apps/api/routes/mgmt/v2/entity/index.ts index 4e5aa45811..ae9dfe47ae 100644 --- a/apps/api/routes/mgmt/v2/entity/index.ts +++ b/apps/api/routes/mgmt/v2/entity/index.ts @@ -23,6 +23,9 @@ import { Router } from 'express'; const { entityService } = getDependencyContainer(); +/** + * @deprecated + */ export default function init(app: Router): void { const entityRouter = Router({ mergeParams: true }); diff --git a/apps/api/routes/mgmt/v2/index.ts b/apps/api/routes/mgmt/v2/index.ts index b9984a9fa7..3a6293a44b 100644 --- a/apps/api/routes/mgmt/v2/index.ts +++ b/apps/api/routes/mgmt/v2/index.ts @@ -4,12 +4,10 @@ import { pinoAndSentryContextMiddleware } from '@/middleware/pino_context'; import { Router } from 'express'; import connectionSyncConfig from './connection_sync_config'; import customer from './customer'; -import destination from './destination'; import entity from './entity'; import entityMapping from './entity_mapping'; import fieldMapping from './field_mapping'; import magicLink from './magic_link'; -import provider from './provider'; import schema from './schema'; import sync from './sync'; import syncConfig from './sync_config'; @@ -23,8 +21,6 @@ export default function init(app: Router): void { v2Router.use(pinoAndSentryContextMiddleware); customer(v2Router); - destination(v2Router); - provider(v2Router); schema(v2Router); syncConfig(v2Router); sync(v2Router); diff --git a/apps/api/routes/mgmt/v2/provider/index.ts b/apps/api/routes/mgmt/v2/provider/index.ts deleted file mode 100644 index 57ad3d9d68..0000000000 --- a/apps/api/routes/mgmt/v2/provider/index.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { getDependencyContainer } from '@/dependency_container'; -import { hideManagedOauthConfig } from '@supaglue/core/mappers/provider'; -import type { - CreateProviderPathParams, - CreateProviderRequest, - CreateProviderResponse, - DeleteProviderPathParams, - DeleteProviderRequest, - DeleteProviderResponse, - GetProviderPathParams, - GetProviderRequest, - GetProviderResponse, - GetProvidersPathParams, - GetProvidersRequest, - GetProvidersResponse, - UpdateProviderPathParams, - UpdateProviderRequest, - UpdateProviderResponse, -} from '@supaglue/schemas/v2/mgmt'; -import type { ProviderCreateParams, ProviderUpdateParams } from '@supaglue/types'; -import { camelcaseKeys } from '@supaglue/utils/camelcase'; -import { snakecaseKeys } from '@supaglue/utils/snakecase'; -import type { Request, Response } from 'express'; -import { Router } from 'express'; - -const { providerService } = getDependencyContainer(); - -export default function init(app: Router): void { - const providerRouter = Router(); - - providerRouter.get( - '/', - async ( - req: Request, - res: Response - ) => { - const providers = await providerService.list(req.supaglueApplication.id); - return res - .status(200) - .send(providers.map((provider) => snakecaseKeys(hideManagedOauthConfig(provider))) as GetProvidersResponse); - } - ); - - providerRouter.post( - '/', - async ( - req: Request, - res: Response - ) => { - const provider = await providerService.create({ - applicationId: req.supaglueApplication.id, - ...camelcaseKeys(req.body), - } as ProviderCreateParams); - return res.status(201).send(snakecaseKeys(hideManagedOauthConfig(provider)) as CreateProviderResponse); - } - ); - - providerRouter.get( - '/:provider_id', - async ( - req: Request, - res: Response - ) => { - const provider = await providerService.getByIdAndApplicationId( - req.params.provider_id, - req.supaglueApplication.id - ); - return res.status(200).send(snakecaseKeys(hideManagedOauthConfig(provider)) as GetProviderResponse); - } - ); - - providerRouter.put( - '/:provider_id', - async ( - req: Request, - res: Response - ) => { - const provider = await providerService.update(req.params.provider_id, req.supaglueApplication.id, { - ...camelcaseKeys(req.body), - } as ProviderUpdateParams); - return res.status(200).send(snakecaseKeys(provider) as UpdateProviderResponse); - } - ); - - providerRouter.delete( - '/:provider_id', - async ( - req: Request, - res: Response - ) => { - await providerService.delete(req.params.provider_id, req.supaglueApplication.id); - return res.status(204).end(); - } - ); - - app.use('/providers', providerRouter); -} diff --git a/docs/docs/api/v2/actions/actions-api.info.mdx b/docs/docs/api/v2/actions/actions-api.info.mdx index 420deafee5..ce90714802 100644 --- a/docs/docs/api/v2/actions/actions-api.info.mdx +++ b/docs/docs/api/v2/actions/actions-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.16.9 diff --git a/docs/docs/api/v2/actions/send-passthrough-request.api.mdx b/docs/docs/api/v2/actions/send-passthrough-request.api.mdx index 7e02877a58..a801583ede 100644 --- a/docs/docs/api/v2/actions/send-passthrough-request.api.mdx +++ b/docs/docs/api/v2/actions/send-passthrough-request.api.mdx @@ -5,7 +5,7 @@ description: "Send request directly to a provider" sidebar_label: "Send passthrough request" hide_title: true hide_table_of_contents: true -api: eJytV9tu4zYQ/RVWfUmA2MpugQIxiqLZbNBNu+i6uaAPjoGlJdrmrkSqJGXHMPzvPUPqansvKWIDlkyOOGdmzly0jXQhDHdSq5s0GkVWqHTMrXVLo8vF8lb8WwrrorPI8YWNRpOosxlN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+voXyJBHVDOMBwYHUDm7bYez62V2KAM21T1ZoCTDOh69+Hl50uu1lcJHXGjoTJc6oIUbtJ4o00pG8nerE/ta4GWmOvX4cepsHXPgRH3aDdNRp6bU/4vuPyCAsyBfeCS0s1K2kzMFyT+Jhs8UN1f6sQHcjMctsAnemdMK4YpodMhBvwwxXi6oHLblKM5ovrm4f3rJm+LZMq2pKCXOTMGByToI5io0cWCcKttbm8xzBs0OCPPlhclsqyrQx6JpzNT2pHWBKNSywpoiFs9I5ALerxWkrsV6vh0V4zFfK2mUx6bAFT0SzNCjKGXI41gjjSor1KSn3TnzDrecLNfdH9fHjx0f17VSoBCkuFYBuuGnKLnpjS/0G0gvith1ivvO9osofJ55cXGQo7ASgGmECoWk0673cLKkKYHm7ncHQB5PtdrRcjcMT3K64kXxGRJ5MmwHCF4ZUWtpAMsx5ZsVX4J/cVnXolL1kqT1qr68lBy2j6qWRHxX+N/D98vpVAPvVvgchCF0FRYN7OqeVOJhY2ycuUcQK91XZbpGv3rzqtp5jTsSq4WvqDfgdRY/40juDN96XZL9ObR/Nni9IPpxLBZOXvXdKZEAoy9VNZ6LDiNdB2S3hwRD67Y5tPfFfKOHQA35txMPOFx9oOkKQpkDQVPEfEweMgg== +api: {"operationId":"sendPassthroughRequest","tags":["Passthrough"],"security":[{"x-api-key":[]}],"description":"Send request directly to a provider","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"path":{"type":"string","description":"The path to send the request to (do not pass the domain)"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"example":"GET"},"headers":{"type":"object","description":"Headers to pass to downstream","additionalProperties":{"type":"string"}},"query":{"type":"object","description":"Query parameters to pass to downstream","additionalProperties":{"type":"string"}},"body":{"description":"Body to pass to downstream (can be string or JSON object)","oneOf":[{"type":"string","title":"String body"},{"type":"object","additionalProperties":true,"title":"JSON body"}]}},"required":["path","method"],"example":{"path":"/crm/v3/schemas","method":"GET"}}}}},"responses":{"200":{"description":"Passthrough response","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"The full URL the request was went to","example":"https://customcrm.com/api/cars"},"status":{"type":"number","description":"Status code from the downstream","example":200},"headers":{"type":"object","description":"The response headers from the downstream","additionalProperties":{"type":"string"}},"body":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"array","items":{"additionalProperties":true}},{"type":"object","additionalProperties":true}],"description":"The body from the downstream"}},"required":["url","status","headers"]},"examples":{"Example":{"value":{"url":"https://api.hubapi.com/crm/v3/schemas","status":200,"headers":{"x-hubspot-ratelimit-remaining":99},"body":{"results":[{"labels":{"singular":"Contract","plural":"Contracts"},"requiredProperties":["name","description"]}]}}}}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"method":"post","path":"/passthrough","servers":[{"url":"https://api.supaglue.io/actions/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"path":"/crm/v3/schemas","method":"GET"},"info":{"version":"0.16.9","title":"Actions API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Actions API documentation. Actions are helpful APIs scoped to Providers. They range from handling CRUD operations on objects to performing multi-step workflows.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/actions/v2\n```\n"},"postman":{"name":"Send passthrough request","description":{"content":"Send request directly to a provider","type":"text/plain"},"url":{"path":["passthrough"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/actions/actions-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -42,19 +42,11 @@ Headers to pass to downstream Query parameters to pass to downstream -
body object
+
body object
Body to pass to downstream (can be string or JSON object) -
oneOf

String body

- -Body to pass to downstream (can be string or JSON object) - -

JSON body

- -Body to pass to downstream (can be string or JSON object) - -
+
oneOf
  • string
  • Passthrough response @@ -62,33 +54,9 @@ Passthrough response The response headers from the downstream -
    body object
    - -The body from the downstream - -
    anyOf

    MOD1

    - -The body from the downstream - -

    MOD2

    - -The body from the downstream - -

    MOD3

    - -The body from the downstream - -

    MOD4

    - -The body from the downstream - -

    MOD5

    - -The body from the downstream - -

    MOD6

    +
    body object
    The body from the downstream -
    +
    anyOf
  • string
  • number
  • integer
  • boolean
  • Array [
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/crm/create-account.api.mdx b/docs/docs/api/v2/crm/create-account.api.mdx index d4a1a325bf..3faf820991 100644 --- a/docs/docs/api/v2/crm/create-account.api.mdx +++ b/docs/docs/api/v2/crm/create-account.api.mdx @@ -5,7 +5,7 @@ description: "Create account" sidebar_label: "Create account" hide_title: true hide_table_of_contents: true -api: eJztWntv2zgS/yo8HRbXYiM/YzvO3t5dnEfhtmlydrptkQQuLVE2W0lUKMqPBv7uN0NKtiQnbd3uAvdH3CKJSc5w3vxRo3tLRExSxUXYd61Dy5GMKnbkOCIJlbVnKTqJrcNrKx2Jrds9K6KSBkwxiTP3VghfgHJhO0msRMCkzV2g5CEMThl1mYRvsTNlAbUO7y21jHB5rCQPJzDDFjSIfBwKlhsWdWu1Z7ksdiSPUDiYvpoyks2T/glRU6pIEvK7hPlLwl0WKu5xFsNEbiEPyVIkktAo8rmjFYVNJbtLuGSgsZIJW+3ltIikmAEzaeuRH9Ejpj6LPSEd9rAS2Q4k3aEkDFg4Zk4iuVpq+y5sGnH7M8NvtziL61msesJdoiBF8j3LEaECW+BUTunqpxgFuN/WQIw/MQd9DXJBLCgwoWHrCOl+e11Bv22zhInv0zHaxUi3MVMfxJyY0CNHl320FQ9d8Jtc7sYIiP8RI7nx4S6kQ/0HOU6jRTNJgjGTI+GNGMyJJTNqpjw5Cq0j4VGmjU67VqsBpzkbx1ztKNFUqSg+rFbjJKITP2EVRwRVlIu6rmRxXJCGSkmXGKOKBfG3XZWyGJlVD4Qw6I7JHkkeUImMA8p9Mycgq1DtMffTkXjKowj/vAXpHB2tu5k+JGeShg6PHYEK6gKzq+/fDo+QNhKxov7IEe6O5u7u12sd5AD0u7rq+MgQSsbUqL4bbavRIj3QPqRhjkljJyY4sVrl68d10cWpWzamLRoqUzqnQ04S9Op6q+ty8Gy8n/m+5NCcP8FJpZ0zu6/NjrbMm7Jgn7x5tM5QAxVX2o6brMAomIqQjUwC/0Sa5Nns5tVf6/v1Vr3R3G+1O2WBdsk6AVmGfvHoYp16t2VXF8R8aK+yB4t6FYV9UNa1SHmLF40MW4h5CBTc3THxvCbrdjzX3ndb8IN5jt1tdV17PGZjjzq1TtdrIXefe8xZOj4bQahMvi9DU4PGyRiPJmMeH05wXdD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k4dhbe0wNy0XOHE/8k7EOaKWVSY3MrYv8OH9BGWu4lBofDvHfNhMct6KZloGPjPQL7ncKtwkgDAiA7QCvkgEuJAFCQx0Ex5rFcC8RyyUHMJEl9xDFKYla4dUazEWVMm1jdlHuq9UP3sdlFBWa7/4Gye9YDS+6wHt21YePss0xGtUCmEcQRnNywLqobSNpQx1pDnmu3frgdJiK/aXEJ8BjTcMJNJWAH4FIRYc8aJUqBiPJs836yYz+eVyJDpzbKdq3MhP8cRnHHrITtKxnCFqGJLawaa6M210Xs01hWCvB28vgk/fvx4E3698KWLsncHYPNcaGxV3offcVFsodA2XLPRgXKfFuVri+ZemEJohGP392OQ8630Vyschhom9Us9ewhbuWlhXuPRmRZL/RiAxzjhZtfysizrnpf1bJAej8/Jn/mq1IPK6uK/9cqXhgMwbuELVT8sePn1qK8KUH5bqyCCWXScYv0r80pEtmKrQ7ihMHeGr669zR3HlxfDK3wzJn0fKzDFWdI5vtsFPw+tG/in28n6oqHPKhy/t3waThJT+AxfLHA0wRDKH63mHE3/wKjIpsJlTsr8mWsUwZ+o1oPL/4n5Aof2v9bLzcyjBOsj3KzmGuetVv8DFqK35w== +api: {"operationId":"createAccount","tags":["Accounts"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"description":{"type":"string","nullable":true,"example":"Integration API"},"industry":{"type":"string","nullable":true,"example":"API's"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_account"}},"required":["record"]}}}},"responses":{"201":{"description":"Account created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create account","method":"post","path":"/accounts","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"description":"Integration API","industry":"API's","name":"Sample Customer","number_of_employees":276000,"website":"https://supaglue.com/","addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","lifecycle_stage":"subscriber","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Create account","description":{"type":"text/plain"},"url":{"path":["accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/create-contact.api.mdx b/docs/docs/api/v2/crm/create-contact.api.mdx index 51b49bbc41..b83ed9f390 100644 --- a/docs/docs/api/v2/crm/create-contact.api.mdx +++ b/docs/docs/api/v2/crm/create-contact.api.mdx @@ -5,7 +5,7 @@ description: "Create contact" sidebar_label: "Create contact" hide_title: true hide_table_of_contents: true -api: eJztWntz2zYS/yo83nSmmZoS9bSkXu9O8iOjJI59ktMmZ3tUkAQlJCRBg6Bk1aPvfrsAKZG0nMRpOnN/WMnYFrBY7C728cPj3uQxFUQyHo09c2C6ghJJj3gkiSvNA1OSeWIOrsysJTFvDsyEuqlgcg3t9+adRWJmfaL47WYDvTERJKSSikT1R/AF+N5ZbppIHlJhMQ/4sggaF5R4VMC3xF3QkJiDe1OuYyRPpGDRHHroHQnjAJvC9Y5Fw9wcmB5NXMFiFB26LxfUyPuN8bEhF0QaacRuUxqsDebRSDKf0QQ6CoQsMtY8FQaJ44C5ygwwqaC3KRMU7CFFSjcHBS1iwZfATFiq5Vv0SEhAE58Ll+5XIp/ByGaoCHOjW2giR9xb41RlggPThaUCbbGroFb9Y4JT3D+UkTsfqVprmBl8QYKRNFuXC+/LdD4TiZxpAz3UO0qDgDiouBZuZ4eXlIu5skFAvonBeySA4cR1eRrJGfOeNr7b7hw2HN+32j1KrHa727f6PrEtShvEdojT6jme4u95giaJ1jZjT4Qga1x+ScPkyzbKWMw01R7viNIQoywWLCQCGYeEBbqPg8OibzksyFqSBYtj/PMGpHNVID5F7ymJjFNBIpclLkcFlfnEE7m8mw5xbMwTSYKZy70nrl6/3bAPkQOMl08cezTUAwWlctZ42thOs2OMQPuIRAUmzScxwY7NphiaV+UlzpZlZ9qyoXKlCzoUJMFV3U51VXWe3erna19Z0MJ6wiJVZs7tvjU72rJoypJ9iuZROkPykUwqO+6iAsVFd519h0ApMfp8Hl3QIOD/TtKYzIOU1lwePpDkCfG24uLTNthuqotbFmvvLNVVq2iyT9z90mpRiqauWhfDbsEjOgMtHFVnv9XcRTZPC6OfGu1Gp9FstTvdw6pAT0lzHNIaBoJP7h43f0nMfXNVjV/WqyzsXlm3IhXtXjYyTMFXEYx4ap3p+y3aP/Q9q+114Af1Xavf6XuW41DHJ6592P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0v38v93t6QPLkS/z41g5drvT9907S60vu6Was8lVfnuqXr5o8KJRT5Hb8CI0N5m1xrdWr+Qyd5F6jLKOJqcKQfTdwgYboPt45s8JHIrQZPH3aRqwXK4Ve+Hy17/d/gYY8TvXqrhKvz7jQZATPMroVw0jJAfQb4XsP1w0xBQiyqkNeMDTw0XnCtNYMyCJYoSBq8gXBWXMA0kg9jAXuFZMcGUnd8tJWpLzSI1F6qfb0NqKMvVr4yu8qusbOPrw7YcCG9+zHVEK9SKitZjKPJAFtb1SEuPTDDZvFBs/3Y1SSN8/XQBbh+SaMdMpFENcFYYYXJyUilBxWQ5f7GjWK1WtVgPU5PlM9fRTZMYiuG2yYpTB/YadbyZW4ImanJl9BFJVCox3k3eXEe///77dfT5DJkR5W9OYPKCazxI0aVl3iZHSe8k2oYpNspR7rPsfWW6hRduiKGw7f7eATnfiWCzwWZIdkK9cztAfMv0TewV1tgsq6rzApZgh5fv36uybC/HzB8nWR19YXzP12t7lVVV4sErPIUboN3EN27fLHj1xdpnBag+oCuJoImOsk3BpX5Kk1M8uErcjdCbi8/S3hTq9sX59BJfVGUP6EKd8wVZ4XM7+Dkwr+GfuhVXOxJV1LD9HmpXNE914tN8McGRFF2oWIN1wc3+QK/Iu6J1QcpicdaK4E9Uay/5PzBeoLr/c0uuex4dsK31mpopQLjZ/A8FpkiJ +api: {"operationId":"createContact","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"account_id":{"type":"string","nullable":true,"example":"64571bff-48ea-4469-9fa0-ee1a0bab38bd"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_contact"}},"required":["record"]},"example":{"record":{"first_name":"George","last_activity_at":"2022-02-10T00:00:00Z","last_name":"Xing","account_id":"64571bff-48ea-4469-9fa0-ee1a0bab38bd"}}}}},"responses":{"201":{"description":"Contact created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create contact","method":"post","path":"/contacts","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"first_name":"George","last_name":"Xing","account_id":"64571bff-48ea-4469-9fa0-ee1a0bab38bd","addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","lifecycle_stage":"subscriber","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Create contact","description":{"type":"text/plain"},"url":{"path":["contacts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/create-lead.api.mdx b/docs/docs/api/v2/crm/create-lead.api.mdx index b0341106fc..96fa33578c 100644 --- a/docs/docs/api/v2/crm/create-lead.api.mdx +++ b/docs/docs/api/v2/crm/create-lead.api.mdx @@ -5,7 +5,7 @@ description: "Create lead" sidebar_label: "Create lead" hide_title: true hide_table_of_contents: true -api: eJztWntz27gR/yosO525zJgS9ZZ8vbaSHxklcexKzl0ytkcHkqCEhCQYELSs8+i7dxcgJZKSkyjNTfuHZY9lAot9YbH7A8BHk8dUEMl4NPbMY9MVlEj6hhLPPDIlmSfm8Y2Jj4l5d2Qm1E0FkytofDQfLBIz6xPFp7s19MZEkJBKKhLVH8EDcHyw3DSRPKTCYsiURdC4AI5UwFPiLmhIzONHU65iJE+kYNEceugDCeMAm8LVlkXDXB+ZHk1cwWJUGrqvF9TI+43xqSEXRBppxD6nNFgZzKORZD6jCXQUCFlkrHgqDBLHAXOVA0CooJ9TJih4QoqUro8KVsSC3wMzYamW77EjIQFNfC5cut+IXIKRSagoc6dbaCJH3FuhqDLBkenySIK12FUwq/4xQRGPuzpy5yN1JUgCyRAFEpyk2bpceF+nc3kYk2i1z+goDQLioNVas60TpmlM5kGqXOAzkciZ9vAhPF5SLuaKQ0C+i8F7JMDhMH2zBMLAPZDB8GpsjAI+n8PkAx/JZLCXw3bECbfOeRp5egDMAwtmxPMETRLtzWwoEYKsMLwkDZOvz0GJ0Zc1WNAg4P9KMv/XYPZ2NJnp0Xu4RGmImSAWLCQC9Vty8Qm+OCwqYd6t18VwvamotVfK3bqg3M2OJfvU3a+tVgW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WE05tlEoB2SQT6+k84xvsqvH0aeK6Lp7IbDdfr7MCzcs6sbDICfcEfUrngeO2P1wuoK5ELeKoH6sL/KMuw+jofSg/eyuUFJ2a1zd0c43VXhPX75g4I3gDw4dVYXdHliXiKuFe7pPAewdarMXtN0a2b6/ecpnrxXgHdV2M898YzbgVhAH3fQx6HCVAH6hrlKAyuFAL3IGiYbK/Vz/7n59R7Lod/zO1omeH/14XU9u7p2y6UnrpP+rZLoqfuiL7t4mf33ketMxb5HIMFF4wORrvW6NYGhVl+F+GLKJ5xMrlQ8acvF0B3HJcFTSHC1HRCk8fdpDrV5dVYvdQvL4q/wscYI7D3Uo1j4ec3GgAxzW+DctUwPH8C/V7AvsRNQ4AzqsLWjA88NVwIiTSBMQuWKEoYvITVrLiEaSAZLB3sFZ4VE8zl+bVSovbaLFKy0Px8f1JDXW5+ZXSZ32JlO2If9utAePdTbiN6oVY0tB5D9QeysK5HWnpkgrnohWL7l5tJGuGbPlcQrCGJtsxEGtUAgIUR5i4nlRJMTO7nL7YUy+WyFuthSlguuY7rKYmhSm6arDh1YBNSx0u5e7BECVdOH5FEZRrj3eTNbfT777/fRl9OoBlRfikPwguhUc7dpTneJE5JHyQ6hikeKkoes7R+Ywb5e1wIq7Dh8dEBDd+JYL3GZsiCQr3NdYSQl+nL0Rssu1m6VUcILMEOL9/SVxXZ3JeZP02y0vrC+JHvaO21VJWPnXfNFJSAdhPf5PpuxavvZX1RgeprYiUVNNFJtk+41m8Z5BQ7t4vbEXq/8UXau0I1v7qcXuPLJtlrYqHO0YIs8aUy+Hts3sIPvpaiNymq2mH7I9SvaJ7C5ghoNF9MbSTF+CkWZ12Js38wKvKuaFXQsli1tSH4F83aS/53XClQ9v+xIdc9Tw7YgABNzRRGXK//A6EN33k= +api: {"operationId":"createLead","tags":["Leads"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"company":{"type":"string","nullable":true,"example":"Supaglue"},"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"lead_source":{"type":"string","nullable":true,"example":"API Blogger"},"title":{"type":"string","example":"Co-Founder"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"converted_contact_id":{"type":"string","nullable":true,"example":"ad43955d-2b27-4ec3-b38a-0ca07a76d43b"},"converted_account_id":{"type":"string","nullable":true,"example":"2e1e6813-0459-47f5-ad4c-3d137c0e1fdd"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_lead"}},"required":["record"]},"example":{"record":{"company":"Supaglue","first_name":"George","last_name":"Xing","lead_source":"API Blogger","title":"Co-Founder"}}}}},"responses":{"201":{"description":"Lead created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create lead","method":"post","path":"/leads","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"company":"Supaglue","first_name":"George","last_name":"Xing","lead_source":"API Blogger","title":"Co-Founder","email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","converted_contact_id":"ad43955d-2b27-4ec3-b38a-0ca07a76d43b","converted_account_id":"2e1e6813-0459-47f5-ad4c-3d137c0e1fdd","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Create lead","description":{"type":"text/plain"},"url":{"path":["leads"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/create-opportunity.api.mdx b/docs/docs/api/v2/crm/create-opportunity.api.mdx index ae33bbb24c..bb6659249e 100644 --- a/docs/docs/api/v2/crm/create-opportunity.api.mdx +++ b/docs/docs/api/v2/crm/create-opportunity.api.mdx @@ -5,7 +5,7 @@ description: "Create opportunity" sidebar_label: "Create opportunity" hide_title: true hide_table_of_contents: true -api: eJztWnlv2zoS/ypcPTygBSLfd7e7m6uF26bJ2um1SeBSEmWzlUSVpOK4gb/7zpCSLTtOr30F9o84gRORwxnOcI4fSd06ImWSai6SYeAMHF8yqtlpmgqps4TrhbPnaDpVzuDCWbdyppyrPUcxP5NIM7i4dW5cmnL3M8OnqyX0plTSmGkmlelP4AEE3Lh+prSImXR5AMx5Ao0zRgMm4Un5MxZTZ3Dr6EWK5EpLnkyhh93QOI2wKV6sWdSd5Z4TMOVLnqIO0H0+Y6ToJ8MjomdUE5j0l4xFC8IDlmgeggLQUSLkCVmITBKaphH3jT1AqGRfMi4ZGEbLjC33SlqkUlwDM+mall/RQ9GIqVBIn+1WopBAcglbk7myLUzpAxEsUNQmwZ7ji0SDtthVUqv6SaGI27tzFN4n5muQBJLBKcwqG7a+kMH36WgsMistp+MgfmrMkWRRRD3U2s5sZYR6DT+gvh8JxSYB+N4uo9073mnUGg231nDrtfNabWB+/3PHnD/D8B1NNPiGIJliBNRLiAK/8B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J197qQSXCe6+i/qS8onKwXeGi6su4et24g4lXeHz/bIhlYHWROEYYbC1Uuk5cGznlL9lifVy8ptm+f9vC4GdDPJDHM2qDaACMX0Nah/Uw59YW9BhIbiYE1kIMMVrfrh3/ysn53Xup/7+T8x+69ylf+/zYXU75Kme9Mdq+sTF+yZNQoDXRo6xVapV6p9IvpYQ3uTUORydmgexhPGAxHJfrX7gU7otiu7cJhK/+tfJGQELQt+muG513YuQP+KBFpQgyi/vg5x2LgJgV9zhvSgv1COb3GHC8n8VQ/s0iVMgHkRGfJmaFYRWVoYTBc3B3wyXOIs3BtzbWuLgQUmZvyhMjC9Uv8HwF53LxlrN5cf+U7yDRW4Dw6lGhI1qhUla0mkK1BLK4ake6dqTCYH1s2P7tYpQleCN+BnkgpsmamcySCgCWOMHg9jKtQUV1PX28ppjP55XUDjPCCsnVuZCfVQpVZdXkppkHoL2K12nXoIkRbox+QJUJRfJm9Ooy+fjx42Xy7QyTE5n0aYWXXGNnrtt9P6zZjUb7cMPKOMttngYvHLH9+gOiEuy4vfVgwm9ktFxiM2QNaV6C2EPEyO2l5QVWrTw9mR04V9gRFDvi7QmtrpucR6O8Mj0mf+WrDTs1Nun2zisaphJDu4MvQPzyxLdfZ/jmBLbfrtiYgiU6zGH2OfJZU9y5nFuPsHD9m7RXpSp4djo+B2Ivf7siFgGOkXSO72LA98C5hB/Mjhbjm+qA7bdORJNpZnOv5YuZjmboR+ViZitX/g96RdGVLEqzLFc5qwh+o1o7yf+OgQNl8h8rcttz74BV0bTU3ECs5fK/gt1Ekg== +api: {"operationId":"createOpportunity","tags":["Opportunities"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"amount":{"type":"integer","nullable":true,"example":100000},"close_date":{"type":"string","nullable":true,"example":"2022-02-10T00:00:00Z"},"description":{"type":"string","nullable":true,"example":"Wants to use open source unified API for third-party integrations"},"name":{"type":"string","nullable":true,"example":"Needs Integrations"},"stage":{"type":"string","example":"Closed Won"},"account_id":{"type":"string","nullable":true,"example":"64571bff-48ea-4469-9fa0-ee1a0bab38bd"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"pipeline":{"type":"string","nullable":true},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_opportunity"}},"required":["record"]},"example":{"record":{"amount":100000,"close_date":"2023-02-27T00:00:00Z","description":"Wants to use open source unified API for third-party integrations","name":"Needs Integrations","stage":"Closed Won","account_id":"109c88c0-7bf4-4cd8-afbc-b51f9432ca0b"}}}}},"responses":{"201":{"description":"Opportunity created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create opportunity","method":"post","path":"/opportunities","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"amount":100000,"close_date":"2022-02-10T00:00:00Z","description":"Wants to use open source unified API for third-party integrations","name":"Needs Integrations","stage":"Closed Won","account_id":"64571bff-48ea-4469-9fa0-ee1a0bab38bd","owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","pipeline":"string","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Create opportunity","description":{"type":"text/plain"},"url":{"path":["opportunities"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/get-account.api.mdx b/docs/docs/api/v2/crm/get-account.api.mdx index 7b7c84cfaf..629b213945 100644 --- a/docs/docs/api/v2/crm/get-account.api.mdx +++ b/docs/docs/api/v2/crm/get-account.api.mdx @@ -5,7 +5,7 @@ description: "Get account" sidebar_label: "Get account" hide_title: true hide_table_of_contents: true -api: eJy1WG1v2zYQ/iuc9mEtFtmK48ROMAxLs60I1g1F0qzb0sClKMpmK4kqSdkxDP/33VGS9WI5i5M1LRKbPN49vJfnSK4cmXJFjZDJZeCcOVNuzhmTWWKcA8fQqXbObp1iRDt3B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vU1Oa2XuYw9JuW9PqXdyBLM0z6eiPIWb/4gJHpDGm9Q+Tm8TeC6RT/AcsbWsyPG/F8ZueCTcMpExoTZr3+Fznr62k= +api: {"operationId":"getAccount","tags":["Accounts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"Account","content":{"application/json":{"schema":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"description":{"type":"string","nullable":true,"example":"Integration API"},"id":{"type":"string","example":1234},"industry":{"type":"string","nullable":true,"example":"API's"},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","description","id","industry","last_activity_at","name","number_of_employees","owner_id","phone_numbers","website","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"account"},"examples":{"Example":{"value":{"addresses":[{"address_type":"BILLING","city":"San Francisco","country":"CX","postal_code":"94107","state":"CA","street1":"525 Brannan","street2":null},{"address_type":"BILLING","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street1":"525 Brannan","street2":null}],"description":"Integration API","id":1234,"industry":"API's","last_activity_at":"2022-02-10T00:00:00Z","name":"Supaglue","number_of_employees":276000,"owner_id":"9377fd4d-d420-4e0b-93ea-789078a3eab4","phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"mobile"}],"created_at":"2023-02-27T00:00:00Z","updated_at":"2023-02-27T00:00:00Z","website":"https://supaglue.com/"}}}}}}},"description":"Get account","method":"get","path":"/accounts/{account_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Get account","description":{"type":"text/plain"},"url":{"path":["accounts",":account_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"account_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/get-contact.api.mdx b/docs/docs/api/v2/crm/get-contact.api.mdx index 4923dd3f5d..d3642c7b27 100644 --- a/docs/docs/api/v2/crm/get-contact.api.mdx +++ b/docs/docs/api/v2/crm/get-contact.api.mdx @@ -5,7 +5,7 @@ description: "Get contact" sidebar_label: "Get contact" h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4B1oCQEV1AtU1M7dneux90fdmSXv/+DntvikFfbwRZ1c//Qc90urTeITLx+BvBdJL/jOkNLeaXkjx78uCFsuEUAY0Bs9v9D4sodP4= +api: {"operationId":"getContact","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"Contact","content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["account_id","owner_id","description","id","addresses","email_addresses","first_name","last_activity_at","last_name","phone_numbers","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"}}}}},"description":"Get contact","method":"get","path":"/contacts/{contact_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Get contact","description":{"type":"text/plain"},"url":{"path":["contacts",":contact_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"contact_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/get-lead.api.mdx b/docs/docs/api/v2/crm/get-lead.api.mdx index 6a02f5dbb1..1098424ba3 100644 --- a/docs/docs/api/v2/crm/get-lead.api.mdx +++ b/docs/docs/api/v2/crm/get-lead.api.mdx @@ -5,7 +5,7 @@ description: "Get lead" sidebar_label: "Get lead" hide_title: true hide_table_of_contents: true -api: eJztWntv28gR/yos+0cT1LQkSqIkoyiapL3A6BUI8rhr6xjKcncp7YXiMrtLyYKh734zS1IiKdpn2k5bFHICW9rHvOc3s+TeujLlihghk0vmXrgLbn7khLlnriEL7V5cufhVu9dnruY0U8JsYfDWvfFIKryvHL9d72A2JYqsuOFK2/kEvgA5kdA4Y3yuyG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OSiZOfufGgezEhdcvSh3RCue1J/hpTAwmcS/f6eU7NYbQS0v2d1fvswQvT72T2qxIciCmsuQ8hbEEQy7MjAEV9Xrx8rBis9mcp/k2y6zk3MPuQ6eE8v2Ql2ZhLGhPguvXoIllbo3+mmgbIM6n9z9+Tr58+fI5uT/ui0XlIz5gXgmNSuK1v0w1/MagVYQlYEPktkjKK5vQiBEX5YUsSKIl8MC529sQJP2k4t0Oh/MreZirTGhEb1Yg6xHj/f2pp9/CO2vXwqZz2+XBNcEsuXAtGqyJEnmZ6ST0i/cFlr907uJf4ogF9j3PUq7SljtsCQooebQIz3k38B5bNu84Hgx59gTBm/cB7xWgeT2xJkK+6BUgbGoqc0f389Dv+wL09m8f8SSaYaxXwT9H+uIDeqbVn9WqkLPH3yhM6/I/YUpDWfnzfnk+c+eGfZEpoxkDZrf7FalavMo= +api: {"operationId":"getLead","tags":["Leads"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","example":"82de27cb-6f8c-4278-b783-82d1d916eddc"}}],"responses":{"200":{"description":"Lead","content":{"application/json":{"schema":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"company":{"type":"string","nullable":true,"example":"Supaglue"},"converted_account_id":{"type":"string","nullable":true,"example":"88cc44ca-7a34-4e8b-b0da-51c3aae34daf"},"converted_account":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"description":{"type":"string","nullable":true,"example":"Integration API"},"id":{"type":"string","example":1234},"industry":{"type":"string","nullable":true,"example":"API's"},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","description","id","industry","last_activity_at","name","number_of_employees","owner_id","phone_numbers","website","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"account"},"converted_contact_id":{"type":"string","nullable":true,"example":"8c8de778-a219-4d6c-848c-1d57b52149f6"},"converted_contact":{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["account_id","owner_id","description","id","addresses","email_addresses","first_name","last_activity_at","last_name","phone_numbers","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"},"converted_date":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_name":{"type":"string","nullable":true,"example":"Xing"},"lead_source":{"type":"string","nullable":true,"example":"API Blogger"},"owner_id":{"type":"string","nullable":true,"example":"62e5e0f7-becd-4ae2-be82-8b4e1d5ed8a2"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"title":{"type":"string","nullable":true,"example":"Co-Founder"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-10T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-10T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","company","converted_account_id","converted_contact_id","converted_date","id","last_name","lead_source","owner_id","phone_numbers","title","created_at","updated_at","is_deleted","last_modified_at"],"title":"lead"}}}}},"description":"Get lead","method":"get","path":"/leads/{lead_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Get lead","description":{"type":"text/plain"},"url":{"path":["leads",":lead_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"lead_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/get-opportunity.api.mdx b/docs/docs/api/v2/crm/get-opportunity.api.mdx index 3058ff7247..3d0948dd82 100644 --- a/docs/docs/api/v2/crm/get-opportunity.api.mdx +++ b/docs/docs/api/v2/crm/get-opportunity.api.mdx @@ -5,7 +5,7 @@ description: "Get opportunity" sidebar_label: "Get opportunity" hide_title: true hide_table_of_contents: true -api: eJy1V/tv2zYQ/lc47ZcGiGxZdvzCMKzriqHY1hZps2BLg5QSzwlbSVRJyo5h+H/fHSXZkh9p065OkAd1vPvu7ruHVp7KQXMrVfZCeFPvFuyrPFfaFpm0S+/Us/zWeNMrb3sqwXjXp56BuNAkM71aefc+z6X/Eei/6zU+zbnmKVjQxj3P8B/ULrM4KQTcaL64Edxy1C8zPP9UgCZjJr6DlHvTlWeXOV2IlEqAZ/gI7nmaJ3hmdQHrU0+AibXMCTjKXd6BvQPNrGKVDYY2GNlgM7CoVrCZVilDKdbXgiE+u2S5VnMpQHe89ekG5L0fF8aqFLQvRY3wDjjKHYJorJbZbROhly63KnreHti3iKF+zl78hpi4ZRhZjEKyZIgns3KGUXZgN4IyY0tVaMbzPJGxyxga1fCpkBpEHZeGF7Vzvjv5Gj8MT8DMlI7hsBO1BVZZOApGbSl1s41pzu3d3q0vQxZPZmfjYNz3eX8U+INRdOZzEYT+ZNIbBsDDoD8KvTURUYPJVWaQs6gwDAL61fakzfdYZRYTQGKNSHc/GJJd7YNT0QeILV7EYGAlueqgu3GsisyStwccyYok4VHN5qZjMxGMJ+Fg6AeTqOcPoB/5fBhwf8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aD0niDGvvleHgLtHBvKTjS6XFMWVWleuW1ShVVTHfeHrC07tAyia5WEeK/0Ml6TcflayRVsJCGhrGoBuUejs2W/+1vjqeHnXJFfuiFtxo7nusRc65luTU8CvST82o0n7Bj9uvuki2bNmtcOyFdX+ONqs98NZL/87X2gZDuvp5v43n6DcB3X2UfBLD7Zt2CUAo9xfab28azvZdJSv9mWP3+/C3tVQVVQHMylGOg+oMyczCtzZFRmqefBOag+E9U7zhzft6Il0+OXthMoJrURJj1+j8pyyNL +api: {"operationId":"getOpportunity","tags":["Opportunities"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","example":"c9f58083-a370-47b5-ad02-99160ea20372"}}],"responses":{"200":{"description":"Opportunity","content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"amount":{"type":"integer","nullable":true,"example":100000},"close_date":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"description":{"type":"string","nullable":true,"example":"Wants to use open source unified API for third-party integrations"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Needs third-party integrations"},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"pipeline":{"type":"string","nullable":true},"stage":{"type":"string","nullable":true,"example":"Closed Won"},"status":{"type":"string","nullable":true,"example":"OPEN"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["account_id","amount","description","id","last_activity_at","name","owner_id","stage","status","pipeline","created_at","updated_at","is_deleted","last_modified_at"],"title":"opportunity"},"examples":{"Example":{"value":{"account":{"id":"a329053d-bf86-4b82-8356-9e897aa7dacc"},"amount":100000,"close_date":"2023-02-27T00:00:00Z","description":"Wants to use open source unified API for third-party integrations","id":1234,"last_activity_at":"2023-02-27T00:00:00Z","name":"Needs third-party integrations","owner":"93b0c2b5-26a8-4b92-b4e5-05d764eb1119","created_at":"2023-02-27T00:00:00Z","updated_at":"2023-02-27T00:00:00Z","stage":"Closed Won"}}}}}}},"description":"Get opportunity","method":"get","path":"/opportunities/{opportunity_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Get opportunity","description":{"type":"text/plain"},"url":{"path":["opportunities",":opportunity_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"opportunity_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/get-user.api.mdx b/docs/docs/api/v2/crm/get-user.api.mdx index 4495af9911..fd2c066c2a 100644 --- a/docs/docs/api/v2/crm/get-user.api.mdx +++ b/docs/docs/api/v2/crm/get-user.api.mdx @@ -5,7 +5,7 @@ description: "The common schema User maps to the following 3rd-party provider ob sidebar_label: "Get user" hide_title: true hide_table_of_contents: true -api: eJztVm1P40YQ/itb9wtIOAmBozSqqtJeRdG1KuLlri2gsLEnyd7Zu759SXCD/3tn1nbivOqOa781QkB2n5155n1mgcpAcyuUvIiDXjACe2tABwdBDCbSIqMbPL8ZA4tUmirJTDSGlDOCsZRnhlnFLF4PVZKoqZAjdqTjMOPa5izTaiJiBKrBe4is6d3Le/nMLutj9syuIFUWKgC7eE1nhAnrD2v83zgjzC9uYDJlGb15e8R+n0qSWX9KzOtc8lREhr6f/e00sOvcWEhLA0rMhbSg0TyPiVMhWfPzfC/RH5aPTNC7C+iZCR4OAgOR08LmeDgLnkKeifAD0LeHAm/Rfp6C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r5Y3UOAfL3IbdcrYYQP+vmXXhW3iylCHCO9OXy6xqUHe+hxnE9uq1AhvKGP1Nd7PZAKN2q5OioONysaS+FQtDkyOuuvqOIHzxLrnFCt/aNq3AE04doxf4zjjhWpQj7rNI711Vc2SfbdNf91SZN3XWvGpfFg8Irdrqiyn8mxvuDl+ubuoLRx58AfHVrXYngdUle4lCCTrDaZPZxt3alklxnw/j859vEMsd5XpzEJZTr/qHIrMxns0JWaqn30RmI/w7am84Yr+fw8ubrQ/mA7fOZkqYovgH/Cok0w== +api: {"operationId":"getUser","description":"The common schema User maps to the following 3rd-party provider objects:\n\n| Provider | Remote object ID | \n| --------- | ----------------- | \n| Hubspot | V3 Owner | \n| Dynamics | Azure System User | \n| Intercom | Admin |\n","tags":["Users"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"User","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":54312},"name":{"type":"string","nullable":true,"example":"George Xing"},"email":{"type":"string","nullable":true,"example":"george@supaglue.com"},"is_active":{"type":"boolean","nullable":true},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["id","name","email","is_active","created_at","updated_at","is_deleted","last_modified_at"],"title":"user"}}}}},"method":"get","path":"/users/{user_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Get user","description":{"content":"The common schema User maps to the following 3rd-party provider objects:\n\n| Provider | Remote object ID | \n| --------- | ----------------- | \n| Hubspot | V3 Owner | \n| Dynamics | Azure System User | \n| Intercom | Admin |\n","type":"text/plain"},"url":{"path":["users",":user_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"user_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/list-accounts.api.mdx b/docs/docs/api/v2/crm/list-accounts.api.mdx index 7a1ede6058..e6b5da2bf7 100644 --- a/docs/docs/api/v2/crm/list-accounts.api.mdx +++ b/docs/docs/api/v2/crm/list-accounts.api.mdx @@ -5,7 +5,7 @@ description: "List accounts" sidebar_label: "List accounts" hide_title: true hide_table_of_contents: true -api: eJztWOtX2zoS/1e0uR9u6ZInr8LZ7lkKvXfTS9JCoRygnKDYcqJgS64kJxgO//vOyHGsOCk09PbbtqUkesz85qmZeajImClquBRtv7JXCbk2+54nE2F0Zb1i6EBX9q4qs6Xr9YpmXqK4SWH9oXJXpTGv3jL8dv0IuzFVNGKGKW33BXwBslx4YeKznqKTnk8NBdJcwPq3hKkUvmhvyCJa2XuomDTGC30pQ0YFbLE7GsUhrBmVsMf1is+0p3iMiOHc+ZCZIVPESDLlQYAHQR4kYAbI+iRQMiJwimwonwA+k5JYyTH3mapVHtdnIBWjfg8P9zwKF38FRmSR4fmcxHQQJux3TTpU0AHgPGTacGFtQSwCIotLPlfMM2FaSDOTgXwV+Pf16+7H0/evX++Rm5IkbxHWDdD5lgAVTVKZIN1EM0soh7IUCBU+0SwE3uTqQEYRLH3sj+Crvn41NCbWe/W6Lz1d01MqNU9G9TikJpAqqnv2SjXTna7LMVNjzia/eVIEfJBknreGaPqM6FR4zK99Fa5VIunzgDO/RwPwqmeNoo3iYgA7yJ4aWAFfYFXDI+YaqtJqtDaqjVa1tXHaaOzZf7VGo3FZWTBfO8hV7a+TCQ9DIgXYQTGTKEFkpgySwyQWJuiVa/RCZhk74oCSWE/z++fdayZJAbrZ2ljE102iPnCUAUDSSQhYrM9YdBDbBDnWyKsOvdsjTRBxzYUDoazlClotsHiHj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ameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"read_from_cache","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to read from Supaglue's Managed Destination cache or to read directly from the provider. \n\n\n**NOTE**: `read_from_cache=true` requires you to use the Supaglue Managed Destination and select [Common Objects](https://docs.supaglue.com/platform/common-schemas/overview#configuration) to be synced.\n"},{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"Paginated Accounts","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"description":{"type":"string","nullable":true,"example":"Integration API"},"id":{"type":"string","example":1234},"industry":{"type":"string","nullable":true,"example":"API's"},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","description","id","industry","last_activity_at","name","number_of_employees","owner_id","phone_numbers","website","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"account"}}},"required":["pagination","records"]}}}}},"description":"List accounts","method":"get","path":"/accounts","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"List accounts","description":{"type":"text/plain"},"url":{"path":["accounts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""},{"disabled":false,"description":{"content":"Whether to read from Supaglue's Managed Destination cache or to read directly from the provider. \n\n\n**NOTE**: `read_from_cache=true` requires you to use the Supaglue Managed Destination and select [Common Objects](https://docs.supaglue.com/platform/common-schemas/overview#configuration) to be synced.\n","type":"text/plain"},"key":"read_from_cache","value":""},{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/list-contacts.api.mdx b/docs/docs/api/v2/crm/list-contacts.api.mdx index 56b94a2948..74a489843d 100644 --- a/docs/docs/api/v2/crm/list-contacts.api.mdx +++ b/docs/docs/api/v2/crm/list-contacts.api.mdx @@ -5,7 +5,7 @@ description: "List contacts" sidebar_label: "List contacts" hide_title: true hide_table_of_contents: true -api: eJztWVtXGzkS/itaz8OGDL4bs3A2e5ZANusMdgKBsEA4Ru6WbZluqSOpbQyH/z5VavfVDsSe5G2TELAuVV9dVVU8lmTAFDVcio5b2i95XJtDKQx1jC5tlwwd6dL+dSlZutkuaeaEips5rD+W7ss04OU7hp9unmA3oIr6zDCl7b6AD0CWC8cLXdZXdNZ3qaFAmgtY/xYyNYcP2hkzn5b2H0tmHuCFgZQeowK22D31Aw/WjArZ03bJZdpRPEDEcO5izMyYKWIkWfAgwIMgDzJkBsi6ZKikT+AUaSqXAD4zJ4GSU+4yVSk9bScgFaNuHw/3HQoXfwVGZBHh+RwGdOSF7O+adKmgI8B5xLThwtqCWAREppdcrphjvHkqTSID+Srw7+vXvY9n716/3ie3BUneIKxboPMtBCqazGWIdEPNLKEYykogVLhEMw94k+tD6fuw9HEwgY/65tXYmEDvV6uudHRFL6hUHOlXA4+aoVR+1bFXypHudFVOmZpyNvvNkWLIR2HkeVuIZsCInguHuZWvImsVX7p8yJnbp0PwqheNoo3iYgQ7yJ4aWAFfYGXDfZY1VKlRazTLtUa50Tyr1fbtv0qtVrsqLZmvM4xV7W6TGfc8IgXYQTETKkFkpA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GVmKo/kNdVkAXhxjPwugOFXPQYgOHUDREJjM3tIMGy2QFFPv351heRli5s7WM1HxsvgBLRNviXmGdrbQidjj/whm5fF/4isFldK/kuPp7z9WXkjqpjhHA3goFf8ETss96g== +api: {"operationId":"listContacts","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"read_from_cache","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to read from Supaglue's Managed Destination cache or to read directly from the provider. \n\n\n**NOTE**: `read_from_cache=true` requires you to use the Supaglue Managed Destination and select [Common Objects](https://docs.supaglue.com/platform/common-schemas/overview#configuration) to be synced.\n"},{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"Paginated Contacts","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["account_id","owner_id","description","id","addresses","email_addresses","first_name","last_activity_at","last_name","phone_numbers","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"}}},"required":["pagination","records"]}}}}},"description":"List contacts","method":"get","path":"/contacts","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"List contacts","description":{"type":"text/plain"},"url":{"path":["contacts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""},{"disabled":false,"description":{"content":"Whether to read from Supaglue's Managed Destination cache or to read directly from the provider. \n\n\n**NOTE**: `read_from_cache=true` requires you to use the Supaglue Managed Destination and select [Common Objects](https://docs.supaglue.com/platform/common-schemas/overview#configuration) to be synced.\n","type":"text/plain"},"key":"read_from_cache","value":""},{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/list-list-memberships.api.mdx b/docs/docs/api/v2/crm/list-list-memberships.api.mdx index 650f4fb2dd..e23bac9882 100644 --- a/docs/docs/api/v2/crm/list-list-memberships.api.mdx +++ b/docs/docs/api/v2/crm/list-list-memberships.api.mdx @@ -5,7 +5,7 @@ description: "Support:" sidebar_label: "List list memberships" hide_title: true hide_table_of_contents: true -api: eJztXHtT20gS/ypz3j8uqY1sWX5C3V4dj+zGWeyEVzhIKBhLYyyiV6QRxhC++3XPSPZIFo5Nwu1WSlQeRpqZfkz3r7tHct9X/ICFlNu+17MqmxXHjvge/O0zd8jCaGwHUeVVxWKRGdoBjoIxh3EQ+CHf/OR98r6S96F/Y1ssJIR8Je+G18zkZKWfr2THd13fI4fmmLmURHJZuD7wOYu+PR+pa7Mfov7yzZ/HRq+6iqT+Jh5Ggc+lNJem73Fq8suVZD8tlPArOaATYlFOSchgaS9iZBT6LvnQIFvve1nZD6nDopEfmkyl/opcU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40/mqCbSUUBUKGmEWgVD4k2qkY+EUU65hl6tt6sblfmWHSdJ685BX0x7VVGeUycMzl7nTA52MFT7ZpQ/9MkqMX+AlZXlF/ghPY+HvhWbeA1bbZ0wBwaLfjooxbGST78A/l4SoBq7AAjCDKrk1I+JST2RiAswxJEweQKbIFZxY4fb+L6VmqSmxhaRiQ3XPUELxTfBHa78cFpFXj6i86TNfmRbFgG6MPD8RSojaqGaeTslcCjHfKYmZ2pyZoQm9FIs+4+PB7GHrXbe+xF3qTdfLIy9agDXPDQ5gGgOIkY3Vy/nIyaTSTWQ0wSxlHINT9YEGs4uaUE8dGyz5t8gkrOJIC6Uvk0jYSDk+GDvk3d5efnJW273yaD08TUQV0xDdLhxsm1uFkLi/bztTdlarWytJlqrSSjk7Jajz9jCvASA3CeQ/VFEE7SlzbS5E0DsGCwQ793fD8GOj0OIXHhZNgZDJLfsCMscKylBllji2m3UHuFagHumzZtsZbZZEecwqzO0rC/aUtqzpm5PJPziIImzL8kTW50tYS6bRMw5PMdfQlvWpGttnMLuY6TTSCuO9WY0U5ZSe3rAOiMJtk9m4Uf2WluixnzPuB+z1fn+aksZyLd7y7AgB21BDhJw5d5CkzPc91mK9sfrIyxdYvR3NT2SuVDyQWmPld1PNW+S5PFf5ewzO/xfiD6QeP17NnzecrBwwiwNk6NRGZhk/g+2nR7t +api: {"operationId":"listListMemberships","description":"Support:\n\n| Provider | Object | Common Schema support | Notes |\n| ---------- | ------------------------------------------- | --------------------- | ------------------------------------- |\n| Hubspot | `contact` | Yes | Raw data response from V3 API |\n| Salesforce | `contact`, `account`, `lead`, `opportunity` | Yes | Raw data response from V57.0 REST API |\n","tags":["Lists"],"security":[{"x-api-key":[]}],"parameters":[{"name":"page_size","in":"query","schema":{"type":"string","example":"100"},"description":"Number of results to return per page. (Max: 100)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"object_type","in":"query","schema":{"type":"string","enum":["contact","account","opportunity","lead"],"example":"contact"},"description":"The Supaglue common object type to fetch a list for.","required":true},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"list_id","in":"path","required":true,"schema":{"type":"string","example":"220e715a-0cbc-4d2d-8420-cd729f12f094"}}],"responses":{"200":{"description":"List membership","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["account_id","owner_id","description","id","addresses","email_addresses","first_name","last_activity_at","last_name","phone_numbers","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"},{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"description":{"type":"string","nullable":true,"example":"Integration API"},"id":{"type":"string","example":1234},"industry":{"type":"string","nullable":true,"example":"API's"},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","description","id","industry","last_activity_at","name","number_of_employees","owner_id","phone_numbers","website","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"account"},{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"company":{"type":"string","nullable":true,"example":"Supaglue"},"converted_account_id":{"type":"string","nullable":true,"example":"88cc44ca-7a34-4e8b-b0da-51c3aae34daf"},"converted_account":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"description":{"type":"string","nullable":true,"example":"Integration API"},"id":{"type":"string","example":1234},"industry":{"type":"string","nullable":true,"example":"API's"},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","description","id","industry","last_activity_at","name","number_of_employees","owner_id","phone_numbers","website","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"account"},"converted_contact_id":{"type":"string","nullable":true,"example":"8c8de778-a219-4d6c-848c-1d57b52149f6"},"converted_contact":{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["account_id","owner_id","description","id","addresses","email_addresses","first_name","last_activity_at","last_name","phone_numbers","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"},"converted_date":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_name":{"type":"string","nullable":true,"example":"Xing"},"lead_source":{"type":"string","nullable":true,"example":"API Blogger"},"owner_id":{"type":"string","nullable":true,"example":"62e5e0f7-becd-4ae2-be82-8b4e1d5ed8a2"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"title":{"type":"string","nullable":true,"example":"Co-Founder"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-10T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-10T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","company","converted_account_id","converted_contact_id","converted_date","id","last_name","lead_source","owner_id","phone_numbers","title","created_at","updated_at","is_deleted","last_modified_at"],"title":"lead"},{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"amount":{"type":"integer","nullable":true,"example":100000},"close_date":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"description":{"type":"string","nullable":true,"example":"Wants to use open source unified API for third-party integrations"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Needs third-party integrations"},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"pipeline":{"type":"string","nullable":true},"stage":{"type":"string","nullable":true,"example":"Closed Won"},"status":{"type":"string","nullable":true,"example":"OPEN"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["account_id","amount","description","id","last_activity_at","name","owner_id","stage","status","pipeline","created_at","updated_at","is_deleted","last_modified_at"],"title":"opportunity"}],"title":"list_membership"}},"metadata":{"type":"object","properties":{"id":{"type":"string","example":"00BDn00000RHS32MAH","description":"The provider-specific unique identifier for this list."},"object_type":{"type":"string","enum":["contact","account","lead","opportunity"]},"name":{"type":"string","example":"RecentlyViewedContacts","description":"The developer name of this list."},"label":{"type":"string","example":"Recently Viewed Contacts","description":"The label for this list."},"raw_data":{"type":"object","description":"The raw data from the provider for this list.","additionalProperties":true,"example":{"attributes":{"type":"ListView","url":"/services/data/v57.0/sobjects/ListView/00BDn00000RHS32MAH"},"Id":"00BDn00000RHS32MAH","Name":"Recently Viewed Contacts","DeveloperName":"RecentlyViewedContacts","NamespacePrefix":null,"SobjectType":"Contact","IsSoqlCompatible":true,"CreatedDate":"2023-05-26T22:25:47.000+0000","CreatedById":"005Dn0000079fN6IAI","LastModifiedDate":"2023-05-26T22:25:47.000+0000","LastModifiedById":"005Dn0000079fN6IAI","SystemModstamp":"2023-05-26T22:25:47.000+0000","LastViewedDate":null,"LastReferencedDate":null}}},"required":["id","object_type","name","label","raw_data"],"title":"list_metadata","description":"Metadata about the remote provider list view."}},"required":["pagination","records","metadata"]}}}}},"method":"get","path":"/lists/{list_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"List list memberships","description":{"content":"Support:\n\n| Provider | Object | Common Schema support | Notes |\n| ---------- | ------------------------------------------- | --------------------- | ------------------------------------- |\n| Hubspot | `contact` | Yes | Raw data response from V3 API |\n| Salesforce | `contact`, `account`, `lead`, `opportunity` | Yes | Raw data response from V57.0 REST API |\n","type":"text/plain"},"url":{"path":["lists",":list_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 100)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""},{"disabled":false,"description":{"content":"(Required) The Supaglue common object type to fetch a list for.","type":"text/plain"},"key":"object_type","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"list_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/list-lists.api.mdx b/docs/docs/api/v2/crm/list-lists.api.mdx index 94ba373d2f..e63b07cd62 100644 --- a/docs/docs/api/v2/crm/list-lists.api.mdx +++ b/docs/docs/api/v2/crm/list-lists.api.mdx @@ -5,7 +5,7 @@ description: "List lists" sidebar_label: "List lists" hide_title: true hide_table_of_contents: true -api: eJytWPtT2zgQ/ld0vl9gjjwIhU4z15uDpHM1TXIQEhigDBW2QhRsy5XkJIbJ/367Uuw4j0spUzo8Iq12v319WvXFETGTVHMRub5TdwKudAu+lbPnaPqonPqtYz/f7TmKeYnkOoXFF2daojEvPTH8dDeD3ZhKGjLNpDL7EXwAhTF9ZPeKPzNQyCNY+J4wmcIH5Q1ZSJ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8aIoyh3wq00ZCMauY34QfI16q1g1L1sFQ76tVq9dph/R34Xa3+gW44ufBJOvfwcO7h+w+DzpF77IJIiyrdFj52ySuVFk9s03yRKqABkFQakvk6vTZqFoeND6522YBJFnnFndkqbZmLfnmkmd9ptlUKpVxgNCzGe5gpqdlYU1ogvAXf3c1mRnDDLRjMb0HQOBQYmUdmaI/qIRZpto3Fmk2xtn6HWseqXqnAxFtW80mozEXFk2FlXFvrtXxYOj5znVlhcL7A+9W2SmF8XhB0zL+wNAtNvSCzOlws2wMzBKRwEKNBICYLejKzMVAjU3bYMYBmqG0g0DD6aXVUy/tH5Q/OIvb9yNQQaXTb5theTrb1fAbKHEViCynHUPnCU3/nMYJpMSeBLIhLm2uJ+h2+iBtpKfzEw7Wv8O+KBSBsJk30IoOGfu8Avl0CVpMQOtsUQ5lci4R4NCKJYpbVUBIOTyAJRksI7wYOFIa70i/B00WnORkqMuGwHhlb6D5MSexRyLSMWG6xC7Ix2A5Mhj1B8G4n8xGjUC46WokDqkEsrNiTJXtSYQntGrW/3XaTCIfQM6F0SKOFMplE5RjWIiw54FoNLqrx4+5CYjKZlGN7zBjLLFcmQj4ZWsuXSnHyAHNfRYyRktnEGDdBP6HKFAjpd1tfo2/fvn2Nttf9XMiMVtZ4oTSWGm4pxXm5axhlMC7cqDBF8jJvxlsnyB6dQ1CNCy8vDwCwL4FbcNm+hbBFfa5wcoN+HtBAsTVr+cz78y/Hvc1QTdcuvWzt663umAfc6wFtewputZ2/Y99oeKc7p9Fd8sbX3RZwyzS/QHiHHyS3Y/YtzmRzPvu5LK5g/1UPvS0OrT5Yf03QVx93WwGsvjWXIFihY6D5WBf21l54mIH87vvnUw/HvATbrXgD2etm/gdmJtuK0oLu4tVkzeNPBLNR/E/kFbjb/srFF//fsfFAftNZaQwGXuz/AQ6mV3w= +api: {"operationId":"listLists","tags":["Lists"],"security":[{"x-api-key":[]}],"parameters":[{"name":"page_size","in":"query","schema":{"type":"string","example":"100"},"description":"Number of results to return per page. (Max: 100)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"object_type","in":"query","schema":{"type":"string","enum":["contact","account","opportunity","lead"],"example":"contact"},"description":"The Supaglue common object type to fetch a list for.","required":true},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"List Lists","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"00BDn00000RHS32MAH","description":"The provider-specific unique identifier for this list."},"object_type":{"type":"string","enum":["contact","account","lead","opportunity"]},"name":{"type":"string","example":"RecentlyViewedContacts","description":"The developer name of this list."},"label":{"type":"string","example":"Recently Viewed Contacts","description":"The label for this list."},"raw_data":{"type":"object","description":"The raw data from the provider for this list.","additionalProperties":true,"example":{"attributes":{"type":"ListView","url":"/services/data/v57.0/sobjects/ListView/00BDn00000RHS32MAH"},"Id":"00BDn00000RHS32MAH","Name":"Recently Viewed Contacts","DeveloperName":"RecentlyViewedContacts","NamespacePrefix":null,"SobjectType":"Contact","IsSoqlCompatible":true,"CreatedDate":"2023-05-26T22:25:47.000+0000","CreatedById":"005Dn0000079fN6IAI","LastModifiedDate":"2023-05-26T22:25:47.000+0000","LastModifiedById":"005Dn0000079fN6IAI","SystemModstamp":"2023-05-26T22:25:47.000+0000","LastViewedDate":null,"LastReferencedDate":null}}},"required":["id","object_type","name","label","raw_data"],"title":"list_metadata"}}},"required":["pagination","records"]}}}}},"description":"List lists","method":"get","path":"/lists","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"List lists","description":{"type":"text/plain"},"url":{"path":["lists"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 100)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""},{"disabled":false,"description":{"content":"(Required) The Supaglue common object type to fetch a list for.","type":"text/plain"},"key":"object_type","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/search-contacts.api.mdx b/docs/docs/api/v2/crm/search-contacts.api.mdx index 8aecd4ec8f..1e8fa71185 100644 --- a/docs/docs/api/v2/crm/search-contacts.api.mdx +++ b/docs/docs/api/v2/crm/search-contacts.api.mdx @@ -5,7 +5,7 @@ description: "Search contacts by a filter." sidebar_label: "Search contacts" hide_title: true hide_table_of_contents: true -api: eJzlWel327gR/1dQ9ov9Gt2yXPt1++oju6uspfiM6+spEAlZUEiCAUDJtOP/vTMAKZGU7ETe7Kcqhy1igPnNiZnhkyMiJqnmIux6zq6jGJXu+ECEmrpaOe8cjylX8ggJYPnMLBM3XSfDhFAy4r5msnobnsVRJKTevQ1vw2/kWIop95gk8PlG0p37CbGfb0hSWXxI4Zt9giS/x0MVCW33kPcB5T5ZfAzJGfWZGgnpshdJjnnEPMmnzJyy0YcDU7DM27QkvTNymIQ04K5aTQLK0PReObs3zlw/d+9AY24suU7g+ZPzUKERr3xh+O3uGVYjKmnAQD3KrMP5DNTIQ9ePPTaQdDbwqKZwNEf1fo2ZTOCLcscsoM7uk6OTCDcMhfAZRQjsgQaRD8+0jNlz2T6XY6bHoHItSMqDAA+CPMiIaTjWIyMpAgJUpCU9Avh0QqLUVFXn+d0cZETv2UDxR/ZddEpLHt7nwTmNZstZQtePgyGAEyMimYp98B/AKZmOZUjACwlyrJKNHn3YJY16vb6ZhwNaVkK+BYt7WE96h92Ho/M9/Nf843Hv8cN5f783OfF79feNXtKu9x5PHnuTK7/3pTvrHVw8npzvz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8h6xtw4TW/ZTfIzZ/CvyFJ+l/BGXZaAl+furwIovwYoQLBEB5ZR5dwOLzKKpcHuYsceXMWRfpX2LlerHH88O8cZVvoaILCzCPB6x5SJ8Pst/DElPZ5gCgvz/AkqqPA+Nq2FY8/Fa5rGGP75esMWF+kv6BXZUpjkUOYLESsI/o9irST/F2Z9qGT+PSdfvCxauWFe12ThDWoAwP8DaZERqg== +api: {"operationId":"searchContacts","description":"Search contacts by a filter.\nSupport:\n\n| Provider | Search By |\n| ----------- | --------------- |\n| Hubspot | Email |\n| Salesforce | Email |\n| Pipedrive | (Not Supported) |\n| MS Dynamics | (Not Supported) |\n","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"filter":{"type":"object","properties":{"key":{"type":"string","enum":["email"],"description":"The key to search on. Only `email` is supported for all providers."},"value":{"type":"string","description":"The value to search on.","example":"hello@example.com"}},"required":["key","value"]}},"required":["filter"]}}}},"responses":{"200":{"description":"Paginated Contacts","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["account_id","owner_id","description","id","addresses","email_addresses","first_name","last_activity_at","last_name","phone_numbers","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"}}},"required":["pagination","records"]}}}}},"method":"post","path":"/contacts/_search","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"filter":{"key":"email","value":"hello@example.com"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Search contacts","description":{"content":"Search contacts by a filter.\nSupport:\n\n| Provider | Search By |\n| ----------- | --------------- |\n| Hubspot | Email |\n| Salesforce | Email |\n| Pipedrive | (Not Supported) |\n| MS Dynamics | (Not Supported) |\n","type":"text/plain"},"url":{"path":["contacts","_search"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/search-leads.api.mdx b/docs/docs/api/v2/crm/search-leads.api.mdx index 5080f37555..d67c78b228 100644 --- a/docs/docs/api/v2/crm/search-leads.api.mdx +++ b/docs/docs/api/v2/crm/search-leads.api.mdx @@ -5,7 +5,7 @@ description: "Search leads by a filter." sidebar_label: "Search leads" hide_title: true hide_table_of_contents: true -api: eJztWnl327gR/yqo+kfj11CWqNN+3b76yO4qazk+4/p6CkhCEhSSYEDQsuz4u3cAkOIhWrYcp+1rrWQ3EjHA/ObAzACc+woLCMeCMr/nVDYrIcHcHu8R7ISV9xWHhDangRyFsWM1hlw5iKwZwmhIXUF49co/joKAcbF55V/539EBZzfUIRzB5zuKp23PkP58lyRG+kG5X/qJJPk9ssKACT0H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ztQnB5+OT4DYihu2PX1FD15fUbcn8P0K/qibLrmCqifU83somfxRpG7cKnpdmZ1xJPd+tszQNUX8RXpFMuTPMiiz9YcWRP5filVK/jcZ7KGA+fucPG3rL50wL2eS7Q1qAMD/AtQZXd0= +api: {"operationId":"searchLeads","description":"Search leads by a filter.\nSupport:\n\n| Provider | Search By |\n| ----------- | --------------- |\n| Hubspot | Email |\n| Salesforce | Email |\n| Pipedrive | (Not Supported) |\n| MS Dynamics | (Not Supported) |\n","tags":["Leads"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"filter":{"type":"object","properties":{"key":{"type":"string","enum":["email"],"description":"The key to search on. Only `email` is supported for all providers."},"value":{"type":"string","description":"The value to search on.","example":"hello@example.com"}},"required":["key","value"]}},"required":["filter"]}}}},"responses":{"200":{"description":"Paginated Leads","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"company":{"type":"string","nullable":true,"example":"Supaglue"},"converted_account_id":{"type":"string","nullable":true,"example":"88cc44ca-7a34-4e8b-b0da-51c3aae34daf"},"converted_account":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"description":{"type":"string","nullable":true,"example":"Integration API"},"id":{"type":"string","example":1234},"industry":{"type":"string","nullable":true,"example":"API's"},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"owner_id":{"type":"string","nullable":true,"example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","description","id","industry","last_activity_at","name","number_of_employees","owner_id","phone_numbers","website","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"account"},"converted_contact_id":{"type":"string","nullable":true,"example":"8c8de778-a219-4d6c-848c-1d57b52149f6"},"converted_contact":{"type":"object","properties":{"account_id":{"type":"string","nullable":true,"example":"fd089246-09b1-4e3b-a60a-7a76314bbcce"},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_activity_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["account_id","owner_id","description","id","addresses","email_addresses","first_name","last_activity_at","last_name","phone_numbers","lifecycle_stage","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"},"converted_date":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-27T00:00:00Z"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"first_name":{"type":"string","nullable":true,"example":"George"},"id":{"type":"string","example":54312},"last_name":{"type":"string","nullable":true,"example":"Xing"},"lead_source":{"type":"string","nullable":true,"example":"API Blogger"},"owner_id":{"type":"string","nullable":true,"example":"62e5e0f7-becd-4ae2-be82-8b4e1d5ed8a2"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"title":{"type":"string","nullable":true,"example":"Co-Founder"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-10T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2023-02-10T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["addresses","company","converted_account_id","converted_contact_id","converted_date","id","last_name","lead_source","owner_id","phone_numbers","title","created_at","updated_at","is_deleted","last_modified_at"],"title":"lead"}}},"required":["pagination","records"]}}}}},"method":"post","path":"/leads/_search","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"filter":{"key":"email","value":"hello@example.com"}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Search leads","description":{"content":"Search leads by a filter.\nSupport:\n\n| Provider | Search By |\n| ----------- | --------------- |\n| Hubspot | Email |\n| Salesforce | Email |\n| Pipedrive | (Not Supported) |\n| MS Dynamics | (Not Supported) |\n","type":"text/plain"},"url":{"path":["leads","_search"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/send-passthrough-request.api.mdx b/docs/docs/api/v2/crm/send-passthrough-request.api.mdx index e0b80c3796..b203c6f68e 100644 --- a/docs/docs/api/v2/crm/send-passthrough-request.api.mdx +++ b/docs/docs/api/v2/crm/send-passthrough-request.api.mdx @@ -5,7 +5,7 @@ description: "Send request directly to a provider" sidebar_label: "Send passthrough request" hide_title: true hide_table_of_contents: true -api: eJytV9tuGzcQ/R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68KjZU1qkL0NSh78OWRj2Da1bY7Umc9NHgPde+yKCdEB5Mnj1ZvCWNjHpfD5vFfEqYeejPzywMDV47KdGGYIqlEQEbCaUjETH9pc6C6hB3HXT1Lnco8qP+GOXyhmdFDGd3eH/H5FCWFC4KE4VNIrsEfD10FniIkMpeKYP2L+6YDSpC3Rnt5DWS+LhFdLstWRF6iRiSrcm6aO23bpmKMaSxLnytsh9Wmjn2qwHhGXytxQrzJQs04qFwmCgPQlOjyofKQqDtqPDPOUOYtkwPNkPT1oiac+r/WEyKhQV7jXYn3HVKDOFGuQ4U0TqWeEcXLTLea+RWK1Wgzw85o1Vlocrbb7YnMeiPurnxQwtYaiR+iU88cZ90N9x6ylIg/pOffr06U49XlmlEOWwNN6mBu2zeWf9qHb9TsI3zTLyjRt8WY5OPDiKqvQAylUk1AetS52fEQtqKDjebGZw8tak2y0dlxUywcclN5LPiPiTab0I+B6TSEsXKLJ7nlrxCPyjUdnSeuwlu/ZBf31r2ps+5UyM/Mj/buC7nfpRALuDowMhCJ0HQ/0x6Wkk9jbP5okz9MTcPSrbnhflb5xqf8qw7+HU8BWNGbyeRnf4p+3cO+87vD/fRClX84LPST7opf7Li86vN7A/dPnyQ2szw6rWQtmeCMERem2vXx3xn6jYMFJ+rsXDzVcfqAdMkKZE0H7yPwKLXo4= +api: {"deprecated":true,"operationId":"sendPassthroughRequest","tags":["Passthrough"],"security":[{"x-api-key":[]}],"description":"Send request directly to a provider","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"path":{"type":"string","description":"The path to send the request to (do not pass the domain)"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"example":"GET"},"headers":{"type":"object","description":"Headers to pass to downstream","additionalProperties":{"type":"string"}},"query":{"type":"object","description":"Query parameters to pass to downstream","additionalProperties":{"type":"string"}},"body":{"description":"Body to pass to downstream (can be string or JSON object)","oneOf":[{"type":"string"},{"type":"object","additionalProperties":true}]}},"required":["path","method"]}}}},"responses":{"200":{"description":"Passthrough response","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"The full URL the request was went to","example":"https://customcrm.com/api/cars"},"status":{"type":"number","description":"Status code from the downstream","example":200},"headers":{"type":"object","description":"The response headers from the downstream","additionalProperties":{"type":"string"}},"body":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"array","items":{"additionalProperties":true}},{"type":"object","additionalProperties":true}],"description":"The body from the downstream"}},"required":["url","status","headers"]},"examples":{"Example":{"value":{"url":"https://customcrm.com/api/cars","status":200,"headers":{"x-requests-limit":96},"body":[]}}}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"method":"post","path":"/passthrough","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"path":"string","method":"GET","headers":{},"query":{},"body":"string"},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Send passthrough request","description":{"content":"Send request directly to a provider","type":"text/plain"},"url":{"path":["passthrough"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -46,19 +46,11 @@ Headers to pass to downstream Query parameters to pass to downstream -
    body object
    +
    body object
    Body to pass to downstream (can be string or JSON object) -
    oneOf

    MOD1

    - -Body to pass to downstream (can be string or JSON object) - -

    MOD2

    - -Body to pass to downstream (can be string or JSON object) - -
    +
    oneOf
  • string
  • Passthrough response @@ -66,33 +58,9 @@ Passthrough response The response headers from the downstream -
    body object
    - -The body from the downstream - -
    anyOf

    MOD1

    - -The body from the downstream - -

    MOD2

    - -The body from the downstream - -

    MOD3

    - -The body from the downstream - -

    MOD4

    - -The body from the downstream - -

    MOD5

    - -The body from the downstream - -

    MOD6

    +
    body object
    The body from the downstream -
    +
    anyOf
  • string
  • number
  • integer
  • boolean
  • Array [
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/crm/unified-crm-api.info.mdx b/docs/docs/api/v2/crm/unified-crm-api.info.mdx index 680da932c2..76dd75bcac 100644 --- a/docs/docs/api/v2/crm/unified-crm-api.info.mdx +++ b/docs/docs/api/v2/crm/unified-crm-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.16.9 diff --git a/docs/docs/api/v2/crm/update-account.api.mdx b/docs/docs/api/v2/crm/update-account.api.mdx index 60584c3c45..40c3fd5afc 100644 --- a/docs/docs/api/v2/crm/update-account.api.mdx +++ b/docs/docs/api/v2/crm/update-account.api.mdx @@ -5,7 +5,7 @@ description: "Update account" sidebar_label: "Update account" hide_title: true hide_table_of_contents: true -api: eJztWntz27gR/yosOze9TE2JektOr63lR6okjl3JziVje3QgCUpISIIGQcmKR9+9uwApkbScxLm7mf5h2WOLxGKxb/zA5b3JYyqIZDwaeea+mcYekfTAdXkaSXPPlGSWmPtXZnYnMW/2zIS6qWByBffvzTuLxMz6TPHqZg2jMREkpJKKRI1HcAF87yw3TSQPqbCYB3xZBDfnlHhUwFXizmlIzP17U65iJE+kYNEMRugdCeMAb4WrLYuGud4zPZq4gsUoOgxfzKmRjxujI0POiTTSiN2mNFgZzKORZD6jCQwUCFlkrHgqDBLHAXOVGWBRQW9TJijYQ4qUrvcKWsSCL4CZsNSdH9EjIQFNfC5culuJfAUjW+FRYYh2yXRrz5jI+YMZ3yeV3ez0XcftWl27aVvtlk2sfrtPLUJ84jrE89sE5EX/IneayCH3VsiyupjLIwm2xqGCUeufElTw/qEs3PlEXYw00BsiUYKLNFuXC+/bdCX7PVQwSoOAOKihlm6r8AjEnOnANw7OR+gLFnkQF2L1NEYw+W8JTtduecrUifpiHGbRqJikoUPFlPtTCmN8RbWaGU+GQqtIe5Rps9e1bRs4LamTMPlEieZSxsl+vZ6kMZkFKa25PKyjXMTzBE2SkjRECLLC2JM0TL7tqozFVFPtCEbQHUtNLFhIBDIOCQv0GIesRbUdFmR3kjmLY/x6A9K5qho9zfSRcSJI5LLE5aigyqWn+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X0Tcj4OBtfFJ5UbCdf6U0WKl+pZo0E23fmQyjn3dOfXxdav6gDvm/WMJKnfb7vEa3zOrCqh7szDFlHo+EHy1TZdP8brrgjri+YDsLoByqpnWngZYIL4VJup8ErA1tIxe0PR1JtOek5T7aFXwPH5CJ8P47NgBTUAJS+g3oJT1INnjUYUVlYCgclwcx9ve9THOagt9pTLa1RbwcVOcNbe3chdbdk+0rHVXdhCE/aRzmqpsfp/1+aqdLR+dxNn26v5vgbMjv5Lua1S7WuonGGRz9HJGOjawXat0a0NCiXkMlJ9FuNwfJp5HLdkwG44L/d05ig8R4X6LORxN/l30YEwVs6i0uCD/P0rfIwRAmcv1TgRfn6lARDTvNuRi4aB/zPI9wJwv5uGABdUgNaMjzw1XIiCNIE5c5YoSpi8hCxUXMI0kAyDFEaFZ8UEa2XeNknUWZZFai1UP8f/NZTl6j2jy7xLk504fTgPA+HNz7mOaIVaKYxj2F2BLKzrmZaemWANeaHY/uVqnEb4ss05xGdIoi0zkUY1ADhhhDXHSaUEFZPF7MWWYrlc1mI9TS2Wr1xfcvE5iWEX2tyy4tQBkF/HptMCNFGLK6MPSaIqhHE5fnsd/fbbb9fR1wtfRpR392HxQmg8qMO730KR9E6ibZhiowLlPqvQV/nbO1ha9gtv8kCWIJRBivt7B6S+FMF6jbehogn1ktUewkymW454UmcJfvfyk3NVmE1byvx5nPW7XhiYC7uEzKt1hHVZ7a9wBV9VMS++caT22Kxm/7AUf+Q7WzvV0WJX3z3b6IUvU/2w4NX3tL4qQPW1sZIImugwOxRc6HcncooHrcTtDH24+CrtTQEjnB9cHP4H36HJ3twK9SYhyBLfGYO/++Y1/KjGszqSqD0T79+bAYlmqS7AmjEWWpJiKBe3eL2fZ18wLHbGU3Hv15rgX9RrJ/k/MG8BPPxzQ65HHp2wgRKamilEuF7/D1X77hE= +api: {"operationId":"updateAccount","tags":["Accounts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"description":{"type":"string","nullable":true,"example":"Integration API"},"industry":{"type":"string","nullable":true,"example":"API's"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_account"}},"required":["record"]}}}},"responses":{"200":{"description":"Account updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Update account","method":"patch","path":"/accounts/{account_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"description":"Integration API","industry":"API's","name":"Sample Customer","number_of_employees":276000,"website":"https://supaglue.com/","addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","lifecycle_stage":"subscriber","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Update account","description":{"type":"text/plain"},"url":{"path":["accounts",":account_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"account_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/update-contact.api.mdx b/docs/docs/api/v2/crm/update-contact.api.mdx index f1167a7422..bb005ef444 100644 --- a/docs/docs/api/v2/crm/update-contact.api.mdx +++ b/docs/docs/api/v2/crm/update-contact.api.mdx @@ -5,7 +5,7 @@ description: "Update contact" sidebar_label: "Update contact" hide_title: true hide_table_of_contents: true -api: eJztWntz2zYS/yo83nSmmZoSqbfU691JfuSUxLFPsttkbI8KkqCEhCRoEpSsevTdbxcgJZKWk9hNZ+4POxlbAhaLfeOHx73OIxoTwXg4dvWBnkYuEfSQh4I4Qj/QBZkn+uBKz1oS/eZAT6iTxkysof1evzNIxIzPFL/dbKA3IjEJqKBxIvtD+AJ87wwnTQQPaGwwF/iyEBoXlLg0hm+Js6AB0Qf3ulhHSJ6ImIVz6KF3JIh8bArWOxaWvjnQXZo4MYtQdOi+WFAt79fGR5pYEKGlIbtNqb/WmEtDwTxGE+goELJQW/M01kgU+cyRZoBJY3qbspiCPUSc0s1BQYso5ktgFhuy5Tl6JMSnicdjh+5XIp9By2Z4VBhHuWS2s2dExOLBiG+Tymy0e47tdIyO2TCNVtMkRq/VowYhHnFs4notAvKif5E7TcSIu2tkWZ0MpQJbY1fBqPVPCSp4/1AWbn+iMtJAb4hEAS5SbB0eu1+n81iciJmyyEP9wtT3iY0KKuF2+r6mPJ5LD/jkWQw+IAEMJ47D01B64UnjO61217I9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s9XKgHNjnFgzvH3Qi1C/ki7U0BTJwPLw7/gw+tsnd1gVp7YrLCF33we6Bfwz95WS73LnJxxfZ7WEPDeaoKsGKMhZakGMpFLKAW/uwDhsXeeCqCBKUJ/ka99pL/A/MWUMY/t+Sq59EBW8yhqJmEjpvN/wA56HpS +api: {"operationId":"updateContact","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"account_id":{"type":"string","nullable":true,"example":"64571bff-48ea-4469-9fa0-ee1a0bab38bd"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_contact"}},"required":["record"]},"examples":{"Example":{"value":{"record":{"first_name":"George","last_name":"Xing","account_id":"0ce05511-adbc-4144-a049-6631c7ea3b04"}}}}}}},"responses":{"200":{"description":"Contact updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Update contact","method":"patch","path":"/contacts/{contact_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"first_name":"George","last_name":"Xing","account_id":"64571bff-48ea-4469-9fa0-ee1a0bab38bd","addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","lifecycle_stage":"subscriber","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Update contact","description":{"type":"text/plain"},"url":{"path":["contacts",":contact_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"contact_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/update-lead.api.mdx b/docs/docs/api/v2/crm/update-lead.api.mdx index 4937edd5bb..251d3a9e90 100644 --- a/docs/docs/api/v2/crm/update-lead.api.mdx +++ b/docs/docs/api/v2/crm/update-lead.api.mdx @@ -5,7 +5,7 @@ description: "Update lead" sidebar_label: "Update lead" hide_title: true hide_table_of_contents: true -api: eJztWntz27gR/yosOzdzmTElinr7em0lP1IlcexK9l0ytkcHkqCEhCQYEJSsePTduwuQEinLSZzmpv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ZKH5xfahhrpc/8bosrh7yjesAWyngfD258JG9EKtbGg9geIMZFFdj7T0yBRz0QvF9i/X4yzGV4MuIFgjEm+ZiSyuAT6KYsxdbiYlmJguZi+2FMvlspboYUpYIbmO6ylNoIhtmqwkc2GPUMertAVYooQrpw9JqjKNcTV+cxP/8ccfN/GXE2hOVFylg/BSaFTTeGWON4lT0juJjmGKh4qS+zzBX6tMhO9QHBZvHMHKQwCEfff3Lih7JcL1GpshIQr1JtgBglOmbzdxf89S/O0X++1dNTaXWebP4/z+7oWBS2CfekWyjzGt5xd4JvxUtWDzWpQqy3m+/24VfuRbZXtt0Trvvh23MQpf9/puxXffJPuiArsvtlVU0ERH+T7iUr+cUFA8uH3cjtD7kS/S3paQxcXg8uhf+JJK/npZpKuEIEt8sQ3+Hpo38A9fZ9G7GFVvsf0eKmg8y2D3BDSaMSZXkmEEl+GBxgL5DwyLvcFUxg3aEvyLdu0l/xuuVQAef9+Q655HB2xgiKZmCkSu1/8BFEQYOQ== +api: {"operationId":"updateLead","tags":["Leads"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","example":"82de27cb-6f8c-4278-b783-82d1d916eddc"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"company":{"type":"string","nullable":true,"example":"Supaglue"},"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"lead_source":{"type":"string","nullable":true,"example":"API Blogger"},"title":{"type":"string","example":"Co-Founder"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"converted_contact_id":{"type":"string","nullable":true,"example":"ad43955d-2b27-4ec3-b38a-0ca07a76d43b"},"converted_account_id":{"type":"string","nullable":true,"example":"2e1e6813-0459-47f5-ad4c-3d137c0e1fdd"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_lead"}},"required":["record"]},"examples":{"Example":{"value":{"record":{"company":"Supaglue","first_name":"George","last_name":"Xing","lead_source":"API Blogger","title":"Co-Founder"}}}}}}},"responses":{"200":{"description":"Lead updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Update lead","method":"patch","path":"/leads/{lead_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"company":"Supaglue","first_name":"George","last_name":"Xing","lead_source":"API Blogger","title":"Co-Founder","email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","converted_contact_id":"ad43955d-2b27-4ec3-b38a-0ca07a76d43b","converted_account_id":"2e1e6813-0459-47f5-ad4c-3d137c0e1fdd","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Update lead","description":{"type":"text/plain"},"url":{"path":["leads",":lead_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"lead_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/update-opportunity.api.mdx b/docs/docs/api/v2/crm/update-opportunity.api.mdx index ac03b0ccbf..077b881e22 100644 --- a/docs/docs/api/v2/crm/update-opportunity.api.mdx +++ b/docs/docs/api/v2/crm/update-opportunity.api.mdx @@ -5,7 +5,7 @@ description: "Update opportunity" sidebar_label: "Update opportunity" hide_title: true hide_table_of_contents: true -api: eJztWnlz27oR/yooO28mmTEl6j7StPWZpyQ+Ktk5ansUkAQlJCRBg6BlxaPv3l2AlChZztWX/yx7bBFY7GIXe/zI5b0lEiap4iIe+FbfyhKfKnaaJEKqLOZqbu1Yik5Sq39prUY5S63rHStlXiaRpn95b93ZNOH2F4ZX1wuYTaikEVNMpno+hgsQcGd7WapExKTNfWDOYxicMuozCVepN2URtfr3lponSJ4qyeMJzLA7GiUhDkXzFYuatdixfJZ6kieoA0yfTxkp5snggKgpVQQ2fZOxcE64z2LFA1AAJkqEPCZzkUlCkyTknrYHCJXsJuOSgWGUzNhip6RFIsUtMJO2HvkVPVIasjQQ0mPblSgkkFzCo5sRq9Mar2yaUDV9sOrHdub1glbX6TZs2ug4drPjtmzqO3W716u1HUbrTqNTtxZ4xsidpWpP+HNkuSnME7ECe+NUybDVzykqef9wL8L9zDwFewHdwS21n2m2npD+9+loJDIjLafjIH6iDyTOwpC6qJ3Z2VLZmoMfOAAvFCkbo/dvM86j6626U6/bYJyac+44ff373wcH+jMM39NYgXcKkqWMgHoxScEzPYZODI7rk92zAQG/AQfm0rchzBT4NWpq4jhF6cY1fkbsCWN+SgYbfFII/q2MVgv30XA+eQ96wgLqeXgI6Ig/Jb7dbHVqbhDYzS6jdrPZ7tm9gDo2YzXquNRtdF0f+YtZzORPc+8FDdbrBL7d9FvwhwWe3Wv1fNt1mRtQz+mAxyP3hCcs5PEPmA49RiePMZxJ6KfbvJP6PkdL0vCs5Kdmb+vxvq9ZkZU74/m7DI41hWuwrs5iVDISC0U8ccsgyog7N0lMRJGIiR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obcA4fWzQke0QqWsaDWBmgZkUdWstM3KFIP1uWb7t8thFmPf+AyKY0TjFTOZxRWAFVGMwe1mSoGK6e3k+YpiNptVErNMCyskV2dCfkkTyP3LITvJXIDWVWz53IImWrg2+h5NdSiSi+Hbq/jTp09X8bczTE6kE6oRXnKNrdlvew9TsTuF9uGalXaW+zwvXlpreRFY9De605DHEE0g6f29CypcyHCxwGHII1K/PLCDSI+bVhveLPMUv/vFzevmrpadIevZMG87PScYGNt2W+TIGNXTJQ6u4KtOoZuddF3q8mz5yzv5K99H2KqS2frmexVL3fBFgV/e+OY7CN/cwOYrEWtbMET7OTY/Rz4rigcdvdUKg/G/SXtdKtNnu+f7fwK1m7+REAkfF0k6w3ch4G/fuoIfzNbmzkBXKxy/t0IaTzJTCwxjzLw0Q78uF1dTSfMv6BZbfapcdY0m+Bf12kr+DwxkKNv/XJKbmUcXLIu4oeYamC0W/wNsmi4b +api: {"operationId":"updateOpportunity","tags":["Opportunities"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"opportunity_id","in":"path","required":true,"schema":{"type":"string","example":"c9f58083-a370-47b5-ad02-99160ea20372"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"amount":{"type":"integer","nullable":true,"example":100000},"close_date":{"type":"string","nullable":true,"example":"2022-02-10T00:00:00Z"},"description":{"type":"string","nullable":true,"example":"Wants to use open source unified API for third-party integrations"},"name":{"type":"string","nullable":true,"example":"Needs Integrations"},"stage":{"type":"string","example":"Closed Won"},"account_id":{"type":"string","nullable":true,"example":"64571bff-48ea-4469-9fa0-ee1a0bab38bd"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"pipeline":{"type":"string","nullable":true},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_opportunity"}},"required":["record"]}}}},"responses":{"200":{"description":"Opportunity updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Update opportunity","method":"patch","path":"/opportunities/{opportunity_id}","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"amount":100000,"close_date":"2022-02-10T00:00:00Z","description":"Wants to use open source unified API for third-party integrations","name":"Needs Integrations","stage":"Closed Won","account_id":"64571bff-48ea-4469-9fa0-ee1a0bab38bd","owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","pipeline":"string","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Update opportunity","description":{"type":"text/plain"},"url":{"path":["opportunities",":opportunity_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"opportunity_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/upsert-account.api.mdx b/docs/docs/api/v2/crm/upsert-account.api.mdx index e86d6826c5..8b608bc113 100644 --- a/docs/docs/api/v2/crm/upsert-account.api.mdx +++ b/docs/docs/api/v2/crm/upsert-account.api.mdx @@ -5,7 +5,7 @@ description: "Upsert an account. If the account does not exist, it will be creat sidebar_label: "Upsert account" hide_title: true hide_table_of_contents: true -api: eJztWgtz27gR/isoOze9TE09Lcny9dpafqRK4tiV7LtkbI8MkaCEhCRoEJSs8+i/dxcgJZKSkjjXm2lnLHtskVgs9o0PjydLRExSxUXYd61DK4liJtWR44gkVNae5bLYkTzCdmi91q2EhoQaigrpe0RNWfZMXMFiEgpF2COP1R7hisy575MxI45kVDF3e5dN8iRyNflteBH6CxInUSQkvCCekGRIfRbDFwfYhC75VzKOI6GAFkRWdBJbhzdWqkRs3e1ZEZU0YIpJbHmyQngAdR5tJ4mVCJi0uQs9Oeo4ZdRlEp5iZ8oCah0+WWoRIXmsJA8n0MIeaRD5+CpYrFnUrWXZXlegZtZO+iegNlUkCflDwkAl7rJQcY+D+ipPyEOyEIkkNIp87mjfwKCSPSRcMnCSkglb7uW0iKSYATNp6zffo0e8sud2JbIRSDpCSRiwcMycRHK10PZ9tGnE7c8Mn+6wFelZrHrCXaA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TpUDFeDZ5taaYz+eVyHTTg2UjV+dCfo4jmANXr+woGcMSo4oHojPQRA+ujd6jsS4s5Hrw7ja8v7+/Db9cL1Oi7OYJDJ4Ljexe3/Zrf0/rc6j/kxuAJsEVe1ToSq611nH9lE5BN1Y2BQF5NglBHUDMh61PT2Mw8LX0l0t8DTVb6rtsmKiSm5P7G8QE6eSg9zd4jA1utt+w24g/DtJ5/xX5b94Q3Kq2qTPlm4663MB7C+8Rfrfg5VuBXxSgfEmxIIIhOk4XMVfmJlBGsXH0ue5hFkNfpL3LwZDLi+EVXghLryEGZjKSdI5XGuHvoXULP/oWhV5B6bkZ3z9ZPg0niSn0hi9WZppgMOWhhMEN6ReMiqwpXOSkzGMMowj+RbW2kv8NEx1Ayt9X5KZlZ4cVZDHUXAPY5fI/+loDWA== +api: {"operationId":"upsertAccount","description":"Upsert an account. If the account does not exist, it will be created. If the account does exist, it will be updated.\nOnly supported for Salesforce and Hubspot.\n","tags":["Accounts"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"description":{"type":"string","nullable":true,"example":"Integration API"},"industry":{"type":"string","nullable":true,"example":"API's"},"name":{"type":"string","nullable":true,"example":"Sample Customer"},"number_of_employees":{"type":"integer","nullable":true,"example":276000},"website":{"type":"string","nullable":true,"example":"https://supaglue.com/"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_account"},"upsert_on":{"type":"object","properties":{"key":{"type":"string","enum":["domain","website"],"description":"The key to upsert on. Only `website` is supported for Salesforce, while both `domain` and `website` are supported for Hubspot."},"values":{"type":"array","description":"The values to upsert on. If more than one value is provided, it will act as a logical OR. If more than one account is found that matches, then an error will be thrown.","items":{"type":"string","example":"mydomain.com"}}},"required":["key","values"]}},"required":["record","upsert_on"]}}}},"responses":{"201":{"description":"Account upserted","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"method":"post","path":"/accounts/_upsert","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"description":"Integration API","industry":"API's","name":"Sample Customer","number_of_employees":276000,"website":"https://supaglue.com/","addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","lifecycle_stage":"subscriber","custom_fields":{}},"upsert_on":{"key":"domain","values":["mydomain.com"]}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Upsert account","description":{"content":"Upsert an account. If the account does not exist, it will be created. If the account does exist, it will be updated.\nOnly supported for Salesforce and Hubspot.\n","type":"text/plain"},"url":{"path":["accounts","_upsert"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/upsert-contact.api.mdx b/docs/docs/api/v2/crm/upsert-contact.api.mdx index 051ce06b98..b6349f06ff 100644 --- a/docs/docs/api/v2/crm/upsert-contact.api.mdx +++ b/docs/docs/api/v2/crm/upsert-contact.api.mdx @@ -5,7 +5,7 @@ description: "Upsert a contact. If the contact does not exist, it will be create sidebar_label: "Upsert contact" hide_title: true hide_table_of_contents: true -api: eJztWglz27gV/iusOjuzmZq6D8vbbeszVRLHrmTvJmN7FJAEJSQkQQOgjnj03/seQEokJSdxNjvTztjJJCbw3gPeiQ/HQ4XHVBDFeDTwKgeVJJZUqGMeKeKqyl7Fo9IVLMZ+6L3WvRaxXENQtQa+paY0+7Y8TqUVcWXRBZNqz2LKmrMgsBwgEZQo6u1m2SZPYk+T30YXUbC0ZBLHXECD5XNhjUhAJfzi0j3r34kjYw7MJPKsSxZTT7AZBT6YvSITWTm4qaT6yMrdXkVSNxFMLaH9obKwSczsTxS/7lbQGxNBQqqokLo/gg/Qe2G7iVQ8pMJmHshlaIwpJR4V8CXdKQ1J5eChopYxkkslWDSBHrogYRxgU7jciGhUVmXDXqFB0n5rcAIGIspKInafUFCeeTRSzGdgKJUnZJG15ImwSBwHzNVOhEEFvU+YoOBNJRK62stpEQs+A2HC1i3fo4dcW363EtkIVjpCaTJ3poVKdcS9JQ5VJNirYFiAttiVU6v2UeIQD9tz5M5HqiMVRoZIVmAkI9blwvs6nc+EVGNjoG29oyQIiIOKm8lt7PCScjHRNgjIdwl4hwTATlyXJ5EaM+9p/N12p9dwfN9u71Nit9vdvt33Sd2mtEHqDnFa+46n5XueoFIabVPxRAiyRPcrGsqv2ygVMTZUO6IjSkLMsliwkAgUHBIWmD4OAYux5UBamxY5ZXGMv97B7FydiE/Re0Qi60yQyGXS5aigNp94opTr0SHyxlwqEoxd7j3Re/12o95DCcCvnsh7fGgYBaVq3Hgab6fZsY5A+4hEOSHNJw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z0ms6tj/A0h1NElP3jVws0iTBYMpDEIM30l8wKrKuaJmbZR6bGEXwX1RrJ/nfMecB3PxjTW56HmVYQx1DzTTwXa3+CxXDU8Y= +api: {"operationId":"upsertContact","description":"Upsert a contact. If the contact does not exist, it will be created. If the contact does exist, it will be updated.\nOnly supported for Salesforce, Hubspot, and Pipedrive.\n","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"account_id":{"type":"string","nullable":true,"example":"64571bff-48ea-4469-9fa0-ee1a0bab38bd"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","enum":["primary","mobile","fax","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"lifecycle_stage":{"type":"string","nullable":true,"enum":["subscriber","lead","marketingqualifiedlead","salesqualifiedlead","opportunity","customer","evangelist","other"],"title":"lifecycle_stage"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_contact"},"upsert_on":{"type":"object","properties":{"key":{"type":"string","enum":["email"],"description":"The key to upsert on. Only `email` is supported for all providers."},"values":{"type":"array","description":"The values to upsert on. If more than one value is provided, it will act as a logical OR. If more than one account is found that matches, then an error will be thrown.","items":{"type":"string","example":"hello@example.com"}}},"required":["key","values"]}},"required":["record","upsert_on"]}}}},"responses":{"201":{"description":"Contact upserted","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"method":"post","path":"/contacts/_upsert","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"first_name":"George","last_name":"Xing","account_id":"64571bff-48ea-4469-9fa0-ee1a0bab38bd","addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"primary"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","lifecycle_stage":"subscriber","custom_fields":{}},"upsert_on":{"key":"email","values":["hello@example.com"]}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Upsert contact","description":{"content":"Upsert a contact. If the contact does not exist, it will be created. If the contact does exist, it will be updated.\nOnly supported for Salesforce, Hubspot, and Pipedrive.\n","type":"text/plain"},"url":{"path":["contacts","_upsert"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/crm/upsert-lead.api.mdx b/docs/docs/api/v2/crm/upsert-lead.api.mdx index e756c51dd4..2f1b5b9885 100644 --- a/docs/docs/api/v2/crm/upsert-lead.api.mdx +++ b/docs/docs/api/v2/crm/upsert-lead.api.mdx @@ -5,7 +5,7 @@ description: "Upsert a lead. If the lead does not exist, it will be created. If sidebar_label: "Upsert lead" hide_title: true hide_table_of_contents: true -api: eJztWm1v2zgS/is6LRbYApEt27Edp7d3F+elcNs0OTvZbZEELi1RNltJVEkqjhv4v98MKdmS7KRNrwvsh7hFEpPDGc4Lhw85vLd5QgVRjMcD396300RSod5S4ts7tk+lJ1iCndB1qbssYoXQW7MGgaVmVH+xfE6lFXNl0Tsm1Y7FlDVnYWhNqOUJShTdRr9Jmya+pr2Oz+JwYck0SbiABivgwhqRkEr4w6PQD5NTZCrt/Ssb5yrtmx1bUi8VTC2g8d6+c0jCnM8Uv90soTchgkRUUSF1fwxfQKc7x0ul4hEVDkONGSo6A45UwDfpzWhE7P17Wy0SJJdKsHgKPfSOREmITdFizaJhL6tGuwCV835rcAQmIMpKY/YlpaAh82msWMDAGqpIyGJrwVNhkSQJmae9A0IF/ZIyQcFNSqR0uVPQIhH8FpgJR7f8iB5yZd7tSuQSrExCZTI3poVK1ef+AkWVCXZsj8cKtMWuglr1TxJF3G/OkU8+UU+BJJAMIarASIatx4X/bTqPRwmJF9uUjtMwJBPU2sxsbYRRmpBpmGoTBExINTYWfgqPV5SLqeYQkh9i8B4JcDi4bywhDLwnMjg4H1j9kE+n4Hzgo5gKt3JYjzjkzglPY98MAD+wcEx8X1ApjTWzoUQIssDwUjSS3/ZBidHjM5jRMOT/kZn9a+C9jZmMzegtXOI0wkyQCBYRgfObc/EZfnFYVMK+WS6L4XpVmdZWKTfLwuSuNjTZNt3tszVTweWRuWHDuiDpJ5j66TbCaZg+Y6YdewJp2LTIGUsS/BPt4Omc+qRlRGLrRJDYY9LjqKAHwaXEE7lcjg5wbMKlIuHY4/4Tl0Fvt+F2kQOMV08ce3hgBgpK1bjxtLHtZtvqg/YxiQtMmk9igh3VsC25OHPL2rRlQ+VKF3QozKQa3ZWQXXk/933FoQV/gpMqknO7r8yOtiyasmSfonm0zoWFUloifB5TMWb+E0MgaNFeN/CdXb8NP2j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1T0T12+YG4F2B7YPzgS5p5kl3hBjXqF94d7G2YMLe6Nvc1XOFnKb6UKECsM8H+W26hiuAtG8hZ4Ox9R24QTQab+sJgSkQIAzXzxCOc2BcfDawehiwrvaXi/15Bb9UwDdV+UpRvlRpX7uoUE3fUkz/OdXkMsO/VwFvXav7vgLcQ/W37yuqPVRT+75C2WadbFktFOlgzio+63LN1ZYihi5TsDjgOAzXmoljt9bo1HqFALmM8c2Pbx0OT3XomhoEqI3jsngrBKcRvW/73JPVKCkv5Or7ifJ6+gU+1gDxv58auAv//qQhENO88JZPDSP7N5jfCzi+eGkEqEdvxDXrA08tD6IplVjzYVJTwuA5JALNJUpDxcAi2Ct8JyGY8vMKntRHchZrWah+foyp4Vyu/mB0nhcMs4MzPv0Cwpvfch3RCrWiovUEQAKQRXUz0jEjJaaxF5rtP66GaYyPqs4hziMSr5mJNK4BTotiTHuTVClQUd5OX6wp5vN5LTHDtLBcch2XokxgM101OUk6gbNKHeuft6CJFq6N3idSJynrcvj2Ov748eN1/HjuzYjy9w8gvBAa2UO8cMsjvft1Netv917P5CZF7xR6jGnldPjeZ1vWlc6u+CIn37QgmSBAxK77+wkY8VKEyyU2Q44X+m0frkjBTKn8CgFEtpnoyxAmscPPLycettVvwwwkvLB+5ou9rTqbfFJ9eajzCrTb+K7vhydefaX36ASqjwZLUzBEh9mJ58K8OckpNuqk6xHm5PQo7U0Bs5yfjS7w6VH2aDAyO5Agc3xiCD/37Wv4h4+UzHFL7+XYfg+7czxN4ZgHNIYvZl+SYiQVoYfBGdkfGBV5V7wozLKISYwi+BPV2kr+T1zMAGr+tSI3PQ8OWEEcQ8002l0u/weV7dAP +api: {"operationId":"upsertLead","description":"Upsert a lead. If the lead does not exist, it will be created. If the lead does exist, it will be updated.\nOnly supported for Salesforce.\n","tags":["Leads"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"company":{"type":"string","nullable":true,"example":"Supaglue"},"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"lead_source":{"type":"string","nullable":true,"example":"API Blogger"},"title":{"type":"string","example":"Co-Founder"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","enum":["primary","work","other"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"addresses":{"type":"array","items":{"type":"object","properties":{"address_type":{"type":"string","enum":["primary","mailing","other","billing","shipping"]},"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["address_type","city","country","postal_code","state","street_1","street_2"]},"example":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"addresses"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"converted_contact_id":{"type":"string","nullable":true,"example":"ad43955d-2b27-4ec3-b38a-0ca07a76d43b"},"converted_account_id":{"type":"string","nullable":true,"example":"2e1e6813-0459-47f5-ad4c-3d137c0e1fdd"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_update_lead"},"upsert_on":{"type":"object","properties":{"key":{"type":"string","enum":["email"],"description":"The key to upsert on. Only `email` is supported."},"values":{"type":"array","description":"The values to upsert on. If more than one value is provided, it will act as a logical OR. If more than one account is found that matches, then an error will be thrown.","items":{"type":"string","example":"hello@example.com"}}},"required":["key","values"]}},"required":["record","upsert_on"]}}}},"responses":{"201":{"description":"Lead upserted","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"method":"post","path":"/leads/_upsert","servers":[{"url":"https://api.supaglue.io/crm/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"company":"Supaglue","first_name":"George","last_name":"Xing","lead_source":"API Blogger","title":"Co-Founder","email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"addresses":[{"address_type":"shipping","city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","converted_contact_id":"ad43955d-2b27-4ec3-b38a-0ca07a76d43b","converted_account_id":"2e1e6813-0459-47f5-ad4c-3d137c0e1fdd","custom_fields":{}},"upsert_on":{"key":"email","values":["hello@example.com"]}},"info":{"version":"0.16.9","title":"Unified CRM API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (CRM) documentation. You can use this API to write to multiple third-party providers within the CRM category.\n\n[View common schema for CRM](https://docs.supaglue.com/platform/common-schemas/crm)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/crm/v2\n```\n"},"postman":{"name":"Upsert lead","description":{"content":"Upsert a lead. If the lead does not exist, it will be created. If the lead does exist, it will be updated.\nOnly supported for Salesforce.\n","type":"text/plain"},"url":{"path":["leads","_upsert"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/crm/unified-crm-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/data/data-listing-api.info.mdx b/docs/docs/api/v2/data/data-listing-api.info.mdx index d9cc0ded96..f2d45d5faf 100644 --- a/docs/docs/api/v2/data/data-listing-api.info.mdx +++ b/docs/docs/api/v2/data/data-listing-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.13.13 diff --git a/docs/docs/api/v2/data/list-hubspot-companies.api.mdx b/docs/docs/api/v2/data/list-hubspot-companies.api.mdx index 7c0f1e335c..1a28815538 100644 --- a/docs/docs/api/v2/data/list-hubspot-companies.api.mdx +++ b/docs/docs/api/v2/data/list-hubspot-companies.api.mdx @@ -5,7 +5,7 @@ description: "**NOTE**: To use the Data Listing API you need to use the Supaglue sidebar_label: "List companies" hide_title: true hide_table_of_contents: true -api: eJzdWWtT20YX/itb90N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rl4R3yPT8afEWW1Y8fS7p0W/Yg7cWmtLb24QDFXxQGfxwOsPJJMADKGdml3+wHVEu+JNLS3eVU7cjjv8jMxu2/IWJArv/fYnvxeWfjgUXmd7tRFVja/AM4jzGw +api: {"operationId":"listHubspotCompanies","description":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","tags":["Hubspot"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true}],"responses":{"200":{"description":"Companies","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"101","description":"the unique identifier for the company. This field is set automatically and cannot be edited. This can be used when updating companies through importing or through API."},"description":{"type":"string","nullable":true,"example":"Open-source developer platform for customer-facing integrations","description":"a short statement about the company's mission and goals."},"city":{"type":"string","nullable":true,"example":"San Francisco","description":"the city where the company is located."},"country":{"type":"string","nullable":true,"example":"United States","description":"the country where the company is located."},"zip":{"type":"string","nullable":true,"example":"94025","description":"postal or zip code for the company."},"state":{"type":"string","nullable":true,"example":"CA","description":"the state or region where the company is located."},"address":{"type":"string","nullable":true,"example":"525 Brannan St","description":"the street address of the company."},"phone":{"type":"string","nullable":true,"example":"(650) 450-8810","description":"the company's primary phone number."},"industry":{"type":"string","nullable":true,"example":"COMPUTER SOFTWARE","description":"the type of business the company performs. By default, this property has approximately 150 pre-defined options to select from. These options cannot be deleted, as they are used by HubSpot Insights, but you can add new custom options to meet your needs."},"name":{"type":"string","nullable":true,"example":"Supaglue","description":"the name of the company."},"numberofemployees":{"type":"string","nullable":true,"example":"3000","description":"total number of people who work for the company."},"hubspot_owner_id":{"type":"string","nullable":true,"example":"101","description":"the HubSpot user that the company is assigned to. You can assign additional users to a company record by creating a custom HubSpot user property."},"domain":{"type":"string","nullable":true,"example":"uos.com.sg","description":"the company's website domain. HubSpot Insights uses this domain to provide you with basic information about the company. Every property marked with an asterisk (*) can be populated automatically by HubSpot Insights once the domain name is populated."},"website":{"type":"string","nullable":true,"example":"http://www.uos.com.sg","description":"the company's web address. Filling in this property will also fill in Company domain name."},"is_deleted":{"type":"boolean","example":false,"description":""},"createdate":{"type":"string","format":"date-time","example":"2023-08-01T20:58:17.725Z","description":"the date the company was added to your account."},"notes_last_updated":{"type":"string","format":"date-time","example":"2023-08-01T20:58:17.725Z","description":"the last date and time a note, call, tracked and logged sales email, meeting, LinkedIn/SMS/WhatsApp message, task, or chat was logged on the company record. This is set automatically by HubSpot based on the most recent date/time set for an activity. For example, if a user logs a call and indicates that it occurred the day before, the Last activity date property will show yesterday's date."},"raw_data":{"type":"object","description":"The raw data returned by the provider.","additionalProperties":true}},"required":["id","description","hubspot_owner_id","city","country","zip","state","address","phone","fax","industry","name","numberofemployees","website","domain","is_deleted","createdate","notes_last_updated","raw_data"],"title":"hubspot_company"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/hubspot/companies","servers":[{"url":"https://api.supaglue.io/data/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.13","title":"Data Listing API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Provider API documentation for Data Listing. You can use this API to list standard and custom objects to sync them from Supaglue to your database.\n\n:::info\n**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n:::\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/data/v2\n```\n"},"postman":{"name":"List companies","description":{"content":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","type":"text/plain"},"url":{"path":["hubspot","companies"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/data/data-listing-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/data/list-hubspot-contacts.api.mdx b/docs/docs/api/v2/data/list-hubspot-contacts.api.mdx index c396bd30bc..31ba20d04a 100644 --- a/docs/docs/api/v2/data/list-hubspot-contacts.api.mdx +++ b/docs/docs/api/v2/data/list-hubspot-contacts.api.mdx @@ -5,7 +5,7 @@ description: "**NOTE**: To use the Data Listing API you need to use the Supaglue sidebar_label: "List contacts" hide_title: true hide_table_of_contents: true -api: eJzdWW1X27gS/iva9MNCT0icAN1uzu49lwK3my5JoYRygHKoYiuJgi15JTnBcPLf74xkxw5Jm6bbT23piy1p5tHomReNnyoyZooaLkU7qLQqIdfmr6SvY2kOpTDUN7pSrQRM+4rHOAvmvHzZfd87fvmyRXqSJJoRM2LkiBpKTmA1F0NycNomqUyIYCwgpph0nsR0GCaMdKigQxg7YrjAqidUBESzkPmG3JwbeKIqIO/7Y3ihb7dGxsS6Va8H0tc1ncmp+TKqC/Zg6nFIzUCqqC7dgrqcMDXhbPrCl2LAh4nb4zai6TOiU+GzoPZJwOYMHepK66aSbbtyW61o5ieKmxReP1UedmjMd+4ZPt3OYDSmikbMMKXtuIAHsEokAz7gLLijAxgCuRxt9U/CVAoP2h+xiFZaTxWTxjhdGwWWghFETQ28CahhO4aDsGqFPdAoDnFe02vu7njNneZuz/Na9qfmed51Zfb8WNoDEis54QELqmTKw5BIEaZEMZMoQTK7kBwmsTDhVLgmqNkqnlXn2wEDszvNH9m376QA3WjuLuPrJlEfNMoBQNJJCFjgLDJ0wEGCGmtkq0MfWqQBW9wuw4Hz0HIDqxZY/CMv7Ry1H056B/in+ffjweO7XvdNZ3wWdrzjRifd8zqPZ4+d8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Fhv0kfqYmPGwK93bzy82HRGDaO4UADfVOoVAlohbDO4E+0U+MgduKngy3ixnT6bQWu2UWUI6uPoU6ScfUZ/NXO3HSD7k/R7eNyi0l3oCZrd0uPpx8Ep8/f/4k1jhmNsu2MJz2EnPxJIj/hc8oT0Xz9Kf7ouJijcnEcGse659PWVS8yUNt4fG29TgCG+Lo0xMy/kKFsxm+dv1+jJYB11joBatbE2Wb/oDPIV/YiY2oy9973IcA2zfbBOfmn0W+Cqv83eY7EX3tO8dXdc8/0hSKb/FBcVec39ziFcwlmM0Oc+tDloS3yY/8+vGVvTz/irNgSzflAJJebEpjS59AcPvzquDtcQ+LmgT5X87HLvlm/0Gz5EMiLckuJ2qnHv9GMCun/4EBAzL9f+bTi+9UKxfM876bjabAuub/NTZvXQ== +api: {"operationId":"listHubspotContacts","description":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","tags":["Hubspot"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true}],"responses":{"200":{"description":"Contacts","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"501","description":"the unique identifier for the contact. This field is set automatically and cannot be edited. This can be used when updating contacts through importing or through API."},"email":{"type":"string","nullable":true,"example":"team@supaglue.com","description":"the contact's primary email address."},"associatedcompanyid":{"type":"string","nullable":true,"example":"101","description":""},"firstname":{"type":"string","nullable":true,"example":"Jane","description":"the contact's first name."},"phone":{"type":"string","nullable":true,"example":"(650) 450-8812","description":"the contact's primary phone number. The phone number is validated and formatted automatically by HubSpot based on the country code. You can select to turn off automatic formatting on a contact record, either when editing the Phone number property, or adding a phone number to call."},"is_deleted":{"type":"boolean","example":false,"description":"Indicates whether the object has been moved to the Recycle Bin (true) or not (false)."},"lastname":{"type":"string","nullable":true,"example":"Doe","description":"the contact's last name."},"city":{"type":"string","nullable":true,"example":"Palo Alto","description":"the contact's city of residence."},"country":{"type":"string","nullable":true,"example":"United States","description":"the contact's country of residence. This might be set via import, form, or integration."},"zip":{"type":"string","nullable":true,"example":"94303","description":"the contact's zip code."},"state":{"type":"string","nullable":true,"example":"CA","description":"the contact's state of residence."},"address":{"type":"string","nullable":true,"example":"4 Giro's Passage","description":"the contact's street address, including apartment or unit #."},"mobilephone":{"type":"string","nullable":true,"example":"(650) 450-8811","description":"the contact's mobile phone number. The phone number is validated and formatted automatically by HubSpot based on the country code. You can select to turn off automatic formatting on a contact record, either when editing the Mobile phone number property, or adding a phone number to call."},"hubspot_owner_id":{"type":"string","nullable":true,"example":"1450461","description":"the owner of the contact. This can be any HubSpot user or Salesforce integration user and can be set manually or via Workflows. You can assign additional users to the contact record by creating a custom HubSpot user field type property."},"fax":{"type":"string","nullable":true,"example":"(650) 450-8810","description":"the contact's primary fax number."},"jobtitle":{"type":"string","nullable":true,"example":"CEO","description":"the contact's job title."},"createdate":{"type":"string","format":"date-time","example":"2023-08-01T20:58:17.725Z","description":"the date that the contact was created in your HubSpot account."},"notes_last_updated":{"type":"string","format":"date-time","example":"2023-08-01T20:58:17.725Z","description":"the last date and time a note, call, tracked and logged sales email, meeting, LinkedIn/SMS/WhatsApp message, task, or chat was logged on the contact record. This is set automatically by HubSpot based on the most recent date/time set for an activity. For example, if a user logs a call and indicates that it occurred the day before, the Last activity date property will show yesterday's date."},"raw_data":{"type":"object","description":"The raw data returned by the provider.","additionalProperties":true}},"required":["id","email","associatedcompanyid","firstname","phone","is_deleted","lastname","city","country","zip","state","address","mobilephone","hubspot_owner_id","fax","jobtitle","createdate","notes_last_updated","raw_data"],"title":"hubspot_contact"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/hubspot/contacts","servers":[{"url":"https://api.supaglue.io/data/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.13","title":"Data Listing API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Provider API documentation for Data Listing. You can use this API to list standard and custom objects to sync them from Supaglue to your database.\n\n:::info\n**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n:::\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/data/v2\n```\n"},"postman":{"name":"List contacts","description":{"content":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","type":"text/plain"},"url":{"path":["hubspot","contacts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/data/data-listing-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/data/list-salesforce-accounts.api.mdx b/docs/docs/api/v2/data/list-salesforce-accounts.api.mdx index a1d3a214df..0368a768e3 100644 --- a/docs/docs/api/v2/data/list-salesforce-accounts.api.mdx +++ b/docs/docs/api/v2/data/list-salesforce-accounts.api.mdx @@ -5,7 +5,7 @@ description: "**NOTE**: To use the Data Listing API you need to use the Supaglue sidebar_label: "List accounts" hide_title: true hide_table_of_contents: true -api: eJzdGWlT4zj2r2g8Hwa6yEEYdmtTM1MLhJ1NDwlXaIoARSu2QhRsySPJSQyV/77vSU5sknBl2dqqoaHB1tO77zx5MmaKGi5FM/DqXsi1Oach032pfLbn+zIRRntbXsC0r3iMgAD25Uv7uHP45UuddCRJNCNmwEiDGkqOAAEX92TvpElSmRDBWEBMDnSexPQ+TBhpUUHv4azB8ILlgFAREM1C5htyfW7giaqAHP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0d2J4Qu0KOalZHJer2Oir0Rf6VVLwiFsl3/cH2WCGwgMZdEVOQEVSLKMbwTGBO9xBgpynp0v5lDjMfjcuyuWYZm3FWwr9AxhQCcvSrFSS/k/py7TSRuXWIf1Gz1BlX6Rnz//v1GvBGYGZTdODnqBc9FSxD6wrL+Kd/P/eX29i7XmAwNt+qx8fmUJcbrQsLF6jfTESSyAagRAZ6e0OkvVDid4mu3VcaEGXCNTRfkWtvJvKLWT1i6vyCMTarLnyq4dXPdsxvn9/P58eX7q2wVPx1Yk6PXtumv0p5/FJATvsUHxV2jfH0LoFmN+ZgxN86yUrxJPnPH/oosi58VPNOlA9mDuhebwtnSoh3Fn/cGvx920NsTDIFiSXb1N/sD1TI7EmkBd7FWO/L4PzKzEvwXzBlQ7H+bg+efhqy8MC/9DhpVgd3NfwBwH+ah +api: {"operationId":"listSalesforceAccounts","description":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","tags":["Salesforce"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true}],"responses":{"200":{"description":"Accounts","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"Id":{"type":"string","description":"The unique identifier for this account."},"Description":{"type":"string","nullable":true,"description":"A description of the contact."},"BillingCity":{"type":"string","nullable":true,"description":"The city of the billing address of this contact."},"BillingCountry":{"type":"string","nullable":true,"description":"The country of the billing address of this contact."},"BillingPostalCode":{"type":"string","nullable":true,"description":"The postal code of the billing address of this contact."},"BillingState":{"type":"string","nullable":true,"description":"The state of the billing address of this contact."},"BillingStreet":{"type":"string","nullable":true,"description":"The street of the billing address of this contact."},"ShippingCity":{"type":"string","nullable":true,"description":"The city of the shipping address of this contact."},"ShippingCountry":{"type":"string","nullable":true,"description":"The country of the shipping address of this contact."},"ShippingPostalCode":{"type":"string","nullable":true,"description":"The postal code of the shipping address of this contact."},"ShippingState":{"type":"string","nullable":true,"description":"The state of the shipping address of this contact."},"ShippingStreet":{"type":"string","nullable":true,"description":"The street of the shipping address of this contact."},"Phone":{"type":"string","nullable":true,"description":"The account's phone number."},"Fax":{"type":"string","nullable":true,"description":"The account's fax number."},"Industry":{"type":"string","nullable":true,"description":"The type of industry in which the account operates."},"LastActivityDate":{"type":"string","nullable":true,"example":"2022-02-27T00:00:00Z","format":"date-time","description":"The date of the last activity on an account. The LastActivityDate is set to whichever is more recent -- the LastActivityDate of a related task or event or the LastModifiedDate of an account's record."},"Name":{"type":"string","nullable":true,"description":"The name of the account. Maximum size is 255 characters."},"NumberOfEmployees":{"type":"integer","nullable":true,"description":"The number of employees that work at the account."},"OwnerId":{"type":"string","nullable":true,"description":"ID of the user who owns this account. This is a relationship field."},"Website":{"type":"string","nullable":true,"description":"The account's website URL."},"IsDeleted":{"type":"boolean","description":"Indicates whether the object has been moved to the Recycle Bin (true) or not (false)."},"CreatedDate":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z","description":"The date and time when this contact was created."},"SystemModstamp":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z","description":"The date and time when this contact was last modified."},"raw_data":{"type":"object","description":"The raw data returned by the provider.","additionalProperties":true}},"required":["Id","Description","OwnerId","BillingCity","BillingCountry","BillingPostalCode","BillingState","BillingStreet","ShippingCity","ShippingCountry","ShippingPostalCode","ShippingState","ShippingStreet","Phone","Fax","Industry","LastActivityDate","Name","NumberOfEmployees","Website","IsDeleted","CreatedDate","SystemModstamp","raw_data"],"title":"salesforce_account"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/salesforce/accounts","servers":[{"url":"https://api.supaglue.io/data/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.13","title":"Data Listing API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Provider API documentation for Data Listing. You can use this API to list standard and custom objects to sync them from Supaglue to your database.\n\n:::info\n**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n:::\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/data/v2\n```\n"},"postman":{"name":"List accounts","description":{"content":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","type":"text/plain"},"url":{"path":["salesforce","accounts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/data/data-listing-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/data/list-salesforce-contacts.api.mdx b/docs/docs/api/v2/data/list-salesforce-contacts.api.mdx index 3450953d73..2e432046d1 100644 --- a/docs/docs/api/v2/data/list-salesforce-contacts.api.mdx +++ b/docs/docs/api/v2/data/list-salesforce-contacts.api.mdx @@ -5,7 +5,7 @@ description: "**NOTE**: To use the Data Listing API you need to use the Supaglue sidebar_label: "List contacts" hide_title: true hide_table_of_contents: true -api: eJzdWelSIzkSfhVtzY+BDnxguvdw7GwsjZkZ92A3h2mCK2i5SsYyVVKNpPIB4XffTKnsko/mjtiIaQx0laTML+9U8hDIlClquBTNKKgHMdfmhMZM96QK2Z4UhoZGB1tBxHSoeIobYduHD+2vnf0PH+qkI0mmGTF9RhrUUHIABLi4JbuHTTKRGRGMRcQUm06ylN7GGSMtKugtrDUYHrAICBUR0SxmoSGXJwaeqIrI1+4AXujrjb4xqa5XKpEMdVnndMqhTCqCjU0ljakB1ElFugMVOWRqyNnop1CKHr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1KadWMeztFtInPrEp9BzVZvp8cHV+L79+9X4onAzHfZSYvj7nkuWoKEPxhSPxRzqb/cvNrlGpOT4VY9Nj4f8sR46SXcIujtYKcPasQNDw/o9Kcqnk7xtZumYsKMuMbmBXKtvdI+otZ3GDb/QBibVFen6W7MWg/spPX5OF8+dH4Ulj8VfyWix6bIj/Kej8ALxtf4oLhrOC+vYWteY15mzI3jvBRvkvecLT8iy/KMfEGXbgs0USw13trKgBnFn/cGv+13sH3LMAT8kuzqb/4fVMtsSUw82n6tduzxJ4JZu/3fmDOg2P9nvr34K8DaA/PS73ajKrC7+R/4HYEL +api: {"operationId":"listSalesforceContacts","description":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","tags":["Salesforce"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true}],"responses":{"200":{"description":"Contacts","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},"records":{"type":"array","items":{"type":"object","properties":{"Id":{"type":"string","description":"The unique identifier for this contact."},"Description":{"type":"string","nullable":true,"description":"A description of the contact."},"Email":{"type":"string","nullable":true,"description":"The contact's email address."},"AccountId":{"type":"string","nullable":true,"description":"ID of the account that's the parent of this contact. This is a relationship field."},"FirstName":{"type":"string","nullable":true,"description":"The contact's first name up to 40 characters."},"HomePhone":{"type":"string","nullable":true,"description":"The contact's home phone number."},"IsDeleted":{"type":"boolean","description":"Indicates whether the object has been moved to the Recycle Bin (true) or not (false)."},"LastActivityDate":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z","nullable":true,"description":"The date of the last activity on a contact. The LastActivityDate is set to whichever is more recent -- the LastActivityDate of a related task or event or the LastModifiedDate of a contact's record."},"LastName":{"type":"string","nullable":true,"description":"The contact's last name. Maximum size is 80 characters."},"LeadSource":{"type":"string","nullable":true,"description":"The source of the lead."},"MailingCity":{"type":"string","nullable":true,"description":"The city of the mailing address of this contact."},"MailingCountry":{"type":"string","nullable":true,"description":"The country of the mailing address of this contact."},"MailingPostalCode":{"type":"string","nullable":true,"description":"The postal code of the mailing address of this contact."},"MailingState":{"type":"string","nullable":true,"description":"The state of the mailijng address of this contact."},"MailingStreet":{"type":"string","nullable":true,"description":"The street of the mailing address of this contact."},"MobilePhone":{"type":"string","nullable":true,"description":"The contact's mobile phone number."},"OwnerId":{"type":"string","nullable":true,"description":"ID of the user who owns this contact. This is a relationship field."},"Phone":{"type":"string","nullable":true,"description":"The contact's phone number."},"Fax":{"type":"string","nullable":true,"description":"The contact's fax number."},"Title":{"type":"string","nullable":true,"description":"The contact's title."},"CreatedDate":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z","description":"The date and time when this contact was created."},"SystemModstamp":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z","description":"The date and time when this contact was last modified."},"raw_data":{"type":"object","description":"The raw data returned by the provider.","additionalProperties":true}},"required":["Id","Description","Email","AccountId","FirstName","HomePhone","IsDeleted","LastActivityDate","LastName","LeadSource","MailingCity","MailingCountry","MailingPostalCode","MailingState","MailingStreet","MobilePhone","OwnerId","Phone","Fax","Title","CreatedDate","SystemModstamp","raw_data"],"title":"salesforce_contact"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/salesforce/contacts","servers":[{"url":"https://api.supaglue.io/data/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.13","title":"Data Listing API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Provider API documentation for Data Listing. You can use this API to list standard and custom objects to sync them from Supaglue to your database.\n\n:::info\n**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n:::\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/data/v2\n```\n"},"postman":{"name":"List contacts","description":{"content":"**NOTE**: To use the Data Listing API you need to use the Supaglue Managed Destination and select [Standard Objects](https://docs.supaglue.com/next/platform/objects/overview#configuration) to be synced.\n","type":"text/plain"},"url":{"path":["salesforce","contacts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/data/data-listing-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/create-account.api.mdx b/docs/docs/api/v2/engagement/create-account.api.mdx index 4c262a945a..20a0798ea1 100644 --- a/docs/docs/api/v2/engagement/create-account.api.mdx +++ b/docs/docs/api/v2/engagement/create-account.api.mdx @@ -5,7 +5,7 @@ description: "Create account" sidebar_label: "Create account" hide_title: true hide_table_of_contents: true -api: eJztWXtz2joW/ypa37kz7QwGY97pdneTQDq0TZMF+tokw5UtAWpty5FlHs3w3fdIssFA0qad2/9CMiGWjo7OOTqPn3XuLB5TgSXjUZ9YR5YvKJb02Pd5GkmrZEk8TayjKysbSaybkpVQPxVMrmD8zlraOGb2V6qebtYwG2OBQyqpSPR8BA/Ad2n7aSJ5SIXNCPBlEQzOKCZUwFPiz2iIraM7S65iRZ5IwaIpzNAlDuNADYWrLYuqtS5ZhCa+YLESHaZHM4ryedTvIjnDEqURu01psEKM0EiyCaMJTBQIWYRWPBUIx3HAfG0G2FTQ25QJCvaQIqXrUkGLWPA5MBO2HvkVPXgqwcb+7H4Vcv4o478nyo0ZoYk84WSlNtolKFk+jyToqqYKSlW+JGqLu0MJufeF+uqkYWfwBAkmMmx9LsiP6YxhDvWN0iDAnlLYiLXV/3yFTnkY42ilLcBDzKKf4xCufMOgDN+KCV9EVIwZ+Tk2nUmNdloTYtdJA/7QiW93Gh1iex71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w+nXG2WO4WQex+pHhpBvc2xaUuYO2+APAV187NTrx+heYUg3E/+szl9o++ue+xMHrjiH/BBfYU3SWrgVfSRBkBK825ELp86yGdbIZ8DZvZT9Z/O/mX0mafIxxFKE1g6Y4leADwW4FyaWZgGksFJqllB7BirPJN3NxL9HsgivWXBFDmELl+DZFcfGF3kPZXspW0Cr5Rb+ptnudrKMOWi7pUY6hRQhxXDwDYMkkK8PNeb/ONqkEaqi3kJwRjiaMtTpFEZEEMYqTDzUilB72Q+fb6lWCwW5dgs03vmAlQWXHxNYkjrmyE7Tj1AzRXVMJqDXnpzfRwnONHRgN4P3qrBv/766zp6VLRntDqRGSkK3nOQdXY8YRPoki6lshXTbLQv3WUJ6crChZa1ggVq7O7OA4Hfi2C9VsMQuEI3rksKsjHTx7tSZSPLEPoVmCVqguSvpPuybPo91rNBVhqeo7+zHX2vsjrjHbTVdSmEcUs1rX9Z8P0m9HcF2O+I74hgiE4znDtSfLYUB92x7QqDl79Le1MoRZcXwxEQe1lPPORErRF4oTro8PfIuoYflV4NyNYJWo3fWQGOpil4JdAYvioV4lS5ULGemOKR/aO8Ip/S6TyXslhojCLqr1LrXvJ/qsCBSvWvDbmZeXDBpm4ZaqYxznr9f/UsetU= +api: {"operationId":"createAccount","tags":["Accounts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"My Company"},"domain":{"type":"string","nullable":true,"example":"mycompany.com"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"account_id":{"type":"string","nullable":true,"example":"ae4be028-9078-4850-a0bf-d2112b7c4d11"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_account"}},"required":["record"]},"example":{"record":{"id":1234,"name":"My Company","domain":"mycompany.com","created_at":"2023-02-27T00:00:00Z"}}}}},"responses":{"201":{"description":"Account created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create account","method":"post","path":"/accounts","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"name":"My Company","domain":"mycompany.com","owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","account_id":"ae4be028-9078-4850-a0bf-d2112b7c4d11","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Create account","description":{"type":"text/plain"},"url":{"path":["accounts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/create-contact.api.mdx b/docs/docs/api/v2/engagement/create-contact.api.mdx index 267d6b0dee..706312ef65 100644 --- a/docs/docs/api/v2/engagement/create-contact.api.mdx +++ b/docs/docs/api/v2/engagement/create-contact.api.mdx @@ -5,7 +5,7 @@ description: "Some providers do not support `primary` phone number type, in whic sidebar_label: "Create contact" hide_title: true hide_table_of_contents: true -api: eJztWntz27gR/yooO525TE2Jot66XlvZljNK4tiVnLuktkcGSUhCQhIMCVrWefTduwuQEinJie3LTf+x43EkYLHAvn943BsiYjGVXIRDz+gZbsyoZEcilNSVxoHhscSNeYT90DsWASNRLG65x+KEeIKEQpIkjSIRS3ITxTyg8fKGRHMRMhKmgcNiIpcROyA8JIs5d+fEpQkjC/jlvk88NqWpL4kU5CYQDvfZTYUMp8QRcl7gR0Nv3V9inhAaM5JEzOVTzjxFKEJ/SShJeDjzGdGj8rXwhEQiSbjjw5LknIUbtmo9DiNpkvHZTJ93ebGIIuZVrkLQjKSzxOhdGpmuEuP6wEiYm8ZcLqH93rgzacTNLwy/Xa+gN6IxDZiEVav+EL6ATu9MN00kKDY2uQd8OSp6zihoGL4l7pwF1OjdG6hG6ElkDIJBD7ujQeRjU7DcsKgZq22jXcwZyfvJ8BjEppKkIf+aMlAUWDKUqLwE9bEhBHstRRoTGkU+d5WDwKQx+5rymIGnyDhlq4OCFLlbmKrlOXKIVIL3ufP9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NMowxCvyI5/u7RVWVc6dJ4gKM0G7gQ/8nr3w7Qd731zA9uvB0hI00VG2IbpAPhuKnWvUzQi9sfom7XUB0pyfjS+A2MneDwa6isZ0ga8N4W/PuIJ/+CxE78ZUocf2e6jn4SyFWAUazRcLBE3RhYq4RIOQ7AN6Rd4VLgurLAIWLQj+RbH2kv8D0wkgnn+uyXXPgwPW+EdTcwWGV6v/AW95Bgw= +api: {"operationId":"createContact","description":"Some providers do not support `primary` phone number type, in which case we will default to `mobile`. If both `primary` and `mobile` phone numbers are specified and only a single mobile number is possible, then `mobile` will be used and `primary` will be dropped.\n","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"job_title":{"type":"string","nullable":true,"example":"CEO"},"address":{"type":"object","nullable":true,"properties":{"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["city","country","postal_code","state","street_1","street_2"],"example":[{"city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"address"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","nullable":true,"enum":["primary","personal","work"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","nullable":true,"enum":["primary","work","home","mobile","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"work"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"account_id":{"type":"string","nullable":true,"example":"ae4be028-9078-4850-a0bf-d2112b7c4d11"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_contact"}},"required":["record"]},"example":{"record":{"id":1234,"address":{"city":"San Francisco","country":"USA","street_1":"525 Brannan St","street_2":null,"postalCode":"94107","state":"CA"},"email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"workline2"}],"first_name":"George","last_name":"Xing","phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"mobile"}],"created_at":"2023-02-27T00:00:00Z"}}}}},"responses":{"201":{"description":"Contact created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"method":"post","path":"/contacts","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"first_name":"George","last_name":"Xing","job_title":"CEO","address":[{"city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"work"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","account_id":"ae4be028-9078-4850-a0bf-d2112b7c4d11","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Create contact","description":{"content":"Some providers do not support `primary` phone number type, in which case we will default to `mobile`. If both `primary` and `mobile` phone numbers are specified and only a single mobile number is possible, then `mobile` will be used and `primary` will be dropped.\n","type":"text/plain"},"url":{"path":["contacts"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/create-sequence-state.api.mdx b/docs/docs/api/v2/engagement/create-sequence-state.api.mdx index eaa93ae201..bc8f364481 100644 --- a/docs/docs/api/v2/engagement/create-sequence-state.api.mdx +++ b/docs/docs/api/v2/engagement/create-sequence-state.api.mdx @@ -5,7 +5,7 @@ description: "Create sequence state" sidebar_label: "Create sequence state" hide_title: true hide_table_of_contents: true -api: eJztWntv2zgS/yo6HRbYAqGth9+9vbs83MJt0+TitNteEngpibLZSqIqUX408He/GVKyZSdpcsXuf1GCxCKH8+LM8EfSt6ZIWUYlF8koMAemnzEq2Zh9K1jis7GEF/PAlHSam4Mrs2o3VEdu3hyYOfOLjMsVdN+aS0JTTr4yfLtZQ29KMxozybJc9SfwAkKWxC9yKWKWER4Ae55A44zRgGXwlvszFlNzcGvKVYrkucx4MoUetqRxGmFTvNqysM31gRmw3M94inZA9+WMGVW/MTox5IxKo0g4aB+tDB6wRPKQsxw6aoQ8MVaiyAyaphH3lU9AaAY284yBc2RWsPVBzYo0E3NglhHV8jN2iEKCw/3Z/SZU/I2S/54qN7qF5fJIBCsUtEtwYPoikWArdtWMan7JUcTtXQ2F94X5EiSBZAgLCS7SbH2RBY/ToTjqywkPfmy13+5bgd9xSY+1XNLq0Rbp2e0WsUPPsyzq992Ohx6JKY88sXyUn9sPAztkFrH6LY+0aMcmXqsbEpe51Ldc17FcDLO7DobQEKEKglKUIYVR5MwIRaaa8zLgG8ZF6VrVdZiKKBIGTQLjrJzBhvEhgZG6f0wjlkcilA00o2LyqB1er91ibdsitt+ySIuFHQKxBM5hntsOW/3AdVWwg5zsAWY/shGHGYuZMHhuwKyBojEMUl0wazBiz8qNFQeGUBxpVLP+ABJqY/DGC+Z6XY/Tq3pM7HoColdyqeNBFZ3JpjdXZWefUxmFN+uay+qxiQ4x3Xa713Jpm/httwMu7DkQCv0usdp2x/JCrxt0e6iIkjAw0e45plY91EzaZT2gBiZeD+LJsjyITycgfccOadvp2C3LNw92wt3seIHPPN8hYa8HggMG0d1jAbG8PvNajhV2PXvPAwOz1WZWt2d3SRi0+6Ct3yO064C2nU7gBJ7T9fseClL+CSYUMtl0LMcllkOc7qVlDdTvf4GmSINHaNb4oEvzVCS5zljHsvHfbtRs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TMSoHmQmRf8xTK/aaJpIUHaLop5ggB2EIJV9NxRHOVF8aHi3fY+Mcff1wnT8r7klYVOK1FLXoeqkY7AbHJfMmWEl3GFTcVUrdloboy9wsVFBQED9h1e+uB+h+yaL3GZqDL1F39AQI7Tj21N8bFpawcaqPMc+wIqo3rvkqbWyHz1+r68IXxZ97A32uzqoR3vkmgFkxoN/Ge/qcV3793/6EC+18C2FFBEx2XaPgS+Wwp7tyhbUdoVP1D2pvaSnV+Nr4EYq/8GkAsAhyT0QV+aQD+Dsxr+IGXEoqrwo3tt2ZEk2kBMQo0mi8WRlpgJNXXGb2olB8wKqquZFXTsr4AaUPwL5p1L/k/MI1gBfvnhlz3PDhgs55paq6Q0Hr9P6myubw= +api: {"operationId":"createSequenceState","tags":["Sequence States"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"contact_id":{"type":"string","example":"c590dc63-8e43-48a4-8154-1fbb00ac936b"},"mailbox_id":{"type":"string","example":"39fd1fe0-094b-4a61-b47f-3e3ac033203d","description":"The ID of the mailbox to use for the sequence. Required for Apollo and Outreach. Unused for Salesloft."},"sequence_id":{"type":"string","example":"b854e510-1c40-4ef6-ade4-8eb35f49d331"},"user_id":{"type":"string","description":"The ID of the user who is performing the action. Required for Salesloft, optional for Apollo, unused for Outreach."}},"required":["contact_id","sequence_id"],"title":"create_sequence_state"}},"required":["record"]},"example":{"record":{"id":"355843a5-c536-4e82-b497-05160bfb7d78","state":"active","mailbox_id":"a7e860b5-cb8b-400b-812d-921fa526140c","contact_id":"6bdcebc2-f886-4de3-88ed-0b9eb420f7b1","sequence_id":"45e07817-fd59-4ec8-a727-066d2db27c9b","created_at":"2023-02-27T00:00:00Z","updated_at":"2023-02-27T00:00:00Z"}}}}},"responses":{"201":{"description":"Sequence state created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create sequence state","method":"post","path":"/sequence_states","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"contact_id":"c590dc63-8e43-48a4-8154-1fbb00ac936b","mailbox_id":"39fd1fe0-094b-4a61-b47f-3e3ac033203d","sequence_id":"b854e510-1c40-4ef6-ade4-8eb35f49d331","user_id":"string"}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Create sequence state","description":{"type":"text/plain"},"url":{"path":["sequence_states"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/create-sequence-step.api.mdx b/docs/docs/api/v2/engagement/create-sequence-step.api.mdx index b805aa254e..a9409b1a14 100644 --- a/docs/docs/api/v2/engagement/create-sequence-step.api.mdx +++ b/docs/docs/api/v2/engagement/create-sequence-step.api.mdx @@ -5,7 +5,7 @@ description: "Create sequence step" sidebar_label: "Create sequence step" hide_title: true hide_table_of_contents: true -api: eJztWntz27gR/yqoOjeNZ0yJkm1ZVnpt/UqqJI5dy7lLJvbIEAlJiEmCAUDJOo++e3cXpEQ9nPjSu+k/lj22SCwWu4t9/PB4qKhUaG6lSjphpV0JtOBWdMXXTCSB6FqRVrYrlg9Npf25Urw2lZvtihFBpqWdQsND5d7jqfTuBD7dzKA15ZrHwgptqD2BB+B+7wWZsSoW2pMhMJYJvBwJHgoNTyYYiZhX2g8VO02R3FgtkyG0iHsepxG+iqcLFvXKbLsSChNomaIC0Hw1EqxoZ50TZkfcsiyRIHc0ZTIUiZUDKQw0lAhlwqYq04ynaSQDMgYMqkFbqQVYxepMzLZLWqRajYGZ9ujNj+ihMguWDkabVSj4s5z/o6KYfEZ6C3Om3I7WumwaBMyjBmSIgkv1icL7jb1W0A+aXtNv+N7ujs+91m5LeJwPeNDn4WCXi8oM3QClEMYeqXCKLFeFClRiYUqwqWT72heDQj6sy6L6X0RgQRYwELithZl0bAOlw+/TOaOta7ZuG6RkQzkWCetPyUaZgekYKO0MBnFRZR+MCLG5yyNhIjWwTCXRtIpTKkEvPeZRD6JEJaEpjZpkcZ/cZH3Uohd7AR6Z99wC97Uyg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iFALWJ0ncmhfQ/f+WlWR/QdQ2PgcagFw1O03GE14HQeh8u3+HL29vb6+RJEZ/TUsJzUpS855HstOQP85C34t6ixSQxI496yBPX5/ltNsxN7eWrbSu5C3IMogzs9PCAh60fdDSb4Wsg03QLcRsRoMRjYreIlga/h8WidlW++YlR5cVlXly22OPX5DaqU8R0ggmMKiI8wVfKekt39ags5tntf5Luj7rsuFEfJ/fqpc25Ynh56IcFX73i+E0BVu9bLongiI5zHH+FfBYUa6d/ix5uPfBN2ptSkb04714BcXEfKlYh9tF8gpct4W+7cg0/eMHLLSKouOD7h0rEk2GG597tiuOLKRwy/2i5FrrCl38pXRBb9qdykXSK4N/SRa5l8r9jwEOV/cec3LU82mFecx21JAw3m/0XKk8zCQ== +api: {"operationId":"createSequenceStep","tags":["Sequences"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"sequence_id","in":"path","required":true,"description":"The ID of the sequence.","schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"name":{"type":"string","description":"The name given by the user for the step. Used by Salesloft only."},"interval_seconds":{"type":"number","description":"The interval (in seconds) until this step will activate after the previous step (in case of first step, relative to when prospect first enters a sequence); only applicable to interval-based sequences. This is 0 by default"},"date":{"type":"string","example":"2023-01-01","description":"The date this step will activate; only applicable to date-based sequences."},"template":{"description":"The email/message template to be used for this step. Only applicable for email or message steps.","oneOf":[{"type":"object","properties":{"id":{"type":"string","description":"The ID of the template to use for this step."}},"required":["id"]},{"type":"object","properties":{"body":{"type":"string","description":"The body of the email (HTML)."},"subject":{"type":"string","description":"The subject of the email."},"name":{"type":"string","description":"The name of the template."},"to":{"type":"array","description":"A list of default person and email address pairs to receive this template in the \"to\" field","items":{"type":"string"}},"cc":{"type":"array","description":"A list of default person and email address pairs to receive this template in the \"cc\" field","items":{"type":"string"}},"bcc":{"type":"array","description":"A list of default person and email address pairs to receive this template in the \"bcc\" field","items":{"type":"string"}},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"required":["body","subject","name"]}]},"is_reply":{"type":"boolean","description":"If true, this step will be sent as a reply to the previous step."},"order":{"type":"number","description":"The step's display order within its sequence. Only applicable for Outreach when adding steps one at a time after the initial sequence creation, otherwise when creating steps together with sequence order is implicit based on the order of step within the step array. Salesloft does not use the `order` param, and order is instead determined by `interval_seconds` which translates into the `day` parameter"},"type":{"type":"string","enum":["auto_email","manual_email","call","task","linkedin_send_message"],"description":"The type of the sequence state. Note: `linkedin_send_message` is undocumented in Outreach and subject to change.\n"},"task_note":{"type":"string","description":"An optional note to be attached to this step."},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"required":["type"],"title":"create_sequence_step"}},"required":["record"]}}}},"responses":{"201":{"description":"Sequence step created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create sequence step","method":"post","path":"/sequences/{sequence_id}/sequence_steps","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"name":"string","interval_seconds":0,"date":"2023-01-01","template":{"id":"string"},"is_reply":true,"order":0,"type":"auto_email","task_note":"string","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Create sequence step","description":{"type":"text/plain"},"url":{"path":["sequences",":sequence_id","sequence_steps"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the sequence.","type":"text/plain"},"type":"any","value":"","key":"sequence_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,15 +34,15 @@ Create sequence step ## Request -

    Path Parameters

    Header Parameters

    Body

    required
      record objectrequired
      template object
      +

      Path Parameters

      Header Parameters

      Body

      required
        record objectrequired
        template object
        The email/message template to be used for this step. Only applicable for email or message steps. -
        oneOf
        custom_fields object
        +
        oneOf
        custom_fields object
        Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API. -
        custom_fields object
        +
        custom_fields object
        Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API. diff --git a/docs/docs/api/v2/engagement/create-sequence.api.mdx b/docs/docs/api/v2/engagement/create-sequence.api.mdx index 7cb2de6ad4..c650f4a010 100644 --- a/docs/docs/api/v2/engagement/create-sequence.api.mdx +++ b/docs/docs/api/v2/engagement/create-sequence.api.mdx @@ -5,7 +5,7 @@ description: "Create sequence" sidebar_label: "Create sequence" hide_title: true hide_table_of_contents: true -api: eJztWntTGzkS/ypzc7V1oYrxCzDg3N4dr+SchMBhspsUUEaekW2FmdFE0th4KX/3625p7PEDwuZ26/7BoQiWWq1Wqx8/Sf3gy4wrZoRM25Hf8kPFmeEd/i3nacj9Td+wgfZbV37RpP2bTV/zMFfCTKDjwb8PWCaCO47fbqbQmzHFEm640tSfwhfgfB+EuTYy4SoQETAWKTQOOYu4gm86HPKE+a0H30wyJNdGiXQAPfyeJVmMTclkzqLuTzf9iOtQiQyFh+7LIfeKfq997JkhM16eCpA7nngi4qkRfcE1dJQIRepNZK48lmWxCEkRMKmC1QrFQSNG5Xy6WVpFpuQImKmAWn5kHTI3oOVwuH4JBX/P8V8S5ca2cG0OZTTBiRYJNv1QpgbWil2lRVW/apziYVVC2fvKQwMzwcxgCwZUZNmGUkXfp7OKWV7vtLCcWQdTik1QX4Ynes0AHEEtq6pbVZIeMsU9pPNknzZUO/useB1uDIzzjPRuDWfJrTcWceyGjIUZEv14KGPgAP0V7zZTYgRm7yhlCvayRC7HKVcV3MY0T9AfcCTpgkb6NyA+0XRFtFYb2vDsOer4XVpepxqk9AZixFOvNyHZcw3W1JfK6gnkqHifNI+wu8NirmPZN7ToCgoqwHrUiMVdcHKZRmXZYOk9svLVWYtR3itwKDdyA7zPiBimFZrmteploSGdeawPY0ioTPGRkLmjQhYh07S1faG0oeZNT/EYTHnEcWfHQ1gfqEhnoC1HxVEG7bGZLWy8tnvp3KAX09BC1K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e4PKEsSHjOnBRT7w43IFKiIQbHx4wPfqTyqeTrEZKBTVoW4iOhT40k5VqZtFKKLTttDYERWn32VhZk9L/qsLl4U2vD+yunTtaim0rlTJUtaFdh/LnX5Y8OWa0icFWC5wXRDBEh05SH2JfOYUKw9x8xEWmj9Je1NKeudnnUsgLiq4EhnhGMXGWBALv1v+NfzDIG7xPGUCbH/wY5YOcnypb/mWLwZDCKzDxcRls5T7o1TSxtJJScpyRrMLwd+l0rNF8r+j60BK/MeM3PY8OmCWIC21IDg1nf4X4mW4Ew== +api: {"operationId":"createSequence","tags":["Sequences"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"name":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"type":{"type":"string","description":"The share type of the sequence. Setting to `team` will share with the whole team. `private` will only share with the owner.","enum":["team","private"]},"owner_id":{"type":"string"},"steps":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name given by the user for the step. Used by Salesloft only."},"interval_seconds":{"type":"number","description":"The interval (in seconds) until this step will activate after the previous step (in case of first step, relative to when prospect first enters a sequence); only applicable to interval-based sequences. This is 0 by default"},"date":{"type":"string","example":"2023-01-01","description":"The date this step will activate; only applicable to date-based sequences."},"template":{"description":"The email/message template to be used for this step. Only applicable for email or message steps.","oneOf":[{"type":"object","properties":{"id":{"type":"string","description":"The ID of the template to use for this step."}},"required":["id"]},{"type":"object","properties":{"body":{"type":"string","description":"The body of the email (HTML)."},"subject":{"type":"string","description":"The subject of the email."},"name":{"type":"string","description":"The name of the template."},"to":{"type":"array","description":"A list of default person and email address pairs to receive this template in the \"to\" field","items":{"type":"string"}},"cc":{"type":"array","description":"A list of default person and email address pairs to receive this template in the \"cc\" field","items":{"type":"string"}},"bcc":{"type":"array","description":"A list of default person and email address pairs to receive this template in the \"bcc\" field","items":{"type":"string"}},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"required":["body","subject","name"]}]},"is_reply":{"type":"boolean","description":"If true, this step will be sent as a reply to the previous step."},"order":{"type":"number","description":"The step's display order within its sequence. Only applicable for Outreach when adding steps one at a time after the initial sequence creation, otherwise when creating steps together with sequence order is implicit based on the order of step within the step array. Salesloft does not use the `order` param, and order is instead determined by `interval_seconds` which translates into the `day` parameter"},"type":{"type":"string","enum":["auto_email","manual_email","call","task","linkedin_send_message"],"description":"The type of the sequence state. Note: `linkedin_send_message` is undocumented in Outreach and subject to change.\n"},"task_note":{"type":"string","description":"An optional note to be attached to this step."},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"required":["type"],"title":"create_sequence_step"}},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"required":["name","type"],"title":"create_sequence"}},"required":["record"]}}}},"responses":{"201":{"description":"Sequence created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"created_record"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create sequence","method":"post","path":"/sequences","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"name":"string","tags":["string"],"type":"team","owner_id":"string","steps":[{"name":"string","interval_seconds":0,"date":"2023-01-01","template":{"id":"string"},"is_reply":true,"order":0,"type":"auto_email","task_note":"string","custom_fields":{}}],"custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Create sequence","description":{"type":"text/plain"},"url":{"path":["sequences"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,15 +34,15 @@ Create sequence ## Request -

        Header Parameters

        Body

        required
          record objectrequired
          steps object[]
        • Array [
        • template object
          +

          Header Parameters

          Body

          required
            record objectrequired
            steps object[]
          • Array [
          • template object
            The email/message template to be used for this step. Only applicable for email or message steps. -
            oneOf
            custom_fields object
            +
            oneOf
            custom_fields object
            Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API. -
            custom_fields object
            +
            custom_fields object
            Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API. diff --git a/docs/docs/api/v2/engagement/get-account.api.mdx b/docs/docs/api/v2/engagement/get-account.api.mdx index c3c918ba03..99f9ad49d5 100644 --- a/docs/docs/api/v2/engagement/get-account.api.mdx +++ b/docs/docs/api/v2/engagement/get-account.api.mdx @@ -5,7 +5,7 @@ description: "Get account" sidebar_label: "Get account" hide_title: true hide_table_of_contents: true -api: eJy1Vmlv20YQ/Stb9ksMiBItKYorFEXTNgiMtoCR2A1a21BW5EjahNxl9pBMCPzvnVkeog4bOVrDsKzZ2Zk3x5vZbaBy0NwKJS+TYBoswb6MY+WkDXqB5UsTTG+DWmKC+15gIHZa2ALl2+Ah5LkIPwJ9uy/xNOeaZ2BBG38u8QsaFTJOXQIzzTezhFuOpoVE+ScHusAvJl5BxoPpNrBFThfmSqXAJR7BA8/yFGVWOyh7QQIm1iInvKj3bgV2BZpZxWofDH0w8sEWYNFswhZaZQy12EgnDPHZguVarUUCuh+UvRbkQxg7Y1UGOhRJg3AFHPVOQTRWC7nsIgyyYmfiPDgCe40YmnN2+Rti4pY5KTALacEQj7RiIcB4sK2ikKxQTjOe56mIfaHQqYZPTmhImrx0omiCC73ka+JQzmrg8ep0CI19Vtt/FAqvuma2y2bO7eroxudhiobPL+J5PAkn0TAKx6OIhxfjCwg5X/B4zpPFmENQUgtqMLmSBgwZHEYRfexHsWvwWEmLaSeVTn4HHwzpbY+BqfkHiOkiJgFpY0XlBSN8Cvzz8eh8iLlUGwl6dlpZujTl86bRu5EPRzAZRwsIJ+fR83DMz89DPhlNwhHnk/kknsCLyZAqVWX9Syz/WbBfVZZzWfhKq4wL+WUWsiKuDPTxk4zE2DgWkhm3n2NooXRGmgESFkIrfD91Io+GwzAahsMX11E09b//kBOXJ/+/E2FmCaQ4ypKn59KCp4YGU8qNnWUqIQo/Bu0robRj80Qj8iQR1LM8veq0pGdi2WXabeBp2LZg3S9t2fdKt5fivVSciBMpZ4VNO4xHHpbl0ex4DZbxlnm4JFaqXjjEJ5oM02BQK5jBdjc9ShpboNfNUnE6pYlmbW6mgwEuoL5xOV+mDvpCDUAu+RIyZPVgPQwOQbytNdnLq8ug7Kyzt0T1is2dpdbmGyW/Q9FkbdrRORywB6Pm6pKhFi0onqYKVxOsIaVCGS+LYzDVwPeAqO/kQpFjCreyEfXPJ/0fgl2ab6RPPnvVhupvV+OMx771apxNvNRnWGdKXKJi83ObMeJt7yCle4dHdfwef9iltFolLibZnXwHKaoCRUShNPgo+Gc7kGcMXTv6z0/ZPvtbORZzyZzBqyth/AW0scGCeGOZS61AbtCpTsL95W3YRqBcepedVOAMh6XSRf8Okd3+JWDDEFymJKvGOUMWdvTvnzVhU2L63dgHecotcXZQGQgrA6bTY2feyXe3b5ykTX2ljM243NnUTvZzlElqzbmzFuM26+XZTmOz2fTz6pr32QAYbJT+aHIeQysKczfHHTVQ2BtrjMs79+X4hRvfQezmzR8kfP/+/Z38LIbUulTmGkWne/Ypu9cGLTMsPFhKlPA2fCNtazrfNgPB4O1p5zmAvFuhM9LYbueI/UanZUni6kVILE+EoSme1BP2yH27ur/9Edg7HYufAKfermtOjJoGfoCsuRbVuvki0M/e1KP5jD3mvxk9suj6bHB10lneo3Y9gL4axX/5On0inYev7F0ue98A/PBN+iSAwwfyHoRKCV+IkNvO2dHrkErf7rDXr65pFTtq+u7KqPZD/Q9V5mRJu7ukck9/CcxJ9R+J57iMfmrVq5NHL7SrqWloapiy/Beb1sV0 +api: {"operationId":"getAccount","tags":["Accounts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"Account","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":54312},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"name":{"type":"string","nullable":true,"example":"My Company"},"domain":{"type":"string","nullable":true,"example":"mycompany.com"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["id","owner_id","name","domain","created_at","updated_at","is_deleted","last_modified_at"],"title":"account"}}}}},"description":"Get account","method":"get","path":"/accounts/{account_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Get account","description":{"type":"text/plain"},"url":{"path":["accounts",":account_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"account_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/get-contact.api.mdx b/docs/docs/api/v2/engagement/get-contact.api.mdx index cb3c408ce6..3ca7e86abd 100644 --- a/docs/docs/api/v2/engagement/get-contact.api.mdx +++ b/docs/docs/api/v2/engagement/get-contact.api.mdx @@ -5,7 +5,7 @@ description: "Get contact" sidebar_label: "Get contact" hide_title: true hide_table_of_contents: true -api: eJy1WG1v2zYQ/iua9qXBLFt2ZKc1hmFp1xXBBqxomnVbGriURNtsJVIlKTuG4f++O+rFlKwYcboFQWKTx7vn3o/cuiKjkmgm+FXsTt0F1a8E1yTSbs/VZKHc6a1brij3rucqGuWS6Q2sb917j2TM+0Lx290OdjMiSUo1lcrsc/gCTBmPkjymM0nWs5hoAqwZh/WvOZUb+KKiJU2JO926epPhgVCIhBIOW/SepFkCa1rmdNdzY6oiyTLEC3QfllQvqXS0cEoZDshwUIYzpxrYxs5citQBKudcxg7g0xsnk2LFYir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PT91BSaAG2/3MvcM2ROWquorlMsHqqXWmpoMBXNv6dQ1lYkD5gixoCrPwYDVy2yCuS0rn8u2VSeLqEniNA3JRAq2r4L6KZuw3iuWovpxUNO1rSVMeiHGACq91BKo9XOjoiiYYIsqsRRH40VyTDCCMeD4XKBjVLXj4/eGk/8Ldm/mGG+M7r2tVzelebf9pfXOp9K1CB6NeRKrddZombTfVpkrfw49zBfOFiPMI1z7yDzQBUooaoSoVPlT+2R7kmQOic/xk7iZ952+ROxGMLrmCo0umzAHgsQaHGGZpnmgGWYm7MvaaV17lrBmscyPSMgXcfOhCyE3/IyC7/ZPRNYRdmgruFJcgB/Lfor97VqmNhunbug+yhGisFoOCgVcwUFaMnRkh392+yzneb9/CpJUSvucpc97PYI1jaIa51qC3Wi3O9hTr9bqfFceMzArAAPuMykhE6yUvy0NI6IGA2FiBXka4ccdLokwEOTfvfsfFT58+feSPypCStprPAYUVPc2UbYRBnRma3ms0FDM8TCBty3S+rQIS69LUukTfYT9XGim22xCw30gYknG5eEfBLI+Zwv4Rl7X9QHx94f32p5Nety6mAnS9+KwIZtTUNQVkRSQrGt1JoJ+9K5vCmfOQ/Kr08I0ts8JlmXOHQ01ZgJ6M4r980zlizvbb1N6WvW8A3n7JOQqg/azUgFAQXUJdzrS1d/Cmgq6ve9ib1++xS+cY9HbLKPpD+QE90+lSu5cU4vEvgukk/xHzHJrRTzV5sfPggbo1VQGNAbPb/QtxmD8t +api: {"operationId":"getContact","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"Contact","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":54312},"owner_id":{"type":"string","nullable":true,"example":"23e640fe-6105-4a11-a636-3aa6b6c6e762"},"account_id":{"type":"string","nullable":true,"example":"45edea5a-0b9a-44ff-bd45-4452014eb4fa"},"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"job_title":{"type":"string","nullable":true,"example":"CEO"},"address":{"type":"object","nullable":true,"properties":{"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["city","country","postal_code","state","street_1","street_2"],"example":[{"city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"address"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","nullable":true,"enum":["primary","personal","work"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","nullable":true,"enum":["primary","work","home","mobile","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"work"}],"title":"phone_numbers"},"open_count":{"type":"number"},"click_count":{"type":"number"},"reply_count":{"type":"number"},"bounced_count":{"type":"number"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"},"raw_data":{"type":"object","additionalProperties":true}},"required":["id","owner_id","first_name","last_name","job_title","address","email_addresses","phone_numbers","open_count","click_count","reply_count","bounced_count","created_at","updated_at","is_deleted","last_modified_at"],"title":"contact"}}}}},"description":"Get contact","method":"get","path":"/contacts/{contact_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Get contact","description":{"type":"text/plain"},"url":{"path":["contacts",":contact_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"contact_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/get-mailbox.api.mdx b/docs/docs/api/v2/engagement/get-mailbox.api.mdx index 222d3ddc78..3e00acf557 100644 --- a/docs/docs/api/v2/engagement/get-mailbox.api.mdx +++ b/docs/docs/api/v2/engagement/get-mailbox.api.mdx @@ -5,7 +5,7 @@ description: "Get mailbox" sidebar_label: "Get mailbox" hide_title: true hide_table_of_contents: true -api: eJy1Vvtv2zYQ/lc47pcEiGzFdtPWGIZ1WFEE64AiTVZsaeDS0tlmK5EqH3YMQ//77qiH5UeCLt2CILGPx7vvXt9xw3UBRjip1WXKx3wO7g8hs6m+52fcibnl41teS8DyuzNuIfFGujUebPh9JAoZfQH6dlfiaSGMyMGBseFc4Re0KlWS+RQmRqwmqXACbUuF8q8ezBq/2GQBueDjDXfrgi5Mtc5AKDyCe5EXGcqc8VCe8RRsYmRBgFHvwwLcAgxzmtU+GPpg5IPNwKHZlM2MzhlqsaFJGeJza1YYvZQpmB4vz1qQ91HirdM5mEimDcIFCNQ7BtE6I9W8i5Dn662Jc34A9hoxNOfs8jfEJBzzSmIWsjVDPMrJmQQbwLaKUrG19oaJoshkEiqFTg189dJA2uSlE0UTXBQkT4lDe2dAJIvjITT2WW3/QSh51TaTbTYL4RYHN74NUzx49iKZJhfRRTyIo9EwFtGL0QuIhJiJZCrS2UgAL6kFDdhCK4vdigYHcUz/dqPYdniilcO0k0onv/3PlvQ2h8D09DMkDi9iEnBunKy8YISPgX82Gp4PMJdAGTmmqXyWiWnT5Z2bdIAXvQUzqZzsqz6cseHLWXo+gziKX46m0UhcnEfT0fNZNIShSOLhcBAPU6pwgrV2kE6E+xZoM21y0uQ4YxA5GVpg63QQDwZRPIgGz6/jeBx+/yYnvkj/fyfSTlLIkH3Sx6lkJjJLXJIJ6ya5TmnqHoL2JChlt8dveRiAqvjbWu4kfidBO4EcQYk97qTLOiOGHsvyYFjfgGN52+rIygtdUzw1MI3imPfzhtv7m+28lkQUYJYNjXuTEYc4V9hxv4+U37O+EPPMQ0/qPqi5mEOOc9RfDvg+ive1Jnv17pKXnQXynoarmp/OGmkrgJLfgZZDS2yNzj6l7fpDNwy1aCWILNO4DGAJGU2rDbIkAVtRbABEbaNmmhxTuJWNuHd+0XvJt3m+USH77HUbarhdEYhIQufUOJt425Jj6+jE/tJmLNE51XsnpTuHB4X8EX/YpXJGpz4h2Uf1ATJUBYqIQmnwUfAnW5CnDF17+hR4rcf+0p4lQjFsQrwnbbiANlZYkGAs95mT2Np0atJod11atpIoV8FlJxXImjDXZt37iMhu/5SwYggu14pVBMpwiDr6dydN2JSYXjf2fpEJRyPXrwxElQHb6bHT4OSH2yuvaDe+09blQm1tGq96BcoUtebUO4dx2+X8dKuxWq16RXUt+GwA9FfafLGFSKAVRYWf4lboa+yNJcYVnIdy/Cps6CB2c/WWhJ8+ffqovmlCal0qc42i0z27M7vTBu1kOLh3lCgZbIRG2tTzfMvbecbr484GxsFboDdS2WymCP7GZGVJ4uoRRmOeSkssnNYMeeC/3Zbf/+46Ox5MoIBjz8WloJEa88AgS2FktS7+FeiTq5qTT9lD/hvuUeuuzwZXJ53lHWrXDPRkFP/lg/CRdO4/bLe5PPsO4PvPwEcB7L9JdyBUSq+QmAvXOTt4kFHp2y325vU16gpPXd/dGdWCqD9QZY6WtLtMKvf0l8AcVf+JBh230c+tenXy4IV2NzUNTQ1Tlv8AmRuVGQ== +api: {"operationId":"getMailbox","tags":["Mailboxes"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"mailbox_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"Mailbox","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":54312},"email":{"type":"string","nullable":true,"example":null},"user_id":{"nullable":true,"type":"string","example":"39fd1fe0-094b-4a61-b47f-3e3ac033203d"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["id","email","user_id","created_at","updated_at","is_deleted","last_modified_at"],"title":"mailbox"}}}}},"description":"Get mailbox","method":"get","path":"/mailboxes/{mailbox_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Get mailbox","description":{"type":"text/plain"},"url":{"path":["mailboxes",":mailbox_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"mailbox_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/get-sequence-state.api.mdx b/docs/docs/api/v2/engagement/get-sequence-state.api.mdx index e260c44be5..3832f84b3f 100644 --- a/docs/docs/api/v2/engagement/get-sequence-state.api.mdx +++ b/docs/docs/api/v2/engagement/get-sequence-state.api.mdx @@ -5,7 +5,7 @@ description: "Get sequence state" sidebar_label: "Get sequence state" hide_title: true hide_table_of_contents: true -api: eJy1V22P4jYQ/itu+uVWWkMggV1QVfWqnk6r9sNp966ndm/FOYkDvgt2ajuwCOW/d8Z5IQF2dS8tQkDs8cwzb8+YvadyrpkVSt4k3txbcnvH/ym4jPmdZZZ7l55lS+PN771mnbgN4z1ceobHhRZ2B9t775GyXNDPHJ8eStjNmWZrbrk2bl/CA1gQMs6KhC802y4SZhlYEBLWQbnewYOJV3zNvPnes7scD0RK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unQmO6GA6cSXSu8GHwDZ/Z+CbwmAWytJqkFFoA878g8vGrcxMIOu78M8Yxa7dlgpoJUC06mxC2fkh/vbQuKN5I0yds3kQacu5CCHNYmlGRXWgt9ms7w4SGy320FeHXM2GwDDrdKfTc5i3i7RvIhg+g4V1MYG/HLGXTp+ZcZVEHl3+wcufvz48YP8og6pZTHNNYpO9Zzt4141tA1i+aPFeAmnytXTvu7x+yPOMKBkfnoJgmZcAQKU3+8jcOidzsoSl6vrMLZ+IgySe1IT7wmY9qby/Tfgy/OeOVo4d3HfMGyzuedYZcO0qKbQV4F+cVtT/QV5yn7DR3LXtdngOo1q+QCHanL6ZjD/5Q39mage/9M4hPTyO4Af38ufBXD8J6EHoRJ6CZyd287eyZ0YK6Cddq9fvQVZVmAndMdJNTvqH5iZs5ntzpnKPH4imLPiPyEHwKD6uRWvdp480I6tpq6xYMryX3R4Hnk= +api: {"operationId":"getSequenceState","tags":["Sequence States"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"sequence_state_id","in":"path","required":true,"schema":{"type":"string","example":"ffb62704-addd-454e-bb86-ed0799703dc6"}}],"responses":{"200":{"description":"Sequence State","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":54312},"state":{"type":"string","nullable":true,"example":"active"},"contact_id":{"type":"string","nullable":true,"example":"c590dc63-8e43-48a4-8154-1fbb00ac936b"},"mailbox_id":{"nullable":true,"type":"string","example":"39fd1fe0-094b-4a61-b47f-3e3ac033203d"},"user_id":{"nullable":true,"type":"string","example":"ab0530ef-61dd-4a99-b26b-6b5a61c7c62e"},"sequence_id":{"nullable":true,"type":"string","example":"b854e510-1c40-4ef6-ade4-8eb35f49d331"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["id","state","mailbox_id","user_id","contact_id","sequence_id","created_at","updated_at","is_deleted","last_modified_at"],"title":"sequence_state"}}}}},"description":"Get sequence state","method":"get","path":"/sequence_states/{sequence_state_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Get sequence state","description":{"type":"text/plain"},"url":{"path":["sequence_states",":sequence_state_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"sequence_state_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/get-sequence.api.mdx b/docs/docs/api/v2/engagement/get-sequence.api.mdx index 67ec1f013e..c4051c5750 100644 --- a/docs/docs/api/v2/engagement/get-sequence.api.mdx +++ b/docs/docs/api/v2/engagement/get-sequence.api.mdx @@ -5,7 +5,7 @@ description: "Get sequence" sidebar_label: "Get sequence" hide_title: true hide_table_of_contents: true -api: eJy1VllvGzcQ/ivs9sUGvNJGvmShKJqiQWA0D4aPBq1tyBR3JDHZJbckV7Ig7H/vzJ7U4cB1WsOwpeFw5pvjm+E60BkY7qRWl3EwCmbgbuDvHJSA4ChwfGaD0X3QiGzweBRYELmRboUH6+A55JkMvwJ9eyzwNOOGp+DA2PJc4Rc0K5VI8hjGhi/HMXccbUuFcjRrVvjFijmkPBitA7fK6MJE6wS4wiN45mmWoMyZHIqjIAYrjMwIMep9noObg2FOs9oHQx+MfLApODQbs6nRKUMtdmxihvjcimVGL2QMphcURy3I51Dk1ukUTCjjBuEcOOrtg2idkWrmIwzSVWfiXbAD9hYxNOfs8jfExB3LlcQsJCuGeJSTUwm2BNsqSsVWOjeMZ1kiRVkqdGqwJNJA3OTFi6IJLiwlb4lD584AF/P9ITT2WW3/RSi2bptxl86Mu/nOldeBiganQzERZ+FZNIjCk+OIh8OTIYScT7mY8Hh6wiEoqAcN2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9u6QGTU9/7a6PaEfUHqszemvr7pHJPfwnMXvWfiOu4kH5u1auTFy+066npaGqYovgH92fJkQ== +api: {"operationId":"getSequence","tags":["Sequences"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"sequence_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"Sequence","content":{"application/json":{"schema":{"type":"object","properties":{"owner_id":{"type":"string","nullable":true,"example":"95fe0d29-e8cc-48ac-9afd-e02d8037a597"},"id":{"type":"string","example":54312},"is_enabled":{"type":"boolean","example":true},"name":{"nullable":true,"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"num_steps":{"type":"number"},"metrics":{"type":"object","additionalProperties":true},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["id","is_enabled","name","tags","num_steps","metrics","created_at","updated_at","last_modified_at"],"title":"sequence"}}}}},"description":"Get sequence","method":"get","path":"/sequences/{sequence_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Get sequence","description":{"type":"text/plain"},"url":{"path":["sequences",":sequence_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"sequence_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/get-user.api.mdx b/docs/docs/api/v2/engagement/get-user.api.mdx index 4b62ccb18c..e55c8ddc9f 100644 --- a/docs/docs/api/v2/engagement/get-user.api.mdx +++ b/docs/docs/api/v2/engagement/get-user.api.mdx @@ -5,7 +5,7 @@ description: "Get user" sidebar_label: "Get user" hide_title: true hide_table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iZsB70oYLaGOJBQnGMp86ic1NpyaJtverZUuJchVctlKBwxZm2qy6d4hs9KeEJUNwmVasnLsMadTSvz+qw6bEdNux9/JUOCJdrzQQlQZsq8eOg5PvRtde0TJ9r63LhNrYNF51c5Qpas2Jdw7jtovZ8UZjuVx28/Ja8FkD6C21+WxzEUMjinI/wWXS09gbC4wrOA/l+FXY0EHs9voPEj48PNypFzGk0qUyVyha3dNi6lYPNLRw8OgoSzIYCF20rlg8ChPA4tVhvauRbnP0QWfr9QQh35q0KEhcvtWI3Im0NH2TajLuOW5W67c/zzqHowjEP/SqXAgi0pCHubEQRpZr4qtAH11Xs/iYPeW/njhq1fZZ46pzWdyjajV0Xg3hv3w0PpPL3cfvJpGdbwC++1R8FsDuu3ULQqn0Fmdx7lpne083qnuzsS7f3aCu8NTr7TVR7oTqA1XmYD3b+6N0T38JzEH1n4jbuIB+btTLkycvNOuo7mZqmKL4FwFKoRI= +api: {"operationId":"getUser","tags":["Users"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"User","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":54312},"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"email":{"type":"string","nullable":true,"example":"george@supaglue.com"},"created_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"updated_at":{"type":"string","nullable":true,"format":"date-time","example":"2022-02-27T00:00:00Z"},"is_deleted":{"type":"boolean","example":false},"last_modified_at":{"type":"string","format":"date-time","example":"2022-02-27T00:00:00Z"}},"required":["id","first_name","last_name","email","created_at","updated_at","is_deleted","last_modified_at"],"title":"user"}}}}},"description":"Get user","method":"get","path":"/users/{user_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Get user","description":{"type":"text/plain"},"url":{"path":["users",":user_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"user_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/send-passthrough-request.api.mdx b/docs/docs/api/v2/engagement/send-passthrough-request.api.mdx index 0662e328c6..dace5b0ae5 100644 --- a/docs/docs/api/v2/engagement/send-passthrough-request.api.mdx +++ b/docs/docs/api/v2/engagement/send-passthrough-request.api.mdx @@ -5,7 +5,7 @@ description: "Send request directly to a provider" sidebar_label: "Send passthrough request" hide_title: true hide_table_of_contents: true -api: eJytV9tuGzcQ/RWWfbEASevkIUCMoqiTCI3boHZsuUUhCzC1S0lMdkmWF8mCoH/vDLlXSXHswDagCzk7c2bmzEVbmnFteMocz+iZM573qdLcMCeUvIAjarnMrpi1bmmUXyyv+X+eW0f71LGFpWcT2rqk0z7Ip94It4GrLX0YMC0GXzl+m+7gNuM2NUKjdtB9A7qJiRpJJgCHyzfEKcKINmolMm7AUCnwTmWgZhu+gmgNN1XScenwimmdizRgT75YNLGlNl3yguEnt9EcjKrZF7ADesEEeOoEt3irmVu2pKwzQi7oPuLxkhOURJAYGeLgoPIAzk4yRaRyIGNtuMtUwYTs0V2fFtwtVXbMBpe+wFD+PhrDt6vLm/B2G17Px+8/wvuH0afReIQB5g+s0Dk+j+Kgd8kZBMoec7EL/mMURJwRnwJ4awkwOCtAmmWZQFGWX3VC04W7A5Pgr9l83+BnFANbhoHvL2N5VrKgawi5cVw5OUmZJDNOog6iDPnj5vIvEhH3wLaS/HIe2LpnrX/o3nGcyMPdFNE13JxEQtVZh+soYLWSNnr3+vT00JVWOZFKmr4Yy73Jn0byuc9zcnv9qUPwNbNkDSggxLRNxKVz2p4lSeqtUwWXC7bg8OaGqSoS6ABJyoCf4L51zPl2ZoH4s1Dke40hyJFUZYDEqKIspRZj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dkRHcHX9tLWEf8Fqw6Gz6+1eLz55gP1KIrSmAhcZ/4HU4N4Yw== +api: {"deprecated":true,"operationId":"sendPassthroughRequest","tags":["Passthrough"],"security":[{"x-api-key":[]}],"description":"Send request directly to a provider","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"path":{"type":"string","description":"The path to send the request to (do not pass the domain)"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"example":"GET"},"headers":{"type":"object","description":"Headers to pass to downstream","additionalProperties":{"type":"string"}},"query":{"type":"object","description":"Query parameters to pass to downstream","additionalProperties":{"type":"string"}},"body":{"description":"Body to pass to downstream (can be string or JSON object)","oneOf":[{"type":"string"},{"type":"object","additionalProperties":true}]}},"required":["path","method"]}}}},"responses":{"200":{"description":"Passthrough response","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"The full URL the request was went to","example":"https://customengagement.com/api/cars"},"status":{"type":"number","description":"Status code from the downstream","example":200},"headers":{"type":"object","description":"The response headers from the downstream","additionalProperties":{"type":"string"}},"body":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"array","items":{"additionalProperties":true}},{"type":"object","additionalProperties":true}],"description":"The body from the downstream"}},"required":["url","status","headers"]},"examples":{"Example":{"value":{"url":"https://customengagement.com/api/cars","status":200,"headers":{"x-requests-limit":96},"body":[]}}}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true}],"method":"post","path":"/passthrough","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"path":"string","method":"GET","headers":{},"query":{},"body":"string"},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Send passthrough request","description":{"content":"Send request directly to a provider","type":"text/plain"},"url":{"path":["passthrough"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -46,19 +46,11 @@ Headers to pass to downstream Query parameters to pass to downstream -
            body object
            +
            body object
            Body to pass to downstream (can be string or JSON object) -
            oneOf

            MOD1

            - -Body to pass to downstream (can be string or JSON object) - -

            MOD2

            - -Body to pass to downstream (can be string or JSON object) - -
          +
          oneOf
        • string
        Passthrough response @@ -66,33 +58,9 @@ Passthrough response The response headers from the downstream -
        body object
        - -The body from the downstream - -
        anyOf

        MOD1

        - -The body from the downstream - -

        MOD2

        - -The body from the downstream - -

        MOD3

        - -The body from the downstream - -

        MOD4

        - -The body from the downstream - -

        MOD5

        - -The body from the downstream - -

        MOD6

        +
        body object
        The body from the downstream -
      +
      anyOf
    • string
    • number
    • integer
    • boolean
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/engagement/unified-engagement-api.info.mdx b/docs/docs/api/v2/engagement/unified-engagement-api.info.mdx index 3282816573..b2e9f9ff69 100644 --- a/docs/docs/api/v2/engagement/unified-engagement-api.info.mdx +++ b/docs/docs/api/v2/engagement/unified-engagement-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.16.9 diff --git a/docs/docs/api/v2/engagement/update-account.api.mdx b/docs/docs/api/v2/engagement/update-account.api.mdx index ecf64d821c..d17d506eca 100644 --- a/docs/docs/api/v2/engagement/update-account.api.mdx +++ b/docs/docs/api/v2/engagement/update-account.api.mdx @@ -5,7 +5,7 @@ description: "Update account" sidebar_label: "Update account" hide_title: true hide_table_of_contents: true -api: eJztWn1z2jwS/yo63zwz7UwMxrzT692RQHq0TZMD+nZJhke2ZVBrW44l81KG734ryQYDSZt2nv4XmkmwtFrtrvblZ23XBotJggVl0cAzOkYae1iQruuyNBLGiSHwlBudayMb4cbticGJmyZUrGB8bSxNHFPzK5FPtxuYjXGCQyJIwtV8BA/Ad2m6KRcsJIlJPeBLIxicEeyRBJ64OyMhNjprQ6xiSc5FQqMpzJAlDuNADoWrHYuKsTkxPMLdhMZSdJgezwjK59Ggh8QMC5RG9C4lwQpR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jtCbP9Hsx2CNmM025PAar+aKwrUeGu8cdY5rZw/5hdp8HIAidS/99wtfZDyPkwGNwU70q3Em7vIfeR4nt114jwtnUUEjFjnm5MuLIzoRoUHaOckfDyene5vZHdE5UJddsISoRsrOSFIaYlnqHgEmUQhVNIfSGkqfLcPsKsW7zcvRrINL1tWI0kTNXWKrStdgaP6RsiLb7t9uQ0h32eA4x8NZAX1fJSWiEOAMtzSLtwNuoGXIMSBZmVQGA5WeOHu05K4UJ5d4/8U7fHux7E4xoL+32FxzULjnsFygto5DN1FQ7qantYpUqj1C4ExftItt481N8em7KEvpUGUFJQNz87+YIQapDvMZf/e3v6Wt9999ibPHLMv8MHDSQi9FINgKKPJABSkrcRcvnkQT7bCfkcUK2bym8qP5fQZ5YiF0co5bB0RrlaADwW4FyKWZgGgsJJytnEM2MsM0HeluDqTY1GasuCKXKQW7oBya4/ULLImyHZa5UPL307+ttnudrSMKWi7uUYKglQh2XNwNQMeCFenqtN/nY9TCPZ/LyCyhTiaMczSaMS1PQwkmHmpEKA3nw+fb6jWCwWpVgvU3vmApQXLPnKY0i82yEzTh3AtWXZ6ZmDXmpzdRynmKtoQO+Hb+Xgn3/+eRM9KtozWpXWtBQF7znKQXuesA10QZZC2ooqNsqX1ll2us4Dg8PqTiFIII3IMi4p1msHxH+fBJuNHIYwTlT3+0RCLKrbcfItlXL53cvfGg+F2bZkjGfDrOn0HMmouU/IPEWpNJB1nQz4qjJYMZhVfckS1S9L8Vc20+9VR4t9+J8CtnrJPvcvC37YQv+uAIf9/D0RNNFZBojHks+O4qiNtluhgfV3aW8L9fGqOz77D1A7WVM9ZJ5clOCFbOfD745xA/9kmtdwXBUKOb42AhxNU4gOoNGMZUrGqXTlYl3TRSz7It3iXn8qFjytifwt9bqX/B8ygKFi/nNLrmceXLCtn5qaKjS02fwfBwa5Rw== +api: {"operationId":"updateAccount","tags":["Accounts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"My Company"},"domain":{"type":"string","nullable":true,"example":"mycompany.com"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"account_id":{"type":"string","nullable":true,"example":"ae4be028-9078-4850-a0bf-d2112b7c4d11"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_account"}},"required":["record"]},"examples":{"Example":{"value":{"record":{"id":1234,"name":"My Company","domain":"mycompany.com","created_at":"2023-02-27T00:00:00Z"}}}}}}},"responses":{"200":{"description":"Account updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Update account","method":"patch","path":"/accounts/{account_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"name":"My Company","domain":"mycompany.com","owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","account_id":"ae4be028-9078-4850-a0bf-d2112b7c4d11","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Update account","description":{"type":"text/plain"},"url":{"path":["accounts",":account_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"account_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/engagement/update-contact.api.mdx b/docs/docs/api/v2/engagement/update-contact.api.mdx index 9ba9344ece..4a3bb6fe6d 100644 --- a/docs/docs/api/v2/engagement/update-contact.api.mdx +++ b/docs/docs/api/v2/engagement/update-contact.api.mdx @@ -5,7 +5,7 @@ description: "Update contact" sidebar_label: "Update contact" hide_title: true hide_table_of_contents: true -api: eJztWv9z2jgW/1d8vtmZ7VwMtvnO3t4dJKRH2zQ5SHbbSzKsbAtQa1uuLUPYDP/7vSfZYANpk2x37peknQSkp6f3XR99udd5RGMiGA+Hnt7V08gjgh7zUBBX6Ee6IL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FnRARrZ37hlci9LQvllAVT5NuCyg1Idv0Lo8v8mi3biE5hm7ylv/0xVxsNUynqXo1g7QXqoKoYGIpBUqgwr+Qkf7kepSG+mLqATAlIuOUZp2EFUFAQYmFyUiFA72Qxe7WlWC6XlUgNk3PmAlQxGJMIlqpNkxGlDuwEqniHuAC95OTSHX2SyPqhXY3eYeNvv/12Ez6qPma0+dsVkKIQPXtVuxQJm9Io6J1AWzHJRsbSfVbPr/OYxPcD3cLLrFu87k4EUtzfOyD+Veyv19gMhS+WT+aOEJQyddGL+3qW4Gcv32fvCrO5xNJ/HGXXma80zJpDQuZFPcTynd1n6vBR1vziCzK5Imel/dlSfM8XeAfVUWLvviTc6IWP454t+O67u68KsPsIsCSCIjrOthCXyGdLsXfxuB2htiJfpb0tIIqL3uXxv4HayV7iBWrdiskS3wDC765+A//wgYXawMilFdvvYQUNZylkB9AoxliSSYqhXEQCatnPPmBYHIynIkRQmuBv1Osg+d8xgQFj/GNDrnoeHLBBHIqaSfy4Xv8Pr/KEDg== +api: {"operationId":"updateContact","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"outreach"},"description":"The provider name","required":true},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"first_name":{"type":"string","nullable":true,"example":"George"},"last_name":{"type":"string","nullable":true,"example":"Xing"},"job_title":{"type":"string","nullable":true,"example":"CEO"},"address":{"type":"object","nullable":true,"properties":{"city":{"type":"string","nullable":true,"example":"San Francisco"},"country":{"type":"string","nullable":true,"example":"USA"},"postal_code":{"type":"string","nullable":true,"example":"94107"},"state":{"type":"string","nullable":true,"example":"CA"},"street_1":{"type":"string","nullable":true,"example":"525 Brannan"},"street_2":{"type":"string","nullable":true,"example":null}},"required":["city","country","postal_code","state","street_1","street_2"],"example":[{"city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"title":"address"},"email_addresses":{"type":"array","items":{"type":"object","properties":{"email_address":{"type":"string","example":"hello@supaglue.com"},"email_address_type":{"type":"string","nullable":true,"enum":["primary","personal","work"]}},"required":["email_address","email_address_type"]},"example":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"title":"email_addresses"},"phone_numbers":{"type":"array","items":{"type":"object","properties":{"phone_number":{"type":"string","nullable":true,"example":"+14151234567"},"phone_number_type":{"type":"string","nullable":true,"enum":["primary","work","home","mobile","other"]}},"required":["phone_number","phone_number_type"]},"example":[{"phone_number":"+14151234567","phone_number_type":"work"}],"title":"phone_numbers"},"owner_id":{"type":"string","nullable":true,"example":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5"},"account_id":{"type":"string","nullable":true,"example":"ae4be028-9078-4850-a0bf-d2112b7c4d11"},"custom_fields":{"type":"object","additionalProperties":true,"description":"Custom properties to be inserted that are not covered by the common object. Object keys must match exactly to the corresponding provider API.","title":"custom_fields"}},"title":"create_contact"}},"required":["record"]},"examples":{"Example":{"value":{"record":{"id":1234,"address":{"city":"San Francisco","country":"USA","street_1":"525 Brannan St","street_2":null,"postalCode":"94107","state":"CA"},"email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"workline2"}],"first_name":"George","last_name":"Xing","phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"mobile"}],"created_at":"2023-02-27T00:00:00Z"}}}}}}},"responses":{"200":{"description":"Contact updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Update contact","method":"patch","path":"/contacts/{contact_id}","servers":[{"url":"https://api.supaglue.io/engagement/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"first_name":"George","last_name":"Xing","job_title":"CEO","address":[{"city":"San Francisco","country":"US","postal_code":"94107","state":"CA","street_1":"525 Brannan","street_2":null}],"email_addresses":[{"email_address":"hello@supaglue.com","email_address_type":"work"}],"phone_numbers":[{"phone_number":"+14151234567","phone_number_type":"work"}],"owner_id":"9f3e97fd-4d5d-4efc-959d-bbebfac079f5","account_id":"ae4be028-9078-4850-a0bf-d2112b7c4d11","custom_fields":{}}},"info":{"version":"0.16.9","title":"Unified Engagement API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\nWelcome to the Unified API (Engagement) documentation. You can use this API to write to multiple third-party providers within the Engagement category.\n\n[View common schema for Engagement](https://docs.supaglue.com/platform/common-schemas/engagement)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/engagement/v2\n```\n"},"postman":{"name":"Update contact","description":{"type":"text/plain"},"url":{"path":["contacts",":contact_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"contact_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/engagement/unified-engagement-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/enrichment/enrich-person.api.mdx b/docs/docs/api/v2/enrichment/enrich-person.api.mdx index 0146abc11a..4b8dc10677 100644 --- a/docs/docs/api/v2/enrichment/enrich-person.api.mdx +++ b/docs/docs/api/v2/enrichment/enrich-person.api.mdx @@ -5,7 +5,7 @@ description: "Enrich person" sidebar_label: "Enrich person" hide_title: true hide_table_of_contents: true -api: eJytVm1v2zYQ/isc9yUBbMkJhgI1hqEdWgzB9iHIy4YhCRJaulhsJZLlix3B8H/fHWnJsp1maTcHiK3T8e65u+ceacW1ASu81Oqs5FMOysqiOgfrtOIj7sXc8ekNTwbH70bcQRGs9C2aV/xpLIwcfwa6ulvjXQvOoCPgqRU/nUzoqwRXWGkoB2ZIoT7GPA0o/0F4gZkKrTxekb8wppZFxJR/Ihxoc0UFjaBfvjWAYfTsExQeDxpLFXiZUha6MUK1/+6oRAMDL+etVHP0UqGuxaxGm7cBRhyeRGPokr9xgIXx9YhLVQY80H7b+Uv96JfCAhOqZFdQVErXet5SQKFUEPW9hQWoMISlQjMD+1LYk8lPk/jBMKVuhFTfU1WGfSMggFbdAtwXOqRhvB7IydvT9ZoY8CVICyXRJjZ50K+DSnvMB6mRS176CDFxEsr7brj7aTr73Zo+oz3CJaox03HaCIuwPF5GCiciIJMLxKgbsGNZRsxorECUseoD+vWd3XayabchTvgBjKsKWHefnX1gvhKeBSW/BKhbJkskv3xEcuKNgaNUrNXBssFO8GHxNIT1aFAFsnyBwey47/231uFEDe5R2wKeL6LLwDYZvgoGM8m6g4BlRgLser8OkcDSwTXSV+/mFDOxleQG51hp0q05xBUXvsKL3GzkitTKLrpJB1tTL7w3bprnKFyZC0bM6wCZ1Dn0ipQvTvl+4ZcbT/b+/IyvBzJ4SfiTpAzEsK8GLb8D1d0PqPPZH81uPkzD0It5zURd6yUrcWNqEjAXbQU2JFElAoqi9KgpMZWbYkyykzfZW75dpGtFDCvZVnzj6SS+ovBbXezrjYtJY5ziphbuXd8xGsFor6U7Nw+48yN+2JnyVpehINst/v0FNToD1UTFdAip/KMtzGOGyQP9ihuQsb91YIVQLDg8WkkXD2CMJY5kE0zacoyr7tuesC6jjDd/SlgyTNpoxRL7GLJ90JS7o64gKjkbVpWbWnj0bvIUYJwCuAF7jmOSH24ugqLtPdfON0JtY9qgMoM2RaSbBe+xHreYH289lstlZtKxmLMDkC+1/eyMKKA3jU2Y4XLkGqe+wLpi8tjoX4WL3GDXF3/cqoeHh1v1KuZvfGl8GwwDVuxL6c6Ae857ePLUKBmjRIqsNqt5w832TaLC+GRarWYI9trW6zWZk1LQwpbS0aMG9/tR1A4O8vXvDPzoYiMrx4z4/hyOuJe9Ji0EkXvK4y4vhJXpmYYvMaNuJb8bwf+p9C+Usv/E2pY0+g/A99X9RQD7D5sdCMnpPSqV8YN7B293Ozr+28creksIRJahiCbF3PygyXS3VDuIPVTXlJ7+E5hn3X+m/UB5/qV3T3e+eqAX6+RNzaB3jn8AcMrmug== +api: {"operationId":"enrichPerson","tags":["Persons"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"PersonEnrichmentData","content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"6sense"},"industry":{"type":"string","nullable":true,"example":"Software and Technology"},"annual_revenue":{"type":"number","nullable":true,"example":104000000},"domain":{"type":"string","nullable":true,"example":"6sense.com"},"employee_count":{"type":"number","nullable":true,"example":1192}},"required":["name","industry","annual_revenue","domain","employee_count"],"title":"enriched_company"}},"required":["company"]}}}}},"description":"Enrich person","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"email","in":"query","required":true,"schema":{"type":"string","example":"alicesmith@gmail.com"}}],"method":"get","path":"/persons","servers":[{"url":"https://api.supaglue.io/enrichment/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Enrichment API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified API (Enrichment) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Enrichment](https://docs.supaglue.com/platform/common-schemas/enrichment)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/enrichment/v2\n```\n"},"postman":{"name":"Enrich person","description":{"type":"text/plain"},"url":{"path":["persons"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"key":"email","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/enrichment/unified-enrichment-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/enrichment/unified-enrichment-api.info.mdx b/docs/docs/api/v2/enrichment/unified-enrichment-api.info.mdx index 59d93cc69b..6b6f31649c 100644 --- a/docs/docs/api/v2/enrichment/unified-enrichment-api.info.mdx +++ b/docs/docs/api/v2/enrichment/unified-enrichment-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.16.9 diff --git a/docs/docs/api/v2/marketing-automation/get-form-fields.api.mdx b/docs/docs/api/v2/marketing-automation/get-form-fields.api.mdx index d277e1f097..10d0e87682 100644 --- a/docs/docs/api/v2/marketing-automation/get-form-fields.api.mdx +++ b/docs/docs/api/v2/marketing-automation/get-form-fields.api.mdx @@ -5,7 +5,7 @@ description: "Get form fields" sidebar_label: "Get form fields" hide_title: true hide_table_of_contents: true -api: eJytV21v2zYQ/iuc9iUBbDlJuy/GMCxDXxasxYK0WTEkgUNLZ5sNRap8sWMY/u+7oyhZspWuWZcCiS0e7567e+45dZPoEgx3QquLPBknc3BvtCneCJC5TQaJ43ObjG8SemiTu0FiIfNGuDU+3CSPQ16K4QPQt7stnhqwpVYW8M4mOTs5oT852MyIkkJggHfCOqZnbBYiMK2YWwCboXu2Em4Rvs3FEhS7eIXxM60cKEd+eFlKkQWoo8+WnG0Smy2g4PTJrUtA93r6GTKHF0tDiTlRQamitey4MXyNZsJBYf/9vshbNtYZoebJdpAoXkDvgYEvXhho35pqLYErOqVsJ0+4zLnjEzLg7ulzHarZl0+32B9AYjZ8KoHFK1RprLGwVQNS9qeSaxZLS3ZiFlrQgsHQ+N4GT/fR3vqy1MZBHtz97qfYdce4ytl7bh7A6fTbSyv5FGRvqksufX95hZ3kMONeup4C7xfhA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q0X+G8H9u5a/Ucv/tYlfIwXcA39/EXwWw/2LQgVAZnaNIl651dvA/m85ye/v6I737eWJ9e39UyyJ+oM709rO9WKrw9JvA9Jr/TEOPm+mXxrw6efJCs6dqNhNhttt/AL03+gk= +api: {"operationId":"getFormFields","tags":["Forms"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"List of fields on the form with the given ID","content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"form_id":{"type":"string"},"data_format":{"type":"string"},"data_options":{"type":"array","description":"Selectable options for this field. Only applicable if the data_format is `select`. Only supported for Hubspot and Marketo.","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"is_default":{"type":"boolean","description":"If true, will be selected by default. Defaults to false."}},"required":["label","value"],"title":"form_data_option"}},"validation_message":{"type":"string","nullable":true},"raw_data":{"type":"object","additionalProperties":true}},"required":["id","name","required","form_id","data_format"],"title":"form_field"}}},"required":["fields"]}}}}},"description":"Get form fields","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"form_id","in":"path","required":true,"schema":{"type":"string","example":"12345"}}],"method":"get","path":"/forms/{form_id}/_fields","servers":[{"url":"https://api.supaglue.io/marketing-automation/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.14.0","title":"Unified Enrichment API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified Actions API (Marketing Automation) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Marketing Automation](https://docs.supaglue.com/platform/common-schemas/marketing-automation)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/marketing-automation/v2\n```\n"},"postman":{"name":"Get form fields","description":{"type":"text/plain"},"url":{"path":["forms",":form_id","_fields"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"form_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/marketing-automation/unified-enrichment-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/marketing-automation/list-forms.api.mdx b/docs/docs/api/v2/marketing-automation/list-forms.api.mdx index cbfc508865..f016243ff0 100644 --- a/docs/docs/api/v2/marketing-automation/list-forms.api.mdx +++ b/docs/docs/api/v2/marketing-automation/list-forms.api.mdx @@ -5,7 +5,7 @@ description: "List forms" sidebar_label: "List forms" hide_title: true hide_table_of_contents: true -api: eJytVm1v2zYQ/isc+yUBLNn1BgwwhmIZ1g3BOiBIkxVbEiS0dI7YSKTKFzuC4f++O+rFkq0UCNokcCzyePfcc88dteW6BCOc1Oo85QueS+v+0KawfMKdeLR8ccPr57sJt5B4I12Fi1v+HIlSRk9AT3c73DVgS60s4Jktn89m9C8FmxhZknt0/gGdM71iK3LIhEqZy0AaVoATqXACYyZaOVCOzoqyzGUSoE0/W3Kw5TbJoBD0zVUloEu9/AyJw4OloUScrMOHCD0zYYyo0Eo6GKy/cFymPRvrjFSPfDfhShQwupEYEA7Se+GOtyccnkVR5rQ0n83n0WwezX++ms0W4e8/NCC0dJQjCRA5iVHQqS/T7+/UiM19oHqEA5GmktgW+UWPDWc87OgkfPHSQEqKQH4aNga5DzCjIpx0ASFBue+KvDv0VhfrbrcLOyOSWTWCLIXBmA6MDQqsy4FCTLx1ugATBVySzmUgUjD4dKSYEQaLau/iLT/CcJUBa/fZ+e8oWuGYV/KLh7xiMkW9yhVyRWreG0rFKu0N68mY9/MOvE56WaAE1+jMRA2xr8/DihwskpXAeBJtBNZEeBGMVEnuU7jv1NKgwYxNNQZmqXUOQvXR1C4PUHzKAEkyzGnWxGAYg1EMtgKHblO2MroIVP5oUoYld1UHPOY0aFACmaZh9QihdYXL8GHaqsSCWbcS8SYnEp0r7WI6xYEVW1+Kx9xDLPW0EOYJHLIYCY9Fq0fNes4PUX9szrCzi/OAoB2EH4mHemT0xuF+6pTyL6jaVln0bA6rO4yHYRhaEUsizzXyA2vIqSVtWEsSsLXaAqAdeVtpCkyJ1z5m8duf4hnfN+G1IpGm7L0yMskKFG04XY9ckYQh0+Bs86VyFkIShalO7K8dd4kuqNkH5A42jwr/Bn/YuXJGpz6htVv8/QQ5GgPlRMm0CM+CgSV47OTvtkbsrKvRKUM4nlIIjzH7V3uWCMW8RWeZrI+i1w0WqXEvTRoNxWRjwnDzj4QNQxiFVqzWNc0bNhb37qRNluiI+xlPy1w4UuC0dhXVruyoxk5D4B9uLr2iMXGhrStEz7vxKi5xTZFIl945zNGuH0/3FpvNJi7rYyF6C2W60ebJliKBbikq/RIH0FSjNtaYawgeyvGbsEFB7Pryw616eHi4Va/slOYUlbtB01PRYHQP1NA1iINnR8zJ4CLoadv0c3ctTHiGrmlhu10i4muT73a0XA8j6vJUWrHMaY6tRG7hKFr3UvHt82cyDj30/djYXAvqowUPY2MtjCSg4Y1p0nb/6zI4uWyG9in7nvfSV7I6vF/3KU2+AfjhXfRVAIdX4wBCbXSGQ7F0vb2j18fB1fHn+yt64/Ektf68rodz84Uq026pque7P8jr8PRJYEbNf6Emw5vgXWde77x4oLsXWl0heHw5+h90fwdQ +api: {"operationId":"listForms","tags":["Forms"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"List of forms and their metadata","content":{"application/json":{"schema":{"type":"object","properties":{"forms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"created_at":{"type":"string","example":"2022-02-27T00:00:00Z","format":"date-time"},"updated_at":{"type":"string","example":"2022-02-27T00:00:00Z","format":"date-time"},"raw_data":{"type":"object","additionalProperties":true}},"required":["id","name","created_at","updated_at"],"title":"form_metadata"}}},"required":["forms"]}}}}},"description":"List forms","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."}],"method":"get","path":"/forms","servers":[{"url":"https://api.supaglue.io/marketing-automation/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.14.0","title":"Unified Enrichment API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified Actions API (Marketing Automation) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Marketing Automation](https://docs.supaglue.com/platform/common-schemas/marketing-automation)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/marketing-automation/v2\n```\n"},"postman":{"name":"List forms","description":{"type":"text/plain"},"url":{"path":["forms"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/marketing-automation/unified-enrichment-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/marketing-automation/submit-form.api.mdx b/docs/docs/api/v2/marketing-automation/submit-form.api.mdx index 39dba52a0b..0c887991b8 100644 --- a/docs/docs/api/v2/marketing-automation/submit-form.api.mdx +++ b/docs/docs/api/v2/marketing-automation/submit-form.api.mdx @@ -5,7 +5,7 @@ description: "Submit form" sidebar_label: "Submit form" hide_title: true hide_table_of_contents: true -api: eJy1V9tu4zYQ/RWWfUkA20rS7YtRLJptd4ugtyCXbYvESGiJtriRSJYXO4bhf+8MKcmSrN226dYGHGk0nDlzO6NsqdLcMCeUvMjolFo/L4V7p0xJR9SxpaXTO4q3ls5G1PLUG+E2INzS5zHTYvzE8W62g6eG/+m5dW9UBqJtuBWGg1VnPB/RVEnHpcNHTOtCpMFr8sEqiTKb5rxkeOU2mgMUNf/AUwcwtEGMTnCLTxcA5p3gRWaHdDNuUyM0WgYxIyW4EnJJ1IIs8BCRrOTEKbJihecEjBHO0rx6KCRxeZBi+PyZlbrg6AaQiQIMlvxb6zVbwtlJqlBpIYx1v4BRePoDV2bJQViwRvY7eKe7fhCVvQa/dQb1+vgRTFAlLMsMtxbjQGHBWdZGeABstxu1CnBXOYQigSGB1llx2UKEFeofaSV61klGtwL/NTXhg56tVtLG9JydnOCfbjIuJDoOTUPYXHnXZIKkhjPHMwLV9DoLl/NNU0oSmtpaNPPZ2lBkf1++GwAgsnbN4II5sma2hpzUeEHECCTBFw4PxDl02LpDHXl69tWrryFr1jHn7RCSfWtUHg5aojoLtXXCBc3o9AGdPdT1oFV9upFdB80almYGKuq4sYEYZCzv8zj11qmSm7HAZhV4MIckcAN3B3keQF5u9iZO6QEITG/9nFx8H3PrpQAWKjaQeKiygLm2IYONIsz4RnlDWsWnox5Z7UatKKDuKzBmxkHykjgsK7iFXKV8OIjaA6k8fBRMqMw+mZq5/ED9n0EKDQS1hepD5XKF3K+VDX2OVqc0QWc22VY+d8lDbA+MmZtVXWxvcPhz57SdJglshEnDAkIlJTNPHLt4zDykP47a6uxgUq6rM+T88oLuWpvmGmOJE9faN01kIPkRBKN9tWqdfp26/sANAS1cBKwo1JpkfMULnG8bZGmKZIt9EwBB1ZAfrvYL7u3/RocIfKHQFOY4wj2ZnL6anND9pN5K7OyMvJVGpHkJnR6ARnZjaWC3KiV1arH8FbZMpbaPrlvH7i7pZ+9L+JAL6YzKfIqye/j+xgtQDrsV81YjPA8KFuGRo5/rdiDnTTscE4DjMYRwOyF/KE9SJom3YCwX8ShYXUM/VOaFycZAOm7TjI6dIIa794KvCcAoYUfEMQgrfsjv7KgOFtMxaUec6II5LGsSTY2jKTvYzsfB8Rd3V14it1zCEJWsZd14OdEgkzgPc+8cxGhXy+O9xnq9nuh4LHivoSRrZZ6sZilvRGPt58BaiYLeWEGswXkoxxtmQ7OS26uf7uXj4+O9/JdDWZ0KLysRTaeL2oTfaYdmGB1/dpg6EWyEhtpWbBLfJiwcne45rCYUGPccqQe0tts5xHFrit0OxTBuJrxejuiKGcHm2PxAOpmweA2ktWCF5QeAmh1Pj64qcjwmOD5DQGsqkUga4bUQ7uAyME1DubsZqFZs8mIIn3NjDcYSMfc3bxMUrpIXA+9vqU8C6C/NDoSo9F10NL5BO3uNg5ey/YlzoGXtPqnb3meXv17fgPK8+n+kVBmeMWyNOxN+p/QevnCjQvCBvoN8C7Qsl54tUT/aRV6Gacm7uycumuoCu2Kwl9pLKQaCvxjWoPo3OMWw1V436vHJRw80Oy5qYyFmAPgvwofOVw== +api: {"operationId":"submitForm","tags":["Forms"],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"formFields":{"type":"object","description":"a mapping of field name to value for each field in the form","example":{"email":"me@supaglue.com","firstName":"George","lastName":"Xing"},"properties":{"email":{"type":"string","description":"the email address of the lead","example":"me@supaglue.com"}},"required":["email"],"additionalProperties":true}},"required":["formFields"],"example":{"formFields":{"email":"me@supaglue.com","firstName":"George","lastName":"Xing"}}}}}},"responses":{"200":{"description":"Information about the lead created or updated by the form submission","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The id of the lead that was created/updated as a result of submitting the form","example":12345},"status":{"type":"string","example":"updated"}},"required":["status"],"title":"submit_form_response"}}}}},"description":"Submit form","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"form_id","in":"path","required":true,"schema":{"type":"string","example":"12345"}}],"method":"post","path":"/forms/{form_id}/_submit","servers":[{"url":"https://api.supaglue.io/marketing-automation/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"formFields":{"email":"me@supaglue.com","firstName":"George","lastName":"Xing"}},"info":{"version":"0.14.0","title":"Unified Enrichment API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Unified Actions API (Marketing Automation) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Marketing Automation](https://docs.supaglue.com/platform/common-schemas/marketing-automation)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/marketing-automation/v2\n```\n"},"postman":{"name":"Submit form","description":{"type":"text/plain"},"url":{"path":["forms",":form_id","_submit"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"form_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/marketing-automation/unified-enrichment-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/marketing-automation/unified-enrichment-api.info.mdx b/docs/docs/api/v2/marketing-automation/unified-enrichment-api.info.mdx index 6da935f18f..4abe789c5b 100644 --- a/docs/docs/api/v2/marketing-automation/unified-enrichment-api.info.mdx +++ b/docs/docs/api/v2/marketing-automation/unified-enrichment-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.14.0 diff --git a/docs/docs/api/v2/metadata/create-association-type.api.mdx b/docs/docs/api/v2/metadata/create-association-type.api.mdx index db66dc3eb4..083de6d1a0 100644 --- a/docs/docs/api/v2/metadata/create-association-type.api.mdx +++ b/docs/docs/api/v2/metadata/create-association-type.api.mdx @@ -5,7 +5,7 @@ description: "Create associationType" sidebar_label: "Create associationType" hide_title: true hide_table_of_contents: true -api: eJztWXtz2rgW/ype7+zMdiYGAwkhdHvvhUA6tM3jAt22EzJU2ALU2pYjyTya4bvfcyQbzCNNb2f7X0gmxNI5R+etn6UHm8dUEMV41PHtuu0JShRtSMk9pkf7y5jaR7ZPY0E9mAIiJRJ6ZCsykXb91t6hlfbdkR0TQUKqqECKBzuCB5C9cLxEKh5S4TAfZLIIBqeU+FTAk/SmNCR2/cFWuGTdlkqwaAIzdEHCOMChcLkRUbJXqJb0BItxcZjuT6m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0MOR86xN/g/v2z+83coSP73BvD1kn9ZnzrgH7rHH6FJo85qoQRMYa6hVKlUMrV0mUaBW2YOcIGBINM6UpZKPBtIjRvBD735H/WoQT8AHPbsd6a3Eu03+FjdRA++olBS/DzgQZATNHd6Oe8XgB8vSQEp+lUs8bwfnbevSxYn3hieSSyEglsUyY1LfCbCzh4Q4qsLMkghIJDCMMkUAwChfTCd2KCbSS7HJIFVOT2t9tuEuEl1g2ke0iiuz8zs0QSFWAzDiPM31GiFI8KcjZ5saGYz+eF2LBpYJU5ojjn4quMoWOuh5w4GQEgLfIZ7qJ0/gIX165pEqkTzXrffTeIPn/+PIh+oIhSSt0ujAa5KD5a21uRWdeRogtVhHxjWpyO7UNa9rf2ftlDgeL2i5MPDyPQ/r0IVischgIR+hLtCKERIyP9don9Mq1E/arJJE742avfrlLrexX7z27aeF9Y/+TV5EGrdWfZu2LVWw6M23iB+dOK715HfleB3dvRLRUM0XmKJ9OgZhR7t1AbDoNLv0t7l+v8N9e9PhCP0vvPkPvII8gc71Lhb90ewA88pGBWX5Li+IMdkGiSAIgGGiMX2ydJMJfyfds06fQfzIpsKlrmtMw3dGMI/kWzDpL/hVUEO8K/1uRm5lGG9f5gqJnGEqvV/wBSpuLk +api: {"operationId":"createAssociationType","deprecated":true,"tags":["AssociationTypes"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source_entity_id":{"type":"string"},"target_entity_id":{"type":"string"},"suggested_key_name":{"type":"string"},"display_name":{"type":"string"},"cardinality":{"type":"string","enum":["ONE_TO_MANY"],"title":"association_type_cardinality"}},"required":["source_entity_id","target_entity_id","suggested_key_name","display_name","cardinality"],"title":"create_update_association_type"}}}},"responses":{"201":{"description":"AssociationType created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"association_type":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create associationType","method":"post","path":"/association-types","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"source_entity_id":"string","target_entity_id":"string","suggested_key_name":"string","display_name":"string","cardinality":"ONE_TO_MANY"},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Create associationType","description":{"type":"text/plain"},"url":{"path":["association-types"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/create-custom-object.api.mdx b/docs/docs/api/v2/metadata/create-custom-object.api.mdx index a6b2948946..06b01be253 100644 --- a/docs/docs/api/v2/metadata/create-custom-object.api.mdx +++ b/docs/docs/api/v2/metadata/create-custom-object.api.mdx @@ -5,7 +5,7 @@ description: "Create customObject" sidebar_label: "Create customObject" hide_title: true hide_table_of_contents: true -api: eJztWnlz27oR/yooO2/yMiPqtOUjTVvbkvOUxEcl5yUZ26NAJCQhJgkaAHXEo+/eXYCUSMlX05f/LGfsEFgsFnv+oOWdI2ImqeYi6vjOvuNJRjU7SpQW4dngO/O0U3I0HSln/9LJDyvnuuTEVNKQaSZx+s6J4AF4zFzPEDLpch+W8wgGx4z6TMKT8sYspM7+naPnMZIrLXk0ghk2o2Ec4FA4X7GoOYuS4zPlSR6jmDB9MWYkmyedFtFjqkkS8duEBXPCfRZpPuRMwUSOkEdkLhJJaBwH3DNHhk0lu024ZHB2LRO2KOVOEUsxAWbSNSM/cw5FA6aGQnrs/kNkO5B0hzVhQMOKeYnkem70O3NpzN0bhk/XOIv0TOlD4c9RkOLykuOJSIMucCp36Mp3hQLcbZ5AZAYHucArNKgQZ9PhJ+lUMhqBNMzvWxU+phnNvRuGLDaVgovRUq98EvAbRrQgiWIE1JizJ7EylMkxDPeWai6RKSNTHgRoZRb55Fu/730jfEgi5jGlqJzbJX8kg14sdIlwbeljqtBfpEhGY0KVy1V5w2abB4qSIKADPJHV+OqAF+aAqZjICehYoJ6hReCcBFQ+rj/LHvnGQSJp8Bxq5SwWeR+7XO21ZHONHCUPQVF9CKHA74O7PWjPTeMBtTWgGBprXWXcrhxi+Fn1p6KVMCiXptBjrgi3UWtobWAb8wwY8bmKAzpnvnEFSiTzhPSRAy741CGDOfHZkCbBPW5heGecJBsyySIPWFGVinkKQi9lvMdV+5DKQDdmPm9FKiWdY3LQLHyGddNDPCN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ZYL2pPU/Eaj9rtyatWW7p75AF5bQnv18IWn/r30Ic84XNHJCpMbvv13+JAO4lQ/sbAMfj6zAIhNTxYNnJcLELaXhFCYTa0wPbqj7kmZfBUJ8WhkerimnYO0sN6+dwBXsYhk3g2+I4XCzlSgOXgI0kvfjSnmq6xXrsooyOXfLrtJhM2/cwiykEbXv2fHkklUhqofRhg4g0RrEZXVZPR6RTGdTsuxXWYQXKaIylTIGxVDal4OuXEyAORbERMs12z6Gjc3qjmkyng4+dT9eBV9+/btKnpG9KaUxg+tBDkr3p9O7m9BazbTFfBLbngZw96lmSbryWDTJ801kBWwxuPc3d0AJP8kg8UChyEqpXmfoIT4i9tm9iWm5zT80xDAiZU3r8m0bN44v3dTx39N/sq3NO49tElnG2+bmLoG4w6+y/HTgq+/mfGoAOsvihREsERHKWi9QD4rio1W12qFBb+P0l7nas35We8CiAfpqyCh8HGNpFN8rQR+7ztX8AMPKWI274vg+B2kUEicgNSBxvLFrEQTdKV8sbCVIf0PekU2Fc1zUuariD0I/sZj3Uv+D4wgKEP/XJLbmQcXLIuSpeYGsCwW/wWEt5Nl +api: {"operationId":"createCustomObject","tags":["CustomObjects"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"object","properties":{"suggested_name":{"type":"string","example":"ticket","description":"The name you'd like to use for the custom object. For Salesforce, we will append `__c` if necessary. For HubSpot, it will pass through as-is."},"description":{"type":"string","nullable":true,"example":"Ticket object"},"labels":{"type":"object","properties":{"singular":{"type":"string","example":"Ticket"},"plural":{"type":"string","example":"Tickets"}},"required":["singular","plural"]},"primary_field_key_name":{"type":"string","description":"The key name of the \"primary\" field. For example, in HubSpot, this is the field that will be displayed for a record in the UI by default. For Salesforce, this will be referenced as the \"Name\" field.","example":"ticket_id"},"fields":{"type":"array","items":{"type":"object","properties":{"display_name":{"type":"string","example":"Ticket ID"},"key_name":{"type":"string","example":"ticket_id","description":"In Salesforce, this must end with `__c`."},"is_required":{"type":"boolean","example":false},"field_type":{"type":"string","enum":["string","number"],"description":"In Salesforce, when this is set to 'string', the max length will be set to 255 by default. In Salesforce, when it is set to 'number', the precision and scale will be set to 18 and 0, respectively."}},"required":["display_name","key_name","is_required","field_type"],"title":"custom_object_field"}}},"required":["suggested_name","description","labels","primary_field_key_name","fields"],"title":"create_update_custom_object"}},"required":["object"]}}}},"responses":{"201":{"description":"CustomObject created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"object":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Create customObject","method":"post","path":"/objects/custom","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"object":{"suggested_name":"ticket","description":"Ticket object","labels":{"singular":"Ticket","plural":"Tickets"},"primary_field_key_name":"ticket_id","fields":[{"display_name":"Ticket ID","key_name":"ticket_id","is_required":false,"field_type":"string"}]}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Create customObject","description":{"type":"text/plain"},"url":{"path":["objects","custom"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/create-property.api.mdx b/docs/docs/api/v2/metadata/create-property.api.mdx index c1b93e65b7..8899e41036 100644 --- a/docs/docs/api/v2/metadata/create-property.api.mdx +++ b/docs/docs/api/v2/metadata/create-property.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Create property" hide_title: true hide_table_of_contents: true -api: eJztWltv2zYU/iuc9rAE8CXpXgojCNYmLRasFyNJMQy24dISbbORSI2knASG//vOISVKsiwnDbqHYW6BmiYPeS48l++YXQcyZYoaLsVVFAyCUDFq2FDhrHkMOkHEdKh4igSwPBgMhDRsLG6XXJM50GaKERhKET8SuqI8prMYZgQZKrbi7J4YSTSLWWhImGkjE6aQmshMkXfCMJUqrhlJYyp6ZHQhhaFAmunJUQKHGTkwjCa/6SylizhjvVAmx2QuFUkkMhYwTKz0vbEA4cbiwiqgCc3ZkTTXBWUyS4bfVzxiilAREcUWXBsUiRskuCn4jAXobuhCB4NRkJuDMx1MOoFmYaY4GGcwWgcPXZry7h3Db5MNrCr2d8a0eSsjmFrbr1wxMK1RGesEISjIhMElmqYxD63w/W8azb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4GtYbEzmMVEYuMLpDenYsFkWbozdVK7MpuPkCv2OlP1RLtFMF/Ua2d5GeYuKDGn3tyt9K6wVd8R40XMQGB/wGjqysC +api: {"operationId":"createProperty","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\nCreates a custom property in the provider and registers it in Supaglue.\n","tags":["Properties"],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The unique identifier to be used to refer to this property across all customers. Supaglue will use this to appropriately map to the provider field ID.\n","example":"ticketId"},"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"description":{"type":"string","description":"A description of the field."},"is_required":{"type":"boolean","description":"Defaults to false.","example":false},"group_name":{"type":"string","example":"supaglue","description":"Only applicable for Hubspot. If specified, Supaglue will attempt to attach the field to this group if it exists, or create it if it doesn't."},"type":{"type":"string","enum":["text","textarea","number","picklist","multipicklist","date","datetime","boolean"],"description":"Type of the field.\n\nSupport:\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    FieldHubspot (type-fieldType)SalesforcePipedrive
    textstring-textTextvarchar_auto
    textareastring-textareaLongtextareatext
    numbernumber-numberNumberdouble
    picklistenumeration-selectPicklistenum
    multipicklistenumeration-checkboxMultipicklistset
    datedate-dateDatedate
    datetimedatetime-dateDatetimedate
    booleanboolean-booleancheckboxCheckboxenum
    \n","title":"property_type"},"precision":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 18."},"scale":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 0."},"options":{"type":"array","description":"The list of options for a picklist/multipicklist field.","items":{"type":"object","properties":{"label":{"type":"string","example":"Option 1"},"value":{"type":"string","example":"option_1"},"description":{"type":"string","description":"A description of this option."},"hidden":{"type":"boolean","description":"Defaults to false."}},"required":["label","value"],"title":"picklist_option"}}},"required":["name","label","type"],"title":"create_property"}}}},"responses":{"200":{"description":"Create a property","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The machine name of the property as it appears in the third-party Provider.","example":"FirstName"},"custom_name":{"type":"string","description":"Only applicable for custom properties. This represents the unique identifier that can be used to refer to this property across all customers."},"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"description":{"type":"string","description":"A description of the field."},"is_required":{"type":"boolean","example":false},"group_name":{"type":"string","example":"supaglue","description":"Only applicable for Hubspot. If specified, Supaglue will attempt to attach the field to this group if it exists, or create it if it doesn't."},"type":{"type":"string","enum":["text","textarea","number","picklist","multipicklist","date","datetime","boolean"],"description":"Type of the field.\n\nSupport:\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    FieldHubspot (type-fieldType)SalesforcePipedrive
    textstring-textTextvarchar_auto
    textareastring-textareaLongtextareatext
    numbernumber-numberNumberdouble
    picklistenumeration-selectPicklistenum
    multipicklistenumeration-checkboxMultipicklistset
    datedate-dateDatedate
    datetimedatetime-dateDatetimedate
    booleanboolean-booleancheckboxCheckboxenum
    \n","title":"property_type"},"precision":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 18."},"scale":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 0."},"options":{"type":"array","description":"The list of options for a picklist/multipicklist field.","items":{"type":"object","properties":{"label":{"type":"string","example":"Option 1"},"value":{"type":"string","example":"option_1"},"description":{"type":"string","description":"A description of this option."},"hidden":{"type":"boolean","description":"Defaults to false."}},"required":["label","value"],"title":"picklist_option"}},"raw_details":{"type":"object","description":"The raw details of the property as provided by the third-party Provider, if available.","additionalProperties":true,"example":{}}},"required":["id","label","type"],"title":"property_unified"}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"object_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the object.","example":"contact"}}],"method":"post","path":"/properties/{object_name}","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"name":"ticketId","label":"First Name","description":"string","is_required":false,"group_name":"supaglue","type":"text","precision":0,"scale":0,"options":[{"label":"Option 1","value":"option_1","description":"string","hidden":true}]},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Create property","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\nCreates a custom property in the provider and registers it in Supaglue.\n","type":"text/plain"},"url":{"path":["properties",":object_name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"object_name"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/get-association-types.api.mdx b/docs/docs/api/v2/metadata/get-association-types.api.mdx index b81127106c..4e72db05b1 100644 --- a/docs/docs/api/v2/metadata/get-association-types.api.mdx +++ b/docs/docs/api/v2/metadata/get-association-types.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of associationTypes" sidebar_label: "List associationTypes" hide_title: true hide_table_of_contents: true -api: eJy1VmtvGjkU/Suu90sj8Ujab6iqNrtbVagNidJEVUUQMTMXcDNju35AEOK/917PDAwwpatuFySSsY/v85zrWXNtwAovteqnvMdn4C+d04mMS3crA463eArGQiI8IMTbAC3uxczx3pAfgUct7iAJVvoV7q/5c1sY2X4CehptRmTLJVYaOoH+3oNngmXSeaanTBy7NsKKHDxYF80pfMBjTgebwBiURz9jmSJQkrlvAewKH1wyh1zw3pp7tEMHvJVqxjctbuFbkLbKZNPa2vTCYva/1+ZzOwnO6xxse2dwDiIFe8Jii8OzyE1GS/lqZ+KCfO3X724OrNpn/X+YnwvPgpIYdLZiMqVsphIcbtSAUrEVVpAJYzKZxHrzk1kYqxdozLbjyq/k4UQGbqqxa81JVB5Y6eEgmBGtOKOVQ1ago1fn5/Rn304DcxOtPNaAsLVku18dHVgfR64nXyHxxDtLwvCycIe+Q+ZdDSisFcQK6SF3PzeA3W8izhGPm0BHxGwCpdKZTKzGRcsaAImwqVQii8Js6JQKOQn6evBufHc9vrocfMHV+8GHwfXnAakancdG1jQ6JiPjmuGxtuOgnpReKr7Z08WQR/436LZBdnu57Ed+IhD0WHxaHAfGXJfjLM4QP8eHbu1E25cEcWAX1XAJNiNae29cr9vFudVxwYhZFqAjdReNilR40V284ocM/lTi2OVNn29qM/ATEaygQG0S7lhk5AcgGm2VVmEONXbA9Js+QxTzmoks00uWwgIyIpyLa0kCrtB8DGhD1qaaHFOyhY3zzsXrzgXfFfSqTDCeKaQjkiidMroqS6JLLiQVK9WJ+3NbpUTnuLdfxr3NI+n/gR/WV97qNCS09oDfz5AhGCgTSqEeF0OHIUeyxC4yHCjs79urDvuiA0uEYsHhsbl0EYvni9sNGGKr/mF1rMbq5KhoicOJ8DZt40XjV9sx5DoUyPDF8DYoGpc32vlcqNHLKi0bVMfgmiJqTIL3WnXcYna2QyyXy44pjlHu20J0l9o+OSMS2C61TZjgbOpq7M5CwvKMnMfS/CVc7CG7v/34oB4fHx/Uv+BniaRylxHUuviRLtuGm3avMevd5Pz5HV2S2cOz76JwZXQcWbAutTfkx9pDlcwxONpcryeY573NNhtaLm5cUiROAjHJaIBMRebgRJAvb8tZc8Z+FFGUXtMIWggidY9zuvP+B5cNI27nckQPVpLP+IrUqjT/y/n/zneCE1kdvtv89yo2vQecDODwtWQvhAJ0iaPQ+Nre0WsAdWB7Ybx/d4dYEYi09SldjOTyH+pMtaVWNdv18V24p18KphH+hoSN8//tFl7s/PDA9jYo0FSMEV543wEgZxeH +api: {"operationId":"getAssociationTypes","deprecated":true,"tags":["AssociationTypes"],"security":[{"x-api-key":[]}],"description":"Get a list of associationTypes","parameters":[{"name":"source_entity_id","in":"query","schema":{"type":"string"},"required":true},{"name":"target_entity_id","in":"query","schema":{"type":"string"},"required":true},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"AssociationTypes","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source_entity_id":{"type":"string"},"target_entity_id":{"type":"string"},"display_name":{"type":"string"},"cardinality":{"type":"string","enum":["ONE_TO_MANY","UNKNOWN"],"title":"association_type_cardinality_or_unknown"}},"required":["id","source_entity_id","target_entity_id","display_name","cardinality"],"title":"association_type"}}}}}}}},"method":"get","path":"/association-types","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"List associationTypes","description":{"content":"Get a list of associationTypes","type":"text/plain"},"url":{"path":["association-types"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"key":"source_entity_id","value":""},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"key":"target_entity_id","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/get-custom-object.api.mdx b/docs/docs/api/v2/metadata/get-custom-object.api.mdx index 39ba728f13..490a345aec 100644 --- a/docs/docs/api/v2/metadata/get-custom-object.api.mdx +++ b/docs/docs/api/v2/metadata/get-custom-object.api.mdx @@ -5,7 +5,7 @@ description: "Get customObject" sidebar_label: "Get customObject" hide_title: true hide_table_of_contents: true -api: eJytVvtv2zYQ/lc47Ye2gCU7jp2kxjCsa4ci2IoVSYphcAyHomibDUWqfNgxDP/vuxNlWX7kgWBpkNrk8e67756rSBfcUCe0usyiQTTl7qO3Tud/p985c1ErcnRqo8Ewah7baNSKLGfeCLeEy1X0ENNCxPccv43WcFtQQ3PuuLHlvYIvoP4hZqUabmKRgXKh4HDGacYNfLNsxnMaDVaRWxYobp0Rago3/IHmhcSjfLlVcRKtW1HGLTOiQA/g+mbGyeaeXH4ibkYd8Ur88Fwuici4cmIiuIWLhqBQZKm9IbQopGAlG2DU8B9eGA60OOP5utXwojB6DspMXJ68xg9LJbcTbRg/7sTGAqksPAomODHWZWDGW1YL6mYH716GrdPtX7CUncVnnW4n7p12aHzRu+AxpRPKUppNehRQY5QNt4VWlltU2O108L9dX/ayiWnlIAYo1yC7/d2i8OoQnd48BD4gUZ0IpsDNJz3odfvn7yfnp/FFv9uLe/3zTvw+PTuPOUuz806XnaUnPeQ9cPiUJifYPXcHMTp8ory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/glUFzffXWjzcPPqgbsVBGskYwXj6D3f5qoc= +api: {"operationId":"getCustomObject","tags":["CustomObjects"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"custom_object_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"CustomObject","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"42579f73-8524-4570-9b67-ecbd702c6b14"},"name":{"type":"string","example":"ticket"},"description":{"type":"string","nullable":true,"example":"Ticket object"},"labels":{"type":"object","properties":{"singular":{"type":"string","example":"Ticket"},"plural":{"type":"string","example":"Tickets"}},"required":["singular","plural"]},"fields":{"type":"array","items":{"type":"object","properties":{"display_name":{"type":"string","example":"Ticket ID"},"key_name":{"type":"string","example":"ticket_id","description":"In Salesforce, this must end with `__c`."},"is_required":{"type":"boolean","example":false},"field_type":{"type":"string","enum":["string","number"],"description":"In Salesforce, when this is set to 'string', the max length will be set to 255 by default. In Salesforce, when it is set to 'number', the precision and scale will be set to 18 and 0, respectively."}},"required":["display_name","key_name","is_required","field_type"],"title":"custom_object_field"}}},"required":["id","name","description","labels","fields"],"title":"custom_object"}}}}},"description":"Get customObject","method":"get","path":"/objects/custom/{custom_object_id}","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Get customObject","description":{"type":"text/plain"},"url":{"path":["objects","custom",":custom_object_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"custom_object_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/get-property.api.mdx b/docs/docs/api/v2/metadata/get-property.api.mdx index 7993fc1549..692e0bcde3 100644 --- a/docs/docs/api/v2/metadata/get-property.api.mdx +++ b/docs/docs/api/v2/metadata/get-property.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get property (preview)" hide_title: true hide_table_of_contents: true -api: eJzVWOtv2zYQ/1c47cMSwI+k+zIIQbCurwXrI0hSDENsuLR0ttlIpEpSTgzD//vuSEmWLNlJi3bA8iGmyCPvdw/eg+tAZaC5FUpexEEYzMFeapqyq6AXx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bMGu3L3QQC7pUQDgid6jqE7s7W11uNsI++9eXVDxV5O/l3PKj6FFAOyTKdV6+nGs6f/BKaT/IwCEear84rcr+zdUGUvT03KGGPF+C9+KA6f +api: {"operationId":"getProperty","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n","tags":["Properties"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"Get property","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The machine name of the property as it appears in the third-party Provider.","example":"FirstName"},"custom_name":{"type":"string","description":"Only applicable for custom properties. This represents the unique identifier that can be used to refer to this property across all customers."},"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"description":{"type":"string","description":"A description of the field."},"is_required":{"type":"boolean","example":false},"group_name":{"type":"string","example":"supaglue","description":"Only applicable for Hubspot. If specified, Supaglue will attempt to attach the field to this group if it exists, or create it if it doesn't."},"type":{"type":"string","enum":["text","textarea","number","picklist","multipicklist","date","datetime","boolean"],"description":"Type of the field.\n\nSupport:\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    FieldHubspot (type-fieldType)SalesforcePipedrive
    textstring-textTextvarchar_auto
    textareastring-textareaLongtextareatext
    numbernumber-numberNumberdouble
    picklistenumeration-selectPicklistenum
    multipicklistenumeration-checkboxMultipicklistset
    datedate-dateDatedate
    datetimedatetime-dateDatetimedate
    booleanboolean-booleancheckboxCheckboxenum
    \n","title":"property_type"},"precision":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 18."},"scale":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 0."},"options":{"type":"array","description":"The list of options for a picklist/multipicklist field.","items":{"type":"object","properties":{"label":{"type":"string","example":"Option 1"},"value":{"type":"string","example":"option_1"},"description":{"type":"string","description":"A description of this option."},"hidden":{"type":"boolean","description":"Defaults to false."}},"required":["label","value"],"title":"picklist_option"}},"raw_details":{"type":"object","description":"The raw details of the property as provided by the third-party Provider, if available.","additionalProperties":true,"example":{}}},"required":["id","label","type"],"title":"property_unified"}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"object_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the object.","example":"contact"}},{"name":"property_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the property.","example":"contact"}}],"method":"get","path":"/properties/{object_name}/{property_name}","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Get property (preview)","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n","type":"text/plain"},"url":{"path":["properties",":object_name",":property_name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"object_name"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"property_name"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/list-custom-objects.api.mdx b/docs/docs/api/v2/metadata/list-custom-objects.api.mdx index 008aa0bfb9..f97d8614b2 100644 --- a/docs/docs/api/v2/metadata/list-custom-objects.api.mdx +++ b/docs/docs/api/v2/metadata/list-custom-objects.api.mdx @@ -5,7 +5,7 @@ description: "List customObjects" sidebar_label: "List customObjects" hide_title: true hide_table_of_contents: true -api: eJytVW2P2kYQ/iubzZechDFH7kKDoippWlWnJmp0SRRVHMot6wE2Z+86+wKHkP97Z9Y2GLieoqhGAjzz7Lw887JbbkqwwiujrzI+5rly/m1w3hR/z76B9I73uBcLx8cTfiif9rgDGazyG1Ru+X0iSpXcAb1NK9SWwooCPFgX9Rpf0MF9IqMZsInK0LjSKFyCyMDim5NLKAQfb7nflAR33iq9QA3ci6LMSVRs9ibOedXjGThpVUk5oPrTElirZ1e/M78UngWtvgfIN0xloL2aK3Co6ACVZhsTLBNlmSsZ+UCnFr4HZQGJ8TZA1etkUVqzQmM2iZKfycOJHNzcWAkPJ9F6YI2Ho2CmJHGl0Q4cORoOBvRzaKdbMjQhjfaYP+E6iabfHIG3p1ELa8WGkvNQuI7ctAYxRmwfr+oQsKCPZnwxvBy9nI+eJ79cDi+Si8vRIHk5ezFKQM6y0WAoX8zOL4iLmuTHLHkl78DzqurSMuGxo+JpZMcrX/Os6NDXutRfm9Cr+BzT/g67v+mJfftjDy8NzcYCYsrCL/ElrQ25tIZTzcGu2mYPNqd28L504zTFwei7UIpFHqCvTIoWRSa8SFdDfhzCxwbH3ny44lVnyD5ScWqeO6O2L1Wp/oJNm/64gznuzUN/6IYhinnDRJ6bNctgBTlV1UWZlODqWYkBVWRtbsgxJVvbGPTPn/fP+Z7y902C8UzddkLGtmuia7OkohZCEVmZke71jiUZKT2k8UB5Urun+LAr7a3JgiTZDX6+QI5goEwohW5cDB2GAqchzgDDQWRvr9/32T8mMCk0Cw6PLZWLWDxf70lgiG3rh+xYg+wUIfcKe4zwNktw8fnNbnxdnwKZPJlcB01r5oNxvhB6+qxNywbdL1GmqTVmwXuj+261ONsj1ut1v6yPUe47ItK1sXeuFBJ2oqQMM5zr1GB1VgrWZ+Q8UvObcLGG7PP1uxt9e3t7o3+gPxsk0d1E0Knig+NyUJVde3q492mZCxVNxbpum1GaNOuEDjfDhG2/RG+k225nGPhnm1cViXGL23jD9PhKWCVm1G943/Ta/qbpy5QjBc7sXOQOTmLarUH+7LrZHmfs/7w3Hkw6zuvJ/bcSNAZjzul2+enAj++KRwM4vroOQqhBb3DsS9/RnVwXtJp2m/HPPz4hVgQqZ3cj1eun+UOVaVV607HdXVW1e/qmYB6Ev6Imxl336w5ea/7zwG7z1WgiY4rL/1+M5xWC +api: {"operationId":"listCustomObjects","tags":["CustomObjects"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"CustomObject","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"42579f73-8524-4570-9b67-ecbd702c6b14"},"name":{"type":"string","example":"ticket"}},"required":["id","name"],"title":"simple_custom_object"}}}}}},"description":"List customObjects","method":"get","path":"/objects/custom","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"List customObjects","description":{"type":"text/plain"},"url":{"path":["objects","custom"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx b/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx index e0cea71c3c..c6364429d7 100644 --- a/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx +++ b/docs/docs/api/v2/metadata/list-properties-deprecated.api.mdx @@ -5,7 +5,7 @@ description: "List properties" sidebar_label: "List properties" hide_title: true hide_table_of_contents: true -api: eJy1Vm1v2zYQ/isc96UBZDnpvhlDsa5dh2DtFqQtiiExGlo6W2wlUuWLHcPQf98dKclS7KZptsVAbJLHu+eee+OO6xqMcFKr85zPeCmtuzC05yTYl1AbyISDnCc83y9mznhIuBMry2dXfH+BzxNuIfNGui2e7PjtRNRy8hloNW/wtBZGVODA2HCucIFm3bYGNCEV/v7iwWxxYeCLl2ZvzWYFVILPdlF6xq0zUq1QEpSvCId1QuXCENjMW6crPm+apDcSvh5tJAebGVkTU7j9rgBG+pheMoe/9eITZI4ttWGbQmYF22rPNkI55jQjUlndk5TyIarbScQKZiLzDl4BIgfD73X6VlR1SVvVdq/ijDfHoHbn7PwlwhWOeSWRgnLLZA7KySXCCn70glKRC4aJui5lFhLkgK6RF+jfGpWZyZDm7/LDihIsMpjBcSc6C6y1cAfMnHZsrZXFPERDT09P6Wus5zWFAmO2jwYli1YOWSDpgbvTT5au7A6xx2DjxYEWPB2vWllhjKBEkw4q+20dmAIPyr1KZIVU4xxsNW2ZsEw6ihwIYymSdOoKafIJlh8KXLRMpiP+X0lj3Z/ELdJfigWUD8NS+EqoicFQi0X5dUht+HK22H4PINYhikAeAogkHo2AoQYbdVgmDPqjQ7lgiYSLb30tVqWHlL3CYj/HzDGZrhJShlxbFnElSLuDFZiELbQuQaiEoXiMerz6l3fIWVbsrx5ewca2oI2QRUFDVD/mqaUCOTJi8zEHJ2R5NNcOqcILrL3wWMbQ1SUTa1RB4SdkIs8l2RDlYDK0DbZHvWuaZljDVzy0v5h3WMtOuuBcB+fjYP4cXB0UEbb8cHyk7kdFj0Oo0DTyVhDKULgCF9ORjAWz7iaVNyU1NOdqO5tOcaqltssEqaeoDdPfien66QHPXcaw5xfnvBlMyLfUWGLdD+bkvnXU8g+g3tH32E7mbncd20MzDKVo8oiy1BTgNZTklg17WQY2dvsAqCFtS02Gydmo4zQ9+yk94/swvGkdDHdiyxRZaJktus5LyswKkwG3cp3ZX3qWsErwbEzj6PAgaD/iH1WY0bnPaO8aPx+gRGEgT8iFIS6GBn2FnTz07zCMX1y+SdnfOIszoZi3EGuNZPF+fPpgq1Csix+yYzSyU/nSSczTUcZ3A8imBOTqh6tLr6i9XmjrsAXOn3RuGa/SGvcUpcbCO6dVaterk73EZrNJ63iNfO+JmG60+WxrkUG/Nan9AmfSVGN01hI2J2Q8UPOrsCGG7P3l62t1c3NzrR6Qn60k0d0iGETxsE5GIelz08Gtm9alkEFPCOquraFxNSa8QCO0u9stEO97UzYNbccXGFVWLi11DqzFpSgtHJjsxzN/ctnW/AnjyXEooYS69+RaUELOOKeXyv9gpn2I7M3MaWEk2QkP3qSr0Uf7+V++3u7x5O4r9N8zd+zFdi+Auw/IEYQo9BxbV+0GZwfPNYpA39l//+0dTSNPWTnsqrGFtj8oMt2R2g50D9ttNE//CcxR8Z+pELFfP+vF48lXL/TdO0oTGTS7/gGusbW4 +api: {"operationId":"listPropertiesDeprecated","deprecated":true,"tags":["Properties"],"security":[{"x-api-key":[]}],"parameters":[{"name":"type","in":"query","required":true,"schema":{"type":"string","enum":["standard","custom"]}},{"name":"name","in":"query","required":true,"schema":{"type":"string","description":"The name of the object for which you want to list properties."}},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"List of properties","content":{"application/json":{"schema":{"type":"object","properties":{"properties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The machine name of the property as it appears in the third-party Provider.","example":"FirstName"},"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"type":{"type":"string","description":"The type of the property as provided by the third-party Provider. These types are not unified by Supaglue. For Intercom, this is string, integer, boolean, or object. For Outreach, this is integer, boolean, number, array, or string.","example":"string"},"raw_details":{"type":"object","description":"The raw details of the property as provided by the third-party Provider, if available.","additionalProperties":true,"example":{}}},"required":["id","label"],"title":"property_deprecated"}}},"required":["properties"]}}}}},"description":"List properties","method":"get","path":"/properties","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"List properties","description":{"type":"text/plain"},"url":{"path":["properties"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"key":"type","value":""},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"key":"name","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/list-properties-preview.api.mdx b/docs/docs/api/v2/metadata/list-properties-preview.api.mdx index be1181dd4e..ffbd6d948a 100644 --- a/docs/docs/api/v2/metadata/list-properties-preview.api.mdx +++ b/docs/docs/api/v2/metadata/list-properties-preview.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List properties (preview)" hide_title: true hide_table_of_contents: true -api: eJzVGNlu4zbwV1j1oQngI9m+FEYQdLtHG3SPIMmiKGLDS0tjmxuJVEnKiWH43ztD6rRkx7vYPjQPMcUZzs05uAlUCppboeRVFIyCWBh7rWnPCjDXGlYCHoNeEIEJtUgJD7FGo5FUFsbybikMmwO3mQaGSyXjNeMrLmI+i3FHspwEs4oZiCG0LMyMVQlowmYq0+yNtKBTLQywNOZywO5fKWk5omZmcpIgMatGFnjyq8lSvogzGIQqOWVzpVmiiLHEZeKUGIwlCjeWKLLlCxOM7oNKnWDSCwyEmRZ2jZBN8NTnqeg/AH1NtgjVYFIlDaKONsGLszP6aar+Dg3E0opkLwhRWJCWUHmaxiJ0ggy/GMLfBCZcQsJpZdcpIAU1+4JmwIM1KghtfuW4XGu+RlRhITHP0xBRDcdYLeSi5bu7JbCEh0shgUmeAFNzZnEvp4TuM0xYhqoARx+hCwlql0JH/ZQTAhp0JSLQA6QNTzxJY2L3VmhjPyDBYIs2cT6eEv3nJfrogsabjqKG/OoJ1Aw9YC7WNKToIzS3cWJlUvyTYQBEuCPmAjTucgwxLtkMoQYiCjwNc4Io0sLUFA21MobxOK5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GR6ZiMZ21qRsMhjsmDcvgWaoi0ceKxfLh60RK0bOFfXl8F29rIfUua+txVG7yrNJqKP4HyaOnPAmfXkzvJ5/qKIZYbEuJY0fVdQUxKuizCwxCMjywnEE1Acq6IMSnraZwNzn8enNfq2ftcQXemVxp2VDr4thp2gJ4ocCtSoWk8USCsacYGsBVgP+Ifu5JWqygLaY8Ggb8gRmTw4w6wulw404TYWaFkLu1ScXl1837A/laZm4Bx/PWJmHDxvH/pAXp2KfxXzMC+EsXNfFYEu3HTyf0P9zeZdE86yliceicnhVo6k4MU9ySFxiyzFrO+WS1OK4zHx8dB6o+R7qUhho9KP5iUh1Bu9VNse0U4VOgdejk6JebONL9x43zIPt28G8vPnz+P5RHxmWO6nsRLUPPizmsOO0n9c9XpbpRtqmee/8nrl79UNLoMka5wBnDRuMlTQaNA9IJRPWXhrV2isQhps5mh3T/peLulbUzZ2j2XUQHWghR1+SIShtZR/mxwwHwnN3kGPGX75CwyglyXdX4U4NIljEZu3U6ou/CJ4ZvF+J7lqVMfL/dumS0Vo7rxzYLvlqSDAuxWyIYIHukl5svU1mCtR81Gcfn9zR01OBlFVD2V+7ydL8gznT6t53jPnv6TMJ3oF3T7sUhclugesvdAWTI8NhmDWqF/Acg7z+A= +api: {"operationId":"listPropertiesPreview","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n","tags":["Properties"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"List properties","content":{"application/json":{"schema":{"type":"object","properties":{"properties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The machine name of the property as it appears in the third-party Provider.","example":"FirstName"},"custom_name":{"type":"string","description":"Only applicable for custom properties. This represents the unique identifier that can be used to refer to this property across all customers."},"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"description":{"type":"string","description":"A description of the field."},"is_required":{"type":"boolean","example":false},"group_name":{"type":"string","example":"supaglue","description":"Only applicable for Hubspot. If specified, Supaglue will attempt to attach the field to this group if it exists, or create it if it doesn't."},"type":{"type":"string","enum":["text","textarea","number","picklist","multipicklist","date","datetime","boolean"],"description":"Type of the field.\n\nSupport:\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    FieldHubspot (type-fieldType)SalesforcePipedrive
    textstring-textTextvarchar_auto
    textareastring-textareaLongtextareatext
    numbernumber-numberNumberdouble
    picklistenumeration-selectPicklistenum
    multipicklistenumeration-checkboxMultipicklistset
    datedate-dateDatedate
    datetimedatetime-dateDatetimedate
    booleanboolean-booleancheckboxCheckboxenum
    \n","title":"property_type"},"precision":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 18."},"scale":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 0."},"options":{"type":"array","description":"The list of options for a picklist/multipicklist field.","items":{"type":"object","properties":{"label":{"type":"string","example":"Option 1"},"value":{"type":"string","example":"option_1"},"description":{"type":"string","description":"A description of this option."},"hidden":{"type":"boolean","description":"Defaults to false."}},"required":["label","value"],"title":"picklist_option"}},"raw_details":{"type":"object","description":"The raw details of the property as provided by the third-party Provider, if available.","additionalProperties":true,"example":{}}},"required":["id","label","type"],"title":"property_unified"}}},"required":["properties"]}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"object_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the object.","example":"contact"}}],"method":"get","path":"/properties/{object_name}","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"List properties (preview)","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n","type":"text/plain"},"url":{"path":["properties",":object_name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"object_name"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/list-standard-objects.api.mdx b/docs/docs/api/v2/metadata/list-standard-objects.api.mdx index 46700c2b20..da78a30642 100644 --- a/docs/docs/api/v2/metadata/list-standard-objects.api.mdx +++ b/docs/docs/api/v2/metadata/list-standard-objects.api.mdx @@ -5,7 +5,7 @@ description: "List standardObjects" sidebar_label: "List standardObjects" hide_title: true hide_table_of_contents: true -api: eJytVW1vGzcM/iua+qUB7Luk+2YUQ7sXDMFarEhaDINjLLKOsdXcSapE2TGM++8j781nOy2GYmfA9pEUXx4+pPbSeQgKjbPXhZzJ0kS8RWULFYo/l59BY5QTiWoV5WwuTzWLiYygUzC4I/VePk2VN9NH4LdFTVqvgqoAIcRGb+mFgjxNdYroKghTU5B7Y0m4BlVAoLeo11ApOdtL3Hk2jxiMXZEGnlTlSxZVu4OLK1lPZAFRB+O5DlJ/XIPo9eL6V4FrhSJZ8yVBuROmAIvmwUAkxcjQWLFzKQjlfWl0gwkFDfAlmQAEDoYE9WRUhQ9uQ87CtJF8Tx1RlRAfXNDwfBF9BNFFOElmwZLonY0QOdCry0v+OfZz3DRyop1FQoAtR6XmnyOb78/zViGoHZeHUMWR3PUOKUsiEZo2iRaeb1WNRj8CyroeFzRvD1JJaLAFp0v8ny5Q3TynML0jxop4Rlli3doxo1fQpKhwTS956yrm/QHuE4RNT9AUSm4hoo+zPCcyZzF5tSoTZMbl5FMVClW+eSVP07jt7MTbD9eyHg3GLcPZIjMajwO43vwBjO7Aqt7mlE/H8SiMICuBTqiydFtRwAZK7kNsZFpDbPndJFSztwfHgbnY1sdldvVjdiUPiL/vCmzOtERRGg9NHarkdlbKMFiF0/HNgJJ2FemOYTxSnvXvBT3i2mJwRdIsu6PPX1CSMXAlXMI4L0EBU0X8bVgraHjELzfvM/G3S0IrK1KkY2sTG1s63+43EGTb94/QCY7QqVKJhijJ9qGY0rLC3TByMeNE5j/Mb5Ll1fDBRayUXbzsywrJZp5klqmxTIjOZnGzujhYbLfbzLfHuPYBiHzrwmP0SsMgmvq0pEnMHXVnY2B7wcEbaH5Wsemh+HTz7s7e39/f2f/Az86S4e4yGHXxKyNz1JeBoAhPmPtSmcZZ09l9N07zbgXw4WGgiPprisja/X5JyX8KZV2zmLZvaG6GidyoYNSSOUf3xKTnOE9gYSIraHIfVBnhLKthecmXN93uuBD/575/tuxmZs/urY3iUZhJybfCdyd+uuO/mcDplXOUQmv0lkbf40h3tuR5PQ378fffPpKtStzQ8VZqV1D3hzvTq+xu5Hu8rtrw/M3JPGv+molM++6nwbzVfPXAsP1aawZjQZfAv8+wAuc= +api: {"operationId":"listStandardObjects","tags":["StandardObjects"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"StandardObject","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"ticket"}},"required":["name"],"title":"standard_object"}}}}}},"description":"List standardObjects","method":"get","path":"/objects/standard","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"List standardObjects","description":{"type":"text/plain"},"url":{"path":["objects","standard"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/metadata-api.info.mdx b/docs/docs/api/v2/metadata/metadata-api.info.mdx index d72916f4fa..a85ba80a20 100644 --- a/docs/docs/api/v2/metadata/metadata-api.info.mdx +++ b/docs/docs/api/v2/metadata/metadata-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.13.1 diff --git a/docs/docs/api/v2/metadata/register-property.api.mdx b/docs/docs/api/v2/metadata/register-property.api.mdx index 5e0708f11f..a5b3f9e6ef 100644 --- a/docs/docs/api/v2/metadata/register-property.api.mdx +++ b/docs/docs/api/v2/metadata/register-property.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Register Property (preview)" hide_title: true hide_table_of_contents: true -api: eJztGW2P0zb4r3jZB+6kvnDsy1Sd0OAA7bQBpzvQNF2rnpu4rSGxM9tpr6r63/c8tuMkTVoKYtI0DSTi2o/9vL+yjWTOFDVciuskGkWKLbg2TN0o3DebqBclTMeK5wgCAKPRSEjDxuLDkmsyZ9QUihFYSpFuCF1RntJZCj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J1i3h7Tli6OgpsUwuCkntuQsd3PX830r3VbznP/HuP/qMa4LRtjfDUGe3Kre+uHWx9L7etHVi0bNoB/CKQS+JYZggN9uZ2B8H1W62+E2BB5lR8BYsCiOurYhN+Ea14kfsxyxoLNbn07OySGSy6AqNqEuGkWwtDG3kah2E6zGXGz9ZjK+Z67v5MfRvV+zBMYwCX8z4fv5/SgB++VGgwQHdOUQ9XHIUoNojXGrGy8gSeXmKGw9t9+8v/tgh0nu/w0ymeAdqFMjW97Cegx/o0ZnYvexRRCLgi4Q3r2LCZEWaNj1TOzSrl+gVXTaUz1FO0bwX2SrE/wSwy/k+OcB3J0cvBAyvoNGReBU/W9IVla0 +api: {"operationId":"registerProperty","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\nRegisters a custom property in Supaglue.\nThis may be useful for custom properties that were already created in the Customer's provider.\nE.g. a custom field has some machine ID for a particular customer that you want to map to `my_custom_field`.\n","tags":["Properties"],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The machine name of the property as it appears in the third-party Provider.","example":"FirstName"},"name":{"type":"string","description":"The unique identifier to be used to refer to this property across all customers. Supaglue will use this to appropriately map to the provider field ID.\n","example":"ticketId"}},"required":["name","id"]}}}},"responses":{"200":{"description":"Register a property","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The machine name of the property as it appears in the third-party Provider.","example":"FirstName"},"custom_name":{"type":"string","description":"Only applicable for custom properties. This represents the unique identifier that can be used to refer to this property across all customers."},"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"description":{"type":"string","description":"A description of the field."},"is_required":{"type":"boolean","example":false},"group_name":{"type":"string","example":"supaglue","description":"Only applicable for Hubspot. If specified, Supaglue will attempt to attach the field to this group if it exists, or create it if it doesn't."},"type":{"type":"string","enum":["text","textarea","number","picklist","multipicklist","date","datetime","boolean"],"description":"Type of the field.\n\nSupport:\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    FieldHubspot (type-fieldType)SalesforcePipedrive
    textstring-textTextvarchar_auto
    textareastring-textareaLongtextareatext
    numbernumber-numberNumberdouble
    picklistenumeration-selectPicklistenum
    multipicklistenumeration-checkboxMultipicklistset
    datedate-dateDatedate
    datetimedatetime-dateDatetimedate
    booleanboolean-booleancheckboxCheckboxenum
    \n","title":"property_type"},"precision":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 18."},"scale":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 0."},"options":{"type":"array","description":"The list of options for a picklist/multipicklist field.","items":{"type":"object","properties":{"label":{"type":"string","example":"Option 1"},"value":{"type":"string","example":"option_1"},"description":{"type":"string","description":"A description of this option."},"hidden":{"type":"boolean","description":"Defaults to false."}},"required":["label","value"],"title":"picklist_option"}},"raw_details":{"type":"object","description":"The raw details of the property as provided by the third-party Provider, if available.","additionalProperties":true,"example":{}}},"required":["id","label","type"],"title":"property_unified"}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"object_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the object.","example":"contact"}}],"method":"post","path":"/properties/{object_name}/register","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"id":"FirstName","name":"ticketId"},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Register Property (preview)","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\nRegisters a custom property in Supaglue.\nThis may be useful for custom properties that were already created in the Customer's provider.\nE.g. a custom field has some machine ID for a particular customer that you want to map to `my_custom_field`.\n","type":"text/plain"},"url":{"path":["properties",":object_name","register"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"object_name"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/update-custom-object.api.mdx b/docs/docs/api/v2/metadata/update-custom-object.api.mdx index be21bd7f49..6068ddb72e 100644 --- a/docs/docs/api/v2/metadata/update-custom-object.api.mdx +++ b/docs/docs/api/v2/metadata/update-custom-object.api.mdx @@ -5,7 +5,7 @@ description: "Update customObject" sidebar_label: "Update customObject" hide_title: true hide_table_of_contents: true -api: eJztWntz2joW/ypadu70dgaDgYQQut3dPHtpm8dCcttOkqHCFqDGthxJhtAM333PkWywgaTZ7u1/STttkI6OzuN3Hub4oSRiJqnmIur4pXYpiX2q2UGitAjPBt+Yp0vlkqYjVWpflfLLqnRTLinmJZLrGWw+lO4dGnPnluGnmznsxlTSkGkmldmP4APccO94hg2TDveBOY9gccyozyR8Ut6YhbTUfijpWYzkSksejWCH3dMwDnApnC1Z1ErzcslnypM8RiVg+2LMSLZPOodEj6kmScTvEhbMCPdZpPmQMwUbOUIekZlIJKFxHHDPGAQulewu4ZKBZbRM2Lyc0yKWYgLMpGNWfkYPRQOmhkJ6bLMS2Q0kveFRYawSfWEc019aNaZ6vHbuebK59e2WN/CaTtOtu85Ww6VOa6vFHEqH1BtQf7hFQWr0MnJnSu8Lf4YsVy/zRKTB4riVM231m0I1H9ZlERnoQHtApgZH4W66/EM6lYxGIA3z+9Y2T+mouXfLkMW66fEw4uGVTwJ+y4gWJFGMgLNyqCFWhgo5huXewpllMmVkyoMAscQin3zt972vhA9JxDymFJUze+SPZNCLhS4Tri19TBWiUopkNCZUOVxV1pCxrlCUBAEdoEbW4ksFL4yCqZjICehYoJ5hReCcBFQ+bT/LHvnGQSJp8BxqBaDJI/JqedeCzQ1ylDwEQ/UhUAO/D0nlUX+uOw+orQPF0HjrOuN2XSKGnzV/KloZQ3/hCj3minCbGwytTR/GPQNGfK7igM6Yb6BAiWSekD5ywAOXHTKYEZ8NaRJsgIXhnXGSbMgkizxgRVUq5ikIvZBxA1QxtME2Zj/vRSolnWHQaxY+w7upEs+IkBRAnUO89iknbJJ01TWdaN0aIQQSwRi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7b09gwD+NQR2icHX3jq3wsMQZ8Be0WQFTbX0P53+CEdbDP9xHZV8OcTC4DYjFTRwXm5oEH2khDqqkn1ZsR20D2pkC8iIR6NzAjWTGOQFs7bVxfgSSoiGboBO1IoHCwFmgNCkF76Tkwx3WQDdVVBQa7+dtVNIpzdnUPpCWl083umlkyiChTtMMLAGSRai6iiJqPXS4rpdFqJ7THTgGWGqE6FvFUxZNbFkhMnA2hcq2KC1ZZNX+PlxjT7VBmEk8vux+vo69ev19EzojelNDi0EuS8uDnBbJ4ga3avq4BLbngZxz6kyScbqeDMxvKCX9pr7xlApsCyjfQPDwPQ5lIG8zkuQ6RK8yJIGVsqbufTNhLw9yWoV0RbjGBKv3dT/L8mCONNImdZKMJ8Y2oJfLIxtemtCFNV0oz007L8lW+XbFTKCr/6lsxCO3zt46cFX32j5EkBVl9wKYhgiQ7SNvgC+Swp1oZnyxO2nX6S9iZXEM8vL4B2kL5bEgofj0g6xbda4N926Rr+wIe0BTcvoOD6AyR1SOXQ+gONZYt5kiYI7nz5srUq/QVBsRFT+bpm9cB/UauN5P/AmIbC+M8Fud159MCiTFpqbjqg+fy/IUfbPw== +api: {"operationId":"updateCustomObject","tags":["CustomObjects"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"custom_object_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"object","properties":{"suggested_name":{"type":"string","example":"ticket","description":"The name you'd like to use for the custom object. For Salesforce, we will append `__c` if necessary. For HubSpot, it will pass through as-is."},"description":{"type":"string","nullable":true,"example":"Ticket object"},"labels":{"type":"object","properties":{"singular":{"type":"string","example":"Ticket"},"plural":{"type":"string","example":"Tickets"}},"required":["singular","plural"]},"primary_field_key_name":{"type":"string","description":"The key name of the \"primary\" field. For example, in HubSpot, this is the field that will be displayed for a record in the UI by default. For Salesforce, this will be referenced as the \"Name\" field.","example":"ticket_id"},"fields":{"type":"array","items":{"type":"object","properties":{"display_name":{"type":"string","example":"Ticket ID"},"key_name":{"type":"string","example":"ticket_id","description":"In Salesforce, this must end with `__c`."},"is_required":{"type":"boolean","example":false},"field_type":{"type":"string","enum":["string","number"],"description":"In Salesforce, when this is set to 'string', the max length will be set to 255 by default. In Salesforce, when it is set to 'number', the precision and scale will be set to 18 and 0, respectively."}},"required":["display_name","key_name","is_required","field_type"],"title":"custom_object_field"}}},"required":["suggested_name","description","labels","primary_field_key_name","fields"],"title":"create_update_custom_object"}},"required":["object"]}}}},"responses":{"200":{"description":"CustomObject updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]},"title":"errors"},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}},"title":"warnings"}}}}}}},"description":"Update customObject","method":"put","path":"/objects/custom/{custom_object_id}","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"object":{"suggested_name":"ticket","description":"Ticket object","labels":{"singular":"Ticket","plural":"Tickets"},"primary_field_key_name":"ticket_id","fields":[{"display_name":"Ticket ID","key_name":"ticket_id","is_required":false,"field_type":"string"}]}},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Update customObject","description":{"type":"text/plain"},"url":{"path":["objects","custom",":custom_object_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"custom_object_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "put api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/metadata/update-property.api.mdx b/docs/docs/api/v2/metadata/update-property.api.mdx index 62ec11bf68..ce38b1339c 100644 --- a/docs/docs/api/v2/metadata/update-property.api.mdx +++ b/docs/docs/api/v2/metadata/update-property.api.mdx @@ -5,7 +5,7 @@ description: "Update custom property (preview)" sidebar_label: "Update property (preview)" hide_title: true hide_table_of_contents: true -api: eJztWutv2zYQ/1c47cMSwI+k+zIYQbA0XdFgfRhJimFwDJeWaJuNTGokZScw/L/vjpQoyZLcNGsHDHML1BTvyHvwHj9K3QQyYYoaLsVVFAyCNImoYUOFs+Yx6AQR06HiCTIA+aMlkzDVRi5JkrGRo0SxFWfrY1hg6FwHg1GQ7cGZDsadQLMwVRx2HIw2wUOXJrx7z/BpvAWqYn+lTJuXMoKpjX3kioE+RqWsE4RSGCYMkmiSxDy0+vY/a9RpE+hwwZYU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F8B3+Dyl3HzmNPEPOUzpHfbYzNjKaYXOUu6lpmNsCwaAypcnt1luC/aFcj+xmWIejP557dUVoX+G7tuPEkxqDw31D7o4w= +api: {"operationId":"updateProperty","description":"Update custom property (preview)","tags":["Properties"],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"description":{"type":"string","description":"A description of the field."},"is_required":{"type":"boolean","description":"Defaults to false.","example":false},"group_name":{"type":"string","example":"supaglue","description":"Only applicable for Hubspot. If specified, Supaglue will attempt to attach the field to this group if it exists, or create it if it doesn't."},"type":{"type":"string","enum":["text","textarea","number","picklist","multipicklist","date","datetime","boolean"],"description":"Type of the field.\n\nSupport:\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    FieldHubspot (type-fieldType)SalesforcePipedrive
    textstring-textTextvarchar_auto
    textareastring-textareaLongtextareatext
    numbernumber-numberNumberdouble
    picklistenumeration-selectPicklistenum
    multipicklistenumeration-checkboxMultipicklistset
    datedate-dateDatedate
    datetimedatetime-dateDatetimedate
    booleanboolean-booleancheckboxCheckboxenum
    \n","title":"property_type"},"precision":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 18."},"scale":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 0."},"options":{"type":"array","description":"The list of options for a picklist/multipicklist field.","items":{"type":"object","properties":{"label":{"type":"string","example":"Option 1"},"value":{"type":"string","example":"option_1"},"description":{"type":"string","description":"A description of this option."},"hidden":{"type":"boolean","description":"Defaults to false."}},"required":["label","value"],"title":"picklist_option"}}},"title":"update_property"}}}},"responses":{"200":{"description":"Create a property","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The machine name of the property as it appears in the third-party Provider.","example":"FirstName"},"custom_name":{"type":"string","description":"Only applicable for custom properties. This represents the unique identifier that can be used to refer to this property across all customers."},"label":{"type":"string","description":"The human-readable name of the property as provided by the third-party Provider.","example":"First Name"},"description":{"type":"string","description":"A description of the field."},"is_required":{"type":"boolean","example":false},"group_name":{"type":"string","example":"supaglue","description":"Only applicable for Hubspot. If specified, Supaglue will attempt to attach the field to this group if it exists, or create it if it doesn't."},"type":{"type":"string","enum":["text","textarea","number","picklist","multipicklist","date","datetime","boolean"],"description":"Type of the field.\n\nSupport:\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    FieldHubspot (type-fieldType)SalesforcePipedrive
    textstring-textTextvarchar_auto
    textareastring-textareaLongtextareatext
    numbernumber-numberNumberdouble
    picklistenumeration-selectPicklistenum
    multipicklistenumeration-checkboxMultipicklistset
    datedate-dateDatedate
    datetimedatetime-dateDatetimedate
    booleanboolean-booleancheckboxCheckboxenum
    \n","title":"property_type"},"precision":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 18."},"scale":{"type":"number","description":"Only applicable in Salesforce. If not given, will default to 0."},"options":{"type":"array","description":"The list of options for a picklist/multipicklist field.","items":{"type":"object","properties":{"label":{"type":"string","example":"Option 1"},"value":{"type":"string","example":"option_1"},"description":{"type":"string","description":"A description of this option."},"hidden":{"type":"boolean","description":"Defaults to false."}},"required":["label","value"],"title":"picklist_option"}},"raw_details":{"type":"object","description":"The raw details of the property as provided by the third-party Provider, if available.","additionalProperties":true,"example":{}}},"required":["id","label","type"],"title":"property_unified"}}}}},"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"object_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the object.","example":"contact"}},{"name":"property_name","in":"path","required":true,"schema":{"type":"string","description":"The name of the property.","example":"contact"}}],"method":"patch","path":"/properties/{object_name}/{property_name}","servers":[{"url":"https://api.supaglue.io/metadata/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"label":"First Name","description":"string","is_required":false,"group_name":"supaglue","type":"text","precision":0,"scale":0,"options":[{"label":"Option 1","value":"option_1","description":"string","hidden":true}]},"info":{"version":"0.13.1","title":"Metadata API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Metadata API documentation for CRM. You can use this API to operate on metadata across multiple third-party providers.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/metadata/v2\n```\n"},"postman":{"name":"Update property (preview)","description":{"content":"Update custom property (preview)","type":"text/plain"},"url":{"path":["properties",":object_name",":property_name"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"object_name"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"property_name"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/metadata/metadata-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/connection-created.api.mdx b/docs/docs/api/v2/mgmt/connection-created.api.mdx index 562bd0e8ad..a5b456d3f8 100644 --- a/docs/docs/api/v2/mgmt/connection-created.api.mdx +++ b/docs/docs/api/v2/mgmt/connection-created.api.mdx @@ -5,7 +5,7 @@ description: "Notification of the creation of a connection for a customer" sidebar_label: "Customer connection created" hide_title: true hide_table_of_contents: true -api: eJzVVktv4zYQ/iuseukClh9x7GxyajfIIehjFw4WiyIbKCNqbHMtkSofdtLA/70zlC1HqZPutfZBIjkz38w3D+opKdBJq2qvjE4ukj+MV3MlgZfCzIVfopAW2zUIabRGGddzY3kjOG8qtEkvMTXaKHpdkK2D5CVbwIIkHlJco/apf6yxI9KXrYyHhUsubpMvmC+NWYkr1nDJXS+x+FdA5z+Y4jG5eGJtT0f8CnVd7twefHMcylOCD1DVJfLrpjGVRfDsLfB9NJniEHA8lHl+Pk4n+XCSno7eT9N8WmA6AilHw+FofHY+IaXamrUq9koTOC1ykNN0DJNpegrFefoeYJziWX42Hw5zHJ6cMhIhLox9ZE9s9dyKhor9c1CiI44lJhy6CyWFmtx8vry8urlJtr3EySVWwPHtIjL5NwqoMUWp8Arda9G3Os5bpRekgzpUTPsRWoj6lsxj59sXvB0x3qp/F6XbF5y+ZfC76N4+5/uN2GMiUC9ggRWXFi+sksvdogK7Qk86GQQKN9YbbWuTtda7XEV7XvlmtZfZ/ivZr7u0DLmrDYN36qFWNRZWrfn9b9TUxavMYVmyky4rHsmski4bTydZ1GMxsyQ/o0cSaion1jXBUxLlkl4XJgJDbcrS7PFKM2dsRZ1mpWHdUmkE7nZZ0jNXfDx1qB22BJmOt9mBNVmaUGSUaROoEjs8uxLkqsveIfQ9g13Wtoe2eJ2/fb/0kqvZ7OMsudtum0GiLFUuCRzpjm45d2vxWSG9zGLrDmE0KOQ+8RKb8GQ45Ed33M7QB6tpiNKpcB58cMIboXTBwwxp/IKPM7gAD2IDTliUSFkvhAtSonPzUJZUUFvmjYahI7s8PJ+SFfJk6czbXrKGMrzWw0R9hX5p4txbN0mpwS9puaOIs4R2jbZBCLbkJHlfu4vBAGrVd6GGBSH0lRlUi8oP1iek0w35Zicjfvl0HUEdymCVf7zhadZw9ZCStTRG0CaWdn5F5nw3HQ8yXJ3sCEIRb6EuHsEIkmJagep6IwoKruTxGKmGyGLkODpERPL9MTvcNFf/82vk0EXH7hCl54ZD46w2hA37o2n//FnT/Q5616aRol68d0HGrtth7JPKfVeB4roojHQ/twXRjI5uxXQOty/z9iP9xLX21hQhsvuV/l+wJGHkxHHGup4Jggy8iGO5L/40QUjQIjhuJOWiDGlWUav9bhE82xbNd4sToItnnziuz6i3P9zOgiY58ck4T+p3P+1jsEH3a9rTXPJ58J6A3Xrx7iCx2Wz6daPGgbZRDzbGrlwNEtuttA45fcUMDCVjrXDzjsEjDx/AxfoUn2e/8eb9/f1X/R+dt5Oikv4HNUFkkg== +api: {"description":"Notification of the creation of a connection for a customer","operationId":"connectionCreated","x-event-type":"connection.created","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"connection.created","customer_id":"e30cbb93-5b05-4186-b6de-1acc10013795","provider_id":"5a4dbac6-3a56-4ad9-8aa3-e7b7f00be024","category":"crm","provider_name":"salesforce","result":"SUCCESS"},"schema":{"type":"object","properties":{"webhook_event_type":{"type":"string","enum":["connection.created"],"example":"connection.created"},"customer_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"provider_id":{"type":"string","example":"5a4dbac6-3a56-4ad9-8aa3-e7b7f00be024"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"result":{"type":"string","enum":["SUCCESS","ERROR"]}},"required":["webhook_event_type","customer_id","provider_id","category","provider_name","result"]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"connection.created"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"connection.created","customer_id":"e30cbb93-5b05-4186-b6de-1acc10013795","provider_id":"5a4dbac6-3a56-4ad9-8aa3-e7b7f00be024","category":"crm","provider_name":"hubspot","result":"SUCCESS"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/connection-deleted.api.mdx b/docs/docs/api/v2/mgmt/connection-deleted.api.mdx index f30e0fc61c..9d64f599ca 100644 --- a/docs/docs/api/v2/mgmt/connection-deleted.api.mdx +++ b/docs/docs/api/v2/mgmt/connection-deleted.api.mdx @@ -5,7 +5,7 @@ description: "Notification of the deletion of a connection for a customer" sidebar_label: "Customer connection deleted" hide_title: true hide_table_of_contents: true -api: eJzlVktT40YQ/iuKcslWIVvG2BhOyW44UEk2W6a2tlIsJVqjtj1raUaZhw2h9N/TPbJlxALhHjhYM+rn9/VDD3GBVhhZO6lVfB5/1E4upAA+RnoRuRVGBZa4P0MktFIownmhDV9463SFJj6KdY0mqF4WZOsg+StbwIIk7hLcoHKJu6+xJzIoOhkHSxufX8dfMF9pvY4uWMPGN0exwb89WvdeF/fx+QNrO3rFj1DX5S7s4TfLqTzEeAdVXSI/bltTWXCeveb8cJlJTmKap5DDYpakp9MiOZnhaXImikWyGB2L6QxnUzzOWW0HQquE41Tk+dk4meTpJDkZzaZJPi0wGYEQozQdjU/PJqRUG72RxV5pAidFDmKajGEyTU6gOEtmAOMET/PTRZrmmB6fsCdwuNTmnhMw1WMrCipOy0KJlqgRGDNi1peEUHz1+cOHi6uruDmKrVhhBQzLDgidf6OUW1PEoJNoXwKt07HOSLUkHVS+YraeQZMY6zh47n3zHdzPmO8MvImJ5gkVrxl8E0vNE5peM/gmBpvHFL4CZ+AW1RKWWHGR88FIsdodKjBr6kq1zMBTuqHy6VrprLPehz/Yc9K1p71M8139vBzSyue21uy8V2K1rLEwcsPP/6CiebLOLJYlB2mz4p7MSmGz8XSSBT0W0yuKM0QkoKYKZV3tnUEQK3pc6uAYal2Weu+v1Av2LannjdCsW0qFwHNHlPSbS349tagsdgDpXrTZATVRal9kxLT2VNw9nG0JYt1H75D6HsE+as2h017Gb9+CR/HFfP7nPL5pmnakSUPNQALPNNzTDumXd782HxXWU1a78Mhn65XSIZxCnx+nKf/0F8EcnTeKxju9jawD523kdCRVwWMWaTGAa7cDOIi2YCODAqkKish6IdDahS9LKrCGcaQxbckuj/WHeI08vHqb4CjeQOlfGhNERYVupcNo3bQk1eBWdNxBxqyh2aBpPXhTMmnO1fZ8OIRaDqyvYUkeBlIPq2Xlhptj0umnfLWTiX75dBmcWhTeSHd/xQOzxeouIWtJyKAjmm5+Q8Z8N4APMlytHAhCEfZj3x+5iUiKYQWq8y0t2g2WPIED1BBQDBiHgAhI3mzzww68+H8uuEMzPrfdpFpoRoSLocU5HYymg7NHvfsHqF23B2QDJg5EaN6dj30tcPtWILmcCi3sz10dtROoX2i9l81Tun+kv+hSOaMLH/D/Sv9fsCRhZL6Z6H5kEbn0fAjTfRD9pX0kQEXecv9JG2RIswpa3YdYxCNy2X6I2QhU8eibzQ7Y6/UP13OvSC76pK0j9Zuf9jkYrwY13SnulNw7R47tZvnuILHdbgd1q8aJdlkPt9qsbQ0Cu6uk9jl9lg01kbGRuH3HzgMO78GGso4+z3/ny9vb26/qPxp2J0Wd8C8K96UW +api: {"description":"Notification of the deletion of a connection for a customer","operationId":"connectionDeleted","x-event-type":"connection.deleted","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"connection.deleted","connection_id":"6b0abaf8-076d-48e7-9cdf-f12c68e86e2b","customer_id":"e30cbb93-5b05-4186-b6de-1acc10013795","provider_id":"5a4dbac6-3a56-4ad9-8aa3-e7b7f00be024","category":"crm","provider_name":"salesforce","result":"SUCCESS"},"schema":{"type":"object","properties":{"webhook_event_type":{"type":"string","enum":["connection.deleted"],"example":"connection.deleted"},"connection_id":{"type":"string","example":"6b0abaf8-076d-48e7-9cdf-f12c68e86e2b"},"customer_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"provider_id":{"type":"string","example":"5a4dbac6-3a56-4ad9-8aa3-e7b7f00be024"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"result":{"type":"string","enum":["SUCCESS","ERROR"]}},"required":["webhook_event_type","connection_id","customer_id","provider_id","category","provider_name","result"]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"connection.deleted"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"connection.deleted","connection_id":"6b0abaf8-076d-48e7-9cdf-f12c68e86e2b","customer_id":"e30cbb93-5b05-4186-b6de-1acc10013795","provider_id":"5a4dbac6-3a56-4ad9-8aa3-e7b7f00be024","category":"crm","provider_name":"hubspot","result":"SUCCESS"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/create-connection.api.mdx b/docs/docs/api/v2/mgmt/create-connection.api.mdx index f9a12977b5..5569eb7453 100644 --- a/docs/docs/api/v2/mgmt/create-connection.api.mdx +++ b/docs/docs/api/v2/mgmt/create-connection.api.mdx @@ -5,7 +5,7 @@ description: "This endpoint is for providers that use API key or access key for sidebar_label: "Create a connection" hide_title: true hide_table_of_contents: true -api: eJzlWW2P2zYS/iuq8qFZwLK9Xr/IxuFw1yAFgmsviyRFcdgsFIqibHYlUUdS3vgM//fOkHpf2+tu2/twl0V2JXJmOJyXh8PR3hU5k0Rzkb2L3JVLJSOavRFZxigOugM3YopKnpu3lftpw5XDsigXPNMOPMdCOrkUWx4xqRy9IdopFHP+fvvOeWA7B2YJpUwp84bEpNAblmlOzapD5zZhBBiQ6e5tGrIoYpHzA88e1P3rjda5Wo1GkaBqqIqcrJOCDalIR3lCNEhLRynJyJpFHop9JfC3NxlfHVML+HMhtfMeiSbHdIHdarJW7urObUyg3PuBmxNJUqZBFkzu3Qxe0FqF0iJlMuARsHK0T070Bp4l+3fBJQOTalmwgavohqXEXe1dvcuRVWnJs7V7OIBwxWghud4Z0V89knMPjAVv9ziLopjS34loh/x9yVRkGraAUyTPk3Iro18UumvfWlhk7H1slihVEOEvsEPcM9cJDpBcJImAATAcRIXmTCFjZcbA7rq/hYHLsiJFm5X8oDP7StK8LfMwKLnOcfMAt91jt4PAXz0eEdEN0Sr00MHgXodaV0JUVf5CRzdrsDGdzaazyFssQt+bzvzIC6dh7MV0Mb4mS8oooeCotlPvekYpd9coeX8YnLbzWhitX2hlw90xkhm5xMImEVG/AEJOMt2z9ZNptHo9eIHhu4n+x9l+cES336KNZblYqcnMJ/6YE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G0zslU6gcmc1BNR8TGsTYgeGZd36pph78/iX/LylXQfYt9My4jLycS4u22rKccLUTivGbD9dD5WBduV8MLoaJjo57iLX+1yU4DexOOLVZa31iCLla4bdy5u+8LM0283lVi0OvxtWv7fmHeqjD7189jyuFuUIWU6Y3A3msulAkp7CCu3FGd+6N9S4fDiLY6k9g7lNuqK2kqyVa5yBsg4MICwHbyJBg+ljSII267HfkRQd0Gdqsp2eRGzv9huhplM7ShKVuhG0bANifbc1o4BC4Pj07EtizBNFJmzLZtMCyNQmAhvFZ+aLqgbysXPrmiN/eRRseq9VJ1Dy9uOfEsFrgGmtdqPh5ez4fLVj3/o+k949XA6GrvxcQiYKlRZV3MjpRwdBBC9N/aEA1zXdd1Jg99A76Cf867TEsRFSYOPsPPzywBYoYWRNN1NXNgyQJfypb7v+CsoyQzPXeNxyPSAKftpdcA4OBNbm2/DigH8NNpxd4QV7375u5DkSFy3ELwAntzEMkiG+YwlmHshYXWsLDarq8aisfHx2Fu2cxBVe169Cjkg8oJZfWQlxchpGV9sF7h4sYO35HyYwNccnDwy5cvn7NnUqCkMldru37LYW9Mk8Mhrb32Q3jf9D/+97+H2ETS7KvGNbixWnlltUh1V0Mk4tGqi5e0+xllgxAHHPt9CHv8SSaHAw5DakvzvWPgbonkJDQADXdPrvAZwDEmiWJn3PD6QwnkV84ppStIyBAOtgRzcuXCo0WFttoHrDZK9EI1LMUbu5j3yRYYlYQn/S9sNVoO7EDn+iztfQv/b99//ATEYfmhB+tQGJXkEdt38HvlfoYf7MPk1qD4NQjH925CsnUBbgcaKxdhE53ZxesaCu3npf1xm7SB3G7EfoE5Qf4XDG04Cf5ak9uZkwz1uWCp0TtY2v8KLKfwNw== +api: {"operationId":"createConnection","description":"This endpoint is for providers that use API key or access key for authentication. Please use [Embedded Links](https://docs.supaglue.com/platform/managed-auth#oauth-20) for providers that support Oauth2 for authentication.","tags":["Connections"],"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"apollo","properties":{"provider_name":{"type":"string","enum":["apollo"],"example":"apollo"},"type":{"type":"string","enum":["api_key"],"example":"api_key"},"api_key":{"type":"string","description":"API key for the connected customer.","example":"e0c5545d-77b8-458d-b4bf-fc701a9cecac"}},"required":["provider_name","type","api_key"]},{"type":"object","title":"gong","properties":{"provider_name":{"type":"string","enum":["gong"],"example":"gong"},"type":{"type":"string","enum":["access_key_secret"],"example":"access_key_secret"},"access_key":{"type":"string","description":"Access key for the connected customer.","example":"e0c5545d-77b8-458d-b4bf-fc701a9cecac"},"access_key_secret":{"type":"string","description":"Access key secret for the connected customer.","example":"258a80aa-2e9b-40b0-8d7a-28f858a856f3"}},"required":["provider_name","type","access_key","access_key_secret"]},{"type":"object","title":"salesforce","properties":{"provider_name":{"type":"string","enum":["salesforce"],"example":"salesforce"},"type":{"type":"string","enum":["oauth2"],"example":"oauth2"},"refresh_token":{"type":"string"},"instance_url":{"type":"string"},"login_url":{"type":"string"}},"required":["provider_name","type","refresh_token","instance_url"]},{"type":"object","title":"hubspot","properties":{"provider_name":{"type":"string","enum":["hubspot"],"example":"hubspot"},"type":{"type":"string","enum":["oauth2"],"example":"oauth2"},"refresh_token":{"type":"string"}},"required":["provider_name","type","refresh_token"]}]}}}},"responses":{"200":{"description":"Connection created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"e888cedf-e9d0-42c5-9485-2d72984faef2"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_id":{"type":"string","example":"677fcfca-cf89-4387-a189-71c885be67bc"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"instance_url":{"type":"string","example":"https://app.hubspot.com/contacts/123456","description":"Instance URL for the connected customer."},"schema_mappings_config":{"description":"This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings).","type":"object","deprecated":true,"properties":{"common_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact__c"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"required":["object","field_mappings"]}},"standard_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"example":null,"required":["object","field_mappings"]}}}},"entity_mappings":{"type":"array","description":"This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping).","deprecated":true,"items":{"type":"object","deprecated":true,"properties":{"entity_id":{"type":"string"},"object":{"type":"object","properties":{"type":{"type":"string","enum":["standard","custom"]},"name":{"type":"string"}},"required":["type","name"],"title":"standard_or_custom_object"},"field_mappings":{"type":"array","items":{"type":"object","deprecated":true,"properties":{"entity_field":{"type":"string","description":"The name of the field in your application.","example":"apolla_first_name"},"mapped_field":{"type":"string","description":"The name of the field in your customer's third-party Provider tool (e.g. Salesforce).","example":"FirstName"}},"required":["entity_field","mapped_field"],"title":"entity_field_mapping"}}},"required":["entity_id"],"title":"connection_entity_mapping"},"example":[]},"connection_sync_config":{"type":"object","properties":{"destination_config":{"description":"An object to override the default Destination configuration per connection.","oneOf":[{"description":"Config specific to Postgres destination","type":"object","title":"Postgres","properties":{"type":{"type":"string","enum":["postgres"]},"schema":{"type":"string","description":"The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.","example":"customer_1_schema"}},"required":["type","schema"]},{"description":"Config specific to BigQuery destination","type":"object","title":"BigQuery","properties":{"type":{"type":"string","enum":["bigquery"]},"dataset":{"type":"string","description":"The dataset you'd like to sync to. This dataset must already exist. Supaglue will not create it. If not specified, the dataset specified in the BigQuery Destination will be used.","example":"customer_1_dataset"}},"required":["type","dataset"]},{"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nConfig specific to MongoDB destination\n","type":"object","title":"MongoDB (Preview)","properties":{"type":{"type":"string","enum":["mongodb"]},"collection":{"type":"string","description":"The collection you'd like to sync to. This collection must already exist. Supaglue will not create it. If not specified, the schema specified in the MongoDB Destination will be used.","example":"customer_1_schema"}},"required":["type","collection"]}]},"standard_objects":{"description":"A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default collection used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}},"custom_objects":{"description":"(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.\n","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default table used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}}},"title":"connection_sync_config"}},"required":["id","application_id","customer_id","provider_id","provider_name","category","instance_url"],"title":"connection"}}}}},"method":"post","path":"/customers/{customer_id}/connections","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"provider_name":"apollo","type":"api_key","api_key":"e0c5545d-77b8-458d-b4bf-fc701a9cecac"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Create a connection","description":{"content":"This endpoint is for providers that use API key or access key for authentication. Please use [Embedded Links](https://docs.supaglue.com/platform/managed-auth#oauth-20) for providers that support Oauth2 for authentication.","type":"text/plain"},"url":{"path":["customers",":customer_id","connections"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"customer_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,13 +38,26 @@ This endpoint is for providers that use API key or access key for authentication Connection created -
    Schema
      schema_mappings_config object
      +
      Schema
        schema_mappings_config objectdeprecated
        This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). -
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]
        +
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]deprecated
        This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). -
      • Array [
      • object object
        field_mappings object[]
      • Array [
      • ]
      • ]
    +
  • Array [
  • object object
    field_mappings object[]
  • Array [
  • ]
  • ]
  • connection_sync_config object
    destination_config object
    + +An object to override the default Destination configuration per connection. + +
    oneOf
    standard_objects object[]
    + +A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig. + +
  • Array [
  • oneOf
  • ]
  • custom_objects object[]
    + +(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig. + + +
  • Array [
  • oneOf
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/create-destination.api.mdx b/docs/docs/api/v2/mgmt/create-destination.api.mdx deleted file mode 100644 index 1198cb760e..0000000000 --- a/docs/docs/api/v2/mgmt/create-destination.api.mdx +++ /dev/null @@ -1,42 +0,0 @@ ---- -id: create-destination -title: "Create destination" -description: "Create destination" -sidebar_label: "Create destination" -hide_title: true -hide_table_of_contents: true -api: eJztWW1v2zYQ/iua9mUFTDmW7dgOhqFNGwxBlzVL2w1FYrgUSdlMJUoTKTuu4f++IynJktPYSRYMHRAbSCzyyHt77nhHrdwkZRlWPBGn1D1yScawYm+YVFyYUbflKjyV7tGlWxuV7rjlSkbyjKslzK3cG4RTjr4w/TRew2yKMxwzxTK9Fp4z9ncOGxwnFEhW5pFnDHiqLGctlyRCMaH0FE7TiBPDp30tQQQYk2TGYqx/JYK9Cw1LtUwZiJwE14woLSdXkR5IE6mmGZMwlGZaPcXh4ahcUC2UKuNiClRM5LFWUOYpnkY508qxGxynZrtqdL1u1cS+tNuM161HSCLANN+UpOJ6tnTOi9VO3R0gwz41Kq4NNarRtTF2yKe1PSrJm2LOYM1uMYGe5kRLhmiABFt4JMoleB0ROhMiVyIi6trLJVqAEsj3Mio9HOOvicAL6ZEk1vKkSVbnA3oELKvz6fe6PtBRrHCA5R7TlZpOtHATGmgOG/zsWJcHgDtNnUtgv5M2XhoavbOMJnFCd3qEcokDWNdycRQlC2NnFhoVC0A1fVXSa9NgKRdJRveJI5mQXPE5qxZsw9U4s7B1zZSVbQq1ayzHt5E8sdCZ5ELi8HZIGFwXCK1gtjNEAj6FvJAtHxcix3z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iJlWXGvclMwBlrl+MN72nE9J7hAsHIA4UHNpaGBlbFY5BMIJ9socDo3x1L7tkA4W1AH9BDM8pae5Xv5weZELoDN1Nywf/1TqkOXCS2FMaMgEuVLAWM6nLzYUi8XCS+0yrWildXuRZF9kigmrhpAtM9vJXJ9XbPFCMzd2OIZgNeJ/vPhND37+/PlK7EFuQWWLaMO/5rBvxlDDARVaFLtR7TTC3GxlXLgqwuvSpVtvf2xGvHRXK51fPmbReq2HbbVi3vjMccZNBavfCLVK1Ot4NPHivrb3FOhD0ehhDauj23cW+rSzK15BCKRqJ+24liDO373/AMRB8crJFuhuhnXtrf8euVfwhYcktWrp91J6fOVGWExzwA7Q2H11uOFcm6Ie5zaoix+1KwAsljUp6wnAKqL/1g7xJvnP2v2QQX6pyO3MnQuqfGKptfugrln/A5fXhX4= -sidebar_class_name: "post api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    Create destination

    - - - - - - - -Create destination - -## Request - -

    Body

    required
      oneOf
      config objectrequired
      config objectrequired
      credentials objectrequired
      config objectrequired
    - -Destination created - -
    Schema
      oneOf
      config objectrequired
      config objectrequired
      credentials objectrequired
      config objectrequired
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/create-entity.api.mdx b/docs/docs/api/v2/mgmt/create-entity.api.mdx index 6172a45cc3..48849a3ecc 100644 --- a/docs/docs/api/v2/mgmt/create-entity.api.mdx +++ b/docs/docs/api/v2/mgmt/create-entity.api.mdx @@ -5,7 +5,7 @@ description: "Create entity" sidebar_label: "Create entity" hide_title: true hide_table_of_contents: true -api: eJztVltv2zYU/isa+7IClp04hm8YhrVFH4JtaJC0GArHcCjq2GYrkRxJ2TEM/fedQ1q2cmmzhwJ7mQ3Y0rlfvnPIPcvBWBDcQ86m3lbQYdqA5V5qdYkkJiwg873y0u9Yh3m+cmw6Y4EgwbF5hzkQlSX2dLZn9yk3Mv0K9DavkWu45SV4sKSH7xb+rsD5tzpHkX14lfbkXWjlQXlicWMKKUIovS9OK6I5sYaS05PfGcD4dPYFhMfIjKXAQ0zIVeizJeW8lWqFUnDPS1MQqdylELOqg9elXL1sdimhyF1LjlvLqS7SQ+l+RFjc6KLgi6W0zi+CeF13WlWaRRtzovKi0NsFz3NJNeLFIoS3KLFwaLYdTqZ1AVw9sXXI52VT2DisVYgwVm1xKNmz0R0L2lKLQFpUJqe/pvR11HdGKxdL1D87p78cnLDSUDSoHPGXRBs5+2Ewkfn3uzEcTLJzGEzS/qjfTwdDfpHyEYzS8zPBOYzGfHCxJPy0Yli8ZDMfC8gulst0nI2W6WDJR2k2ziEdDyb9SX85FHw4IZv/Q/g/grAkgD3qaOfbwG5BGQ09xO27ANgEmvWJi3Ctaa0a7UJpuV/jWw+adUrb1G7istyzyhbIXXtv3LTXw8XadZXhq6KCrtS9clX63qbPHju9Ocgkb64uWd1a0Dc0FbGLrTV9AoKRv8OuSXXakkFwkOE18BzsE3/oJkGpxOsk9CDJYQMFYcYFmhDg8Gl9CAiLRGN6fToH3jfQadDVQnYb2A10Z0e5Z6A2/xegoqOG4pBqqckwFTzmctY9H3Yn7NTdP7niK6ya8iH6uHm48K1gm3rTEJRcUstyLdxvx14JXSLvYTMfMJ/g5hV+kkvlrc4rQbRb/P4FBQoD1ZSK+TCyBF1W9BIg200+6yoRXCWVQ4W1dEEGNcuglYjKebRlE4l7dBXPe5dwlSeYn4Lg03XJ6+yn2XWlUC65Qsyi+vznJgdbqa5BmiI0ZpX36NhtVq9PEtvttmuiGiV6zLq31farM1zAkZSaKsOJ62lsxkbC9jU5D3V4y12ATvLp+g8i3t3d3aoXhuIgRZU9+G817PFUPqj9cRw83PueKbgMVkL39oeBnTFo3X/WNMtI2+8zjPSTLeqayAhvu4t3ng23kmeEJ7wTdZo5IhyHCWTv4mmWfiTPJE5omj492epOo/EGh8r478rOW+vm6sPNRxTODpeuUuekY/kWifQ7Zbf4ZXT5C50PNzOi71nB1apCyKBMtBvWdkVlaG+OuCYOD5RZw1K7VpTtlRIToV9K61nxX6jruJN+PYpHzjcVjhsqSlPr8Jip/wGeUsQn +api: {"deprecated":true,"operationId":"createEntity","tags":["Entities"],"security":[{"x-api-key":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"my-entity"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name"}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean"}},"required":["fields","allow_additional_field_mappings"],"title":"entity_config"}},"required":["name","config"],"title":"create_update_entity"}}}},"responses":{"201":{"description":"Entity created","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-entity"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name"}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean"}},"required":["fields","allow_additional_field_mappings"],"title":"entity_config"}},"required":["id","application_id","name","config"],"title":"entity"}}}}},"description":"Create entity","method":"post","path":"/entities","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"name":"my-entity"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Create entity","description":{"type":"text/plain"},"url":{"path":["entities"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,9 +38,9 @@ Create entity ## Request -

    Body

    required
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +

    Body

    required
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    Entity created -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/create-magic-link.api.mdx b/docs/docs/api/v2/mgmt/create-magic-link.api.mdx index d7836375ad..0637d836e8 100644 --- a/docs/docs/api/v2/mgmt/create-magic-link.api.mdx +++ b/docs/docs/api/v2/mgmt/create-magic-link.api.mdx @@ -5,7 +5,7 @@ description: "Create magic link" sidebar_label: "Create magic link" hide_title: true hide_table_of_contents: true -api: eJztV91v2zYQ/1c07WUFLFv+iO0Ew7C26EOxFg2SFMOWGipFnWw2EqmRlB3X0P++O9KK5Xw0fejDHhYHMnW84x3v7vcjvQtVBZpZoeTbLDwLuQZm4T1bCv5OyJuwF1q2NOHZdehkAQlNuOiFBnithd3i1C68jVglohugt0WDsxXTrAQLmkzxXcM/NRj7SmWosnOvQgM6tLqGXsiVtCAtTbGqKgR3AQ2+GCVJZvgKSkYju60Ao1TpF+AWg6s0hW8FGJrltbGqBJ2IrKNsrBZyicpwy8qqIFG5jVrdaBg2bp21yNBSYtiP2sq6pCys6tRUilwbVoDJleZAcYgKMi3WNP4KMgNzkxgoCnwtTZJtcVnBTTKeniTOjtTUSiVclzjkrDJ1QbaqtlgAvsLhUjnHrFJFoVp/hcrJt8B0aa7IthASmKZFCvxOBU1PDUhDy5VM34BVR9EmXojbSnih6ixhnKta2gTkki2hpDqgfsH4DdX5kLTD1q2wTnKctYbKbGstk1oXj+UQs8K1qKi0KP548S6wKsAuwE7glsYsx20FdgUBNoREIWoGwgSstiulxVfI+kdlXFlbmbPBAHumX27piTkZHGzNYDgaT06mFBrcVsL3ORaGm058WNkUdHfh4TyO46bpdfr0+qi57jfMw+WPcrE4pMzjC2uAYEoKQljTeE+YWyyaC2wUD+nrOF9vJK6xDfwCFMIPAs1zWAE+iueTeB5l6eg0mszikygdn0I0ycbjeBanE8hdgo1ltjbfXqsNvul1Q34WrtmcQzrO82iezvJokrNZlM4ziOaT09HpKJ9yNj2lNX8A/p+znM5mOc85i3g+x2yM57OIDXE0G/L5/CSF6Szl/xPKDyOU72KSKyQMB6iAABUgsTxNE3ufLVFYxm2XJf7rBAYmYfax0LASJc2EGQIssmJPSq2jUTwaR/EoGo2v4vjM/f8d3mc4R2x7GD8AaO8pAnyaDn2wvohP8eE9ImzuJ/m1Y4xOeakJAbNJl5VKGcdnzK7wbXBYi+I3oNf+/rHzbdTJtuibumLLooa+UINyWdrBevSgwJd7neDl+duw6dx5LolaPXt2bj53RUHJHyjohR77HR0CGgUCLHMnzrE/dBOglmskhOgmyGANBXG1cTLOwRjXXS4gzBVx/cXhavWmrfe9q9A9vnvATh0kdgHw/e35yPHqz1DacK4oIKqF32bcH077px3Uv2dyzxNuY/5kQ2CS2T7AthTkqWSCgssUN7/fldFz13HYR5MPOutn/AveSqtVVrvdfMLPn1CgMlC6Kc/HkQXosqYXt89+8JeqA85kUBs0WCHMSQctS2cVtBkPiFyXPjlIBTLrkIPpk9frn64vaiQKGZxjR6P54pd2D7qW/Qplkho1ra1Fx2a9fHHQ2Gw2/cqbufK0ux5slL4xFeNwJ4qqOkVMDxQWYy1g84Kcuzy8YsZ1FZEnCT9//vxJPoOXvZY77bz/TsEew+1R/u/QYuHWDqqCCdkhfA/p67ALaQTgigCP4t0uxYA/6qJpSIwA0Fv/Q2PNtGAptRX+EOm1SCMOcBgNX/tLU3RFzkmdmurs4QWq6bUWLxF2lf2m7qLDSecfLq9QOd3/0ilVRjaabQhc+DwLP+GHTmaXCEciTr4LCyaXNXYO6vh1CeJ0dBxziyeS/YB21k7JbSfKLun4jdCTtvWo+q9UfGSt3+7U/cyTBncc5rWpegsM+F8+0Okl +api: {"operationId":"createMagicLink","tags":["Magic Links"],"security":[{"x-api-key":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer_id":{"type":"string","example":"my-customer-1"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"return_url":{"type":"string","description":"URL to redirect to after the connection is authorized.","example":"https://app.myapp.com/connections/123456"},"expiration_secs":{"type":"number","example":18000}},"required":["customer_id","provider_name","expiration_secs","return_url"],"title":"create_magic_link"}}}},"responses":{"201":{"description":"Entity created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"ec208408-db29-4705-b39e-4d33070b4ef6"},"status":{"type":"string","description":"`new` or `consumed`","example":"new"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_id":{"type":"string","example":"677fcfca-cf89-4387-a189-71c885be67bc"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"url":{"type":"string","description":"The magic link URL.","example":"https://app.hubspot.com/contacts/123456"},"return_url":{"type":"string","description":"URL to redirect to after the connection is authorized.","example":"https://app.myapp.com/connections/123456"},"expires_at":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00Z","description":"Any ISO formatted date-time string indicating when the magic link expires."}},"required":["id","status","application_id","customer_id","provider_id","provider_name","expires_at","url","return_url"],"title":"magic_link"}}}}},"description":"Create magic link","method":"post","path":"/magic_links","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"customer_id":"my-customer-1","provider_name":"hubspot","return_url":"https://app.myapp.com/connections/123456","expiration_secs":18000},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Create magic link","description":{"type":"text/plain"},"url":{"path":["magic_links"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,5 +38,5 @@ Create magic link Entity created -
    Schema
    +
    Schema
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/create-provider.api.mdx b/docs/docs/api/v2/mgmt/create-provider.api.mdx deleted file mode 100644 index c4551a9399..0000000000 --- a/docs/docs/api/v2/mgmt/create-provider.api.mdx +++ /dev/null @@ -1,70 +0,0 @@ ---- -id: create-provider -title: "Create provider" -description: "Create provider" -sidebar_label: "Create provider" -hide_title: true -hide_table_of_contents: true -api: eJztWnuP27gR/yqs8kcTwLLXttayF0XRvcMdELTXBMkGRbExFEqibd1KokpSdtyFv3tnSD0oP9ZOcIeihfPY2ORwXpwZ/obhs8MLJqhKeP42du6cSDCq2HvB10nMhNNzFF1K5+7RqYekM+85kkWlSNQWJp6dry4tEveJ4bf5DmYLKmjGFNLCSM8R7F8lk+oHHgPJs/6aCAbSlChZz4l4rliucIoWRZpEW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MLjvZgOppIv+kPJ/2ZdYXxi442vPTQsW2u76g5FCuGdTZiacxoggmNWOEvNlbA2O2kemfyoLC8gl/kba4Ej8sIxz7D73+wFIhZDXG7mhEQWeIXc5aQfwJ6imiuLyAUAi6kgZUme5rqj6CaLc0jR6kBCNiXMy1T9lHq4x8eP5QaY7+HkgbLW0QkyrxfwFiOtSoslQLBcr1801JsNpt+YZZpxFRbPdhw8SQLGrFmyC3KEEp0C9VQuPbDD1TqwkI+ffgbDn758uVzfqZkVlTo2Uq+tWGHZbvj/aZcKvZVIchLNB+9f89VRW87Xf3oc4XVHgafn0NQ9pNIdzschvontuah55qKhIb6ygSDsyq0GO66RGt4A7vnPphzaE0xoO4Ob4jxqt6sgPxghXqRdm4dSO/ffXwA4rB6aYqgGkahlYJB/HnnfIbfWCe0G3Se6/FnJ6X5soSoARrDd1fdqnaPFnOOVB+sp6g031pa2meOMQR/Wv8D0SX/E248HFp/bsjNzMkFzRFmqHHvsHP5D9ZSKMo= -sidebar_class_name: "post api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    Create provider

    - - - - - - - -Create provider - -## Request - -

    Body

    required
      oneOf
      config objectrequired
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • config objectrequired
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    - -Provider created - -
    Schema
      config object
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/create-schema.api.mdx b/docs/docs/api/v2/mgmt/create-schema.api.mdx index ee0540e41b..ede54c094c 100644 --- a/docs/docs/api/v2/mgmt/create-schema.api.mdx +++ b/docs/docs/api/v2/mgmt/create-schema.api.mdx @@ -5,7 +5,7 @@ description: "Create schema" sidebar_label: "Create schema" hide_title: true hide_table_of_contents: true -api: eJztV21v2zYQ/iuc9mUFLDlxjDg2hmFt0QHB1i1IUgyDEzgUdbLZSiJHUnYMw/99d5Rk03mpv/TLgMaBLR4f8l6fI7WJMtAGBHeQRRNnauhFSoPhTqrqEkWRMICTN2IBJY96keNzG02mUSOw0X0vsiBqI90axZvoMeZaxl+ARvdbnNXc8BIcGFqGYwP/1mDdO5UhZOOH0uyVC1U5qBx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pthuSYyFb9bNRXzJjeQplRNe1Hsdw6jCPTej980lIb4lxQSnYpo8vzBse92Kt0g37b6KvQ/60NVfN7cITts3gVJltMbwFQrpexLd4SeiFxKfeP+6QPJNVPBqXmPFIKbZ1x8aNUUh7ClNA2kfyLNuqloHVobNpnGEvsmtF+E/U9KxW/2ygzczry7Y9a4GTZnDQ277Hxdzq3A= +api: {"deprecated":true,"operationId":"createSchema","tags":["Schemas"],"security":[{"x-api-key":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"my-schema"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name","description":"Your application field name."},"mapped_name":{"type":"string","example":"FirstName","description":"The field your customer maps. This is a Provider-specified field name. E.g. FirstName for Salesforce."}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean","description":"Specifies whether your customer can add new application field names.","example":false}},"required":["fields","allow_additional_field_mappings"],"title":"schema_config"}},"required":["name","config"],"title":"create_update_schema"}}}},"responses":{"201":{"description":"Schema created","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-schema"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name","description":"Your application field name."},"mapped_name":{"type":"string","example":"FirstName","description":"The field your customer maps. This is a Provider-specified field name. E.g. FirstName for Salesforce."}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean","description":"Specifies whether your customer can add new application field names.","example":false}},"required":["fields","allow_additional_field_mappings"],"title":"schema_config"}},"required":["id","application_id","name","config"],"title":"schema"}}}}},"description":"Create schema","method":"post","path":"/schemas","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"name":"my-schema"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Create schema","description":{"type":"text/plain"},"url":{"path":["schemas"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,9 +38,9 @@ Create schema ## Request -

    Body

    required
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +

    Body

    required
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    Schema created -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/create-sync-config.api.mdx b/docs/docs/api/v2/mgmt/create-sync-config.api.mdx index 33129731ba..d331ed1d44 100644 --- a/docs/docs/api/v2/mgmt/create-sync-config.api.mdx +++ b/docs/docs/api/v2/mgmt/create-sync-config.api.mdx @@ -5,7 +5,7 @@ description: "Create Sync Config" sidebar_label: "Create Sync Config" hide_title: true hide_table_of_contents: true -api: eJztWNuO2zYQ/RVWfckCK1/ku1EUTdI+LJqii2yCorANhyIpm4lEqiRlxzD8752hZFu+bHZRBOjL2sCuRQ7nwjlzhtQ20Lkw1Emt7ngwDpgR1ImHjWJvtUrkIrgNHF3YYDwJjoM2mN0GVrDCSLeBqW3wNaS5DL8IfJrtYDanhmbCCYNL4dmIfwph3RvNQWTrH6URYNGZQtwGTCsnlMMpmuepZN6j5merFY5ZthQZxV9ukwtwU8efBXPgXG7QfyeFxVkOJqTya+eS1+StM1JhMOIrzfIUh/piEFM6HIbDLudhl8csHLUiGra7vShi0WjYFXGw8xZWkgvzpMJBMogEaw1C0WPtsDtIeDhkSS8Ugzbn7c5w0KEJKmTlxj4jmIQWqZs/Lg/hMiNzDBeGy9wUZTKJ9sOWJNqQabDU62lAnCYWkti4MAU/pebzzNasSMjIQhiQzaSSWZEF434LPrWQq+dTNz4sBSn1kVdSkUymqQSsaMXtDXpgCkUcyJSewH7AVgLkFpuru6vQ7iRIijTFVYpIBRDNACs0hXk/rlW6QUSe+jGdTq8vwwmyBre8K5R4IfQGFHnPEmmsw8nbi7VezjbIQTna/qZCsRJmgxM+Vlo4PbeOGjcHiMKmKMikLEFexR5rnQqqLtJ7lxBfK4fNK016ZQT1ZpB4RtN0Q9boNYodDRBpSVnbvDFVv5bQGnuNUxXsdre1kpzU8FBLz8xjN8vA8RKB+5KrOfmaQLId0Ql5KHK6SAtBKllMfVw6Di4grZThUmPoBh6lEyfwe6QoquErULlE4ZkLRAEjnVQssg4FbefhV0ZmO49Oqjg1/DkxM2pFaIWy0sm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U2NS/rFFsGgn8xrKviP2H6gaN/PoiXM48uODB2KY3pw4b6L9ubiko= +api: {"operationId":"createSyncConfig","tags":["SyncConfigs"],"security":[{"x-api-key":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"destination_id":{"type":"string","example":"6e7baa88-84dd-4dbc-902a-14522c2984eb"},"provider_id":{"type":"string","example":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af"},"config":{"type":"object","properties":{"default_config":{"type":"object","description":"Configuration options for \"how\" to sync.","properties":{"period_ms":{"type":"integer","minimum":60000,"example":60000,"description":"The period (in milliseconds) to run the sync."},"strategy":{"type":"string","enum":["full then incremental","full only"],"description":"\\\"full then incremental\\\" will run a full sync on the first run, then incremental syncs. \\\"full only\\\" will run a full sync on every run."},"auto_start_on_connection":{"type":"boolean","description":"If true, the sync will start automatically when the connection is created.\nDefault: true\n"}},"required":["period_ms","strategy"]},"common_objects":{"description":"A list of Supaglue objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Supaglue object name","example":"contact"}},"required":["object"]}},"standard_objects":{"description":"A list of case-sensitive Provider objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]}},"entities":{"type":"array","deprecated":true,"items":{"type":"object","properties":{"entity_id":{"type":"string","example":"3a82409f-c98f-4d25-bbd8-3335de3f12cc"}},"required":["entity_id"]}}},"required":["default_config"],"title":"sync_config_data"}},"required":["destination_id","provider_id","config"],"title":"create_update_sync_config"}}}},"responses":{"201":{"description":"SyncConfig created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"465fdcb7-26b4-4090-894c-67cab41022bb"},"application_id":{"type":"string","example":"9572d08b-f19f-48cc-a992-1eb7031d3f6a"},"destination_id":{"type":"string","example":"6e7baa88-84dd-4dbc-902a-14522c2984eb"},"provider_id":{"type":"string","example":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af"},"config":{"type":"object","properties":{"default_config":{"type":"object","description":"Configuration options for \"how\" to sync.","properties":{"period_ms":{"type":"integer","minimum":60000,"example":60000,"description":"The period (in milliseconds) to run the sync."},"strategy":{"type":"string","enum":["full then incremental","full only"],"description":"\\\"full then incremental\\\" will run a full sync on the first run, then incremental syncs. \\\"full only\\\" will run a full sync on every run."},"auto_start_on_connection":{"type":"boolean","description":"If true, the sync will start automatically when the connection is created.\nDefault: true\n"}},"required":["period_ms","strategy"]},"common_objects":{"description":"A list of Supaglue objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Supaglue object name","example":"contact"}},"required":["object"]}},"standard_objects":{"description":"A list of case-sensitive Provider objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]}},"entities":{"type":"array","deprecated":true,"items":{"type":"object","properties":{"entity_id":{"type":"string","example":"3a82409f-c98f-4d25-bbd8-3335de3f12cc"}},"required":["entity_id"]}}},"required":["default_config"],"title":"sync_config_data"}},"required":["id","application_id","destination_id","provider_id","config"],"title":"sync_config"}}}}},"description":"Create Sync Config","method":"post","path":"/sync_configs","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"destination_id":"6e7baa88-84dd-4dbc-902a-14522c2984eb","provider_id":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af","config":{"default_config":{"period_ms":60000,"strategy":"full then incremental","auto_start_on_connection":true},"common_objects":[{"object":"contact"}],"standard_objects":[{"object":"Contact"}]}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Create Sync Config","description":{"type":"text/plain"},"url":{"path":["sync_configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -46,7 +46,7 @@ A list of Supaglue objects to be synced. A list of case-sensitive Provider objects to be synced. -
  • Array [
  • ]
  • entities object[]
  • Array [
  • ]
  • +
  • Array [
  • ]
  • entities object[]deprecated
  • Array [
  • ]
  • SyncConfig created @@ -62,5 +62,5 @@ A list of Supaglue objects to be synced. A list of case-sensitive Provider objects to be synced. -
  • Array [
  • ]
  • entities object[]
  • Array [
  • ]
  • +
  • Array [
  • ]
  • entities object[]deprecated
  • Array [
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/delete-connection-sync-config.api.mdx b/docs/docs/api/v2/mgmt/delete-connection-sync-config.api.mdx index bffe5d08f7..cdeaaeccdb 100644 --- a/docs/docs/api/v2/mgmt/delete-connection-sync-config.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-connection-sync-config.api.mdx @@ -5,7 +5,7 @@ description: "Delete connection sync config" sidebar_label: "Delete connection sync config" hide_title: true hide_table_of_contents: true -api: eJytVOtLG0EQ/1e22y8KeaiUQqWUPvSD1IL4oJQYdN2bJIt3u+s+Lgnh/vfO7F2SS6IVpBESd+Y3M795Lrix4ERQRp9l/JhnkEOAH0ZrkCS8mmuJr5Ea8w4PYuz58YA/p/Z82OEeZHQqzBG04LOusKr7CPQaVqh14K3RHtDHgh8dfKCfDLx0ypIvjL52zMgzayJXVWcLeJJoMrnGe8LLJVMrnCgQ4XyiovGBVrOujD6YAlxXZYhS5GoCIgOHLy8nUAgiFeaW4D44pckbzERhcxIV87WLQ75D63qCnBo9OzthYSICi1o9RcjnTGWggxop8KhoAZVmcxMdE9bmSqZecKrWU1QOsCnBRag6rSysMyU6c90keUseXuTgR8ZJeD6JZQTWRNgig83E6k7MemJSzcME3/11U+6oKXeymQ8aD1cuWxJdTqRDsP6438dJ6floxTiP0FOmX4yL0C+P+Da3qwbDvl2c8ao1cVeUdD1ZrblblQAlP1HQWddwidmu3mY8DMMQxYJhIs/NlGVQQk4r45NMSvB1NxOhiryNDAWmRGsfB73Dj71PtD4qpOL/ElqMka0OyarDsUJByEBmDb9lntS0QigqVWak/7qqkTQF6jaLuKHcaet7/LAzHZzJYurOLf79hhzBQLlQEpvMGIaM9Egj2WN/TGRSaBY9GkyUTxi0LJJVe54DjOub4pnQWWtNfY+iDt4NLqOmub8wPqD5cG+Zg4u6Z1GmaQoeYggY2Jfj/TViOp32bG1Gia6y7k+Ne/RWSFiJujY+4Eb1DTajVDDdp+CpDt+FTy1jN5fnJLy/v7/Vrwxjg6LKNvFbDXvtIG30YjWWAWahb3OhktfUzUWzRwP+0h7h1E8wPkEWiwdM5MblVUViPDMuXdsOL4VT4oHGDW9vZznetHiZ8qTA1R2J3MMONRpG7Dmy27tstn6f/c/D9mzuaV13DnQpaAeOOafz92bi28fsnwS2b+uaQvvonZyen16folpEalb7ztRHpfmHCr5U6XnLXfsA1aHpm9J8Fv6ZZhUv2JcVvNa8aLC6ZzWachxWVfUX4KnAYw== +api: {"operationId":"deleteConnectionSyncConfig","tags":["ConnectionSyncConfigs"],"security":[{"x-api-key":[]}],"responses":{"204":{"description":"Connection Sync Config"}},"description":"Delete connection sync config","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"method":"delete","path":"/connection_sync_configs","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete connection sync config","description":{"type":"text/plain"},"url":{"path":["connection_sync_configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/delete-connection.api.mdx b/docs/docs/api/v2/mgmt/delete-connection.api.mdx index 08ee11bfe0..9e1fb4548d 100644 --- a/docs/docs/api/v2/mgmt/delete-connection.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-connection.api.mdx @@ -5,7 +5,7 @@ description: "Delete connection" sidebar_label: "Delete connection" hide_title: true hide_table_of_contents: true -api: eJy9VNtq20AQ/ZXt9iUBW0pDKdSU0rTJQ2gKIWkoxTHNWppYS6TdzV7sGKN/78xKlqXEpQ+F2mBLcz1nbhuuDVjhpVbnOZ/wHErw8EUrBRkJ+Yh7sXB8MuU7oeOzEXeQBSv9GlUb/jQWRo4fgN5mNWotOIOGgJ4bfnz0lv5ycJmVJoad8BPFoDJ+zeY6XzPpmAUfrIKcacVcyDJw7j6ULCJCl4TX9ehZjNOIlmV9uEZYUaHUuohM4QtaZsF5XYH9JXO0keRshC84IX0M0gKS9zYA8soKqATh9WtDrs5bqRaUfRetS/gv8bBMCLTQu7pH+BhlwtMtYJduetjrdJeaNH0cNaem2OWWebAlBiq8N26SptifxAUjFmWAROq0WlQ+XR7z5yW9bm3YyeU5r3t9viYeTT973e5YoeQrCkbbEu1s2vIUIHKwL/JhGoZWzGsmylKvsN9LKGkoXZTFOWC+aAHVFO1eU2Ii2sQ4St68S97TqEpfUvJvQokFolU+eo2oYV5kntxafFueqMT2SCpVrjP3qatRpivUDYs4UL6Yxtf4YefKW52H2JRb/P6AEo2BuBCJITKGKQO9xAVM2E8dWCYUCw4dCtwJskHPKnqx7SAwqTwsmq11TKi8twEuoazTV9OroNCOXWrn0X12sOVgg0oMyhRNwTx4j4ndcnG4s1itVolp3IhoxzpdafvgjMigE41NmJcySzU2YylhdUjJYx0+Cxdbxm6uLkh4d3d3q/4yjK0VVbbN32vYvl0f1L8bRQ9PPjWlkDFS7OCm3atpdwgcuk+GV6FXxKgcLDluQoGYKMRmM0dyN7asaxI/BrDx7o34Ulgp5jSCuH+5dPSM230vSgcv0NJMYusR8MFVezMOGQ3xPhbbLVO0T0tBgzvh+BiXcHDd6Ez9z9SDKtWzunfUTs8uzr6foakIVPz+rWgOQ/tA1dqbpX9EmnT0Swz3mn+gecMr9LEzbzR/dOhuUmNNfGd1Xf8GN+1wjA== +api: {"operationId":"deleteConnection","tags":["Connections"],"security":[{"x-api-key":[]}],"responses":{"204":{"description":"An empty body is returned on successful deletion."}},"description":"Delete connection","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}}],"method":"delete","path":"/customers/{customer_id}/connections/{connection_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete connection","description":{"type":"text/plain"},"url":{"path":["customers",":customer_id","connections",":connection_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"customer_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"connection_id"}]},"method":"DELETE","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/delete-customer.api.mdx b/docs/docs/api/v2/mgmt/delete-customer.api.mdx index 5fd4cad5ea..13c4398cf0 100644 --- a/docs/docs/api/v2/mgmt/delete-customer.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-customer.api.mdx @@ -5,7 +5,7 @@ description: "Delete customer" sidebar_label: "Delete customer" hide_title: true hide_table_of_contents: true -api: eJzlWOtv2zYQ/1c49cMaILITJ/EjGIZ2bQoEa7eiDwxDGqi0dLLZSKJKUk49w//77kg97TjxsmH7sPQRW7rH7453P/K48mQOihshs8vIO/ciSMDAi0IbmYLyDj3DZ9o7v/KqR9q7PvQ0hIUSZokvVt43n+fCvwH6dr3Gtwp0LjMNqLfyBkdH9CsCHSqRkx/00rIfysxAZkiG53kiQoul/0WT4MrT4RxSTp/MMgdUldMvEBpUzBUhN8K5aekGImrJa6NENkN5+MbTPKFH0TiE6Ukc++PpKPZPYz7yp+MI/PHpZDAZxMOQDyfeGqGVKB80uJSF8itp7ReZ+FqA34LkowU0mPEU7rf0ZvlCpjnPluwyC0kFgxfJ/TqUQR6aZ+kydLo9/G3xyyzDXKF/3bLAleJLNCAMpPrhxD4UO4zHmM4o9mESHfmng/DMn5yOz/xBNBpMxphciAcE5j9doHRZL49/TJoY40J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fjZL9qW9O6hrk5LPFYIydGtANwUlwu5yCVLNuaGRpcm0UQUcbk//jx6+6V4Ckcxlc8lh8aHbc69fq/dXLXBrGmNwl6jg2ymgddQXDYkL6ch7Mdhq5PelDO0B3rp1efKegnNl0LpCaXgtFz/DslnXRqbM2Rx4ZLPc9YduGEohBTCOg98ti2ABCVGgts/CELS2lGIB2TEnlrYCUcTZOOodD3uT1lT0hmfltGW1DqtqIrUSXxVnq+Roo3vW3ujwXTeJnZdbBfUEf7CKjZJRYfvxE/75DRIUBoqFgugiY+iyoC+OlNnveGIIeYZbMxBR2o2YNFOrVZcqo3l45q7BNMNdiLXuTnrk9eq7q3dFRvz7VmqD6s12roqsl+OzjKpgWhiDjvVidtBI3N7e9nKnZrf7Kur+rVQ3Ouch1I/8vJhi4dbHkwNybvPwE9d2yWhUpIefP3/+lD1QjKWUvaBw/lsLtt2unezXhWjgm6EDlLB2ylHYdc5V3ct0IXG+QX5zdEkyq9UUsX9UyXpNj7E9lb0rPETOU4JPLdXjFCs0fcYGjXmiYQtOfVPoPX1X8sQBa0a7LsyqiTJql5JaPfxoe6zDQGs6t5S9RDCcxHNsk9y0dLcuJzuM8vLi9cWHC9qbCspLu4ldx5YfyMGd0Nrd7RDQ/+vDHeI/UCEgPfxYi7s3OxVqsnDSlCQ6q/8Jv1CqsA== +api: {"operationId":"deleteCustomer","tags":["Customers"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"Customer","content":{"application/json":{"schema":{"type":"object","properties":{"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"your-customers-unique-application-id"},"name":{"type":"string","example":"MyCompany Inc"},"email":{"type":"string","example":"contact@mycompany.com"}},"required":["application_id","name","email","customer_id"],"title":"simple_customer"}}}}},"description":"Delete customer","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","example":"your-customers-unique-application-id"}}],"method":"delete","path":"/customers/{customer_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete customer","description":{"type":"text/plain"},"url":{"path":["customers",":customer_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"customer_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,13 +38,5 @@ Delete customer Customer -
    Schema
      connections object[]
    • Array [
    • schema_mappings_config object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). - -
      common_objects object[]
    • Array [
    • field_mappings object[]required
    • Array [
    • ]
    • ]
    • standard_objects object[]
    • Array [
    • field_mappings object[]required
    • Array [
    • ]
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    • ]
    +
    Schema
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/delete-entity-mapping.api.mdx b/docs/docs/api/v2/mgmt/delete-entity-mapping.api.mdx index 8efaf4273f..51698833a7 100644 --- a/docs/docs/api/v2/mgmt/delete-entity-mapping.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-entity-mapping.api.mdx @@ -5,7 +5,7 @@ description: "Delete entity mapping" sidebar_label: "Delete entity mapping" hide_title: true hide_table_of_contents: true -api: eJytVdtu20YQ/ZXN9iUGRFFxXMPVUx3YD0YSIHASFIVj1KPlSFqE3N3sRbIg8N87s6SudtrCqPQgcq5nZs6M1rJC51FBxEqOo084kNahh6ituSER6WuMeG2ijquP4Jw2MzmQEWZBju/kgTzI+4EMqJInGWnX8tLp97i6THFOr/ctqT0GZ01A8l7L09EZ/1QYlNeOU1LCLqTY5GrbwZHBVUYksLNrtpgceGhI40PObeiFrB8LlUK0DfpCV2SlOcQcoUJPb0HNsQEGEVeOzUP0XTR8hMbVLGpWuxBv5BM4X+YoNnpxcyXiHKJIRv9IWK+ErhjnVGMgxZ6hNmJlkxeEvtYqt1tyd34k7TejaAd7VThvFxTMF1nykjoC1Bim1it8vohNBtFn+CmYrvN/7drpgAZ87PDfQI1Of71QE3VenI9OR8XZ2xEUF2cXWABMQU2gmp4BwWXm0GjndsfIPHDmlSx7PD0TQrneAmy5NegXG04kX3PXYnRhXJbg9DAkB7M64VDbspk1sVycyuPmfO5txOWnG9nucfwzF9hR+bGgaMV3XO2VC5n9FG47xI3N8fgO81EaQVYiWgF1bZeiwgXWvJYhy5TC0NEpA2o52tRyYi60izEavjkf/sabqmNu9EcwMCO0JmavgVTWRFCR3Xp8mzp5QA1oblVlVfh92yNlG9IdNvFA+YRXv9BH3JjobZUUy77R9w+syRi5Fi7iEJmglIlf8k4MxZ82CQVGpEAOcx2yDXk22Wt/oSLOursVBJhKUH0Gc84w5Kx3r+5uk+HF+2RDJPf715safDJDRzLDLJikGClxWMxOdhbL5XLoOjcudFt1ubT+e3CgcCsqXJrQSpeWhrHQuDzh5LkP7yDkkYmvtx9Y+PDw8M38Cxl7K+5sn39vYD+7hAcz2NIx4mMsXQ06R8tTXPc7dCePdoiCjHdrTpSfU3K2W68nVMVXX7cti+nIeT719LgAr2HCXKNFq3TgZ1rXKdQBn0Bi8lF8QvX6tr8aJ4LZ+hzUzToZXpwFMEPHkh7ztu1do/aejPudejGI//OcP1tNh/r4b2lbFt/ZFwM/PuH/COD4H2UHYf/aXl1/uP5yTVfmb3Dx1KY= +api: {"deprecated":true,"operationId":"deleteEntityMapping","tags":["EntityMappings"],"security":[{"ApiKeyAuth":[]}],"responses":{"204":{"description":"Entity Mapping"}},"description":"Delete entity mapping","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"method":"delete","path":"/entity_mappings/{entity_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete entity mapping","description":{"type":"text/plain"},"url":{"path":["entity_mappings",":entity_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"entity_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""}],"method":"DELETE"}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/delete-entity.api.mdx b/docs/docs/api/v2/mgmt/delete-entity.api.mdx index b844bf115a..8f6ee60996 100644 --- a/docs/docs/api/v2/mgmt/delete-entity.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-entity.api.mdx @@ -5,7 +5,7 @@ description: "Delete entity" sidebar_label: "Delete entity" hide_title: true hide_table_of_contents: true -api: eJyFVW1v2zYQ/isa96UBLCtxDL9hGNah+RCsA4p0xTC4gXOSTjZbSWRJyk5g6L/3jpJlOW5nB3Dk43N3z7081F6kqA0m4DAVC2cqHAil0YCTqrwnE53n6PCudNK9iIFwsLZisRTeINGKx4GwmFSGjxfLvXgOQcvwK/Kvx5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operationId":"deleteEntity","tags":["Entities"],"security":[{"x-api-key":[]}],"responses":{"204":{"description":"Entity","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-entity"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name"}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean"}},"required":["fields","allow_additional_field_mappings"],"title":"entity_config"}},"required":["id","application_id","name","config"],"title":"entity"}}}}},"description":"Delete entity","parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string"}}],"method":"delete","path":"/entities/{entity_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete entity","description":{"type":"text/plain"},"url":{"path":["entities",":entity_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"entity_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -42,5 +42,5 @@ Delete entity Entity -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/delete-magic-link.api.mdx b/docs/docs/api/v2/mgmt/delete-magic-link.api.mdx index 6a06aa23e4..649d69c687 100644 --- a/docs/docs/api/v2/mgmt/delete-magic-link.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-magic-link.api.mdx @@ -5,7 +5,7 @@ description: "Delete magic link" sidebar_label: "Delete magic link" hide_title: true hide_table_of_contents: true -api: eJyFVGtP2zAU/Sue9wWkNuloYWs1TdsEH9BAQjA0TaUC13ETi8Q2frRFVf777nXSFw8NJEiuz/U593GyotoIy7zU6jyjI5qJUnhxyXLJL6R6pB3qWe7oaExjjGDQ0UmHOsGDlf4ZjlZ02WVGdh8Fvk1qOLXCGa2cgMwVPeoN8F8mHLfSIBUQba8jDWdG67rzAnQaT0gVsWWjxzDLKohaF6kVvAAyQu4Rci8zQElMN8wXFMU8BWmBYORtECCdF6JiKMk/G0x23kqVA1IsWWVKDJ1MZ8PjwWzYzaas3x3w/qA7PPp83O1/6fcyzqe9Xr8HgqFU0FLobeuiQqAd0XSryaWrPYE1xQba+bqIYEtIKLw3bpSm0MvEBcPyMohE6rTKK5/Oj+jL7ty0GPLj6pzWOzO5wQKb3u9MZlMuRH5BoLPu3RbT9q0QLBP2FR/QEEARrwkrS72Awc1FifvjYoxz4eCpaAXVeNtMIzEW2tzRSz6dJENcK+ljoy+ZYjmoVT5mdSjXyjPuMa3Vt64TB1Qxia3KNHffNz3iuoKz/SbuHb5arI/wQ86VtzoLHGN38PtHlAAWWAsWsa+MAGXAl+iVhPzVgXCmSHCQUEgXMZBZxSzCg/NwlyVSeZE3BnOEqYxAfUpETpcg6/jD+DoowJEr7TykTw7WNdigEgMxhVswDd4DsZvnh1vEYrFITJOGhW6qThfaPjrDuNiEuiZMS8lTDcOYS7E4RPLYh5/MxZGR2+sLDD48PNyp/yxji8LOtvw7A3vLtnv936yiF0ufmpLJeFOc4Kr1z3jH0w4uGO1bHNa9AGLErVZTqODWlnWN4acgbPwQdeicWcmmuGdgskw6fAarzljpxCtJuHgwX1B1cN1+MQ4JbupbUtdWUmiaOcPtHFF4jE578TWqJ/XOZ+L07OLs9xlAWcAyd13ZWLB9QMlvsuzataHDv3XnHfhXnCz4/dsG3py8m7Bxf4PGeid1Xf8DsXIX+w== +api: {"operationId":"deleteMagicLink","tags":["Magic Links"],"security":[{"x-api-key":[]}],"responses":{"204":{"description":"Magic Link deleted"}},"description":"Delete magic link","parameters":[{"name":"magic_link_id","in":"path","required":true,"schema":{"type":"string","example":"6bf954f9-dba3-4c34-9275-3830dccb0030"}}],"method":"delete","path":"/magic_links/{magic_link_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete magic link","description":{"type":"text/plain"},"url":{"path":["magic_links",":magic_link_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"magic_link_id"}]},"method":"DELETE","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/delete-provider.api.mdx b/docs/docs/api/v2/mgmt/delete-provider.api.mdx deleted file mode 100644 index 0b3feaf4b6..0000000000 --- a/docs/docs/api/v2/mgmt/delete-provider.api.mdx +++ /dev/null @@ -1,54 +0,0 @@ ---- -id: delete-provider -title: "Delete provider" -description: "Delete provider" -sidebar_label: "Delete provider" -hide_title: true -hide_table_of_contents: true -api: eJy1WHuP27gR/yqs8kezgOWn1rIXRdG0lwOCu+sFeaAo9hYKRVE2byVRR1J2XMPfvTOkJEt+xNtDL49diZz3/GbI0d6TJVfUCFm8S7wHL+EZN/y9khuRcOUNPENX2nt49Jol7T0NPM1ZpYTZwcbe++rTUvjPHN+eDrCruC5loTnw7b3peIy/Eq6ZEiXqAS0d+UwWhhcGaWhZZoJZW0a/aiTce5qteU7xyexKDqwy/pUzA4ylQsuNcGpE0qHRRoliBTT8K83LDJfGLGDxcpL6fLac+sE8vfcXy1ngT8JgOZ+Fk3Q5m3qHQdeG6JbMaTjjExbe+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Gdpm4agxSHgh/S/KjI7K -sidebar_class_name: "delete api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    Delete provider

    - - - - - - - -Delete provider - -## Request - -

    Path Parameters

    - -Provider - -
    Schema
      config object
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/delete-schema.api.mdx b/docs/docs/api/v2/mgmt/delete-schema.api.mdx index fcfea654ab..02039511c7 100644 --- a/docs/docs/api/v2/mgmt/delete-schema.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-schema.api.mdx @@ -5,7 +5,7 @@ description: "Delete schema" sidebar_label: "Delete schema" hide_title: true hide_table_of_contents: true -api: eJyFVm1v2zYQ/iuc9qUBLDl2vPgFw7AOzYBg7RAkKYoiDRyaOllsJZElKTuGof++O0qW5TiZk8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WJ9Rct+Hv7j1V8Y+336kzaenp2/FiWFsrKizTf7Ohb2k6UHv2zF08Oz6OuPSR/G3t20489Bwk3RotqczjniKyeh8u10g6s8mqyra/lmC8W8NvWDFjeQLmi0kViwtreNG7I6gtG8NwbvbRh3OGE3naxB39CmIKCtOEzkLcOnZ1VGd6hGNGw4RiPr8PdJDu47n0WvKgYp8uPp4dX9FyllSR7rkrZnaLCjBq8C6rK4R0GfVe8P8dxoAlIU/WvP65E2HViRqa2oRPueq/wCwz3C2 +api: {"deprecated":true,"operationId":"deleteSchema","tags":["Schemas"],"security":[{"x-api-key":[]}],"responses":{"204":{"description":"Schema","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-schema"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name","description":"Your application field name."},"mapped_name":{"type":"string","example":"FirstName","description":"The field your customer maps. This is a Provider-specified field name. E.g. FirstName for Salesforce."}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean","description":"Specifies whether your customer can add new application field names.","example":false}},"required":["fields","allow_additional_field_mappings"],"title":"schema_config"}},"required":["id","application_id","name","config"],"title":"schema"}}}}},"description":"Delete schema","parameters":[{"name":"schema_id","in":"path","required":true,"schema":{"type":"string","example":"a821d59d-8b4c-4ad9-aeec-1292d2e28701"}}],"method":"delete","path":"/schemas/{schema_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete schema","description":{"type":"text/plain"},"url":{"path":["schemas",":schema_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"schema_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -42,5 +42,5 @@ Delete schema Schema -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/delete-sync-config.api.mdx b/docs/docs/api/v2/mgmt/delete-sync-config.api.mdx index 2f035bab77..0f05ad998a 100644 --- a/docs/docs/api/v2/mgmt/delete-sync-config.api.mdx +++ b/docs/docs/api/v2/mgmt/delete-sync-config.api.mdx @@ -5,7 +5,7 @@ description: "Delete Sync Config" sidebar_label: "Delete Sync Config" hide_title: true hide_table_of_contents: true -api: eJzFV21v2zYQ/iuc9iUBLL/IL5KNYVjX9kOwDgj6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NBUsDPz5nMPsTqZzf7lYRH6yYOF8uQhnjE0ANbgDYDb56TLjIILZlTdqgTKjQxfiEfuJ0NsnP0qdwpGNtYVZjUZwvRmaumaHMh9lj5kdbYMesZu6fnV74x1b16QP6GJFsNZl6cTRQv4hkKR1+E4ydeQ2gnI38c4K/PaGgBSWL7TXfEc4NPUU6exKmjImjHH91gE6orYkR8PoaKVjPJwshkvvxIM/qaKPbqq4U4OmGa2a9D75iSnKqMRQ8ZyZ35oYQTeGvW4QO5s9cv0MH3KjrM556ebCGv7+EikIC/QFnegiI2CydMMPxYfk77yEPqdICS3EbmCqoAyczNwpwkoDkwgajrs+VHcRQ6CFtmaRGaLVu5/u3pc4XMltbiwcv7968gGnZQFrClkQl9aCYbN9vD5J7Ha7YVEdQ0cbr0e7XH81BWWiWfKLMoaaHeWQjK0Uu2s07uLwO7ZBhP/p/Ttc/Pz581q9QMZayl0MK/uthF0s3U4CGi5a8d2OipRKp8ql8FCX0F27rnECr87qHBi/AdsoeTjE4MQnnR6PuPythMsGvh4MvC3VksZINagzLg0+Q70mNDWiB6p5NfCu3tdt45qcBlQX7FM1KaybLUWCrjx4dMV23pOOeGuo6wqRVEKvoGQK2zreeyHp9Jg3b9+9/fjWc9enTbegq+qtH9DARXTtSq8Q4P/j4BnxX5AU0Cp+bcSrnWcPNI2jksY44ez5By0gxYU= +api: {"operationId":"deleteSyncConfig","tags":["SyncConfigs"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"SyncConfig","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"465fdcb7-26b4-4090-894c-67cab41022bb"},"application_id":{"type":"string","example":"9572d08b-f19f-48cc-a992-1eb7031d3f6a"},"destination_id":{"type":"string","example":"6e7baa88-84dd-4dbc-902a-14522c2984eb"},"provider_id":{"type":"string","example":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af"},"config":{"type":"object","properties":{"default_config":{"type":"object","description":"Configuration options for \"how\" to sync.","properties":{"period_ms":{"type":"integer","minimum":60000,"example":60000,"description":"The period (in milliseconds) to run the sync."},"strategy":{"type":"string","enum":["full then incremental","full only"],"description":"\\\"full then incremental\\\" will run a full sync on the first run, then incremental syncs. \\\"full only\\\" will run a full sync on every run."},"auto_start_on_connection":{"type":"boolean","description":"If true, the sync will start automatically when the connection is created.\nDefault: true\n"}},"required":["period_ms","strategy"]},"common_objects":{"description":"A list of Supaglue objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Supaglue object name","example":"contact"}},"required":["object"]}},"standard_objects":{"description":"A list of case-sensitive Provider objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]}},"entities":{"type":"array","deprecated":true,"items":{"type":"object","properties":{"entity_id":{"type":"string","example":"3a82409f-c98f-4d25-bbd8-3335de3f12cc"}},"required":["entity_id"]}}},"required":["default_config"],"title":"sync_config_data"}},"required":["id","application_id","destination_id","provider_id","config"],"title":"sync_config"}}}}},"description":"Delete Sync Config","parameters":[{"name":"sync_config_id","in":"path","required":true,"schema":{"type":"string","example":"d583ec72-55d4-4f35-9668-f6c759674cc1"}}],"method":"delete","path":"/sync_configs/{sync_config_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Delete Sync Config","description":{"type":"text/plain"},"url":{"path":["sync_configs",":sync_config_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"sync_config_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "delete api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -50,5 +50,5 @@ A list of Supaglue objects to be synced. A list of case-sensitive Provider objects to be synced. -
  • Array [
  • ]
  • entities object[]
  • Array [
  • ]
  • +
  • Array [
  • ]
  • entities object[]deprecated
  • Array [
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/destinations.tag.mdx b/docs/docs/api/v2/mgmt/destinations.tag.mdx deleted file mode 100644 index 9f3e883d69..0000000000 --- a/docs/docs/api/v2/mgmt/destinations.tag.mdx +++ /dev/null @@ -1,20 +0,0 @@ ---- -id: destinations -title: "Destinations" -description: "Destinations" -custom_edit_url: null ---- - - - -A `Destination` is a data store where we write data in your infrastructure. - - - -```mdx-code-block -import DocCardList from '@theme/DocCardList'; -import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; - - -``` - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/entity-entity-mapping-created.api.mdx b/docs/docs/api/v2/mgmt/entity-entity-mapping-created.api.mdx index 32f6334acf..d4b243797f 100644 --- a/docs/docs/api/v2/mgmt/entity-entity-mapping-created.api.mdx +++ b/docs/docs/api/v2/mgmt/entity-entity-mapping-created.api.mdx @@ -5,7 +5,7 @@ description: "Notification of the creation of an entity mapping" sidebar_label: "Entity mapping created" hide_title: true hide_table_of_contents: true -api: eJztVttu4zYQ/RWWfekCli3fL0/tBn4I2m0XNhaLIhskFDW2tZFElRc7QaB/7wxly7eN45e+NQZii3PjzDk81CuPodAghYWYT6x20MAVI3VS2ETlfML/VDZZJOiAj0wtmF0BkxrqZ5EzyG1iX1gmiiLJl7zBVQHaO9xiUl6Zp/7/p8rnhhJgxQZ/DmCNDoF9KaD2bVZfD9uMTVm7W7E0fHLHv0K0UuqJTSnY8PsG1/CPA2M/qviFT165VLlFE/3EJOm2gdZ3Q029cngWWZEC/dxUqR78Ph6u3MfWkPj+uqGMonE36EdhP+i1R4MgGsQQtIWU7TBsd4fjPoYcbKOKG0YLKYe9OJDjURT0xhgygtEi6MZyKNrDzrC7GGAcdpKD3IeJYdjvjNvjAMJOD8NG/SCKw1Ew6g/C/iAaDBb9MYU5Y1UGugpqi07Ulb24D4MFGgut1kmMxlxk1K4RKZiF0hIIveg71tuZVFEobV2O7e5t2ykZK/JYaBqIBuNSHDeff7m5mc7nvGxwI1eQCZrx1r+KruojRWwC5i0E6hhjdUUqyF1G0F+GBplQY/uOa3kE4w8K7vNcg3B5DvGlnFehX57BfynlVcwoT6hxKeERa8oz2lwKPWBUeUKpS2GHbCtP6PY2JQ54WPV2TIPaXO55+nayHYEbfDqb/TXj98QTrZV+yMAYsXyngym5sp1rWVbKlGjS17sfUf2QhWcUOsX/GLxTROr27suyqmwKlZvqlHXCkL6O1X0G1umcCYZWhnOyzjCrWJLHtAlAtRfWS34srGAbYRheFpCsIWbGSYldLlyavvg+4RkV12BeUuhX/gQoxMf63uBrkborTibCl4FdKS+vFE+tCrvCx+0EccGAXoOuijmdom1lbWEmrZYokqZxhVhisWaiWtkys611h5/ebfOtD/vt860vakA6jTuak3JVY3sOMFvgm6lhx5XfgeRwq5F7nwZPKPEKBIJyVg/LMPSiCYs0VRsWY3MpSaGfuvAD9eP2G8KZ0n01299s0/+vrf/42jo766cHmhBeKEKAyFfhGjbbgybtHqfrReCTyNE5w3F7JP00rJBed7Yb3HGPKmYiIfrGSppfa95KlLHGCbGPjOUpvX7GP3abW61i5yf/DT9fIUVnIH4RsY53xrCkowePb5P9rRyT+EbnDB39xHgfjMx8FNuBg/pgYVm94hl8A4zZHm3TpKp3P93NXI5+7LMyFsPvf9n1oF3eLHAtp5MZOWuxsFkvP+w9NptNs6jCqNG669ZG6SdTCAn1UlC4COnZUgjGOoHNByru5/BRGH+M2JfZH7T4+Pj4LX9HILZeePL+BV+0xpw= +api: {"deprecated":true,"description":"Notification of the creation of an entity mapping","operationId":"entityEntityMappingCreated","x-event-type":"entity.entity_mapping.created","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"entity.entity_mapping.created","entity_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","connection_id":"a7052919-e024-4985-bd08-856056b66f59","customer_id":"1a2b3c4d5e6f","provider_name":"salesforce","object_name":"opportunity","object_type":"standard","result":"SUCCESS"},"schema":{"type":"object","properties":{"webhook_event_type":{"type":"string","enum":["entity.entity_mapping.created"],"example":"entity.entity_mapping.created"},"entity_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"application_id":{"type":"string","example":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6"},"connection_id":{"type":"string","example":"a7052919-e024-4985-bd08-856056b66f59"},"customer_id":{"type":"string","example":"1a2b3c4d5e6f"},"provider_name":{"type":"string","example":"salesforce"},"object_name":{"type":"string","example":"opportunity"},"object_type":{"type":"string","enum":["standard","custom"],"example":"standard"},"result":{"type":"string","enum":["SUCCESS","ERROR"]},"error_message":{"type":"string","example":"Error message"}},"required":["webhook_event_type","entity_id","application_id","connection_id","customer_id","provider_name","result"]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"entity.entity_mapping.created"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"entity.entity_mapping.created","entity_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","connection_id":"a7052919-e024-4985-bd08-856056b66f59","customer_id":"1a2b3c4d5e6f","provider_name":"salesforce","object_name":"opportunity","object_type":"standard","result":"SUCCESS","error_message":"Error message"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/entity-entity-mapping-deleted.api.mdx b/docs/docs/api/v2/mgmt/entity-entity-mapping-deleted.api.mdx index 42cd7b5e5b..217f25a988 100644 --- a/docs/docs/api/v2/mgmt/entity-entity-mapping-deleted.api.mdx +++ b/docs/docs/api/v2/mgmt/entity-entity-mapping-deleted.api.mdx @@ -5,7 +5,7 @@ description: "Notification of the deletion of an entity mapping" sidebar_label: "Entity mapping deleted" hide_title: true hide_table_of_contents: true -api: eJztVttu20YQ/ZXt9qUBRIq6X57apHow2qSBhCAoHMNeLkcSY5LL7kWyYfDfO7PUXbGsl77VAixx57Yz5+xZvvAESg1SWEj42GoHDVwxUqelTVXBx/yTsuk8RQd8ZGrO7BJYAhlsn0XBoLCpfWa5KMu0WPAGVyVoH3CDSXltnvj/H2uf3ykBVmzwpwBW6BDY5xJ2vmH9db/JGCY7dysWho9v+VeIl0o9sgkFG37X4Br+cWDse5U88/ELl6qwaKKfmCTbNND8bqipFw5PIi8zoJ/rOtW938f9lfvYGFLfXyeScTzqBL046gXd1rAfxP0EgpaQshVFrc5g1MOQg23UcYN4LuWgmwRyNIyD7ghDhjCcB51EDkRr0B505n2Mw04KkPswMYh67VFrFEDU7mLYsBfESTQMhr1+1OvH/f68N6IwZ6zKQddBLdGOO7Kb9KA/R2Op1SpN0FiInNo1IgMzV1oCoRd/x3pbkypLpa0rsN29bTMlY0WRCE0D0WBchuPmsy8fPkxmM141uJFLyAXNeONfR9f1kSI2BfMaArsYY3VNKihcTtBfhgaZsMP2DdfqCMYfFNznuQbh6hziSzmvQr86g/9SyquYUZ1Q41LCI9ZUZ7S5FHrAqOqEUpfCDtlWndDtdUoc8LDu7ZgGO3O15+nrybYEbvDJdPrXlN8RT7RW+j4HY8TijQ4m5Mq2rlVVK1OqSV9vf0T1QxaeUegU/2PwThHZtXdXVXVlU6rC1KesHUX0dazuU7BOF0wwtDKck3WGWcXSIqFNAKq9sLXkCyvYWhiGlwWkK0iYcVJil3OXZc++T3hCxTWYlxT6hT8CCvGxvjf4SmTuipOJ8OVgl8rLK8VTq8Iu8XEzQVwwoFeg62JOZ2hbWluacbMpyjQ0rhQLLBamqpkvcttctfnp3Tbb+LDfPt/4ogak07ijGSlXPbanALMFvpkd7LjyB5AcbjRy79PgKSVegkBQzuphGYZeNGGRZWqNF+kKMpJCP3XhB+rH7TeEM6X7arq/2Sb/X1v/8bV1dtZPDzQhPFeEAJGvxjUKW/2Qdo/T9SLwURTonOO4PZJ+GlZIrzubDW65RxVzkRJ9EyXNrzveSpSxxgmxj4zVKb1+xj92U1itEucn/w0/XyFDZyB+EbGOd8awpKMHj2/I/laOSXyjc4aOfmq8D0bmPoptwUF9sLCoX/EMvgEmbI+2Canq7U+3U1egH/usjMXwu1+2PWhXhCWuFXQyY2ctFjarxbu9x3q9Dss6jBrddd1cK/1oSiFhtxSULkZ6NhWCsUph/Y6K+zm8F8YfI/Zl+ictPjw8fCveEIiNF568fwEdPcaU +api: {"deprecated":true,"description":"Notification of the deletion of an entity mapping","operationId":"entityEntityMappingDeleted","x-event-type":"entity.entity_mapping.deleted","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"entity.entity_mapping.deleted","entity_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","connection_id":"a7052919-e024-4985-bd08-856056b66f59","customer_id":"1a2b3c4d5e6f","provider_name":"salesforce","object_name":"opportunity","object_type":"standard","result":"SUCCESS"},"schema":{"type":"object","properties":{"webhook_event_type":{"type":"string","enum":["entity.entity_mapping.deleted"],"example":"entity.entity_mapping.deleted"},"entity_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"application_id":{"type":"string","example":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6"},"connection_id":{"type":"string","example":"a7052919-e024-4985-bd08-856056b66f59"},"customer_id":{"type":"string","example":"1a2b3c4d5e6f"},"provider_name":{"type":"string","example":"salesforce"},"object_name":{"type":"string","example":"opportunity"},"object_type":{"type":"string","enum":["standard","custom"],"example":"standard"},"result":{"type":"string","enum":["SUCCESS","ERROR"]},"error_message":{"type":"string","example":"Error message"}},"required":["webhook_event_type","entity_id","application_id","connection_id","customer_id","provider_name","result"]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"entity.entity_mapping.deleted"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"entity.entity_mapping.deleted","entity_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","connection_id":"a7052919-e024-4985-bd08-856056b66f59","customer_id":"1a2b3c4d5e6f","provider_name":"salesforce","object_name":"opportunity","object_type":"standard","result":"SUCCESS","error_message":"Error message"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/entity-entity-mapping-updated.api.mdx b/docs/docs/api/v2/mgmt/entity-entity-mapping-updated.api.mdx index 2f3afde720..23c7c2a087 100644 --- a/docs/docs/api/v2/mgmt/entity-entity-mapping-updated.api.mdx +++ b/docs/docs/api/v2/mgmt/entity-entity-mapping-updated.api.mdx @@ -5,7 +5,7 @@ description: "Notification of an update to an entity mapping" sidebar_label: "Entity mapping updated" hide_title: true hide_table_of_contents: true -api: eJztVttu4zYQ/RWWfekClizfL0/tLvwQtNsubASLIhskFDW2tZFElRc7QaB/7wzluzeOX/rWBLAtzpkZzpzDoV55AqUGKSwkfGy1gwauGKnT0qaq4GP+p7LpPEUAPjI1Z6JgrkwQz6yiByhsal9YLsoyLRa8wVUJ2qNvMCKvzRP/+bnG3Hr3BKHPAawQENiXEnbYsP562EQM3Q5uxcLw8R3/CvFSqSc2IWfD7xtcwz8OjP2okhc+fuVSFRZN9BODZJvdN78bquiVw7PIywzo57oO9eD38XDlPjaG1NfXiWQcjzpBL456Qbc17AdxP4GgJaRsRVGrMxj10OVgG7XfIJ5LOegmgRwN46A7QpchDOdBJ5ED0Rq0B515H/2wkgLk3k0Mol571BoFELW76DbsBXESDYNhrx/1+nG/P++NyM0Zq3LQtVNLtOOO7CY96M/RWGq1ShM0FiKnco3IwMyVlkDsxd8x39akylJp6wosd2/bdMlYUSRCU0M0GJdhu/ns9tOnyWzGqwY3cgm5oB5v8LV3nR8lYlMwbzGw8zFW16KCwuVE/WVqUAk7bt+BVkc0/iDhPs41DFfnFF+KeRX71Rn9l0JepYzqRBqXAh6ppjqTzSXXA0VVJ5K65HaotupEbm9L4kCHdW3HMtiZq71O3w62FXCDT6bTv6b8nnSitdIPORgjFu9UMCEo20Krqp5MqabhevcjqR+q8ExCp/wfk3fKyK68+6qqM5tSFaY+Ze0ooq/j0T4F63TBBEMrwz5ZZ2iop0VCm8ABvxQWP4DhkRFsLQzDmwLSFSTMOCmxyrnLshdfJzzjxDUYlyb0K38CHMTH873BVyJzV5xMpC8Hu1R+vJI/lSrsEh83HcQFA3oFuk7mdIa2pbWlGTebokxD40qxwGRhqpr5IrfNVZufXmyzDYb99uXGJzUgncYdzWhy1W17DjBa4IvZ0Y4rvwONw82M3GMaPKXASxBIylk+TMMQ5a/NLFNrlmBxGY1C33XhG+rb7TeEPaX7arq/2Sb/X1v/8bV1dtZPDzQxPFfEAImv5jUKW/2Qdo/d9UPgsygQnGO7PZO+G1ZIP3c2G9xqjzLmIiX5JkqaX3e6lTjGGifCPjJWp/L6Gf/YTWG1Spzv/Df8/woZgv2rGgnreGcMUzp68PyG7G/lmKTXO0NHPzUeg56592JbcnA+WFjUr3gG3wATtmfbhJT17qe7qSsQx74oY9H9/pdtDdoVYYlrBZ3M2FmLic1q8WGPWK/XYVm7UaG7qptrpZ9MKSTsloLSxSjPpkIyVimsP1By34ePwvhjxG6nf9Di4+Pjt+KdAbFB4cn7FzMCxc8= +api: {"deprecated":true,"description":"Notification of an update to an entity mapping","operationId":"entityEntityMappingUpdated","x-event-type":"entity.entity_mapping.updated","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"entity.entity_mapping.updated","entity_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","connection_id":"a7052919-e024-4985-bd08-856056b66f59","customer_id":"1a2b3c4d5e6f","provider_name":"salesforce","object_name":"opportunity","object_type":"standard","result":"SUCCESS"},"schema":{"type":"object","properties":{"webhook_event_type":{"type":"string","enum":["entity.entity_mapping.updated"],"example":"entity.entity_mapping.updated"},"entity_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"application_id":{"type":"string","example":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6"},"connection_id":{"type":"string","example":"a7052919-e024-4985-bd08-856056b66f59"},"customer_id":{"type":"string","example":"1a2b3c4d5e6f"},"provider_name":{"type":"string","example":"salesforce"},"object_name":{"type":"string","example":"opportunity"},"object_type":{"type":"string","enum":["standard","custom"],"example":"standard"},"result":{"type":"string","enum":["SUCCESS","ERROR"]},"error_message":{"type":"string","example":"Error message"}},"required":["webhook_event_type","entity_id","application_id","connection_id","customer_id","provider_name","result"]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"entity.entity_mapping.updated"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"entity.entity_mapping.updated","entity_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","connection_id":"a7052919-e024-4985-bd08-856056b66f59","customer_id":"1a2b3c4d5e6f","provider_name":"salesforce","object_name":"opportunity","object_type":"standard","result":"SUCCESS","error_message":"Error message"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/get-connection-sync-config.api.mdx b/docs/docs/api/v2/mgmt/get-connection-sync-config.api.mdx index 2175a670a8..b7e5825778 100644 --- a/docs/docs/api/v2/mgmt/get-connection-sync-config.api.mdx +++ b/docs/docs/api/v2/mgmt/get-connection-sync-config.api.mdx @@ -5,7 +5,7 @@ description: "Get connection sync config" sidebar_label: "Get connection sync config" hide_title: true hide_table_of_contents: true -api: eJztWG1v2zYQ/iuc9mEJEMttPwyYMQxLX1AEW7EsbTEMtuHQ0tlmS5EqSdkxDP/33ZGSLFmOk2Zphw3rh9Qij/f68CF5m0jnYLgTWl2k0SCag3uhlYKERt6uVYJfMzGPziLH5zYaDKND0zYan0UWksIIt0ahTXTT47nofQT6Gm9xNueGZ+DAWD+v8APN3fSSwjqdgemJFI0IhYML4CkY/LLJAjIeDTaRW+ckbp0RipyBG57lkoay9U7F02h7FqVgEyNychCn3y2AVfPs4iVzC+5YocSnAuSaiRSUEzMBFicagkKxtS4M43kuReKzg0YNfCqEAUyTMwVszxpR5EYvUZnp+ZGHxGG5BDvTJoHDQVQWWGlhz5kxjdhcKwuWDD178oT+a+vZlY5R7Vhd20Qrh5mgFY2Q+x8sLdt0/dfTD6gHF6JXCB8nglG05oTyaydJ0N3x4VyxsJo5zfQSjMGofPZTmPFCOvZyp4UFLUUAKENTNFLGEKN9reC3mQdUJ1Jcx2wOCZY3IVuX2ro55og1vCRY70XkhPP1qMQ7QYYFB0qpioz2R14tHG+PVb5b4SBLwPsuZVJ8BPLaUp2cjtm7hbCVSIY4ZVwaxNeawY2wLmZvi5zPZQFsJaRkSjuW4LwDJnDyYuZHynRAeuYTXmqrRwn2NF5nqlkJr3YKrLCQxi3kVrtm8nRShrvdNvE5DLHXyRjTzrmzXM/F/PcCzPqe5arEP7tcUzH/5BdSuVLuuAV3v3qVwkcLVsk8UsUqdZ2S1dn67JJVId9Ss2r6QNEGgwG6CCPlI52h64VB5y3TCqmVL7mQfCqBXLw0sBSw8vkBSZu/8oCkGVHtK2QgkxthkeokVzEbIigcR9HCjk8yVOb0wAHPfrZl3uJEZ6cMKZNlmgwr/Jn5yOORQudGaqQOAOuNVnP98nkTV6NjyKrkT8ogTj8bYhlpSKceYYmWMt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nln6 +api: {"operationId":"getConnectionSyncConfig","tags":["ConnectionSyncConfigs"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"Connection Sync Config","content":{"application/json":{"schema":{"type":"object","properties":{"destination_config":{"description":"An object to override the default Destination configuration per connection.","oneOf":[{"description":"Config specific to Postgres destination","type":"object","title":"Postgres","properties":{"type":{"type":"string","enum":["postgres"]},"schema":{"type":"string","description":"The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.","example":"customer_1_schema"}},"required":["type","schema"]},{"description":"Config specific to BigQuery destination","type":"object","title":"BigQuery","properties":{"type":{"type":"string","enum":["bigquery"]},"dataset":{"type":"string","description":"The dataset you'd like to sync to. This dataset must already exist. Supaglue will not create it. If not specified, the dataset specified in the BigQuery Destination will be used.","example":"customer_1_dataset"}},"required":["type","dataset"]},{"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nConfig specific to MongoDB destination\n","type":"object","title":"MongoDB (Preview)","properties":{"type":{"type":"string","enum":["mongodb"]},"collection":{"type":"string","description":"The collection you'd like to sync to. This collection must already exist. Supaglue will not create it. If not specified, the schema specified in the MongoDB Destination will be used.","example":"customer_1_schema"}},"required":["type","collection"]}]},"standard_objects":{"description":"A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default collection used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}},"custom_objects":{"description":"(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.\n","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default table used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}}},"title":"connection_sync_config"}}}}},"description":"Get connection sync config","method":"get","path":"/connection_sync_configs","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get connection sync config","description":{"type":"text/plain"},"url":{"path":["connection_sync_configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,11 +38,11 @@ Get connection sync config Connection Sync Config -
    Schema
      destination_config object
      +
      Schema
        destination_config object
        An object to override the default Destination configuration per connection. -
        oneOf
        standard_objects object[]
        +
        oneOf
        standard_objects object[]
        A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig. @@ -51,5 +51,5 @@ A list of case-sensitive Provider standard objects to by synced. If specified, t (Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig. -
      • Array [
      • oneOf
      • ]
    +
  • Array [
  • oneOf
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-connection.api.mdx b/docs/docs/api/v2/mgmt/get-connection.api.mdx index 2a35d3bd91..428d951d8c 100644 --- a/docs/docs/api/v2/mgmt/get-connection.api.mdx +++ b/docs/docs/api/v2/mgmt/get-connection.api.mdx @@ -5,7 +5,7 @@ description: "Get connection" sidebar_label: "Get connection" hide_title: true hide_table_of_contents: true -api: eJzlWOlv2zYU/1c09cMaILITJ/GFYVhX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h6+ea3O3sZahBzFFTjOhM+gc3i1yW +api: {"operationId":"getConnection","tags":["Connections"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"Connection","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string","example":"e888cedf-e9d0-42c5-9485-2d72984faef2"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_id":{"type":"string","example":"677fcfca-cf89-4387-a189-71c885be67bc"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"instance_url":{"type":"string","example":"https://app.hubspot.com/contacts/123456","description":"Instance URL for the connected customer."},"schema_mappings_config":{"description":"This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings).","type":"object","deprecated":true,"properties":{"common_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact__c"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"required":["object","field_mappings"]}},"standard_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"example":null,"required":["object","field_mappings"]}}}},"entity_mappings":{"type":"array","description":"This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping).","deprecated":true,"items":{"type":"object","deprecated":true,"properties":{"entity_id":{"type":"string"},"object":{"type":"object","properties":{"type":{"type":"string","enum":["standard","custom"]},"name":{"type":"string"}},"required":["type","name"],"title":"standard_or_custom_object"},"field_mappings":{"type":"array","items":{"type":"object","deprecated":true,"properties":{"entity_field":{"type":"string","description":"The name of the field in your application.","example":"apolla_first_name"},"mapped_field":{"type":"string","description":"The name of the field in your customer's third-party Provider tool (e.g. Salesforce).","example":"FirstName"}},"required":["entity_field","mapped_field"],"title":"entity_field_mapping"}}},"required":["entity_id"],"title":"connection_entity_mapping"},"example":[]},"connection_sync_config":{"type":"object","properties":{"destination_config":{"description":"An object to override the default Destination configuration per connection.","oneOf":[{"description":"Config specific to Postgres destination","type":"object","title":"Postgres","properties":{"type":{"type":"string","enum":["postgres"]},"schema":{"type":"string","description":"The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.","example":"customer_1_schema"}},"required":["type","schema"]},{"description":"Config specific to BigQuery destination","type":"object","title":"BigQuery","properties":{"type":{"type":"string","enum":["bigquery"]},"dataset":{"type":"string","description":"The dataset you'd like to sync to. This dataset must already exist. Supaglue will not create it. If not specified, the dataset specified in the BigQuery Destination will be used.","example":"customer_1_dataset"}},"required":["type","dataset"]},{"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nConfig specific to MongoDB destination\n","type":"object","title":"MongoDB (Preview)","properties":{"type":{"type":"string","enum":["mongodb"]},"collection":{"type":"string","description":"The collection you'd like to sync to. This collection must already exist. Supaglue will not create it. If not specified, the schema specified in the MongoDB Destination will be used.","example":"customer_1_schema"}},"required":["type","collection"]}]},"standard_objects":{"description":"A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default collection used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}},"custom_objects":{"description":"(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.\n","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default table used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}}},"title":"connection_sync_config"}},"required":["id","application_id","customer_id","provider_id","provider_name","category","instance_url"],"title":"connection"}]}}}}},"description":"Get connection","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"connection_id","in":"path","required":true,"schema":{"type":"string"}}],"method":"get","path":"/customers/{customer_id}/connections/{connection_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get connection","description":{"type":"text/plain"},"url":{"path":["customers",":customer_id","connections",":connection_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"customer_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"connection_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,13 +38,26 @@ Get connection Connection -
    Schema
      schema_mappings_config object
      +
      Schema
        schema_mappings_config objectdeprecated
        This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). -
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]
        +
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]deprecated
        This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). -
      • Array [
      • object object
        field_mappings object[]
      • Array [
      • ]
      • ]
    +
  • Array [
  • object object
    field_mappings object[]
  • Array [
  • ]
  • ]
  • connection_sync_config object
    destination_config object
    + +An object to override the default Destination configuration per connection. + +
    oneOf
    standard_objects object[]
    + +A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig. + +
  • Array [
  • oneOf
  • ]
  • custom_objects object[]
    + +(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig. + + +
  • Array [
  • oneOf
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-connections.api.mdx b/docs/docs/api/v2/mgmt/get-connections.api.mdx index 2c5257329b..383048e29a 100644 --- a/docs/docs/api/v2/mgmt/get-connections.api.mdx +++ b/docs/docs/api/v2/mgmt/get-connections.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of connections" sidebar_label: "List connections" hide_title: true hide_table_of_contents: true -api: eJzlWG1v2zYQ/iuc+mENENmJk/glGIZ1RVsEa7eiLxiGNFBp6mSzkUSVpJx6hv/77khJlpzY9bphX5ZXmbyX5453D0mtAlWA5laq/CoOLoMZ2Kcqz0HQiAmOA8tnJri8DtqjN8eBAVFqaZc4tQq+hLyQ4S3Qp5s1zsZghJYFSaPNF2AZZ6k0lqmEiY55DabAJ0Afq2BwckL/utpdOKhtIbckxosilcJB738yJLsKjJhDxunJLgtAba41X6KetJCZ1riafkKjOFFoSoCVHoGMWzLGapnPUAa+8KxIaQjG47GAOAlhEp+E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x4ER9G4gDC9qI5nZuOud77Mt/xKWraC23nQxmx1Ccf3b2FNZ6BfNDxX1VWTEJOJy6DfEEt/1XK07nevi0gWixqWO6a2zqJywzJSeXZZDO5V2ttKhkgqWLdusm8JtO+a1n1203iF/AWWdR9ftmSqXMyBY+Lv+UM3DKWwRhnHm8kdi2EBKfWocWNCgDGu5h0gdw5PFDmmQL2Nk97psDdpHdtf8by6Djgtfy3mnugqfHWc1AQZl5QqYuKf2kyMc90kdibX26E8wi92lVut4tKtyAf8/h1SFAaKhYLoImPosqQPnjXYH7ilCZ7j3gHUyW6nIM3MaTV9zujCNvNvJQxDmmy/NOiR1+vvrt+UORHEa2Usqm/2G13mvQLHcqqCaWktOjaL2dFG4u7urld4Nbcf1VH375S+NQUX0AyFRTnF7mv2zyNy7vLwMzduyeguQ4MfP378kH+lGCspd4P2/lsL9pLej3SrvZP+1ebdx943KlW9Wvhi6SAgnbvqSueb7bppZZK/7Pa16L7nmSNO0litphjwe52u1zT8uQTt3vYcBwuuJZ86AsO7mTT0jO2d8NTAnhAev6lI44jtAl13Xk49tuBUzJcBPrrG7NDRmnbjqgEJhpd4gr1V2JbuvTdGHT568ewd0W1JKWq3ve/x6oGsP4irzQfePf1dH+8Q/4FKBwnlx0bcz+xUaOjFS1OG6Pj5F1TN5GY= +api: {"operationId":"getConnections","tags":["Connections"],"security":[{"x-api-key":[]}],"description":"Get a list of connections","responses":{"200":{"description":"Connections","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"e888cedf-e9d0-42c5-9485-2d72984faef2"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_id":{"type":"string","example":"677fcfca-cf89-4387-a189-71c885be67bc"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"instance_url":{"type":"string","example":"https://app.hubspot.com/contacts/123456","description":"Instance URL for the connected customer."},"schema_mappings_config":{"description":"This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings).","type":"object","deprecated":true,"properties":{"common_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact__c"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"required":["object","field_mappings"]}},"standard_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"example":null,"required":["object","field_mappings"]}}}},"entity_mappings":{"type":"array","description":"This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping).","deprecated":true,"items":{"type":"object","deprecated":true,"properties":{"entity_id":{"type":"string"},"object":{"type":"object","properties":{"type":{"type":"string","enum":["standard","custom"]},"name":{"type":"string"}},"required":["type","name"],"title":"standard_or_custom_object"},"field_mappings":{"type":"array","items":{"type":"object","deprecated":true,"properties":{"entity_field":{"type":"string","description":"The name of the field in your application.","example":"apolla_first_name"},"mapped_field":{"type":"string","description":"The name of the field in your customer's third-party Provider tool (e.g. Salesforce).","example":"FirstName"}},"required":["entity_field","mapped_field"],"title":"entity_field_mapping"}}},"required":["entity_id"],"title":"connection_entity_mapping"},"example":[]},"connection_sync_config":{"type":"object","properties":{"destination_config":{"description":"An object to override the default Destination configuration per connection.","oneOf":[{"description":"Config specific to Postgres destination","type":"object","title":"Postgres","properties":{"type":{"type":"string","enum":["postgres"]},"schema":{"type":"string","description":"The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.","example":"customer_1_schema"}},"required":["type","schema"]},{"description":"Config specific to BigQuery destination","type":"object","title":"BigQuery","properties":{"type":{"type":"string","enum":["bigquery"]},"dataset":{"type":"string","description":"The dataset you'd like to sync to. This dataset must already exist. Supaglue will not create it. If not specified, the dataset specified in the BigQuery Destination will be used.","example":"customer_1_dataset"}},"required":["type","dataset"]},{"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nConfig specific to MongoDB destination\n","type":"object","title":"MongoDB (Preview)","properties":{"type":{"type":"string","enum":["mongodb"]},"collection":{"type":"string","description":"The collection you'd like to sync to. This collection must already exist. Supaglue will not create it. If not specified, the schema specified in the MongoDB Destination will be used.","example":"customer_1_schema"}},"required":["type","collection"]}]},"standard_objects":{"description":"A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default collection used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}},"custom_objects":{"description":"(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.\n","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default table used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}}},"title":"connection_sync_config"}},"required":["id","application_id","customer_id","provider_id","provider_name","category","instance_url"],"title":"connection"}}}}}},"parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string"}}],"method":"get","path":"/customers/{customer_id}/connections","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List connections","description":{"content":"Get a list of connections","type":"text/plain"},"url":{"path":["customers",":customer_id","connections"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"customer_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,13 +38,26 @@ Get a list of connections Connections -
    Schema
    • Array [
    • schema_mappings_config object
      +
      Schema
      • Array [
      • schema_mappings_config objectdeprecated
        This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). -
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]
        +
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]deprecated
        This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). -
      • Array [
      • object object
        field_mappings object[]
      • Array [
      • ]
      • ]
      • ]
    +
  • Array [
  • object object
    field_mappings object[]
  • Array [
  • ]
  • ]
  • connection_sync_config object
    destination_config object
    + +An object to override the default Destination configuration per connection. + +
    oneOf
    standard_objects object[]
    + +A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig. + +
  • Array [
  • oneOf
  • ]
  • custom_objects object[]
    + +(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig. + + +
  • Array [
  • oneOf
  • ]
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-customer.api.mdx b/docs/docs/api/v2/mgmt/get-customer.api.mdx index 9bfd756844..6e1581c96f 100644 --- a/docs/docs/api/v2/mgmt/get-customer.api.mdx +++ b/docs/docs/api/v2/mgmt/get-customer.api.mdx @@ -5,7 +5,7 @@ description: "Get customer" sidebar_label: "Get customer" hide_title: true hide_table_of_contents: true -api: eJzlWG1v2zYQ/iua+mENENmJk/glGIZ2RTsEW7eiLxiGNFBp6mSzkUSVpJx6hv/77ki92rHjZcP2YUlay9K9PHe8e8Tjypc5KGaEzK4i/9KfgXlRaCNTUP6xb9hM+5fXfnVL+zfHvgZeKGGW+GDlfw1YLoJboG83a3yqQOcy04B6K39wckIfEWiuRE5O0EXLPpeZgcyQDMvzRHALpP9Zk+DK13wOKaMrs8wBVeX0M3CDirki2EY4Ny3dUEQteW2UyGYoD19Zmid0KxpzmJ7FcTCejuLgPGajYDqOIBifTwaTQTzkbDjx1witRPmgwaUsVFBJ66DIxJcCghakAC2gwYylsN/S6+ULmeYsW3pXGScVDF4k+3Uog4ybZ+mSO90eflr8MsswV+hftywwpdgSDQgDqX44sQ/FDuMxpjOKA5hEJ8H5gF8Ek/PxRTCIRoPJGJML8YDA/KcLlC7r5QlOSRNjXIjoAM3haBTzmLOAx+NJcH42HgXsFK9Gp3w8vpjCcDTlHYM71zgrUuqjeTHF7qA8a5aAjqXiQEkXOURKLOj6D8iwXW5DDUmCX1MdRks0K7gOz4YXodUjMTmXIVcpNRHLdZGQriyMAsbneDmT1jHLZZLIyl8iY/ItsOkUlcmxn4gMmO3EBD+ngh4PNWD/km+mbsHIDtrQ3cSwQp7IIgoZ57LITAjZjM0gpW5G+YTxW+KKJpdN6EYYe6ebNVpRZmAm1XJfBl3IHWeQKcHn5ZcGHitwyW3J4e0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MQ5cFfXF07P2OewXOMnwpA1GkfQWTZmq16jr1aBKeudMv7eH7x2udmvTI6/U312+LjJj3jdQG1ZsXuSqyXo73MqqCaWEMOtaL2VEjcXd318udmn3RV1H376S61TnjUN8K8mKKVVtvTI7Iuc3DD0zbJaMhkW5++vTpY/ZAMZZS9mjC+W8t2EajdlJfV6GBr4b2TcIaKSdg1zbXdRfTOcTlBufN0R/JrFZTBP5BJes13cbGVPaI8BipTgk2tQyPw6vQdI2tGbNEwxac+oDQf/q2ZIgjr5noujCrDsqoV0pG9fHSNliHe9a0XSkbiWA4iefYI7lp6W6dSXa45MeX7+l9VFBS2u3rerW8IOv34mr3tXNP/6+Pd4h/RyWAxPB9Le6e7FSoacJJU4Zof/4nYdWlEQ== +api: {"operationId":"getCustomer","tags":["Customers"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"Customer","content":{"application/json":{"schema":{"type":"object","properties":{"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"your-customers-unique-application-id"},"name":{"type":"string","example":"MyCompany Inc"},"email":{"type":"string","example":"contact@mycompany.com"}},"required":["application_id","name","email","customer_id"],"title":"simple_customer"}}}}},"description":"Get customer","parameters":[{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","example":"your-customers-unique-application-id"}}],"method":"get","path":"/customers/{customer_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get customer","description":{"type":"text/plain"},"url":{"path":["customers",":customer_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"customer_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,13 +38,5 @@ Get customer Customer -
    Schema
      connections object[]
    • Array [
    • schema_mappings_config object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). - -
      common_objects object[]
    • Array [
    • field_mappings object[]required
    • Array [
    • ]
    • ]
    • standard_objects object[]
    • Array [
    • field_mappings object[]required
    • Array [
    • ]
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    • ]
    +
    Schema
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-customers.api.mdx b/docs/docs/api/v2/mgmt/get-customers.api.mdx index 18a8a905b3..4eefed5322 100644 --- a/docs/docs/api/v2/mgmt/get-customers.api.mdx +++ b/docs/docs/api/v2/mgmt/get-customers.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of customers" sidebar_label: "List customers" hide_title: true hide_table_of_contents: true -api: eJzlWOtv2zYQ/1c49cMawLITJ/EjGIZ2RVsEa7eiDwxDGqg0dbLZSKJKUk61wP/77qiHJbt2vGzYPixNapm8993vyNOdpzLQ3EqVXobehTcH+yw3ViWgjdfzLJ8b7+LKW69d9zwDItfSFrhx5331eSb9G6Bv1yvcDcEILTOSiPJegmWcxdJYpiImWqI1mEylBlD+nTc8PqaPLm/bEKFSC6klIp5lsRTO5MFnQ5R3nhELSDg92SID5OVa8wL5pIXEtNbV7DMIixuZJsetLPW3ZAYybNEbq2U6R3r4ypMspqVwImB2GkX+ZDaO/LOIj/3ZJAR/cjYdTofRSPDR1FuhyZX59wosVK79JjR+nsovOfgtk3yUgAJTnsB+Sa+LZyrJeFqwy1QQCwZFxvt5KLJc2CdJIUrePn46+1WaYqxQv3l4YO/zHSYTDGcY+TANj/2zoTj3p2eTc38YjofTCQYXoiEZ858mKCma9PgnxIk+LmV4AOdoPI5EJLgvosnUPzudjH1+gk/jEzGZnM9gNJ6JjsCdOU7zhIC4yGcIG4qz4TGYSGkBFHSZQajlkp7/gBRxdBMYiGP8mpggLFCsFCY4HZ0Hjo/I1EIFQicELp6ZPCZelVsNXCzwca6cYp6pOFa1vlhFpFsiGDWVSc+LZQpck5AYP2eStkcGENikm+sbsKpjbVAuoluBiFUeBlwIlac2gHTO55AQypE+5uKGms06lmvXrbRupRs1yii3MFe62BfB0uWOMki1FIvqy9o8nmPKXcnhcorBqqV3zCrl1SY1NCuKkrE8RY9zfQ8GF9Zm5mIwwCrvV24SCgcVNs3gZHh6dj7yNrvrZaWBfXj7imF0mV0Aq3ALYdNu+2RN2SIx+lmG6k2AZJGcb3fd9wtpGP6SuEhCHLKahd0uIGXYrVjILWeJCiFmucEtdv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hD+HD+8pFnBGcF1yqraL7TdZBLIG2i+fv6dulZMtbWyVQKoeSHq9lRYt2W3Qlerp/1VvB/kPlB9E7Y8Nebmzk6HBcElN8aPb25/GshTH +api: {"operationId":"getCustomers","tags":["Customers"],"security":[{"x-api-key":[]}],"description":"Get a list of customers","responses":{"200":{"description":"Customers","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"your-customers-unique-application-id"},"name":{"type":"string","example":"MyCompany Inc"},"email":{"type":"string","example":"contact@mycompany.com"}},"required":["application_id","name","email","customer_id"],"title":"simple_customer"}}}}}},"method":"get","path":"/customers","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List customers","description":{"content":"Get a list of customers","type":"text/plain"},"url":{"path":["customers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,13 +38,5 @@ Get a list of customers Customers -
    Schema
    • Array [
    • connections object[]
    • Array [
    • schema_mappings_config object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). - -
      common_objects object[]
    • Array [
    • field_mappings object[]required
    • Array [
    • ]
    • ]
    • standard_objects object[]
    • Array [
    • field_mappings object[]required
    • Array [
    • ]
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    • ]
    • ]
    +
    Schema
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-destination.api.mdx b/docs/docs/api/v2/mgmt/get-destination.api.mdx deleted file mode 100644 index 2b80942a59..0000000000 --- a/docs/docs/api/v2/mgmt/get-destination.api.mdx +++ /dev/null @@ -1,42 +0,0 @@ ---- -id: get-destination -title: "Get destination" -description: "Get destination" -sidebar_label: "Get destination" -hide_title: true -hide_table_of_contents: true -api: eJzdWG1v2zYQ/isa96UFQtmWLVsyhqEtNhTFFqxrVwxDargUSclK9VaRsusa+u87UpQs2Y2TAMWwLQES6Xi894e80wHlBS+JjPPsFUNLFHH5ExcyzjQJXSFJIoGWN6hHFWh1hQSnVRnLPawd0GdMihh/5OptVcNqyUUBjBy2HpAzHqt/jAtaxoWWu0RDLTTPJM+kYiNFkcRUL4xuheI9IEE3PCXq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HWweduvrW8FjPX79CdW8mfKvMbYqwNxl2xgPlF74/TldHHhOFDSdMNxlDfaDGAi5L5pZuRyDOW56okheaBqOggKeNMahW0sJcKe4KBI3tydz2e2fPNclIBNZmUu9qRlFCNXKMfW+Ps5A5+hHLqXjWxagZ0YZBHCyeVcn38GO9ymTXhb6H3z95Asxc+aKcGFpmgcpKvegc2tZfeWVRklkAEeCOheaBnaneZVGAI8gqrRgG66gZ8IVFMmaBfxnXOoWttN58d/OmyoBP9+2wffWk9aGsMrsAWqaqIKikBMViGz09cux2O7totilHO69Hu7z8KApCeUfCTZs6yrfqvuO7p0q5jsMLALs2/92bXxXxw4cP77N7itFwNU241t9L2DkGB9HvClHyz3JUJCTWcnT+DgY/N32AqhlteQJYKPfmgL1Bh4M6rt6VSV0rctP8LG/gcUvKWDfECmSmOQakhnAl8zOjum8g6Mkbg/+n1vETw9DYFkqZAs2WqOpcInjUSDs9XGq4fVtQKUsapueAl0L2tp99eRmcLi9//kMdnpWKTh/KDW7NQ++TwtC0PsYb9epvrykYsv+gygEOiR879mblzg3dkdFwqyBBn1T/DQFlZY0= -sidebar_class_name: "get api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    Get destination

    - - - - - - - -Get destination - -## Request - -

    Path Parameters

    - -Destination - -
    Schema
      oneOf
      config objectrequired
      config objectrequired
      credentials objectrequired
      config objectrequired
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-destinations.api.mdx b/docs/docs/api/v2/mgmt/get-destinations.api.mdx deleted file mode 100644 index 6195b2e8c4..0000000000 --- a/docs/docs/api/v2/mgmt/get-destinations.api.mdx +++ /dev/null @@ -1,42 +0,0 @@ ---- -id: get-destinations -title: "List destinations" -description: "Get a list of destinations" -sidebar_label: "List destinations" -hide_title: true -hide_table_of_contents: true -api: eJzdWHtv2zYQ/yqa9s8KhLKthy0Fw9AWG4piLdq1K4bBNVyKpGSlelWk7LqGvvvuKFmWnDQPoBjWJUBCkfe++5E8HsyiFBVVSZE/5+alGQv1q5AqyfWUNC9MRWNpXi7N0fTqwpSC1VWi9rB2MD8TWibko8CvVQOrXEhWJSVSg9RnQhnUSBOpjCIy+FhBJWQJIwFaDqY9neK/MfuZRazIlcgV0tGyTBOmVyZXEokPpmQbkVEcqX0pgJ1WFd0DX6JEppWIzzQrU4HDBJ22GRMeFZwIP2LEnYU2CaNoTuach2wWBYHte8A/ULbWfMKzbX/OAuJMHZ+4EbUJtUOfOIIFCy/g9pSFwJfTDM14uTdeF1LF4K8x8AhD3NpZdquti1ESo4EbmMS1quA1Q3rCQ5KLncXSWipREcY3eV6rPGXqyqol2YFoYlsVlxbN6JcipztpsSIDqWVRgSzPdWxIEFU0pHKod41K1hxNPsbQLOsQfIaZWooKvrO9HjTNhVnk4lWks9/ZX4RXgin0J1EYXVPWJY3TWqDqCutMJW2WMXo9m1RVksdA06fF5K7nQfRCEs05JCRkDqHhzCWhG9kz5oau73hmcz0jt8lc2PMoXAQ+4b7nEpd5AQmo7RBvIRxhRwtHUIEyWwk3SMrrDHHQO7UaSu9nQcJWVDJpa7ETAqxhF7VKfKqTSnAUBSZf86Ez4CRl1Vx8PcKDkvl+Itzi4TZJX4PKPdLTR2SUnn62GWLrPKrjELbIu83MbwDK5ojK81oZ6EHANkPE3mrTOZibi+s74k18LdCbI9Jvoz1uAiBZpuus4LdmhCeShimWNE3TYqfjLCLtYgeGca6O9Odo0fnowjWIRu9eZ/nqOjrWbcrXkkbfAqC6fnucduV0T8CGSfypFtX+wY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sidebar_class_name: "get api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    List destinations

    - - - - - - - -Get a list of destinations - -## Request - -
    - -Destinations - -
    Schema
    • Array [
    • oneOf
      config objectrequired
      config objectrequired
      credentials objectrequired
      config objectrequired
    • ]
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-entities.api.mdx b/docs/docs/api/v2/mgmt/get-entities.api.mdx index 9d6f121212..52ca75aaad 100644 --- a/docs/docs/api/v2/mgmt/get-entities.api.mdx +++ b/docs/docs/api/v2/mgmt/get-entities.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of entities" sidebar_label: "List entities" hide_title: true hide_table_of_contents: true -api: eJydVX+L20gM/SrT6T9XiJPdbMgvSrkWSlmuB6W9cpR0ycq2nExre6Yz42RD8HevNPYmzoa9wGVh42ikJ+lJb7yXKRqLCXhM5dzbCntSG7TglS5vySRX6N+XXnmFTvakh5WT84U8mO560mFSWeV3ZN/LhwiMin4i/7qr6TRFl1hlGI/QPqAXIHLlvNCZwCOwRWd06eh5vpfDqyv+Og3tVJHo0lMs+4AxuUpCuYMfjh330iVrLICf/M4ghYK1sKM45bFwHbuOf2Di6cBYbjqg06lKOz7OW1WuyAcfoDA5m8ajWXyNo1k0nAyH0WgMNxFMcBJdXyUAOJnC6CaTda9b2/ISZjpNML7JsmgaT7JolMEkiqcpRtPRbDgbZuMExjPGLKHA/0YqdlHgdcfuxFSmVpdbzhTmqfv/lF0uC4zOc1hmyjq/DO51zWP/VSnLu7doMO7YCnmut0tIU8XcQb4M5S0LIpRgu+XEWucI5RlW289lKNpQ4ipU2LC2bCl7ikgDPJtoO44DzWdghMKfnizQr3UrJyYP/Jp+DDoCcGg3aF0QUWVzOl17b9x8MCBB9V1lYJVX2Fd6UKwKP9gM5VNtfWl9xNtPt7LuCPML66GZU0eex1Eb9RfuHpuZd3xo/Ay8RkjRnuWjNIK8hNcisCxS3GDOW+GCLUnQ0dO6LahmtExzYm60wbjqX4/7M3nk7W8oYUXVlj5ENVqHxB+X7NAnr1cBiqlKdeL+PHCU6ILOTkk8OayftvKSPuK29FanVcK27/T3L+bkjNwLN3FamaCUFf8Iy9AX33QlEihF5ShgrVzwocgiRImkcp6wrFB0c62a69UJKFNB/ZUYcro+Z128WHyuSvITn7TzFH73x2MPtir7hmwlb0FceU+J3Wb16uix3W77pgnjRg9dD7ba/nQGEjyYIlPFtMsDTcPYKNy+4uSBh3fgwsjE188f2Xh/f/+9vLCMrRcz2+bvDOwjX/edVT/hfn+8zZ9/O7Sb6vHBD0wOKiQKA963WlpI7LyS1lQD2/b7mJr5avO6ZvOvCm14MfXkBqyCmFeOXlO9xxVn8QVxyLe0vYalugFetfn5i4YVdpD1h/f/8PVQcSldYTUqah8Y/fGo3HWwu4pr0vP/uveM+2seDkn2zcG9OXk24CDgxpvpo3u2/g3e87q/ +api: {"deprecated":true,"operationId":"getEntities","tags":["Entities"],"security":[{"x-api-key":[]}],"description":"Get a list of entities","responses":{"200":{"description":"Entities","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-entity"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name"}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean"}},"required":["fields","allow_additional_field_mappings"],"title":"entity_config"}},"required":["id","application_id","name","config"],"title":"entity"}}}}}},"method":"get","path":"/entities","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List entities","description":{"content":"Get a list of entities","type":"text/plain"},"url":{"path":["entities"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -42,5 +42,5 @@ Get a list of entities Entities -
    Schema
    • Array [
    • config objectrequired
      fields object[]required
    • Array [
    • ]
    • ]
    +
    Schema
    • Array [
    • config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-entity.api.mdx b/docs/docs/api/v2/mgmt/get-entity.api.mdx index e5e0d93a9e..f23d510d7d 100644 --- a/docs/docs/api/v2/mgmt/get-entity.api.mdx +++ b/docs/docs/api/v2/mgmt/get-entity.api.mdx @@ -5,7 +5,7 @@ description: "Get entity" sidebar_label: "Get entity" hide_title: true hide_table_of_contents: true -api: eJyFVW2L20YQ/ivq5ksOLOvOZ/xGKU0hhKMthEtDKY7xjaSRvYmk3eyu7DuM/ntnVrIsx0nsA588+8wzr8/qIFLUBhNwmIqFMxUOhNJowElVPpBJbNC9LZ10L2IgHGysWCyFN0i0YjUQFpPK8PFieRDPIWgZfkH+tarp1KDVqrQEXRzE6PaW/6VoEyM1RyD+jjxRpcPSMQK0zmXic4g+W4YdhE22WAA/uReN5Kjiz5g4ctSGM/b50KlMexjrjCw3hMFnKHTOpsl4Ht/heB6OpqNROJ7AfQhTnIZ3twkATmcwvs9EPejnsL7Gmc4SjO+zLJzF0ywcZzAN41mK4Ww8H81H2SSByZw5Syjw50zFS4hNQ2rfkUxurpecScxT28OBMcAtlQ4Le93/elqgVZ7DOpPGurWH1zUP92slDS/OsuFYsRXyXO3XkKaSewf52qe3LqihRNtPJ1YqRygvuNp6rlPRglGvfIZN19Zty75lpAFeTLQdR9fmCzJiqZnofF/foQvwuLMaDHE4NNavf9PIYy4+hmQfDW4r+hk1QrtY6bbzNSuHaLeqFaCPRBQLEWErvejQRakFq9DsjllUJifk1jltF1FEghzaSsMmr3AoVVRsChftRuLbuj60mODN+wdR94T9gbNsFqUn79Ouafknvhy7uehh2uK3CCmai3gUJiBU4FTgxxykuMOc19J6W5Kgpadtm1DNbJniwFxow3E7vJsM5+I0uL+hhA1lWzrv1VwqkLjTlnd18n4XILlVqUrs712PElXQ2XkTzw4vVuIVfYKH0hmVVgnbPtHfv5gTGLkWLuI8s4BCVvzDb+Mw+E9VQQJlUFly2ErrMeRZeK8gqawjLhNIuiI3zeVsAyjTgOor0ce0Q466/GX5WJWEC94r68h99fpYg6nKoSZbyVsQV85RYLvb3JwQ+/1+qBs3LrSrOtor88VqSLAzhbqKSUyRomHsJO5vOLjvwx9g/ciCj49/sfHp6elTeWUZWxR3to3fG9iZ4M4a3+2gw2cX6Rykp/CjO7SKWYqjYsh7cVImLfiWQjHgcIgp548mr2s2f63Q+PfXQOzASIh5s0hWqbT8TJLMILd4kUv3/hKvH1uh3wS8m9/L8SiekovaAe/jQtCj11bvAqlXBG4VxEk0529IHNr1PC9emGc3yLu3//D1V3E/+rptRNo+MPt3s+oLugnP3/XgB/BfefZ0I/zWwZuTHzp090OD5v7Qe6T+Hz5H8Ds= +api: {"deprecated":true,"operationId":"getEntity","tags":["Entities"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"Entity","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-entity"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name"}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean"}},"required":["fields","allow_additional_field_mappings"],"title":"entity_config"}},"required":["id","application_id","name","config"],"title":"entity"}}}}},"description":"Get entity","parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string"}}],"method":"get","path":"/entities/{entity_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get entity","description":{"type":"text/plain"},"url":{"path":["entities",":entity_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"entity_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -42,5 +42,5 @@ Get entity Entity -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-magic-links.api.mdx b/docs/docs/api/v2/mgmt/get-magic-links.api.mdx index 9d6067222f..822d83f4a9 100644 --- a/docs/docs/api/v2/mgmt/get-magic-links.api.mdx +++ b/docs/docs/api/v2/mgmt/get-magic-links.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of magic links" sidebar_label: "List magic links" hide_title: true hide_table_of_contents: true -api: eJyNVvtv2zYQ/lc07ZcVsGTFdvwIhmEdMBTBUqBoUwxbaigUdbJZS6TKhx3X8P/eO8oPqUmaOoFNkfe+7ztxF6oaNLNCyes8vAoXYN+yheA3Qq5M2AstW5jw6i70m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KxOT17tf7t475JgM3iljUX3+2zEH7WRc454kFGTOWnRs1otXZ4nNZhPXjZon3jHr/kbplakZh9NWVLsM6dBX2Iy1gM0rcu7r8BczvmU0d2jz/v7+k3wBjAcp/6Jo/LcadkO3hu6VoVP+3flG8MN7xgGvFh5svy6ZkK2B2pDqLmyTCimwxGBoe7fLMKuPutzvafuLA+0vOr1wzbRgGWEPrz29I9aJhZ4l4WuEcU20XTPC3NXjKwtR7UTxN3/f0qhxFE2bYQ2dDguyfjyS25btNvUa9/S97z0j/jt1Cbn7x0m8OXlW4cTkRpoqOMcR9Q3h8nqm +api: {"operationId":"getMagicLinks","tags":["Magic Links"],"security":[{"x-api-key":[]}],"description":"Get a list of magic links","responses":{"200":{"description":"Magic Links","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"ec208408-db29-4705-b39e-4d33070b4ef6"},"status":{"type":"string","description":"`new` or `consumed`","example":"new"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_id":{"type":"string","example":"677fcfca-cf89-4387-a189-71c885be67bc"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"url":{"type":"string","description":"The magic link URL.","example":"https://app.hubspot.com/contacts/123456"},"return_url":{"type":"string","description":"URL to redirect to after the connection is authorized.","example":"https://app.myapp.com/connections/123456"},"expires_at":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00Z","description":"Any ISO formatted date-time string indicating when the magic link expires."}},"required":["id","status","application_id","customer_id","provider_id","provider_name","expires_at","url","return_url"],"title":"magic_link"}}}}}},"method":"get","path":"/magic_links","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List magic links","description":{"content":"Get a list of magic links","type":"text/plain"},"url":{"path":["magic_links"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,5 +38,5 @@ Get a list of magic links Magic Links -
    Schema
    • Array [
    • ]
    +
    Schema
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-provider-user-id.api.mdx b/docs/docs/api/v2/mgmt/get-provider-user-id.api.mdx index d1026dbece..c14342856a 100644 --- a/docs/docs/api/v2/mgmt/get-provider-user-id.api.mdx +++ b/docs/docs/api/v2/mgmt/get-provider-user-id.api.mdx @@ -5,7 +5,7 @@ description: "This endpoint returns the ID of the logged in (common schema) User sidebar_label: "Get logged in User ID and details" hide_title: true hide_table_of_contents: true -api: eJztVltz4zQU/ivCPNDOJHbS0nbJMMwWFnY7wNDpBYZpO6liK462tqTVJWlI/d85R7Idp8nCdmZ5ww9tJJ375TtnFUnFNLVcirMsGkU5s+daznnG9LVhGu56UcZMqrlCGqC4mnFDmMiU5MISzazTwhA7Y+TsDZFT/6uQec4ywgXZS2VZSkFMOmMl3ScolFCRkYxZygsT34pbcQUsG3SBDOSVVIFs6YVOZVHIBRc5OdRZX1Ftl0TVthI5ec9SCyxmhBKfSOMFIU/kgpXSsjUN3iFNv/lI53fnDmneuYlR0hLk+f2Q/LYQKLP5As2bpaAlTw2eT/9ympHLpbGsDG4EmjNhmQYnPU1WQmi639OtgEBbmptodBP9IIUASyHeJrrrRYalTnO7hKdV9NinivcfGJ7uKniFQNCSgXDj38ESBll67Ju8D1qk7s/hCVPXizjmb8YohAVOIdTRaBXZpUIeYzVEF16YcCXaMUTt7JGWqoD3YVX1WvlN4Mf+XIv+4JhewkGzD45rBvVktWOfomkWogw3pRlndTjHh8dHY0MLZryCEL8Nk1q+rmmpM1aWYBrPGsMUtbMX2FVhXDUDycKAcng/GAzw32YntA2SSjBOWKSgShU89f2UvDdIttpWEwoRGCGK0H2WByXOBKN3xOl5C+5uNhQAV9QSqXnOBbXMkKmGoltKp0kTmK+wXXnbQ02nxNAnUxQQ2s3SScEIncg5tp72d21ThdZUYFwcVRAruhjXDb3LTZplHE2nxXnH4ZCDbc9AGMmopcFyVPtJ1qMda0Xjz2bST+C7AcU7tZoeGggNX9IlmUC4WrHBBchIhgEtpHxwyjuzG+j2WJzHZMHtrEGcfSzqdal3yiM6GQyHR+ww7R+cDAb9r4fDg/7k4NUUj8ds8OroZMCOo62svJgfGYAaisi+xghAACDf2IPYOhA1D1ZY/DS12KPUQYZ87cNBwmkW3VXhg8YGflmPGCx9bMlRlDRpNcmq07hVkq4xMBm3aNP4gKCo5w3mOV0gFlirzChJAB9j4xTNC8diLpMyL20yP9jqosuahpyen0VVB2cvMTWhJTto29YQ3PzMEOZaqG1oniPspj5QQ4AKy4HiJIMROGcFFp8fcTRNmQmD1BtUobSpRMUNgo+iQTw8jr/BUcGtB8BfqaA5WAujGLl6TTqQrbav8RPhtoRigKtMpuZ1G6OQ0c0gbjxWz135Ej6caFpmzucIZ+4frEh9nwT82LSMgEqHB18eMflTOpJSD1nYWMbTAGfpudpmJwj7edhPjN8bOnXhd4ebL24unED0O5fGAvvdXuODdiJWcCewCibOWlBs5vn+mmKxWMQqsKGjrdfJQuoHo2jK2qu+chNA9gTgUM85W+yjch+H76nxKSPXF7/g5f39/a34l2KsqTCytf5Owt4y2wH1BiE6S9Pz0lqtJ9D/69l/uJ6F/rfs0SaqoNynz7fNqoazm3b5wByNNjeRTuXCaRvTAIFmUAsoZbWaQFFd66Kq8DrsVYh0GTc4lgFGp7Qwz2dVtw72LuplZ598zHQPa1ub3JwiVowiD4lzqjkq/PzKGzAVy67Oxqhu5Ko7IK8x9WVm/LPjO1fktfewUAa6UwBmZTtvWzseRqodb29/vAqjcLY5M8KAqH+gHzsj0B0mQT3+RWN2kn+LuAPT6LuWPLx8lKGdTYEa44Ej+m8YiMEp +api: {"operationId":"getProviderUserId","description":"This endpoint returns the ID of the logged in (common schema) User and details.\n\nThe common schema User ID maps to the following 3rd-party provider object IDs:\n\n| Provider | Remote object ID | \n| --------- | ----------------- | \n| Hubspot | V3 Owner | \n| Dynamics | Azure System User | \n| Intercom | Admin |\n","tags":["Connections"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-sg-minor-version","in":"header","schema":{"type":"string","enum":["1"],"example":1}},{"name":"provider_name","in":"query","required":true,"schema":{"type":"string","enum":["hubspot","ms_dynamics_365_sales","intercom"],"example":"hubspot"}},{"name":"customer_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"UserId","content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"string","description":"The ID of the logged in user that originates from your customer's third-party Provider. Refer to the table above for the Provider ID mapping."},"raw_details":{"type":"object","additionalProperties":true,"description":"The raw data from the your customer's third-party Provider."},"additional_raw_details":{"type":"object","additionalProperties":true,"description":"For some third-party Providers, there may be additional data used to lookup the common schema User ID (e.g. with Hubspot)"}},"example":{"user_id":"70115e3c-2700-4112-b28f-2706e08570e6","raw_details":{"user_id":"70115e3c-2700-4112-b28f-2706e08570e6","user":"test@something.com","scopes":["contacts","automation","oauth"]}}}}}}},"method":"get","path":"/customers/{customer_id}/connections/_provider_user_id","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get logged in User ID and details","description":{"content":"This endpoint returns the ID of the logged in (common schema) User and details.\n\nThe common schema User ID maps to the following 3rd-party provider object IDs:\n\n| Provider | Remote object ID | \n| --------- | ----------------- | \n| Hubspot | V3 Owner | \n| Dynamics | Azure System User | \n| Intercom | Admin |\n","type":"text/plain"},"url":{"path":["customers",":customer_id","connections","_provider_user_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"key":"provider_name","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"customer_id"}]},"header":[{"disabled":false,"description":{"content":"","type":"text/plain"},"key":"x-sg-minor-version","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/get-provider.api.mdx b/docs/docs/api/v2/mgmt/get-provider.api.mdx deleted file mode 100644 index 8185ce2c5b..0000000000 --- a/docs/docs/api/v2/mgmt/get-provider.api.mdx +++ /dev/null @@ -1,54 +0,0 @@ ---- -id: get-provider -title: "Get provider" -description: "Get provider" -sidebar_label: "Get provider" -hide_title: true -hide_table_of_contents: true -api: eJy1WHuP47YR/yqs7o/eApafWsteFEUvQRIc2jSHe6AoNgsdRVE2s5KokJR9ruHv3hlSkiU/zpsguceuRM57fjPkaO/JkitqhCzeJt6Dt+LmnZIbkXDlDTxDV9p7ePSaJe09DTzNWaWE2cHG3vvi01L4zxzfng6wq7guZaE58O296XiMvxKumRIlKgEVHflMFoYXBmloWWaCWUNGv2gk3HuarXlO8cnsSg6sMv6FMwOMpUKzjXBqRNKh0UaJYgU0/AvNywyXxixg8XKS+ny2nPrBPL33F8tZ4E/CYDmfhZN0OZt6h0HXhuiWzGk44xMW3vuzeJ74wWxJ/WW84D6bUxaMwyRdTinKBHF8JdXuorSiyjG8TOX2bUVXPMd44IsSbF2/5FQ9cwM8Ea2MzK2BsFzIqJX+1LXNyTPCuLeGBj2szDpyZlw3RyLV1MN4iAhT2xNe74KwguZflbOuYsACOqBpxnUqFeOYO1HyRIkNPv+PFwCO50jzLENHdZTsQKxgOprN7yPL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J+gWNOxNkkb1wXpsyLcV3Lpct6XQuy+2q1+7VrfU3zZmnWDTctQCOqdMIzyqTQYum+6vwfS3hdOKu93bEG9oHJGpTa4DnShcOjt3uuGlZKRCadNen10//GM0N0CCW6lZC5X4JVWA+2ZQhUYqM/KaD1dD8qGdDe76Rn6P1v3bGneSlV6MTgzvZKlL1mTGO1wRJnqs7f2h337Oue0t5GTK7Yyo3fnwHEaNFhSLgvsR/gFquTxO9hBBYDf4yQA/EzhMHw21egXyldTgBHe0Eq/tg/PRv7lw4zcGELyW9dcKqwsv+N6oka5H+46iA05o0IoaUyqV4YBWdzIYcY+NTMhRvsrNaDM9A1AzuBCYuLxD5yuIvfG4Yuh8CznWUyn+yXdNNB86NLX/a7jO24idTH1usMMzHPqd3B57o7Zrbt5DKFuDDigtlagYHXUyxsPJfLjszKA/2rkNp1bL5b6/UNfVavsaPxHbORUYKmz2/+g2e9jrB7G3eYaMV/CHvC2MkknFcO1n+PsfngExb+4ofcsIqKzwxTUD8l84/hgt7ARp8MREGuB0c2hbvngr4iv3MUvbEwT8K7jVqYeo9fEvj+8re0l6J7UB9uORpqpiWMJagSiIK2NAsd6s7o4U2+12WDo2e+Q1Xo+2Uj3rkjLeLvllFUONHc9aVG7j8A3VNmXk0/t/4eLnz59/Lm6AsabCyNb6Owk7qbte6FsUGv7F4BEtrBCbvH1dNsc5BQeah26FAsrXoA9p9vsYDP+kssMBl3+tuLJf/AbehipBYzv/7r1EaHyG0kxxfD8zp/3e571+Xxf8HUGAXjKzqaACa2VDEZQPHjzaAuu1kgNOrnUhoRmOAi6EvDQd3rNPjL1e8sN3H+sG2C9fV6v1A0q/aFe3rp16/HkYXCH/G0IAGsPfW3K3c5WhbROOGiOEl9D/A/lGiSs= -sidebar_class_name: "get api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    Get provider

    - - - - - - - -Get provider - -## Request - -

    Path Parameters

    - -Provider - -
    Schema
      config object
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-providers.api.mdx b/docs/docs/api/v2/mgmt/get-providers.api.mdx deleted file mode 100644 index 61bd5b9e58..0000000000 --- a/docs/docs/api/v2/mgmt/get-providers.api.mdx +++ /dev/null @@ -1,54 +0,0 @@ ---- -id: get-providers -title: "List providers" -description: "Get a list of providers" -sidebar_label: "List providers" -hide_title: true -hide_table_of_contents: true -api: eJy1GGlv4zb2r3A1H3YCRHZsK5YdLBY7u2iLQa9BZwbFIg00FPVss5FElaTscQP/975HHZZ8xOmgzWFL5LsvvscnTxWguZUqf5t4d94S7Dut1jIBbbxrz/Kl8e7uvf3aw7VnQJRa2i1uPHmffV5I/xHo7WGHuwkYoWVBFJHeN2AZZ6k0lqkFKzqkNZhC5QaQ/pM3vrmhrz5uVxChcgu5JSBeFKkUTuThr4Y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T+5qsPdVno51aVSPUDUW+28m2HdjfpKvb0ubs+A/4v8g9m7b9b8GrnLEKbwxU02Y9asz8An65PnA== -sidebar_class_name: "get api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    List providers

    - - - - - - - -Get a list of providers - -## Request - -
    - -Providers - -
    Schema
    • Array [
    • config object
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    • ]
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-schema.api.mdx b/docs/docs/api/v2/mgmt/get-schema.api.mdx index 5e47682448..f846b4f0b3 100644 --- a/docs/docs/api/v2/mgmt/get-schema.api.mdx +++ b/docs/docs/api/v2/mgmt/get-schema.api.mdx @@ -5,7 +5,7 @@ description: "Get schema" sidebar_label: "Get schema" hide_title: true hide_table_of_contents: true -api: eJyFVm1v2zYQ/isc96UBLD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KViU3mNit15eHCw2m01sajcqtK26v9H2mzNCQrsVmXKB5OtrvIy1gs0FJQ99+E24cGXs8+2ftPn09PSlODOMjRV1tsnfubAjgh41vp1BD8++bzKhQohwdbuGMA8NK0l+Zgci43yvMBOd73YLhPzZZlVF299LsOFlocfXwiqxoMFCViXK0TppNO4ESvuywN/dNrpwwWg0X4O4505BLFkLGscZx2WgVkdvqkc0bghEIOrz98gN4zueJ28nR/rx8cM9qWVJ7ejStuZos6Dor6Lq8rlOT59V7w3zn+nqURB+ac3rkzcdWnmorak/+Gyr/gMYKmsT +api: {"deprecated":true,"operationId":"getSchema","tags":["Schemas"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"Schema","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-schema"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name","description":"Your application field name."},"mapped_name":{"type":"string","example":"FirstName","description":"The field your customer maps. This is a Provider-specified field name. E.g. FirstName for Salesforce."}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean","description":"Specifies whether your customer can add new application field names.","example":false}},"required":["fields","allow_additional_field_mappings"],"title":"schema_config"}},"required":["id","application_id","name","config"],"title":"schema"}}}}},"description":"Get schema","parameters":[{"name":"schema_id","in":"path","required":true,"schema":{"type":"string","example":"a821d59d-8b4c-4ad9-aeec-1292d2e28701"}}],"method":"get","path":"/schemas/{schema_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get schema","description":{"type":"text/plain"},"url":{"path":["schemas",":schema_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"schema_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -42,5 +42,5 @@ Get schema Schema -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-schemas.api.mdx b/docs/docs/api/v2/mgmt/get-schemas.api.mdx index a3f16445f6..6a69796f93 100644 --- a/docs/docs/api/v2/mgmt/get-schemas.api.mdx +++ b/docs/docs/api/v2/mgmt/get-schemas.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of schemas" sidebar_label: "List schemas" hide_title: true hide_table_of_contents: true -api: eJydVX9v2zYQ/Sqc9s8KWHLiGHZsD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8c2Ae+KQ9MP2r97nATvnqvtjz1+OT7JgcVwoTj3bVCmkXucJWvKAE27XYLquSzzeuazd8rtOFC70VrsAoWzDe63nvP/GblBWVEb4m6hmW6BubZ9PSKZnntJf3+3T2Phooz6aqqkVD7wOjPS+W2g92VWxOe/9a9V9x/5pMhvf6yd29WXt2wV2/jzd2jQV7/A+ltJvY= +api: {"deprecated":true,"operationId":"getSchemas","tags":["Schemas"],"security":[{"x-api-key":[]}],"description":"Get a list of schemas","responses":{"200":{"description":"Schemas","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-schema"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name","description":"Your application field name."},"mapped_name":{"type":"string","example":"FirstName","description":"The field your customer maps. This is a Provider-specified field name. E.g. FirstName for Salesforce."}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean","description":"Specifies whether your customer can add new application field names.","example":false}},"required":["fields","allow_additional_field_mappings"],"title":"schema_config"}},"required":["id","application_id","name","config"],"title":"schema"}}}}}},"method":"get","path":"/schemas","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List schemas","description":{"content":"Get a list of schemas","type":"text/plain"},"url":{"path":["schemas"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -42,5 +42,5 @@ Get a list of schemas Schemas -
    Schema
    • Array [
    • config objectrequired
      fields object[]required
    • Array [
    • ]
    • ]
    +
    Schema
    • Array [
    • config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-sync-config.api.mdx b/docs/docs/api/v2/mgmt/get-sync-config.api.mdx index f8ce41ce71..285f99accb 100644 --- a/docs/docs/api/v2/mgmt/get-sync-config.api.mdx +++ b/docs/docs/api/v2/mgmt/get-sync-config.api.mdx @@ -5,7 +5,7 @@ description: "Get Sync Config" sidebar_label: "Get Sync Config" hide_title: true hide_table_of_contents: true -api: eJzFV21v2zYQ/iuc9iUBLL/IL5KNYVjXDUXQDQj6gmGIg5QiKZutRKkkZdcw/N93RymyZCVLsS9zgFgmj3fP3T13Rx29vBCaWpmrG+6tvI2w7w+Kvc5VIjfewLN0Y7zVnXdeNN79wDOClVraA2wdvW8+LaT/ReCv+xPsamGKXBkBJ49eMB7jFxeGaVmgITDTscFyZYWyKEWLIpXMwRl9Nih69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BkTxrhO6wCdUFuSo2F0tNIxHk4Ww6V3ZsCfVNGNmyfu1KBpQ6smt49+Yn4yKjFUPGfmlyZG0IdhrxvEzmaPVj/Ch9woq3Neuomwhr+/RArCAn1BJ7rICJgs3dhD8SH5Oy+hwylSQvOwW5gnKAMnM3eKsNLADIJW4y4O1S3EEGierSlkhmj17oe7dyWOVXKbGwvH768efcA5WcCaQhbEpbVg2Ow212eJ/X4/LKpj6Gjj9Wif6y+moEw0S35RxlCtoxySsZNif43GXRx+xQaI8D+++wMXP336tFYvkLGWclfCyn4rYf2i7US/IaIV3+yoSKl0elz+jnX93LUrGgfv6qLCge5bMIySx2MMHnzU6emEy19LuGPgW8HA21EtaYw8gyLj0uAzVGpCUyN6oJo3Au/qXd0wrsl5LnXBPpaSwqLZUWTnyoNHV2mX3eiEl4W6qBBJJfQK6qWwreO995BOd3nz+wfPXZm23VKu6rZ+QO1PQmvXeGUe/58Gz4j/hHSAJvFzI17tPHugaRmVNAYJ580/E0+/5g== +api: {"operationId":"getSyncConfig","tags":["SyncConfigs"],"security":[{"x-api-key":[]}],"responses":{"200":{"description":"SyncConfig","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"465fdcb7-26b4-4090-894c-67cab41022bb"},"application_id":{"type":"string","example":"9572d08b-f19f-48cc-a992-1eb7031d3f6a"},"destination_id":{"type":"string","example":"6e7baa88-84dd-4dbc-902a-14522c2984eb"},"provider_id":{"type":"string","example":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af"},"config":{"type":"object","properties":{"default_config":{"type":"object","description":"Configuration options for \"how\" to sync.","properties":{"period_ms":{"type":"integer","minimum":60000,"example":60000,"description":"The period (in milliseconds) to run the sync."},"strategy":{"type":"string","enum":["full then incremental","full only"],"description":"\\\"full then incremental\\\" will run a full sync on the first run, then incremental syncs. \\\"full only\\\" will run a full sync on every run."},"auto_start_on_connection":{"type":"boolean","description":"If true, the sync will start automatically when the connection is created.\nDefault: true\n"}},"required":["period_ms","strategy"]},"common_objects":{"description":"A list of Supaglue objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Supaglue object name","example":"contact"}},"required":["object"]}},"standard_objects":{"description":"A list of case-sensitive Provider objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]}},"entities":{"type":"array","deprecated":true,"items":{"type":"object","properties":{"entity_id":{"type":"string","example":"3a82409f-c98f-4d25-bbd8-3335de3f12cc"}},"required":["entity_id"]}}},"required":["default_config"],"title":"sync_config_data"}},"required":["id","application_id","destination_id","provider_id","config"],"title":"sync_config"}}}}},"description":"Get Sync Config","parameters":[{"name":"sync_config_id","in":"path","required":true,"schema":{"type":"string","example":"d583ec72-55d4-4f35-9668-f6c759674cc1"}}],"method":"get","path":"/sync_configs/{sync_config_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get Sync Config","description":{"type":"text/plain"},"url":{"path":["sync_configs",":sync_config_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"sync_config_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -50,5 +50,5 @@ A list of Supaglue objects to be synced. A list of case-sensitive Provider objects to be synced. -
  • Array [
  • ]
  • entities object[]
  • Array [
  • ]
  • +
  • Array [
  • ]
  • entities object[]deprecated
  • Array [
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-sync-configs.api.mdx b/docs/docs/api/v2/mgmt/get-sync-configs.api.mdx index 2e241e1e7a..d08fca9549 100644 --- a/docs/docs/api/v2/mgmt/get-sync-configs.api.mdx +++ b/docs/docs/api/v2/mgmt/get-sync-configs.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of Sync Configs" sidebar_label: "List Sync Configs" hide_title: true hide_table_of_contents: true -api: eJzFVttu4zYQ/RVWfUkAyxf5bhRF022xCLoFgr2gKOzAS5GUzV2J1JKUHcPwv3eGUmzJTjbBvjQBEpscnjkzc2bIfaBzYaiTWt3yYBashPuwU+yNVolc2aAVOAr/ZvOgvnrfCqxghZFuB1v74CGkuQy/Cvx2f4BdLiwzMkdUwHwrHKEkldYRnRAEIid8I2yulRXgZB9E3S7+ax5v8mFaOaEcmtE8TyXz3DtfLNruA8vWIqP4ye1yAaepMXQH56QTma2t6/iLYA42coMZcLJkIHnNxjoj1QpsxAPN8hSXBqNhwlk8DqNRPAgH3Wk3nEwHLByNGY0HvW4UxXFwaNW5LV/CnA7HEe9O4jDpTZNwMGEspNNpFPZEPO72e7yfjChiQlqcVK/DHIlxTOlkEk4GnIcDHrNw2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fvcPHz588L9YIYKyv/oir91wr2Dgfo2bO3kf/96VX7/cdypVgnHlwnT6n0Dn2h91VfzYNGX0EXrIEPru/3MQT2yaSHAy5/K+Dmxvd6K9hQI2mM8pvjLVjJHRvRN0pwA0rOsXU3FGU3u3x4Y7cd2/ztnx8D/xZYN5us7KjqA6I/bqldDbvefaV7/HtoPWP+CxYK2vfXo3m58+yBYzOX1phCHKT/AY4ZdYM= +api: {"operationId":"getSyncConfigs","tags":["SyncConfigs"],"security":[{"x-api-key":[]}],"description":"Get a list of Sync Configs","responses":{"200":{"description":"SyncConfigs","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"465fdcb7-26b4-4090-894c-67cab41022bb"},"application_id":{"type":"string","example":"9572d08b-f19f-48cc-a992-1eb7031d3f6a"},"destination_id":{"type":"string","example":"6e7baa88-84dd-4dbc-902a-14522c2984eb"},"provider_id":{"type":"string","example":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af"},"config":{"type":"object","properties":{"default_config":{"type":"object","description":"Configuration options for \"how\" to sync.","properties":{"period_ms":{"type":"integer","minimum":60000,"example":60000,"description":"The period (in milliseconds) to run the sync."},"strategy":{"type":"string","enum":["full then incremental","full only"],"description":"\\\"full then incremental\\\" will run a full sync on the first run, then incremental syncs. \\\"full only\\\" will run a full sync on every run."},"auto_start_on_connection":{"type":"boolean","description":"If true, the sync will start automatically when the connection is created.\nDefault: true\n"}},"required":["period_ms","strategy"]},"common_objects":{"description":"A list of Supaglue objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Supaglue object name","example":"contact"}},"required":["object"]}},"standard_objects":{"description":"A list of case-sensitive Provider objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]}},"entities":{"type":"array","deprecated":true,"items":{"type":"object","properties":{"entity_id":{"type":"string","example":"3a82409f-c98f-4d25-bbd8-3335de3f12cc"}},"required":["entity_id"]}}},"required":["default_config"],"title":"sync_config_data"}},"required":["id","application_id","destination_id","provider_id","config"],"title":"sync_config"}}}}}},"method":"get","path":"/sync_configs","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List Sync Configs","description":{"content":"Get a list of Sync Configs","type":"text/plain"},"url":{"path":["sync_configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -50,5 +50,5 @@ A list of Supaglue objects to be synced. A list of case-sensitive Provider objects to be synced. -
  • Array [
  • ]
  • entities object[]
  • Array [
  • ]
  • ]
  • +
  • Array [
  • ]
  • entities object[]deprecated
  • Array [
  • ]
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-sync-runs.api.mdx b/docs/docs/api/v2/mgmt/get-sync-runs.api.mdx index 382920c6be..6e7dfb6987 100644 --- a/docs/docs/api/v2/mgmt/get-sync-runs.api.mdx +++ b/docs/docs/api/v2/mgmt/get-sync-runs.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of SyncRuns." sidebar_label: "Get SyncRuns" hide_title: true hide_table_of_contents: true -api: eJztWetT4sgW/1dyuV92qgzv4EDtTl1H3VlmBUeFsdS1Mk3SgcYkne3ugGj5v99zOgESQHRwd2s/jA/M43Sf33mfPj4WeEQFUYyHbbfQKgypupiFznkcysJeQZGhLLRuCotHt3sFSZ1YMDWD54+Fe5NEzLyjeHf7BG9dKh3BItwPdvtElUEMn0llcM+Y71KEnSMiSEAVFVLvE8IN0MPOkgt4zXD1nzEVM7iRzogGpNB6LKhZhGRSCRYO4Q29J0Hk65VH5VnnqH1/0jvA3+rvDwcPn3vdj53xmd8pH1c6s3q583D20Blf+Z279rRz2H846x1MC0+rmHsjakRkyEKtFCOBZEyIH1MgXkAFEmpL9kB3QVspl9cZd+NgQAUqSlAZ+0oaisOlikVogI0QVA6BE0vFAyps5u6CIZiZ8x3MymY1zN8b7SNDjYgy4pABC39mMJeGinmMAsgsIQuNGY+FQaLIZ47WYE5pgk9gqbD1/Q6gJfGp9Lhw6DOGSxkYmkGGMx+MqaNsvfPr+YZxgO7v8CAAFkCqSOgSgfpORMaAyKCbv35a47yLsMRxeByqzZIm26KLeMyHODIGs6y8aB4129E16H59YJG6Z3pVq2rWScMxm/WyY3o16/1+rd58b9Vrm1ElbME9ngUGOlKx3AXVRf/w8PjiYjPjZNscV+Mnh0hqslDSUDLFJvTdChABDsECCldBtAuiD9VytWKW4afRK9da1XrLqhXrtXqt2rh+FqYAowHTHNSicTHise+m76dMjQweUswFNx/2jJ9vDY/7Pp9SF+UiodG+ODXeN8oVY4G/mLe++09LBixfJ9d3CATBBakw4mBBiXirkD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eWnXbEfqcoanrSXNKkp8wRJa42XJ4fsDGACk+HBA9+hksn1MfUrw/tEH2gXz1L0oCecDePI2MUNNmjXKw0is2Mm3dImIaPXpWcAEnSa6f45nKiHQPCUFUud+T/FjpK8kdeibmXa6fd/8KX0Q6V4G6sbf0HfF9SH4j16ReFyCMzgGWMN9rZisYVjw0HDr2xhAUjJjUNrAz0quw0DTwrGc5KOCS7xtK/ZBG53vznBo6+OHX7wqWC5bc/zWUATylG8CxELxjESgFjORm+W1JMp9NilCxDQRdSl6Zc3MmIOHTxyIziAcRKiYMxJoxO3yFzrYePRGqTGf3zE3z47du3P8IXnDGl0hUn4Z8xGI6MMxPonOofl0f8LaPl1FMVnDZLkU+YZqQN/JgG001hGUzg+iMAgQ8fHwcgTV/4T0/4OJmXYIi5TGIKgpj0iC/pFlTbhsfPINPxtZx8J7Stgj4Hv57xq4bHWxFkB9o7gvjrZsYv6Cqbp9+ANT8t3q6dlaS/nWuyJt+9vwHnplnvVrSL5vsNTJ8Z5W7lmy3Ab2D9ymHuViiL8v02HH/btPYl8CvNy5sM+ZdPZl9wAvcZ6Ld4I1jSzt1gD5h2C5hkk8UH0AhEWc9dm+TiLosW6dNxDzu5GLN6tkdJGpL0IjMGJOEss3e2eUnY42fmEJsn/xnrHHQ/Hxbky/8Kblyw6IUSalQSNnn/B12x/Zk= +api: {"operationId":"getSyncRuns","tags":["SyncRuns"],"security":[{"x-api-key":[]}],"description":"Get a list of SyncRuns.","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"page_size","in":"query","schema":{"type":"string","example":"100"},"description":"Number of results to return per page"},{"name":"customer_id","in":"query","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application"},{"name":"provider_name","in":"query","schema":{"type":"string","example":"salesforce"},"description":"The provider name"},{"name":"object_type","in":"query","schema":{"type":"string","enum":["common","standard","custom"],"example":"standard"}},{"name":"object","in":"query","schema":{"type":"string","example":"account"},"description":"The object to filter by"},{"name":"entity_id","deprecated":true,"in":"query","schema":{"type":"string","example":"e74b5a4f-f252-4a6c-940c-f35873498543"},"description":"The entity id to filter by"},{"name":"status","in":"query","schema":{"type":"string","example":"SUCCESS"},"description":"The status to filter by (case-insensitive)"},{"name":"start_timestamp","in":"query","schema":{"type":"string","example":">2021-01-06T03:24:53.434326Z"},"description":"The start time to filter by. Should start with one of [`>`, `<`] followed by an ISO 8601 timestamp."},{"name":"end_timestamp","in":"query","schema":{"type":"string","example":">2021-01-06T03:24:53.434326Z"},"description":"The end time to filter by. Should start with [`>`, `<`] followed by an ISO 8601 timestamp."}],"responses":{"200":{"description":"SyncRun","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},{"type":"object","properties":{"results":{"type":"array","items":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"id":{"type":"string","example":"20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9"},"sync_id":{"type":"string","example":"629525f8-f6f7-436c-80fa-1cb23acc5bf8"},"object_type":{"type":"string","enum":["common","standard","custom"]},"object":{"type":"string"},"error_message":{"type":"string","nullable":true},"start_timestamp":{"type":"string","example":"2023-02-22T19:55:17.559Z"},"end_timestamp":{"type":"string","nullable":true,"example":"2023-02-22T20:55:17.559Z"},"application_id":{"type":"string","example":"974125fa-ffb6-47fc-b12f-44c566fc5da1"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"status":{"type":"string","enum":["SUCCESS","IN_PROGRESS","FAILURE"]},"num_records_synced":{"type":"number","nullable":true,"example":100}},"required":["id","sync_id","object_type","object","start_timestamp","end_timestamp","application_id","customer_id","status","error_message","provider_name","category","connection_id","num_records_synced"]},{"type":"object","title":"Data model: Entities","deprecated":true,"properties":{"id":{"type":"string","example":"20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9"},"sync_id":{"type":"string","example":"629525f8-f6f7-436c-80fa-1cb23acc5bf8"},"entity_id":{"type":"string","deprecated":true},"error_message":{"type":"string","nullable":true},"start_timestamp":{"type":"string","example":"2023-02-22T19:55:17.559Z"},"end_timestamp":{"type":"string","nullable":true,"example":"2023-02-22T20:55:17.559Z"},"application_id":{"type":"string","example":"974125fa-ffb6-47fc-b12f-44c566fc5da1"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"status":{"type":"string","enum":["SUCCESS","IN_PROGRESS","FAILURE"]},"num_records_synced":{"type":"number","nullable":true,"example":100}},"required":["id","sync_id","entity_id","start_timestamp","end_timestamp","application_id","customer_id","status","error_message","provider_name","category","connection_id","num_records_synced"]}],"title":"sync_run"}}}}]}}}}},"method":"get","path":"/sync-runs","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get SyncRuns","description":{"content":"Get a list of SyncRuns.","type":"text/plain"},"url":{"path":["sync-runs"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""},{"disabled":false,"description":{"content":"Number of results to return per page","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"customer_id","value":""},{"disabled":false,"description":{"content":"The provider name","type":"text/plain"},"key":"provider_name","value":""},{"disabled":false,"key":"object_type","value":""},{"disabled":false,"description":{"content":"The object to filter by","type":"text/plain"},"key":"object","value":""},{"disabled":false,"description":{"content":"The entity id to filter by","type":"text/plain"},"key":"entity_id","value":""},{"disabled":false,"description":{"content":"The status to filter by (case-insensitive)","type":"text/plain"},"key":"status","value":""},{"disabled":false,"description":{"content":"The start time to filter by. Should start with one of [`>`, `<`] followed by an ISO 8601 timestamp.","type":"text/plain"},"key":"start_timestamp","value":""},{"disabled":false,"description":{"content":"The end time to filter by. Should start with [`>`, `<`] followed by an ISO 8601 timestamp.","type":"text/plain"},"key":"end_timestamp","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,9 +34,9 @@ Get a list of SyncRuns. ## Request -

    Query Parameters

      2021-01-06T03:24:53.434326Z"},"description":"The start time to filter by. Should start with one of [>, <] followed by an ISO 8601 timestamp."}}>2021-01-06T03:24:53.434326Z"},"description":"The end time to filter by. Should start with [>, <] followed by an ISO 8601 timestamp."}}>
    +

    Query Parameters

      2021-01-06T03:24:53.434326Z"},"description":"The start time to filter by. Should start with one of [`>`, `<`] followed by an ISO 8601 timestamp."}}>2021-01-06T03:24:53.434326Z"},"description":"The end time to filter by. Should start with [`>`, `<`] followed by an ISO 8601 timestamp."}}>
    SyncRun -
    Schema
      results object[]
    • Array [
    • oneOf
    • ]
    +
    Schema
      results object[]
    • Array [
    • oneOf
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/get-syncs.api.mdx b/docs/docs/api/v2/mgmt/get-syncs.api.mdx index 68f19bc0d0..55ebcd2d0c 100644 --- a/docs/docs/api/v2/mgmt/get-syncs.api.mdx +++ b/docs/docs/api/v2/mgmt/get-syncs.api.mdx @@ -5,7 +5,7 @@ description: "Get a list of Syncs." sidebar_label: "Get Syncs" hide_title: true hide_table_of_contents: true -api: eJztWG1T2zgQ/is635frDE7ivBDCXG+OAtOGkrS0UAYoQ2VbThRs2bXkBJPJf79d2UnsQFJKubkv104pllf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02q9VZizVRpYQABJ8QHh+8hM6WdnmaSFbUZYehz6goKvOoL5kOj2It2Qg/TGxIJzo3Fovmz5THFbfWqTIvJsXsWbbzAyMtTrhKv0zs+rF4eMyJP+iX/50P5+RKPpyvwe5izX3h6pqDPLUi/u/+/577lzurhbu+VCQUCoZWMeFqeLPYAh5xM5cHlrPZNf4AtjBbDMN8jtFgaggPVZmPNJLF4/nskcQ+GkmpSO5WqzDMVGQCtQn6/QoPq8EgUNVx3VhtYD7nMmTvY1e3LPOh6DO2HFkYFkajZdmK+HuGdSvvvZYyee81ZNTVZbWMBzAEpLBVglYmnBCXjZmPQa/nBOo4TGbNuCY0Q21eiMB40ExHrWJtVzqFXNKjAoaKADKY3rW1iJndRW84Pyd6R0A5msoNHfn3wkYQvvCubMTSywe93+/wh3SFikM30R7yFf6eMx+EdWeMhygzIwCZ4INuFyrkIkyIQwUBDwJpLrUM7Az0ruI4otggG2olAV8hS6+UFUS9+u3qUyJwbPkYSgXbr/+YnyFORCWCNYFeYCdKAbAcD14tJSaTSSXKtuFBF6euTsL4VkbUYYslM0psaE6rIVzGmLPJKwTXdnhDpb4ycvbpGBe/ffv2VfzAGXMpnTIy/MKF4cA9n9xLdp8um+V1U3nuowqatmrkU64h9NVO8xC6MuT8K8AQoHFhOrXhDGexP5vhcjY7YGC5XGKP6uZJawOdTTP3GlY6qpYfDDLZXUO3kk8HftLMvZFB8TvAM0m83Kj9A1sVvxf8AtfykL3ZOiu5/RdQ147PGwmUq9MLwP8k8q+BrpmQN+IW29El9DU+xDybGa+gwZzXGQzUbOMelJCoSPjBQI1aFoX17eEpyNIEs0KxumWlLP+lMI1RkRZ0F8teBo8/C31vWfxPzJBQN/9aiC8/yD26YVFFM2k0ELYG/wD79hDS +api: {"operationId":"getSyncs","tags":["Syncs"],"security":[{"x-api-key":[]}],"description":"Get a list of Syncs.","parameters":[{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"page_size","in":"query","schema":{"type":"string","example":"100"},"description":"Number of results to return per page"},{"name":"customer_id","in":"query","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application"},{"name":"provider_name","in":"query","schema":{"type":"string","example":"salesforce"},"description":"The provider name"},{"name":"object_type","in":"query","schema":{"type":"string","enum":["common","standard","custom"],"example":"standard"},"description":"The object type to filter by"},{"name":"object","in":"query","schema":{"type":"string","example":"contact"},"description":"The object to filter by"},{"name":"entity_id","deprecated":true,"in":"query","schema":{"type":"string","example":"e74b5a4f-f252-4a6c-940c-f35873498543"},"description":"The entity id to filter by"}],"responses":{"200":{"description":"Sync","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"],"title":"pagination"},{"type":"object","properties":{"results":{"type":"array","items":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"id":{"type":"string","example":"971cb76d-9558-42fe-8f3b-8a531c32bd5f"},"type":{"type":"string","enum":["object"],"example":"object"},"object_type":{"type":"string","enum":["common","standard","custom"],"example":"standard"},"object":{"type":"string","example":"contact"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false},"provider_name":{"type":"string","example":"hubspot"},"customer_id":{"type":"string","example":"my-customer-1"}},"required":["id","type","object_type","object","connection_id","sync_config_id","paused","provider_name","customer_id"]},{"type":"object","title":"Data model: Entities","properties":{"id":{"type":"string","example":"971cb76d-9558-42fe-8f3b-8a531c32bd5f"},"type":{"type":"string","enum":["entity"],"example":"entity"},"entity_id":{"type":"string","example":"70da3830-b717-49cb-91f0-22fb3f09a97a"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false},"provider_name":{"type":"string","example":"hubspot"},"customer_id":{"type":"string","example":"my-customer-1"}},"required":["id","type","entity_id","connection_id","sync_config_id","paused","provider_name","customer_id"]}],"title":"sync_with_provider_and_customer"}}}}]}}}}},"method":"get","path":"/syncs","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Get Syncs","description":{"content":"Get a list of Syncs.","type":"text/plain"},"url":{"path":["syncs"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""},{"disabled":false,"description":{"content":"Number of results to return per page","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"customer_id","value":""},{"disabled":false,"description":{"content":"The provider name","type":"text/plain"},"key":"provider_name","value":""},{"disabled":false,"description":{"content":"The object type to filter by","type":"text/plain"},"key":"object_type","value":""},{"disabled":false,"description":{"content":"The object to filter by","type":"text/plain"},"key":"object","value":""},{"disabled":false,"description":{"content":"The entity id to filter by","type":"text/plain"},"key":"entity_id","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,9 +34,9 @@ Get a list of Syncs. ## Request -

    Query Parameters

    +

    Query Parameters

    Sync -
    Schema
      results object[]
    • Array [
    • oneOf
    • ]
    +
    Schema
      results object[]
    • Array [
    • oneOf
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/list-entity-mappings.api.mdx b/docs/docs/api/v2/mgmt/list-entity-mappings.api.mdx index b41b4819d9..42075da786 100644 --- a/docs/docs/api/v2/mgmt/list-entity-mappings.api.mdx +++ b/docs/docs/api/v2/mgmt/list-entity-mappings.api.mdx @@ -5,7 +5,7 @@ description: "List entity mappings." sidebar_label: "List entity mappings." hide_title: true hide_table_of_contents: true -api: eJytVltvGjsQ/iuuz0sjwW7ah0rlqTk6VRW1Vau01VFFETG7A7j12q4vEIT472fGuyzLQqgUneQBmBnPfN/c7C0vwTooRICSj4KLMODGghNBGn2LIq6kD291kGHzUVgr9cLzAQ8CP0Zj3lNMBtxDER3KULvlN1a+h81NDEv8Odmh2gonKgjgfDLQ+ANjPAyL6IOpwA1lie6lRuESRAkOf/liCZXgoy0P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sVN8B/p+tD9 +api: {"deprecated":true,"operationId":"listEntityMappings","tags":["EntityMappings"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"List of entity mappings","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"entity_id":{"type":"string"},"entity_name":{"type":"string"},"allow_additional_field_mappings":{"type":"boolean"},"object":{"allOf":[{"type":"object","properties":{"type":{"type":"string","enum":["standard","custom"]},"name":{"type":"string"}},"required":["type","name"],"title":"standard_or_custom_object"},{"type":"object","properties":{"from":{"type":"string","enum":["developer","customer"]}},"required":["from"]}]},"field_mappings":{"type":"array","items":{"type":"object","properties":{"entity_field":{"type":"string"},"mapped_field":{"type":"string"},"from":{"type":"string","enum":["developer","customer"]},"is_additional":{"type":"boolean"}},"required":["entity_field","is_additional"]}}},"required":["entity_id","entity_name","allow_additional_field_mappings","field_mappings"],"title":"merged_entity_mapping"}}}}}},"description":"List entity mappings.","method":"get","path":"/entity_mappings","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List entity mappings.","description":{"type":"text/plain"},"url":{"path":["entity_mappings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET"}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/list-field-mappings.api.mdx b/docs/docs/api/v2/mgmt/list-field-mappings.api.mdx index df1ca5c9f4..1421e9401d 100644 --- a/docs/docs/api/v2/mgmt/list-field-mappings.api.mdx +++ b/docs/docs/api/v2/mgmt/list-field-mappings.api.mdx @@ -5,7 +5,7 @@ description: "List schema mappings" sidebar_label: "List schema mappings" hide_title: true hide_table_of_contents: true -api: eJytVm1v2zYQ/isc9yUBbDkp0qQxhmEd9oJgLVakLYohNWxKOltsJVIlKTuG4f++O+rFlO0kW9AUaCLe8e6ee3mOG55CaSARDlI+dqaCAdclGOGkVjd4xHNp3R8S8vStKEupFpYPuBP4a3zH3ycZFKITTAbcQlIZ6dYo3fD7oSjl8CvQ12SL0lIYUYADY71c4Qd6uB8mlXW6ADOUKVqXCg8zECkY/LLeBx9vuFuXpG6dQW8ogXtRlDkdFeudiXO+HSAomxhZEggUf8iAtXJ28xtzmXCsUvJbBfmayRSUk3MJFgWBolRsrSvDEF0uE58QdGrgWyVNm6ztIEBRGr1EY2boT56Dw4oc7FybBI6DaD2wxsNeMBM6saVWFiw5enF2Rr/6dt5gPZmeM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+Xjwaw/9bthVArvcYZL10gO3g6Eg91FPjn7x+IlCsqZkg/Ndc0f1BlWpFaB7ZDXqrd0/8UzFH1n6iFkdh+7tRryYMXOpqrtSkZE+T5fwHdeJ4t +api: {"deprecated":true,"operationId":"listFieldMappings","tags":["SchemaMappings"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"List of objects and their field mappings (if set)","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"object_name":{"type":"string","example":"contact"},"object_type":{"type":"string","enum":["common","standard"]},"allow_additional_field_mappings":{"type":"boolean","example":true},"schema_id":{"type":"string","example":"51797e8d-f081-496d-99ec-5e41b467df4b"},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the field as set in the schema","example":"email"},"is_added_by_customer":{"type":"boolean","description":"Whether the field was added by the customer (only applicable if the schema has allow_additional_field_mappings set to true)"},"schema_mapped_name":{"type":"string","description":"The mapped named of the field as set in the schema by the developer. If set, the customer cannot override. Only one of `schema_mapped_name` or `customer_mapped_name` should be set."},"customer_mapped_name":{"type":"string","description":"The mapped name of the field as set by the customer. Only one of `schema_mapped_name` or `customer_mapped_name` should be set."}},"required":["name","is_added_by_customer"],"title":"merged_field_map"}}},"required":["object_name","object_type","allow_additional_field_mappings","schema_id","fields"],"title":"object_field_mappings"}}}}}},"description":"List schema mappings","method":"get","path":"/field_mappings","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"List schema mappings","description":{"type":"text/plain"},"url":{"path":["field_mappings"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/management-api.info.mdx b/docs/docs/api/v2/mgmt/management-api.info.mdx index 2b0d624632..cc1d24b908 100644 --- a/docs/docs/api/v2/mgmt/management-api.info.mdx +++ b/docs/docs/api/v2/mgmt/management-api.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.16.9 diff --git a/docs/docs/api/v2/mgmt/object-field-mapping-created.api.mdx b/docs/docs/api/v2/mgmt/object-field-mapping-created.api.mdx index ea1c412a9d..6e2daa18f5 100644 --- a/docs/docs/api/v2/mgmt/object-field-mapping-created.api.mdx +++ b/docs/docs/api/v2/mgmt/object-field-mapping-created.api.mdx @@ -5,7 +5,7 @@ description: "Notification of the creation of am object field mapping" sidebar_label: "Object field mapping created" hide_title: true hide_table_of_contents: true -api: eJzlVktv20YQ/itb9tIAoiTqLZ/aGC4QtGkDGUFQOAa9XA6ljUguuw/JrsH/3pmlHqYcyz71Uvsg7uy855uZfQxSqDQIbiENLqx20EGKEVpWVqoyuAj+UFZmEhnwyFTG7AqY0HA484Kp5BsIyzIJecoKXlWyXAadQFWgPdsHVB00TL8Sz8eG5ZK0oNlOcB/CBkob2ocKDqxdry/e6euKA7flSxNc3ARfIFkptWZXJGuC206g4W8Hxr5X6UNw8RgIVVq8ok9Uku+C6H0zFNhjAPe8qHKgz22jKvZuxG9zA7WXeI8aY0kBwrAvkmQ+DMdJfxyOotkkTCYphBEXIur3o+F0PkaxJ540ctMkE2I6SkMxnyXhaI4iM5hl4TAVUx5NB9NhNiFzzlhVgG6ExFSMB/0RDydROgxHIz4Nk/EsCnmUDebJYDjPZnMUqrTayBSFSl5QSIbnYDKlBVB9fHz7q0tMFhf2SN9lQaiiwHx1AiNWUPDG/CBLk7Q/TMMI7YUjmExCPoZJOEimw0hMIx4NKEUajMsx/8HVYvHnAgmgtdJxAcbwJSm/ojPbn+u9ESpJqwhNKIgnK8G8VLCDjLG6QSCUriCknK0k4uaAhPOc9bOif8fkQdWb8FA/B8Q5nW/CSn0ClnMK34Sj+hmQXk71yiWmUlSwFtYqWUGq5Ya+/4ESR8w6NpDneCxMnD6gWilMPJyMYy9HbGqlYqELwj6vEEges85iMcQKP5fKG+aVynO1t5erjGxLbHyNyMXPXJbANSnJ8TeRdD0xUBpSV3C9Bqta3sYNEcOKRa5cGmO9lEOUQblElBY0UZA/52Ldxs4xdCutp7SzVp+03Lm67LuxPmnHlxN/7FPLy5RrBHbdatpz5t7Uz/WxoV924/rz5eXV9TVSmp4nJ066/pwjJwOhbma61LSdbr7X9act+ayf2s1wiuR2SdrJfpq9Q+i3dd14haVGDPlhNOj36ae9NxdgnS4ZZ3jLsCbWGWYVk2VKzgHuUW79Mk255WzLDcM1DNghKTNOCMxA5vL8wecA7nGPGdRLe+8xWAOut/bS7AQbnrvXJxgCtgC7Un5hbRooV9yu8LhLLoUNegO6seV0TtC2tjIXvR6vZNe4ii/RVleqXrEsbG8zCE4fDdc7HvbLpw/eqAHhtLQP15TRJmv3IWoLfSwHRCDlNyR0gt1SOvJQT5MjwLF2z+yhGYZclGCO02DLUgwup4Xhk859Pn22vUOYUnoELI7Phav/31vgOK7+w4fAcTy8+hSQZaaoHgTFpsr9bjTpzp/M14+83E1kX1dfB+87iu2i2SORLBZcEphTJczPBxQ3W6IN89ZlfQq2H/GPfSitVqnzNf+K/18gR2YgtBHM2p4xNOno4EvdZX8pxwQvmTM0B6TxPChZeCm2Ly+jNbZs3tCG4VRnR5yZLlm9+eFm4UrkY5+UsSh++9M+Bu3KboW0kvo0cdaiYbNZvjtybLfbbtWIUaCHqHtbpdem4gIOpLByCSK1p7AYGwnbd2Tc5+E9N76p2OfF70S8u7v7Wr4yLnZc2If/Av2hOkQ= +api: {"deprecated":true,"description":"Notification of the creation of am object field mapping","operationId":"objectFieldMappingCreated","x-event-type":"object.field_mapping.created","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"object.field_mapping.created","connection_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","customer_id":"c7c5204a-61d3-44a7-b581-a1f29b239f89","provider_name":"salesforce","object_name":"Contact","object_type":"common","schema_id":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d","result":"ERROR","error_message":"Error message"},"schema":{"type":"object","properties":{"webhook_event_type":{"type":"string","enum":["object.field_mapping.created"],"example":"object.field_mapping.created"},"connection_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"application_id":{"type":"string","example":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6"},"customer_id":{"type":"string","example":"c7c5204a-61d3-44a7-b581-a1f29b239f89"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"object_name":{"type":"string","example":"Contact"},"object_type":{"type":"string","enum":["common","standard"]},"schema_id":{"type":"string","example":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d"},"result":{"type":"string","enum":["SUCCESS","ERROR"]},"error_message":{"type":"string","example":"Error message"}},"required":["webhook_event_type","connection_id","application_id","customer_id","provider_name","object_name","object_type","schema_id","result"]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"object.field_mapping.created"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"object.field_mapping.created","connection_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","customer_id":"c7c5204a-61d3-44a7-b581-a1f29b239f89","provider_name":"hubspot","object_name":"Contact","object_type":"common","schema_id":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d","result":"SUCCESS","error_message":"Error message"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/object-field-mapping-updated.api.mdx b/docs/docs/api/v2/mgmt/object-field-mapping-updated.api.mdx index 138a3ec50a..cb5b5488b5 100644 --- a/docs/docs/api/v2/mgmt/object-field-mapping-updated.api.mdx +++ b/docs/docs/api/v2/mgmt/object-field-mapping-updated.api.mdx @@ -5,7 +5,7 @@ description: "Notification of an update to an object field mapping" sidebar_label: "Object field mapping updated" hide_title: true hide_table_of_contents: true -api: eJzlVltP40YU/itT96Ur4STOPTy1i6iE2m1XQWhVsciMx8fJbGyPO5cEivzfe844FxyWwFNfChJ4Zs79fOfyFKRQaRDcQhqcW+3gDG+M0LKyUpXBefCHsjKTSIBHpjLGS+aqFOmZVXRQyTcQlmUS8pQVvKpkuQjOAlWB9jxXKDdoiH4lmk8NyY2XkSLlQwhrKG1oHyvYk3a8vHgrr+P21JYvTHB+G3yBZKnUil0SrwnuzgINfzsw9qNKH4Pzp0Co0uITfaKQfOtB95shr54CeOBFlQN9bhpRsTcjfp8ZKL3Ed5QYS3IQBj2RJLNBOEp6o3AYTcdhMk4hjLgQUa8XDSazEbI9s6ThmySZEJNhGorZNAmHM2SZwjQLB6mY8GjSnwyyMalzxqoCdMMkJmLU7w15OI7SQTgc8kmYjKZRyKOsP0v6g1k2nSFTp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XWypsA7/BY7BOXg= +api: {"deprecated":true,"description":"Notification of an update to an object field mapping","operationId":"objectFieldMappingUpdated","x-event-type":"object.field_mapping.updated","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"object.field_mapping.updated","connection_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","customer_id":"c7c5204a-61d3-44a7-b581-a1f29b239f89","provider_name":"salesforce","object_name":"Contact","object_type":"common","schema_id":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d","result":"ERROR","error_message":"Error message"},"schema":{"type":"object","properties":{"webhook_event_type":{"type":"string","enum":["object.field_mapping.updated"],"example":"object.field_mapping.updated"},"connection_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"application_id":{"type":"string","example":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6"},"customer_id":{"type":"string","example":"c7c5204a-61d3-44a7-b581-a1f29b239f89"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"object_name":{"type":"string","example":"Contact"},"object_type":{"type":"string","enum":["common","standard"]},"schema_id":{"type":"string","example":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d"},"result":{"type":"string","enum":["SUCCESS","ERROR"]},"error_message":{"type":"string","example":"Error message"}},"required":["webhook_event_type","connection_id","application_id","customer_id","provider_name","object_name","object_type","schema_id","result"]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"object.field_mapping.updated"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"object.field_mapping.updated","connection_id":"e30cbb93-5b05-4186-b6de-1acc10013795","application_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","customer_id":"c7c5204a-61d3-44a7-b581-a1f29b239f89","provider_name":"hubspot","object_name":"Contact","object_type":"common","schema_id":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d","result":"SUCCESS","error_message":"Error message"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/pause-sync.api.mdx b/docs/docs/api/v2/mgmt/pause-sync.api.mdx index 6e2f65f935..ce56adeb76 100644 --- a/docs/docs/api/v2/mgmt/pause-sync.api.mdx +++ b/docs/docs/api/v2/mgmt/pause-sync.api.mdx @@ -5,7 +5,7 @@ description: "Pause sync" sidebar_label: "Pause sync" hide_title: true hide_table_of_contents: true -api: eJztWG1v2zYQ/iuc9mEJYPktfomNYVib9kOwDQmSFsOQBCktnW22EqmKlB3D8H/fHSnJku0mXZsWGLYYSK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2BbQBIXx0drza3gpfFyjXLmdFFTbkfapolYBxPtvNzqA5qnDtH1zyGWYnjfXSKBlmXLZBgQvVNeaCoA1VoH8tMUViw7U66LXFvcr/iD/sXJpUhZkdzFv8/AkRKts7ACVdj4yhy4webNc22V8qYwGXjEbRzIW2OrgztruqLW9g5u7jmiHXsi0Z6CZ5vfnh5iqTNBqX2F+4/e6oyCHNZDNBmaSumWTGoGO9mB1vNZbLZTNx2yjRMuvWUqUfdMIDKEV+kk1w6FoKi7EQsDwm5xaHl3SSoPDfXv1Ownfv3t3KJ5o317LM6fxXClYjqBrwZc8aeDCtJOLCmrClW+eTdWOpj06K+WzhJMxp9HBlvZ5gsG/TaLMhMXZiav9d0fAWPBV8Qi11g+/2ouVpGEOhaSHM+XsvovKe5B1d5cN/zJ6T3w6mbEd4j6cXnPp87HnEgl8c+C6nPRrALsXWQnBKZ86R/8a91wqNvVvldscL5I7EPKpbZdbLi+s3qDzJ/9NERy+UpnxJhIy/x94tfuiVapO3TGjlay/icpbhxKGOs0s8xTNqpCpBOjbMv1SuulyuKlFWmdMlQr8rR8W6+s80NEi9v5TqbuWTG0oidtpUCLrc/w0PV6GH +api: {"operationId":"pauseSync","tags":["Syncs"],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"object_type":{"type":"string","enum":["common","standard","custom"],"example":"standard","description":"The object type to filter by"},"object":{"type":"string","example":"Contact","description":"The Provider object to filter by (case sensitive)"}},"required":["object_type","object"]},{"type":"object","title":"Data model: Common Schema","properties":{"object_type":{"type":"string","enum":["common"],"example":"common","description":"The object type to filter by"},"object":{"type":"string","example":"contact","description":"The Supaglue object to filter by"}},"required":["object_type","object"]},{"type":"object","title":"Data model: Entities","deprecated":true,"properties":{"entity_id":{"type":"string","description":"The entity id to filter by"}},"required":["entity_id"]}]}}}},"responses":{"200":{"description":"Sync paused","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["object"],"example":"object"},"object_type":{"type":"string","enum":["common","standard","custom"],"example":"standard"},"object":{"type":"string","example":"contact","description":"The Provider's object name (case sensitive)"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","object_type","object","connection_id","sync_config_id","paused"]},{"type":"object","title":"Data model: Common Schema","properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["object"],"example":"object"},"object_type":{"type":"string","enum":["common"],"example":"standard"},"object":{"type":"string","example":"contact","description":"Supaglue's object name"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","object_type","object","connection_id","sync_config_id","paused"]},{"type":"object","title":"Data model: Entities","deprecated":true,"properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["entity"],"example":"entity"},"entity_id":{"type":"string","example":"94e6cb6c-0ec8-423f-8873-21054979a6b1"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","entity_id","connection_id","sync_config_id","paused"]}],"title":"sync"}}}}},"description":"Pause sync","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"method":"post","path":"/syncs/_pause","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"object_type":"standard","object":"Contact"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Pause sync","description":{"type":"text/plain"},"url":{"path":["syncs","_pause"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,9 +34,9 @@ Pause sync ## Request -

    Header Parameters

    Body

    required
      oneOf
    +

    Header Parameters

    Body

    required
      oneOf
    Sync paused -
    Schema
      oneOf
    +
    Schema
      oneOf
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/providers.tag.mdx b/docs/docs/api/v2/mgmt/providers.tag.mdx deleted file mode 100644 index fca488489d..0000000000 --- a/docs/docs/api/v2/mgmt/providers.tag.mdx +++ /dev/null @@ -1,20 +0,0 @@ ---- -id: providers -title: "Providers" -description: "Providers" -custom_edit_url: null ---- - - - -A `Provider` is a third-party SaaS tool we can connect to (e.g. Salesforce). - - - -```mdx-code-block -import DocCardList from '@theme/DocCardList'; -import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; - - -``` - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/resume-sync.api.mdx b/docs/docs/api/v2/mgmt/resume-sync.api.mdx index d718ad6840..d5a33206f3 100644 --- a/docs/docs/api/v2/mgmt/resume-sync.api.mdx +++ b/docs/docs/api/v2/mgmt/resume-sync.api.mdx @@ -5,7 +5,7 @@ description: "Resume sync" sidebar_label: "Resume sync" hide_title: true hide_table_of_contents: true -api: eJztWFtv2zYU/iuc9rAGMG3drIsxDOvtIdiGBkmLYUiDlKIoR61uEyk7huH/vnMoS5btXLou7cO2GHAs8vDc+J2Ph1obZSVqptKyOI2NmVEL2eTiYlVwY2QoNpfG7NLAR2lcjQwpeFOnagWDa+OWsiqlnwQ+XW1gthZ/NkKqF2UMQ2v9mNYCtKq6ESODl4UShcIpVlVZyrXVyUdZFjgm+Y3IGf4qC/Em0SbUqhLgVBl9FFyhQ6nKcOAVU4zkZSyyGXldwGgqJExXNQajH0CNwInVdRrjw1aTVHVazEFU3LK80rp4EjHP9EzKXYdRl3kODVjA6dS0uGeGYRJEJiyIheR1WqHLsOjtjSCtfpLGRJUkSTMlahKtjM1mNAj9cuDG1Wb0eSG90ZPHEbWLrlsVd8RUNDla5GWeg5ewXYoVMatj+Mkbqcoc93AX+WD6OLrWFkEbB/GNOucfTivsNtMR3q/7obQNY+0tAsw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xLvohWjUR1OSkhM1YpGJ5gsZ1Hl5gi4Xuvzv/FQc/fPjwvngE2lspfaS09gcbtk9ge5nvIa3ErZpUGUu1Dr13623lXWpuxR66qz2olBusTZharyNw912dbTY4DEit9WuKkbFgdcoiBNUltD1dSWCxxqnEiY50j1zqr5DGs/MtO5yQpyTAO2PWJX5E5AuGSJ8ZBtLkFzt+SHoPOnDIwXsutEIvW0P0bXvkdxJHF+7diufALZV6UHZIvWdvLt6CcLR9w4RdKb6zYktkbPieGe/hg92GDl4zpR5fGxkr5g3UHMi0epHHWINIGhJoy5bbH4O3AKxYDbwcMmsbCH4Puuh98R+xbICaf+rF25l7F/RE3UrjRuCLj78A7eeI+g== +api: {"operationId":"resumeSync","tags":["Syncs"],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"object_type":{"type":"string","enum":["common","standard","custom"],"example":"standard","description":"The object type to filter by"},"object":{"type":"string","example":"contact","description":"The object to filter by"}},"required":["object_type","object"]},{"type":"object","title":"Data model: Entities","deprecated":true,"properties":{"entity_id":{"type":"string","example":"cfba6060-c43a-4a63-8a8c-501c6099f8b0","description":"The entity id to filter by"}},"required":["entity_id"]}]}}}},"responses":{"200":{"description":"Sync resumed","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["object"],"example":"object"},"object_type":{"type":"string","enum":["common","standard","custom"],"example":"standard"},"object":{"type":"string","example":"contact","description":"The Provider's object name (case sensitive)"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","object_type","object","connection_id","sync_config_id","paused"]},{"type":"object","title":"Data model: Common Schema","properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["object"],"example":"object"},"object_type":{"type":"string","enum":["common"],"example":"standard"},"object":{"type":"string","example":"contact","description":"Supaglue's object name"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","object_type","object","connection_id","sync_config_id","paused"]},{"type":"object","title":"Data model: Entities","deprecated":true,"properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["entity"],"example":"entity"},"entity_id":{"type":"string","example":"94e6cb6c-0ec8-423f-8873-21054979a6b1"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","entity_id","connection_id","sync_config_id","paused"]}],"title":"sync"},"example":{"id":"2caab904-3c7c-4894-8c82-4c28913b3419","type":"entity","entity_id":"db602f88-7a8c-44f0-8932-c92f1e033494","connection_id":"da732713-2ff7-4f3b-8728-257a026177cd","sync_config_id":"f2b3ea2a-6a1e-4983-91f1-92a4db4d7abd","paused":false}}}}},"description":"Resume sync","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"method":"post","path":"/syncs/_resume","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"object_type":"standard","object":"contact"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Resume sync","description":{"type":"text/plain"},"url":{"path":["syncs","_resume"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,9 +34,9 @@ Resume sync ## Request -

    Header Parameters

    Body

    required
      oneOf
    +

    Header Parameters

    Body

    required
      oneOf
    Sync resumed -
    Schema
      oneOf
    +
    Schema
      oneOf
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/sidebar.js b/docs/docs/api/v2/mgmt/sidebar.js index b23579b899..5ec77ce6a6 100644 --- a/docs/docs/api/v2/mgmt/sidebar.js +++ b/docs/docs/api/v2/mgmt/sidebar.js @@ -1 +1 @@ -module.exports = [{"type":"doc","id":"api/v2/mgmt/management-api"},{"type":"category","label":"Customers","link":{"type":"doc","id":"api/v2/mgmt/customers"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-customers","label":"List customers","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-customer","label":"Upsert customer","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/get-customer","label":"Get customer","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-customer","label":"Delete customer","className":"api-method delete"}]},{"type":"category","label":"Connections","link":{"type":"doc","id":"api/v2/mgmt/connections"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connections","label":"List connections","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-connection","label":"Create a connection","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-provider-user-id","label":"Get logged in User ID and details","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/get-connection","label":"Get connection","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-connection","label":"Delete connection","className":"api-method delete"}]},{"type":"category","label":"ConnectionSyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/connection-sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connection-sync-config","label":"Get connection sync config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-connection-sync-config","label":"Upsert connection sync config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-connection-sync-config","label":"Delete connection sync config","className":"api-method delete"}]},{"type":"category","label":"Destinations","link":{"type":"doc","id":"api/v2/mgmt/destinations"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-destinations","label":"List destinations","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-destination","label":"Create destination","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-destination","label":"Get destination","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-destination","label":"Update destination","className":"api-method put"}]},{"type":"category","label":"Magic Links","link":{"type":"doc","id":"api/v2/mgmt/magic-links"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-magic-links","label":"List magic links","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-magic-link","label":"Create magic link","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/delete-magic-link","label":"Delete magic link","className":"api-method delete"}]},{"type":"category","label":"Providers","link":{"type":"doc","id":"api/v2/mgmt/providers"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-providers","label":"List providers","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-provider","label":"Create provider","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-provider","label":"Get provider","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-provider","label":"Update provider","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-provider","label":"Delete provider","className":"api-method delete"}]},{"type":"category","label":"Schemas","link":{"type":"doc","id":"api/v2/mgmt/schemas"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-schemas","label":"List schemas","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-schema","label":"Create schema","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-schema","label":"Get schema","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-schema","label":"Update schema","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-schema","label":"Delete schema","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"Entities","link":{"type":"doc","id":"api/v2/mgmt/entities"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-entities","label":"List entities","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-entity","label":"Create entity","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-entity","label":"Get entity","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-entity","label":"Update entity","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity","label":"Delete entity","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"EntityMappings","link":{"type":"doc","id":"api/v2/mgmt/entity-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-entity-mappings","label":"List entity mappings.","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-entity-mapping","label":"Upsert entity mapping","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity-mapping","label":"Delete entity mapping","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"SchemaMappings","link":{"type":"doc","id":"api/v2/mgmt/schema-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-field-mappings","label":"List schema mappings","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-object-field-mappings","label":"Update schema mappings","className":"menu__list-item--deprecated api-method put"}]},{"type":"category","label":"SyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-sync-configs","label":"List Sync Configs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-sync-config","label":"Create Sync Config","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-sync-config","label":"Get Sync Config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-sync-config","label":"Update Sync Config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-sync-config","label":"Delete Sync Config","className":"api-method delete"}]},{"type":"category","label":"SyncRuns","link":{"type":"doc","id":"api/v2/mgmt/sync-runs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-sync-runs","label":"Get SyncRuns","className":"api-method get"}]},{"type":"category","label":"Syncs","link":{"type":"doc","id":"api/v2/mgmt/syncs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-syncs","label":"Get Syncs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/pause-sync","label":"Pause sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/resume-sync","label":"Resume sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/trigger-sync","label":"Trigger sync","className":"api-method post"}]},{"type":"category","label":"Webhook Events","collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/sync-complete","label":"Sync complete","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-created","label":"Customer connection created","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-deleted","label":"Customer connection deleted","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-created","label":"Entity mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-updated","label":"Entity mapping updated","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-deleted","label":"Entity mapping deleted","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-created","label":"Object field mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-updated","label":"Object field mapping updated","className":"menu__list-item--deprecated api-method event"}]}]; \ No newline at end of file +module.exports = [{"type":"doc","id":"api/v2/mgmt/management-api"},{"type":"category","label":"Customers","link":{"type":"doc","id":"api/v2/mgmt/customers"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-customers","label":"List customers","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-customer","label":"Upsert customer","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/get-customer","label":"Get customer","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-customer","label":"Delete customer","className":"api-method delete"}]},{"type":"category","label":"Connections","link":{"type":"doc","id":"api/v2/mgmt/connections"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connections","label":"List connections","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-connection","label":"Create a connection","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-provider-user-id","label":"Get logged in User ID and details","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/get-connection","label":"Get connection","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/delete-connection","label":"Delete connection","className":"api-method delete"}]},{"type":"category","label":"ConnectionSyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/connection-sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-connection-sync-config","label":"Get connection sync config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-connection-sync-config","label":"Upsert connection sync config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-connection-sync-config","label":"Delete connection sync config","className":"api-method delete"}]},{"type":"category","label":"Magic Links","link":{"type":"doc","id":"api/v2/mgmt/magic-links"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-magic-links","label":"List magic links","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-magic-link","label":"Create magic link","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/delete-magic-link","label":"Delete magic link","className":"api-method delete"}]},{"type":"category","label":"Schemas","link":{"type":"doc","id":"api/v2/mgmt/schemas"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-schemas","label":"List schemas","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-schema","label":"Create schema","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-schema","label":"Get schema","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-schema","label":"Update schema","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-schema","label":"Delete schema","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"Entities","link":{"type":"doc","id":"api/v2/mgmt/entities"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-entities","label":"List entities","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/create-entity","label":"Create entity","className":"menu__list-item--deprecated api-method post"},{"type":"doc","id":"api/v2/mgmt/get-entity","label":"Get entity","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-entity","label":"Update entity","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity","label":"Delete entity","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"EntityMappings","link":{"type":"doc","id":"api/v2/mgmt/entity-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-entity-mappings","label":"List entity mappings.","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/upsert-entity-mapping","label":"Upsert entity mapping","className":"menu__list-item--deprecated api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-entity-mapping","label":"Delete entity mapping","className":"menu__list-item--deprecated api-method delete"}]},{"type":"category","label":"SchemaMappings","link":{"type":"doc","id":"api/v2/mgmt/schema-mappings"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/list-field-mappings","label":"List schema mappings","className":"menu__list-item--deprecated api-method get"},{"type":"doc","id":"api/v2/mgmt/update-object-field-mappings","label":"Update schema mappings","className":"menu__list-item--deprecated api-method put"}]},{"type":"category","label":"SyncConfigs","link":{"type":"doc","id":"api/v2/mgmt/sync-configs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-sync-configs","label":"List Sync Configs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/create-sync-config","label":"Create Sync Config","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/get-sync-config","label":"Get Sync Config","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/update-sync-config","label":"Update Sync Config","className":"api-method put"},{"type":"doc","id":"api/v2/mgmt/delete-sync-config","label":"Delete Sync Config","className":"api-method delete"}]},{"type":"category","label":"SyncRuns","link":{"type":"doc","id":"api/v2/mgmt/sync-runs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-sync-runs","label":"Get SyncRuns","className":"api-method get"}]},{"type":"category","label":"Syncs","link":{"type":"doc","id":"api/v2/mgmt/syncs"},"collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/get-syncs","label":"Get Syncs","className":"api-method get"},{"type":"doc","id":"api/v2/mgmt/pause-sync","label":"Pause sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/resume-sync","label":"Resume sync","className":"api-method post"},{"type":"doc","id":"api/v2/mgmt/trigger-sync","label":"Trigger sync","className":"api-method post"}]},{"type":"category","label":"Webhook Events","collapsed":true,"items":[{"type":"doc","id":"api/v2/mgmt/sync-complete","label":"Sync complete","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-created","label":"Customer connection created","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/connection-deleted","label":"Customer connection deleted","className":"api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-created","label":"Entity mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-updated","label":"Entity mapping updated","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/entity-entity-mapping-deleted","label":"Entity mapping deleted","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-created","label":"Object field mapping created","className":"menu__list-item--deprecated api-method event"},{"type":"doc","id":"api/v2/mgmt/object-field-mapping-updated","label":"Object field mapping updated","className":"menu__list-item--deprecated api-method event"}]}]; \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/sync-complete.api.mdx b/docs/docs/api/v2/mgmt/sync-complete.api.mdx index 82dd2b9f3e..f3f11db5ff 100644 --- a/docs/docs/api/v2/mgmt/sync-complete.api.mdx +++ b/docs/docs/api/v2/mgmt/sync-complete.api.mdx @@ -5,7 +5,7 @@ description: "Notification of the completion of a sync" sidebar_label: "Sync complete" hide_title: true hide_table_of_contents: true -api: eJztV0tv4zYQ/iuseukClp+JneTUbuDDoo8sbCwWRTZQKGpkayORKknZcQP9985QtmTFdpLTHookB1PDec83g+GTF4EROsltoqR35f2lbBIngtMnUzGzS2BCZXkKOwpnZiOF1/FUDtrxfYpQkIjXFSPg5aMPK5DWt5sctrdd0VxbvjDe1a33FcKlUg9sSszGu+t4Gv4pwNiPKtp4V0+eUNLiFR15nqdbz3rfDXn75MEjJ510XFeqAmc3OGFXFzJIyN1hHIVRfxT5g0E89M9gPPb5OYz9YTgZDcRkwAfDCPnRvARBJisxGPVFGF6O/POwf+6fDS7GfjiOwB9wIQb9/mA0uTwnscJYlYGuhCZhLMTkLPLF5UXon10i/wVcxP4oEhM+mAwno3iMQrlWqyRCIckz5ztPwcRKC5ewKh4Vfkd3KPnuUIdpuYy4juoLpFHmuOPVYIqUSNPZ7GaGBNBa6SADY/iCxKf0zXbfZcczYgkZp6wqCTcxVurpwAObWEq8d+MIbI6ZZnsAwGgQHzYBc6o4tUpjdSIX5JcsMkJFu2oIirrMz67KpqJHtNVCbyp2eVDtl1S+CQjlMyS8pPBNICkPUHI6icsiNLmiSrWAlCc5RDpZ0flfkNj9D4GBNMXPzATRBtUmwgSj8Xng5IhNLVUgdEbA5jliiWRVYTVwscTjQjnDPFdpqnb2UhWT7QTbV2O98JgmErgmJSn+hgldjw1IQ+oyrh/Aqpa3QUXEsAKRqiIKMLeqQPyAXCBQM5oLyJ9y8dAGSRP6DqTtrJVNT5zO3/zL9fV0PkdK1TZ3KIVXgQahdGQCQiLsF5VCXYDeryoioTxot5dQcNCJr7XKth3JudZIOC2BxchweHb2h0aF0j0tL3u5Gy1lWc3rRFMibo91ed2gz7ur3RrPcV0XaJuBdnSdvbBPD6apxNPmfTC9D6b3wfTjBxO47nPOVcejQGtuj6PmR06Yxs22U3flXVlWjmDxEBVucAz7ffppb88zsIWWuCLjLcP5agvDrGKJjGhxBdymuXUrdcQtZ2tuGBYNEPMRM4UQmN24SNONCxsecfE1qNe49esBcB9ur9Udb8XT4sjwQcxlYJfKbayrCo05t0v83CaQ4Al6BbpSXuiU0Gltbq56PZ4nXVPkfIHKu4nqZYvM9lZDlGlHO9/ysN8+f3JGDYhCY97mtD5WaXr0UZvvnK9ri5TfkYCorRbdhofakhwBHjm8tu2hGYZclFGODb1mEQaX0jR3WeYugS69ziHMIT0TZs2DYvo/fi00o6Ve95tBcWw8oAOvvQRee3bUq8TBo6OkSsaKMk0gq+rX7w7G3cu94fcnl9tx6SrWqcVRbBvWDmPUkxlPCKaREubXGp/VCG8DuHVZPofRz/jHPkmrVVS4Yn3D/6+QIjMQjghAbc8Ymizowz0+u+xvVTDBJSsMtXRiHA9KZk6K7erJ3OCt3siG4bLFGoCYLlm9/el2VkjkY5+VsSh+98suBsReN0eapA4MC2vRsFktPjQc6/W6m1diFGgddW+t9IPJuYCa5OdFiG/nnsJirBJYfyDjLg8fuXHtwr7M/iDi/f39N/nKINhyYYf9B1K1gy0= +api: {"description":"Notification of the completion of a sync","operationId":"syncComplete","x-event-type":"sync.complete","tags":["Webhook Events"],"requestBody":{"content":{"application/json":{"example":{"webhook_event_type":"sync.complete","run_id":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d","connection_id":"e30cbb93-5b05-4186-b6de-1acc10013795","customer_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","provider_name":"salesforce","type":"object","object_type":"standard","object":"contact","result":"ERROR","error_message":"Error message"},"schema":{"oneOf":[{"type":"object","title":"Object Sync Complete","properties":{"webhook_event_type":{"type":"string","enum":["sync.complete"],"example":"sync.complete"},"run_id":{"type":"string","example":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d"},"connection_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"customer_id":{"type":"string","example":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"result":{"type":"string","enum":["SUCCESS","ERROR"]},"num_records_synced":{"type":"integer","example":100},"error_message":{"type":"string","example":"Error message"},"type":{"type":"string","enum":["object"]},"object_type":{"type":"string","enum":["common","standard","custom"]},"object":{"type":"string","example":"contact"}},"required":["webhook_event_type","run_id","connection_id","customer_id","provider_name","result","type","object_type","object"]},{"type":"object","title":"Entity Sync Complete","properties":{"webhook_event_type":{"type":"string","enum":["sync.complete"],"example":"sync.complete"},"run_id":{"type":"string","example":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d"},"connection_id":{"type":"string","example":"e30cbb93-5b05-4186-b6de-1acc10013795"},"customer_id":{"type":"string","example":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"result":{"type":"string","enum":["SUCCESS","ERROR"]},"num_records_synced":{"type":"integer","example":100},"error_message":{"type":"string","example":"Error message"},"type":{"type":"string","enum":["entity"]},"entity_id":{"type":"string"},"entity_name":{"type":"string"}},"required":["webhook_event_type","run_id","connection_id","customer_id","provider_name","result","type","entity_id","entity_name"]}]}}}},"responses":{"200":{"description":"Return a 200 status to indicate that the data was received successfully"}},"extensions":[{"key":"x-event-type","value":"sync.complete"}],"method":"event","path":"webhook","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"webhook_event_type":"sync.complete","run_id":"2fdbd03d-11f2-4e66-a5e6-2b731c71a12d","connection_id":"e30cbb93-5b05-4186-b6de-1acc10013795","customer_id":"7bfcc74d-c98b-49de-8e8f-3dc7a17273f6","provider_name":"hubspot","result":"SUCCESS","num_records_synced":100,"error_message":"Error message","type":"object","object_type":"common","object":"contact"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"}} sidebar_class_name: "event api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/trigger-sync.api.mdx b/docs/docs/api/v2/mgmt/trigger-sync.api.mdx index f32a1a402f..ca0ae17876 100644 --- a/docs/docs/api/v2/mgmt/trigger-sync.api.mdx +++ b/docs/docs/api/v2/mgmt/trigger-sync.api.mdx @@ -5,7 +5,7 @@ description: "Trigger sync" sidebar_label: "Trigger sync" hide_title: true hide_table_of_contents: true -api: eJztWOtv2zYQ/1c47cMawPIrfsTGMKyvD8E2NEhaDEMapLR0ttlKpEpSdgzD//vuSEmWH027NikwbDHgWMfjve9HntaBykBzK5Q8j4NxYLWYzUBfrWQUNALLZyYYXwf0aIKbRmAgyrWwKySug7uQZyL8APR0s8FVDR9zMPaZipG0do9CA4q1OodGE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ZZT7mgsMcqMr9W8Ubgw7XdhOwsHtTFj/jHzqXVKs5d477Fz5+QILMbOSggu5YxVJnTg6vpJvtL5SzikmFjI7cwjgd3pm5XvSEszPxrBcMQi9kWLEyTtF7/cH2ZS2qcC6w+3H7zpPRB57KZIU1SRU1ya1GxWcxOthzL5bKZ+W3kaOV1a6n0B5PxCCpSmOUTbMmWwmQsBCxPSLmLwzO6aZD5by5/J+K7d+/eys8UdsHlkNXrryVsD8B2Ql9VtIU728oSLpwQl7x10XnXDhzpLln1HnbKnJoT19brCRr8RiebDZGxUrV779IIFlwLPqGyusbzv2wJatZYGFqIC4w/sKmapYInlwU8nLCHRMCjTrsWP0DyBadaHwcB4eRXG76PevcasA/COyZ4pudeUfjan30lx8Hkud3xFLEls/fy1rH34tXVa2SeFK/M6HqGVM2XBNn4PQ7e4oeOXee8Q0pHXwcJl7Mcuw55vFzCMZ7b+S6AerQsftTGYS5XNSvryOodoe/adXKX/WdqHITmXyp2v/LJDRVQe25KBL0D+BuGbO0B +api: {"operationId":"triggerSync","tags":["Syncs"],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"object_type":{"type":"string","enum":["standard","custom"],"description":"The object type to filter by","example":"standard"},"object":{"type":"string","example":"contact","description":"The Provider object to filter by (case sensitive)"},"perform_full_refresh":{"type":"boolean","example":true}},"required":["object_type","object"]},{"type":"object","title":"Data model: Common Schema","properties":{"object_type":{"type":"string","enum":["common"],"description":"The object type to filter by","example":"common"},"object":{"type":"string","example":"contact","description":"The Supaglue object to filter by"},"perform_full_refresh":{"type":"boolean","example":true}},"required":["object_type","object"]},{"type":"object","title":"Data model: Entities","deprecated":true,"properties":{"entity_id":{"type":"string","description":"The entity id to filter by"},"perform_full_refresh":{"type":"boolean","example":true}},"required":["entity_id"]}]}}}},"responses":{"200":{"description":"Sync triggered","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Data model: Objects","properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["object"],"example":"object"},"object_type":{"type":"string","enum":["common","standard","custom"],"example":"standard"},"object":{"type":"string","example":"contact","description":"The Provider's object name (case sensitive)"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","object_type","object","connection_id","sync_config_id","paused"]},{"type":"object","title":"Data model: Common Schema","properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["object"],"example":"object"},"object_type":{"type":"string","enum":["common"],"example":"standard"},"object":{"type":"string","example":"contact","description":"Supaglue's object name"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","object_type","object","connection_id","sync_config_id","paused"]},{"type":"object","title":"Data model: Entities","deprecated":true,"properties":{"id":{"type":"string","example":"7026e4e8-15d7-48d8-b997-f2592b654619"},"type":{"type":"string","enum":["entity"],"example":"entity"},"entity_id":{"type":"string","example":"94e6cb6c-0ec8-423f-8873-21054979a6b1"},"connection_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e4"},"sync_config_id":{"type":"string","example":"3217ea51-11c8-43c9-9547-6f197e02e5e5"},"paused":{"type":"boolean","example":false}},"required":["id","type","entity_id","connection_id","sync_config_id","paused"]}],"title":"sync"}}}}},"description":"Trigger sync","parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"method":"post","path":"/syncs/_trigger","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"object_type":"standard","object":"contact","perform_full_refresh":true},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Trigger sync","description":{"type":"text/plain"},"url":{"path":["syncs","_trigger"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,9 +34,9 @@ Trigger sync ## Request -

    Header Parameters

    Body

    required
      oneOf
    +

    Header Parameters

    Body

    required
      oneOf
    Sync triggered -
    Schema
      oneOf
    +
    Schema
      oneOf
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/update-destination.api.mdx b/docs/docs/api/v2/mgmt/update-destination.api.mdx deleted file mode 100644 index 0c2666499f..0000000000 --- a/docs/docs/api/v2/mgmt/update-destination.api.mdx +++ /dev/null @@ -1,42 +0,0 @@ ---- -id: update-destination -title: "Update destination" -description: "Update destination" -sidebar_label: "Update destination" -hide_title: true -hide_table_of_contents: true -api: eJztWW1v2zYQ/isa96UFQtmW7Vj2pzZrMARdtixtNhSJ4VIUZbOVKE2k7LqG/vuOlCxLSuMkXbZmRRyglU7He33uyJM2KE5YShSPxYmPJihLfKLYKyYVF4aKDpAic4kml6hGlWh6gBKSkogpluqnGyTgBiT4O64Z92E5F0BNiFrAdcr+ynjKQJNKM3aAJF2wiKDJBql1oldLlXIxR3k+LZhB2FHsrzVHey2NhWJC6UckSUJOjc7OBwlGA20nmn0iURIyfVnaeLq2zmKp5imTVsvXwoykfIqMmoDP9eIFEPWzNPYzqvmx72HBVjYNMwlhwNRfCJEpEVL1wc4kXoFo7NipL20Skc+xICtp0zgCqUmcgqzhoO8cIIg48Yis651pJTPfQ7sQoSTzwEmgZJKlcB+tzYXOg5SrOPUNTTIhueJLVlHz/ADFgv0WmCyVDsbeB0aVdpirsOUx6AZMKA43VcjaCTrYRfXGaObbcH5hscgiDalK67QusKLm9fC3LW+aWSRnn5kPkLd8m7hKD/jhmSRUenRO83pS99rUznd+c0001hVYyLdg2Mdb4iSvA2U//5cxtKu/yyLaZTBqvlbGl3ZNr+NrViR0RtQsZESqmSQB08YtoY/wonRvjO2W1DbHYLREWwWZnchpfnAz8D0+hzaTrr8O+Ed8/rtefV/gV1obwK+o9wA+3Gm67rW3pBXPaYJLdgzsJUolu6VwovVsa9hsu0AbCMGH/stJKG+3koYceGeADR7eXRtgaMkpmxFK40yoF/CstN/mJLLn5fPycVWiKV/CJjb7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AhlFQkXiezES71Js9VzrdzE4QhAYMy/OP9FE9+/f38lbinPkquYHIz+WsK+2DgaCaiqU7FPqpOEhBtRJoWbsqlc1juULolJ61Me9ICiNi7RZqORfJGGea7JxaFtcgmXS5Jyc5DXnac81ANkAzhKsGtGVe9u0LPzstc+t3bl2TR221+E7iRLogE6QXBp2k/7s2MOp4Ztp9GWFEw/Ffrw23LYLoVce2+kTxzFipfQdhK1l3daa9JnF2+B1yu/WBYzEkqJHn/0vxN0BX9wEydFkPVnTU3foJCIeQZIBp5CrP79DSOuLGs= -sidebar_class_name: "put api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    Update destination

    - - - - - - - -Update destination - -## Request - -

    Path Parameters

    Body

    required
      oneOf
      config objectrequired
      config objectrequired
      credentials objectrequired
      config objectrequired
    - -Destination - -
    Schema
      oneOf
      config objectrequired
      config objectrequired
      credentials objectrequired
      config objectrequired
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/update-entity.api.mdx b/docs/docs/api/v2/mgmt/update-entity.api.mdx index c4902629dd..8682322c7c 100644 --- a/docs/docs/api/v2/mgmt/update-entity.api.mdx +++ b/docs/docs/api/v2/mgmt/update-entity.api.mdx @@ -5,7 +5,7 @@ description: "Update entity" sidebar_label: "Update entity" hide_title: true hide_table_of_contents: true -api: eJztVl9v2zYQ/yoa99IAlp04Rhz7ae3Qh2AbEKQNhsExnLN0stlKJEdSdgxD3713lGQrcdbsocBeJgE2dbz/97sj9yJFYzEBj6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N0yGD3OGJL4cjT7y7a6bVWcTwfM3Hto8VB7UBhuRU0DK0eecCV82JuWlmdqLe/7U2FX9mLUf5k5O26rUS76mzjf8u77wz/m7vPxPvsrn7FTplEQtbvkTS71Q80Cv4whrQFy6ITN+LHNSqJNgST62Wn28Ttcod +api: {"deprecated":true,"operationId":"updateEntity","tags":["Entities"],"parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"my-entity"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name"}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean"}},"required":["fields","allow_additional_field_mappings"],"title":"entity_config"}},"required":["name","config"],"title":"create_update_entity"}}}},"responses":{"200":{"description":"Entity","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-entity"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name"}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean"}},"required":["fields","allow_additional_field_mappings"],"title":"entity_config"}},"required":["id","application_id","name","config"],"title":"entity"}}}}},"description":"Update entity","method":"put","path":"/entities/{entity_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"name":"my-entity"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Update entity","description":{"type":"text/plain"},"url":{"path":["entities",":entity_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} sidebar_class_name: "put api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,9 +38,9 @@ Update entity ## Request -

    Path Parameters

    Body

    required
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +

    Path Parameters

    Body

    required
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    Entity -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/update-object-field-mappings.api.mdx b/docs/docs/api/v2/mgmt/update-object-field-mappings.api.mdx index 8c2435ebe2..c7b2587eaf 100644 --- a/docs/docs/api/v2/mgmt/update-object-field-mappings.api.mdx +++ b/docs/docs/api/v2/mgmt/update-object-field-mappings.api.mdx @@ -5,7 +5,7 @@ description: "Update schema mappings" sidebar_label: "Update schema mappings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/3OJ3cgzMohykMhPTqOFcagf9Pg5dPZulYhZn0JO6n8wS11+82En4p0KGvb6+4pvG8ObHupxSGiNczUqp/AeIlqrJp5TZnnna9tAMQylqSx/3ukusXwtDsPkM5h3CCNIlclNPNH+XZFQNXeVlUE4ZNddvs/lwexTYc99vX/fNO52uDKmmmoxT3HNIJ73T894lrwvivVBihsFTzoPoVB7WPpdhJ3b1nDrgkQ7tH1XKEAPutXPa2typrV/xH7tSzugoC2ntHn8+Q4zC4FkQY9r2jKHJjD78bd1j/+qMSIllFhXm0noZ1Ey8VnModjDLXwn5eID4FHibtkdWh78MbzJFrHitrUP10VGJwWSql+KaoqIMMufQsF3MjmuJ5XLZS3M1Alqh7i+1+WpTEUK11E2zAG+HPlHoQsLymIz7OLwR1lcQu7t5R4uTyeReHeiNQooiW9hvJOzRzm0loWoPBw+un8ZC+uN8GtdFVw+3y7LDt/oau3CODpDoeh0gkjsTbza0jF1g/EOqwxfCSLoW/bOqU7YblXgkLW1g7U5FbGHHxWpY40c3BUUes5/5PNobA08fO8+8haAmGHBOj6hnO779JHrSge0XWsuFXOjP3FD3Nr8gSomd0bbWeI28lbonZUcNlr++u0XZoHigJToiFSOW9JzD3wN+jz90UXnsnoT9+prHQs0y7EaUyY8lihQZFVaTm3MiLv5DRVFuqVXDySZp5zjoN6HaK/4bNRSy/u+VeL7zqEJ1B+TSlIcROvwf/sbBJg== +api: {"deprecated":true,"operationId":"updateObjectFieldMappings","tags":["SchemaMappings"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"contact"},"type":{"type":"string","enum":["common","standard"]},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"required":["name","type","field_mappings"],"title":"update_object_field_mapping"}}}},"responses":{"200":{"description":"List of objects and their field mappings (if set)","content":{"application/json":{"schema":{"type":"object","properties":{"object_name":{"type":"string","example":"contact"},"object_type":{"type":"string","enum":["common","standard"]},"allow_additional_field_mappings":{"type":"boolean","example":true},"schema_id":{"type":"string","example":"51797e8d-f081-496d-99ec-5e41b467df4b"},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The name of the field as set in the schema","example":"email"},"is_added_by_customer":{"type":"boolean","description":"Whether the field was added by the customer (only applicable if the schema has allow_additional_field_mappings set to true)"},"schema_mapped_name":{"type":"string","description":"The mapped named of the field as set in the schema by the developer. If set, the customer cannot override. Only one of `schema_mapped_name` or `customer_mapped_name` should be set."},"customer_mapped_name":{"type":"string","description":"The mapped name of the field as set by the customer. Only one of `schema_mapped_name` or `customer_mapped_name` should be set."}},"required":["name","is_added_by_customer"],"title":"merged_field_map"}}},"required":["object_name","object_type","allow_additional_field_mappings","schema_id","fields"],"title":"object_field_mappings"}}}}},"description":"Update schema mappings","method":"put","path":"/field_mappings/_update_object","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"name":"contact","type":"common","field_mappings":[{"schema_field":"apolla_first_name","mapped_field":"FirstName"}]},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Update schema mappings","description":{"type":"text/plain"},"url":{"path":["field_mappings","_update_object"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "put api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/mgmt/update-provider.api.mdx b/docs/docs/api/v2/mgmt/update-provider.api.mdx deleted file mode 100644 index dd850406ef..0000000000 --- a/docs/docs/api/v2/mgmt/update-provider.api.mdx +++ /dev/null @@ -1,78 +0,0 @@ ---- -id: update-provider -title: "Update provider" -description: "Update provider" -sidebar_label: "Update provider" -hide_title: true -hide_table_of_contents: true -api: eJztW1uP2kgW/is1zsOkJQwNuDHwtD3RjBTNziZK0lqtCCJluwyetl1eV7kJ2+K/7zlVvuNumCjRzCjuXBrqcm51Lt8p8KPBE5ZSGfD4tWcsjSzxqGRvU/4QeCw1BoakW2EsV0YxJIz1wEhoSiMm8d1y9WjE8Ab2JvmSTeDBxiDGISp38Dpl/82ClAEDm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yGVxvvquenfq4+tqq15lUHXjWJ/adaf/KnWjVEXmDH6sm6Aus1sMeFqGldx0cVydtOkpdhlnUXFFk1ql+7xHVUuFKqMi5eVfWwXUFW7WLQkbbbWbueNNXVYnVZlt9h5XyL65QjhqPPUUbMFDoIr4fj2XBRu2r5TV1P4OWMCjt9zUi1ajnBIlFgCo9ogLkGMc0/6pgG5ppZqDF5kgBfwA95HcuUe5mLYx/hz79ZCItZAcWbkhFgmeEbXfPIfwDluTRWFyUSgSGugZ36uqWsUgj+2VY/EioUUAL9YqZ4iiFyXf2wepepXuAtFxK2V8gtzeJhAmMxplEnkxIYi4ftVbViv98PE71NIbtC69Gep/cioS4rh8wkc6CUVJASmSs7/ESFynnk7t0/cfDTp08f4zPZPF+Fls351w7stLw0rF/6rGSfJYLRQNFR5/eYl56qI8fWfVl/GBZcbwcscc3jowOy36Xh8YjDkKnRHVfw8oGmAXXUTc+j4QUCX4MT+3hRdSJOebNtvHyXF+Argj7aJWZRhWKsNw8U/XJpwEtVpBpP7arIzosRiqFXvNLMzA+6cBcUTq7U8Ss5egckF5bIZ9euaxX87d0HWOvkD/xiEwKD0HrCIP6/ND7CH0whSn+VI9X4oxHSeJuB98IaTRZ//g9u5CUG -sidebar_class_name: "put api-method" -info_path: api/v2/mgmt/management-api -custom_edit_url: null ---- - -import ApiTabs from "@theme/ApiTabs"; -import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; -import MimeTabs from "@theme/MimeTabs"; -import ParamsItem from "@theme/ParamsItem"; -import ResponseSamples from "@theme/ResponseSamples"; -import SchemaItem from "@theme/SchemaItem"; -import SchemaTabs from "@theme/SchemaTabs"; -import TabItem from "@theme/TabItem"; - -

    Update provider

    - - - - - - - -Update provider - -## Request - -

    Path Parameters

    Body

    required
      oneOf
      config objectrequired
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    • config objectrequired
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    • config objectrequired
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    - -Provider - -
    Schema
      config object
      - -An object that stores Oauth2/API key/access key related credentials. - -
      oauth objectrequired
      credentials objectrequired
      objects object
      - -This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview). The field mappings (aka [Schemas](https://docs.supaglue.com/platform/objects/overview#schemas)) here are set by you, the developer, and the mappings apply for all your customers. - -
      common object[]
    • Array [
    • ]
    • standard object[]
    • Array [
    • ]
    • entity_mappings object[]
      - -This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. - -
    • Array [
    • object object
      field_mappings object[]
    • Array [
    • ]
    • ]
    - \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/update-schema.api.mdx b/docs/docs/api/v2/mgmt/update-schema.api.mdx index 1364f7c11e..ce4cc373ab 100644 --- a/docs/docs/api/v2/mgmt/update-schema.api.mdx +++ b/docs/docs/api/v2/mgmt/update-schema.api.mdx @@ -5,7 +5,7 @@ description: "Update schema" sidebar_label: "Update schema" hide_title: true hide_table_of_contents: true -api: eJztV1tvIjcU/ivu9GUjZYbA0nB56m61laK2qygXVRVBxNhnwLszY9f2QBDiv/cczwADZMPLvlTaECXm+Nz9fWc860iCsSC4BxkNvS3hMtIGLPdKFzcoikojcfNezCHn0WXk+cxFw1FUCVw0vowMtzwHD5Y21lGBX9DOBYWJkmikChQY7ue4tvBvqew+WqUXDdeRX5lg6K0qZqgJLzw3GYl4v9OWvwxk3J92RdzlchBzABG3O4OO7ECn37tqR5vNuPIOzn/UckUuj4MJXXgoPG1xYzIlQp2tL04XJDvJRU+/gPCYi7HUFa/A0W5V4lsZ56u4drYJUVM1O+82VZBJ19Dj1vIV9c9D7r5HWtzoLOOTVFnnJ0H9EgHghFWGGoEa/+jSskZvWEiKkW5CteS4B3JyPtTvFOPzayEe5lB7XVEwUTqvc7AMXbuEPcyVY/jL2a3VCyXBxs6AUGghm8mwT8ksYbsoLNWW3fMMHC4E5bppYm1UNWdMUp5lejnhUipKiGeT4HVClWERzT5Ptc6AFycV3NcJObacg59j7oeVCF4w9M8KWH6jly5pNivlmYPjhGs0nM8XYe+VzxqkqwH3agt2cGyYCQvI8UlF9ckWuJvK3hlduApgnasr+nfUjO1o+E7kwonxJrCuu4NpG7qDuNPrdOLuNX8f8x704vaV4Bx6fd59nxJSGzlMzvmUfQHT92mKA6aXxt2U9+JpX0Lc7w5wxKTXgl8PyOcP4v8g/v+Q+OEhfMSHy2+Pg8YA2Bx34DHMCOa2pMcH/1zTPcGUAZf0kB9GrWrftda7a8AGdx3YxfaaUNoMFefeGzdstbhRiSsNn2UlJEq38lnuW4vO6QHUOuzD7U1ED3wHorTKr8IUqtjwEqO3+CusmoQy6g9YbYseNnTq28kcOCLuJB6GYajFvGbhNJiEBWTEPRdkQoDD1bxOCNtF4+5ufwv5tD3q3cVoPyGaA2I7AvYXqNcoe0DCBtOoE2fRvQObKlJNMeksqjKvkvZ1Moj2EPiLF3yGDS18KKwa7lz4Rh3boyA851zRaUot3K+7YxQ6x73Dcz7YPAHXz/jDbgpvtSwFyZ7w8zdkqAzUburzYWYMQ5b0JeA6YTjFAglLhwY0UEgHLfNgtSeqwkfVrLrl4sQpJMP6CggxXUJRRz+N7soC9ditdh7Nx++2NdiySAzKCgLqtPQeA7vF7GKvsVwuE1OZUaG7qltLbb86wwXsRLEpp0jLlsbDWChYXlDw0IeP3AVUsce7P0n4/Pz8VJzhS61Fna3jNw7smLoHvd8xxcOLb5mMq+AlnN66pvWongw0m4b7+z1ib47BaH+9nmLWjzbbbEiMLLDIwhEuF9wqPiVsIcKlcrSWNSZPUtndJKJ3d/UYu2CEztdS3DK8IC4vOCFyGOEyDIDGa8hmjMo1zSmJav+3KlT8QF729icXmM3l1uIDct74N3XHjbl4+/iAutP6hSTXkkwsX9KrEP4dRk/4ieitK4AvvLWQfB1lvJiViFrUqdzSz391174y +api: {"deprecated":true,"operationId":"updateSchema","tags":["Schemas"],"parameters":[{"name":"schema_id","in":"path","required":true,"schema":{"type":"string","example":"a821d59d-8b4c-4ad9-aeec-1292d2e28701"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"my-schema"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name","description":"Your application field name."},"mapped_name":{"type":"string","example":"FirstName","description":"The field your customer maps. This is a Provider-specified field name. E.g. FirstName for Salesforce."}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean","description":"Specifies whether your customer can add new application field names.","example":false}},"required":["fields","allow_additional_field_mappings"],"title":"schema_config"}},"required":["name","config"],"title":"create_update_schema"}}}},"responses":{"200":{"description":"Schema","content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"id":{"type":"string","example":"649b1e49-2722-46a3-a7e7-10caae78a43f"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"name":{"type":"string","example":"my-schema"},"config":{"type":"object","deprecated":true,"properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"apolla_first_name","description":"Your application field name."},"mapped_name":{"type":"string","example":"FirstName","description":"The field your customer maps. This is a Provider-specified field name. E.g. FirstName for Salesforce."}},"required":["name"]}},"allow_additional_field_mappings":{"type":"boolean","description":"Specifies whether your customer can add new application field names.","example":false}},"required":["fields","allow_additional_field_mappings"],"title":"schema_config"}},"required":["id","application_id","name","config"],"title":"schema"}}}}},"description":"Update schema","method":"put","path":"/schemas/{schema_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"name":"my-schema"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Update schema","description":{"type":"text/plain"},"url":{"path":["schemas",":schema_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"schema_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} sidebar_class_name: "put api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,9 +38,9 @@ Update schema ## Request -

    Path Parameters

    Body

    required
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +

    Path Parameters

    Body

    required
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    Schema -
    Schema
      config objectrequired
      fields object[]required
    • Array [
    • ]
    +
    Schema
      config objectrequireddeprecated
      fields object[]required
    • Array [
    • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/update-sync-config.api.mdx b/docs/docs/api/v2/mgmt/update-sync-config.api.mdx index bb0b088d24..d5fc4ee3c7 100644 --- a/docs/docs/api/v2/mgmt/update-sync-config.api.mdx +++ b/docs/docs/api/v2/mgmt/update-sync-config.api.mdx @@ -5,7 +5,7 @@ description: "Update Sync Config" sidebar_label: "Update Sync Config" hide_title: true hide_table_of_contents: true -api: eJztWNtu4zYQ/RVWfUmAyBf57qfupn0I2gJBdoOisA0vRVI2dyVKJSk7huF/7wwl27KUbIJigb7EAQKbHM59zhG199JMaGplqu64N/XyjFMrPu0Uu01VJFfejWfpynjTmXdeNN7ixsuopomwQuPm3lPwA84bEFoyJ7WUHE5LBasZtWv4rsU/udQC7FidixvPsLVIqDfde3aXudNWS4U2xRNNshiX+GDcE2wU+IMB7/v9qDfwJ8Ph2I+GbDSYDEd9xrre4bAotAtjP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jbB03PpQxYYzDNucQZA+fXx7OLwd+OzZP8zL/NsqvMf7baL3K6k3ertBrSZlnznuR2l6mCgTtZ7B4doaGM7ItnkOwquRtRfI817OLEX3jHDpskCpKMWbsu6KknVZ32Jp45xH4kyq6coG6It6cvJ2eXjQd2w7RIKESO5enzPxyalkIHvYue/piszFXP8OH3CmrU567RM7h7y8Rg7DA1sKeuvSMgMnc1QPFW+TvNAeIVyQH9LRrIFSUgZOJO0VYboCEAWvdk1PxGGYI5L5Cw6aFVmc/zR5yrDe5T42F44urYwz4oJDBmsKhDHNrwbDZrK7PEtvttpUVxzDQU9Ttbaq/mYwycVryszwEuGqnUIyNFNtrNO7y8BEZAN1/fPgDF798+TJXr2BDKeWeiQv7lYI9i1oXBThBgxVPtp3FVDpVroT7EtFmVXjEh49p7Y0jNOkabKPkfh9CEI86PhxwGQBAwzjN4OuGaklDbDVoYy4NfocujmhsRMOp063Iu3oo0f6anLn50tkjuCmEsQ3FBp168NVhX/3t6AEfmEqYQ08KodvCnv8ZVZ2VNG5kh5vjiQ+AeZn9ruyiwhD3j59BNizfkyYpxyOabvENLfyHB2P4gx/lBcG9TMX1vRdTtcqhk0GmUIuffwGv/aT0 +api: {"operationId":"updateSyncConfig","tags":["SyncConfigs"],"parameters":[{"name":"sync_config_id","in":"path","required":true,"schema":{"type":"string","example":"d583ec72-55d4-4f35-9668-f6c759674cc1"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"destination_id":{"type":"string","example":"6e7baa88-84dd-4dbc-902a-14522c2984eb"},"provider_id":{"type":"string","example":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af"},"config":{"type":"object","properties":{"default_config":{"type":"object","description":"Configuration options for \"how\" to sync.","properties":{"period_ms":{"type":"integer","minimum":60000,"example":60000,"description":"The period (in milliseconds) to run the sync."},"strategy":{"type":"string","enum":["full then incremental","full only"],"description":"\\\"full then incremental\\\" will run a full sync on the first run, then incremental syncs. \\\"full only\\\" will run a full sync on every run."},"auto_start_on_connection":{"type":"boolean","description":"If true, the sync will start automatically when the connection is created.\nDefault: true\n"}},"required":["period_ms","strategy"]},"common_objects":{"description":"A list of Supaglue objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Supaglue object name","example":"contact"}},"required":["object"]}},"standard_objects":{"description":"A list of case-sensitive Provider objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]}},"entities":{"type":"array","deprecated":true,"items":{"type":"object","properties":{"entity_id":{"type":"string","example":"3a82409f-c98f-4d25-bbd8-3335de3f12cc"}},"required":["entity_id"]}}},"required":["default_config"],"title":"sync_config_data"}},"required":["destination_id","provider_id","config"],"title":"create_update_sync_config"}}}},"responses":{"200":{"description":"SyncConfig","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"465fdcb7-26b4-4090-894c-67cab41022bb"},"application_id":{"type":"string","example":"9572d08b-f19f-48cc-a992-1eb7031d3f6a"},"destination_id":{"type":"string","example":"6e7baa88-84dd-4dbc-902a-14522c2984eb"},"provider_id":{"type":"string","example":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af"},"config":{"type":"object","properties":{"default_config":{"type":"object","description":"Configuration options for \"how\" to sync.","properties":{"period_ms":{"type":"integer","minimum":60000,"example":60000,"description":"The period (in milliseconds) to run the sync."},"strategy":{"type":"string","enum":["full then incremental","full only"],"description":"\\\"full then incremental\\\" will run a full sync on the first run, then incremental syncs. \\\"full only\\\" will run a full sync on every run."},"auto_start_on_connection":{"type":"boolean","description":"If true, the sync will start automatically when the connection is created.\nDefault: true\n"}},"required":["period_ms","strategy"]},"common_objects":{"description":"A list of Supaglue objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Supaglue object name","example":"contact"}},"required":["object"]}},"standard_objects":{"description":"A list of case-sensitive Provider objects to be synced.","type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]}},"entities":{"type":"array","deprecated":true,"items":{"type":"object","properties":{"entity_id":{"type":"string","example":"3a82409f-c98f-4d25-bbd8-3335de3f12cc"}},"required":["entity_id"]}}},"required":["default_config"],"title":"sync_config_data"}},"required":["id","application_id","destination_id","provider_id","config"],"title":"sync_config"}}}}},"description":"Update Sync Config","method":"put","path":"/sync_configs/{sync_config_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"destination_id":"6e7baa88-84dd-4dbc-902a-14522c2984eb","provider_id":"7f72ec07-e5c1-47fd-8cf5-e71dd13873af","config":{"default_config":{"period_ms":60000,"strategy":"full then incremental","auto_start_on_connection":true},"common_objects":[{"object":"contact"}],"standard_objects":[{"object":"Contact"}]}},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Update Sync Config","description":{"type":"text/plain"},"url":{"path":["sync_configs",":sync_config_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"sync_config_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} sidebar_class_name: "put api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -46,7 +46,7 @@ A list of Supaglue objects to be synced. A list of case-sensitive Provider objects to be synced. -
  • Array [
  • ]
  • entities object[]
  • Array [
  • ]
  • +
  • Array [
  • ]
  • entities object[]deprecated
  • Array [
  • ]
  • SyncConfig @@ -62,5 +62,5 @@ A list of Supaglue objects to be synced. A list of case-sensitive Provider objects to be synced. -
  • Array [
  • ]
  • entities object[]
  • Array [
  • ]
  • +
  • Array [
  • ]
  • entities object[]deprecated
  • Array [
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/upsert-connection-sync-config.api.mdx b/docs/docs/api/v2/mgmt/upsert-connection-sync-config.api.mdx index ca4b27cf75..9e2d0c4edc 100644 --- a/docs/docs/api/v2/mgmt/upsert-connection-sync-config.api.mdx +++ b/docs/docs/api/v2/mgmt/upsert-connection-sync-config.api.mdx @@ -5,7 +5,7 @@ description: "Use this to override SyncConfig and Destination configurations on sidebar_label: "Upsert connection sync config" hide_title: true hide_table_of_contents: true -api: eJztWm1v2zYQ/iuc9mEJEMttPwyYMQxLXz4EW7EsTTAMtpHS0tlmK5EqSdkxDP/33ZF6tWUn7dJu3dwCSUQeeW/P3ZEHrgOVgeZWKHkRB4Mgzwxo+0JJCRENvlnJCL+mYhacBTGYSIuMxpH0xgCzc2GYVUwtQGsRA6vpGZcxewnGCum2Z5Ebzj0zw3CEM+TNotxYlYLuRRVXNuFGmJC9CmchW6mcRVzWPOwcmJq8Q1LkPeeWcQ3MIGOI927IDVtCktDv1j6WTxLoRypJCkK3Ic6Ymgdtv9TCWpBMSKtCNIXlMxMMhkGXpUwwPgsMRDmuWSHROrjr8Uz03gN9j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OiE9xPKfkos2tcF9P+q2vgPfUhYp79qbjd/TZEoab/9nT57spq66S+PSBqs6Wsc2wLENcGwDHNsAxzbAsQ1wbAMc2wBf4dn7ePA+tgGObYBjG+BfkIqObYBjG+DztAEO3P+RKgU7V/R6Jcvd3ZzbOX70uxfRxdaAXpRvL3KdIPHc2swM+n2eibA6ZwvVT2ep7S+e7dixOlieX14Em8Z7jzd02vMYaLz6qNyCI78AJabqsURJs/1MYuvMd3nBkIocxpNELdH4C0gIcS6t8igC459tOIHQKNTDuKofQbwqXbGvW1EImNXX//IO33WY7TqnDmvYN+plx2CVItoB2U3aRHcLRuPdWtUhgY+R7vGHy+Gp94uyIe9NFdmRgOUpnoRPvw9/aKYNLvkM0SGt85JvP3GfJgo8lLii4KG7Hw7FKjKtux/OtUHbmtx5L/Mt/mMX0moV55G/9Y3kH5AgsUu97nLTkowhy5w+/KWS/Vm8wMrLF19EgytTt6r5UMjCrHzfRc+/6gg0IXEdfjO8yqW7GCPMcPn4pNRB5zLMcExS1E1ya5GxWcxOa4rlchlmfhkpWmndXyr93mQ8gmqol+WTRER9SlcuPxNzZ4fnlFVJ/JurX2nw7du3I3lP8BdUZNmCf8NhN65B2dDUX1Cjzjdz67rh+D9/PueTjYU7288SLpxxHajXRfoe7sn57nHdHN1AJOs1ago3OtlsaNj3swZD/HPBtfCxPaTgLLKq65cKQxNYLqY8MXDAQydXRZU6ZY/5cK5Td1cldh4ALjilgkHgctInC779WO6gANtv91oieKIXnlHv2ncwSoqdBnq94hzLU2YP0o4bZfzy5hppJ8XTvVTFtETzJQ7Sz0Ewwv/UBHe6u1rrxtdBwuUsx5yENH5bqoQ8J0A1S7Cvt8UfjTsBl6uGkM3a7PWgn41zYZv8R0orWNx/qsj9zN4FVan31OQHOvX8BV9vWnM= +api: {"operationId":"upsertConnectionSyncConfig","description":"Use this to override SyncConfig and Destination configurations on a per customer-connection basis. E.g. you can override the objects that are synced per customer-connection as well as override the table/collection that these objects are written into.","tags":["ConnectionSyncConfigs"],"security":[{"x-api-key":[]}],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"destination_config":{"description":"An object to override the default Destination configuration per connection.","oneOf":[{"description":"Config specific to Postgres destination","type":"object","title":"Postgres","properties":{"type":{"type":"string","enum":["postgres"]},"schema":{"type":"string","description":"The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.","example":"customer_1_schema"}},"required":["type","schema"]},{"description":"Config specific to BigQuery destination","type":"object","title":"BigQuery","properties":{"type":{"type":"string","enum":["bigquery"]},"dataset":{"type":"string","description":"The dataset you'd like to sync to. This dataset must already exist. Supaglue will not create it. If not specified, the dataset specified in the BigQuery Destination will be used.","example":"customer_1_dataset"}},"required":["type","dataset"]},{"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nConfig specific to MongoDB destination\n","type":"object","title":"MongoDB (Preview)","properties":{"type":{"type":"string","enum":["mongodb"]},"collection":{"type":"string","description":"The collection you'd like to sync to. This collection must already exist. Supaglue will not create it. If not specified, the schema specified in the MongoDB Destination will be used.","example":"customer_1_schema"}},"required":["type","collection"]}]},"standard_objects":{"description":"A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default collection used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}},"custom_objects":{"description":"(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.\n","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default table used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}}},"title":"upsert_connection_sync_config"}}}},"responses":{"200":{"description":"Connection Sync Config","content":{"application/json":{"schema":{"type":"object","properties":{"destination_config":{"description":"An object to override the default Destination configuration per connection.","oneOf":[{"description":"Config specific to Postgres destination","type":"object","title":"Postgres","properties":{"type":{"type":"string","enum":["postgres"]},"schema":{"type":"string","description":"The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.","example":"customer_1_schema"}},"required":["type","schema"]},{"description":"Config specific to BigQuery destination","type":"object","title":"BigQuery","properties":{"type":{"type":"string","enum":["bigquery"]},"dataset":{"type":"string","description":"The dataset you'd like to sync to. This dataset must already exist. Supaglue will not create it. If not specified, the dataset specified in the BigQuery Destination will be used.","example":"customer_1_dataset"}},"required":["type","dataset"]},{"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nConfig specific to MongoDB destination\n","type":"object","title":"MongoDB (Preview)","properties":{"type":{"type":"string","enum":["mongodb"]},"collection":{"type":"string","description":"The collection you'd like to sync to. This collection must already exist. Supaglue will not create it. If not specified, the schema specified in the MongoDB Destination will be used.","example":"customer_1_schema"}},"required":["type","collection"]}]},"standard_objects":{"description":"A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default collection used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}},"custom_objects":{"description":"(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.\n","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default table used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}}},"title":"connection_sync_config"}}}}},"method":"put","path":"/connection_sync_configs","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"destination_config":{"type":"postgres","schema":"customer_1_schema"},"standard_objects":[{"object":"Contact"},{"object":"Contact","table":"my_contacts"},{"object":"Contact","collection":"MyContacts"}],"custom_objects":[{"object":"Contact__c"},{"object":"Contact__c","table":"my_contacts"},{"object":"Contact__c","collection":"MyContacts"}]},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Upsert connection sync config","description":{"content":"Use this to override SyncConfig and Destination configurations on a per customer-connection basis. E.g. you can override the objects that are synced per customer-connection as well as override the table/collection that these objects are written into.","type":"text/plain"},"url":{"path":["connection_sync_configs"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "put api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -34,11 +34,11 @@ Use this to override SyncConfig and Destination configurations on a per customer ## Request -

    Header Parameters

    Body

    required
      destination_config object
      +

      Header Parameters

      Body

      required
        destination_config object
        An object to override the default Destination configuration per connection. -
        oneOf
        standard_objects object[]
        +
        oneOf
        standard_objects object[]
        A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig. @@ -51,11 +51,11 @@ A list of case-sensitive Provider standard objects to by synced. If specified, t Connection Sync Config -
        Schema
          destination_config object
          +
          Schema
            destination_config object
            An object to override the default Destination configuration per connection. -
            oneOf
            standard_objects object[]
            +
            oneOf
            standard_objects object[]
            A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig. @@ -64,5 +64,5 @@ A list of case-sensitive Provider standard objects to by synced. If specified, t (Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig. -
          • Array [
          • oneOf
          • ]
        +
      • Array [
      • oneOf
      • ]
    \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/upsert-customer.api.mdx b/docs/docs/api/v2/mgmt/upsert-customer.api.mdx index 7d4b32e031..3d2492d103 100644 --- a/docs/docs/api/v2/mgmt/upsert-customer.api.mdx +++ b/docs/docs/api/v2/mgmt/upsert-customer.api.mdx @@ -5,7 +5,7 @@ description: "Upsert customer" sidebar_label: "Upsert customer" hide_title: true hide_table_of_contents: true -api: eJzlWHlv2zYU/yqa+scawLITJ/ERDEMPdECwdQvaBMPgBipNUTYbidRIyq5m+LvvPVKSJTt2vK7YMCxOYol89/HjsfJlxhQxXIrryL/y80wzZV7n2siUKb/jGzLT/tXEr4a0f9/xNaO54qaAiZX/OSAZDx4Yvt2vYTYjiqTMIC2MdHzFfs+ZNq9kBCQr+8oVA21G5azjUykMEwanSJYlnFprep+0FDim6Zyl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E+CrpYSbzBLmdrhRYlhD1uxPFIZm0qvhDKcG8cbJt1fK2VwX9sZwOp2WmAPVLc7P5VuGrJ+rAAud+3w90uRTtbEjcqcdPlqjxblP3+NTuxjM7eVtouTOahmZ6MbWJdQXDhUt/Y03b/fhP/Fc1V0X2rYZKrKIAjMNTbTbmf8oyUifecdWdd7329cTvpHgkVrRhtGd7IV5NsP7BvyrF5kKyPJmEbK/wm7kzut4XxyN85SrTPAe29/fbGvLHD3NrePWrcrjc7uo88ODePyuvtXN/Zlq+TiiFnZi7xeiTLbQkTM4eXXo01uMEG/HI3Hivf7k8bm1C+gRcuHaws+jsl9r6kQXTy141blve4VLh2ady1bDou4z+yovL9qkGDMUVDGImsG219oMYDKihOj8CRZOlFbMESbE5txyhlWttitwZBmPAW4N3mMudNVRhbly/HHcBre9uH7PqMvf8gzUUsUSnG27ly2j0bdMeNY8NbIsrjiDW+UwlDtlJtFe6GRlwJXjRXAphr57I1uVM4z+AHnDBKRrkt2A/w+ZUlQMwwpBjLtmUeqMzxxaGW9xssqZQIWLsYIoldqZAztVx1SXp4YJy5azvtAUx7jcuFLmqdfDN5lwsEqBupDbBv1juVi24GYwKLcZobA4r1YnayoVgul93Msdn1sPK6t5TqQWeEsnooyPIpZLVev09QuY3DK6Jt5eBZCgc/fvz4QTzREyWVPcE7/Y2E7bZlK/p1Pxj22eAOg1s55VnRtezEp81rzDnowMHVagrG3qlkvcZhKFZVuKvLBVGcTEvw61SdhD1ue9DuTSF7wa1bQhcEC+pq9+ps3ak4XkJbZeYg7X0DcG7uboF2Wl6d4kYLBhVZwiD+v/I/wAcvGrL6YsmOr/yEiFkORQM0Tix2MBzB523ocDhRPqBj1ZQoGkY2McX5gf/Rq0fJv8O8Ayh9X5O7mb0MNUQ5akwd7l3/BCYd5wM= +api: {"operationId":"upsertCustomer","tags":["Customers"],"security":[{"x-api-key":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer_id":{"type":"string","example":"your-customers-unique-application-id"},"name":{"type":"string","example":"MyCompany Inc"},"email":{"type":"string","example":"contact@mycompany.com"}},"required":["name","email","customer_id"],"title":"create_update_customer"}}}},"responses":{"200":{"description":"Customer upserted","content":{"application/json":{"schema":{"type":"object","properties":{"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"your-customers-unique-application-id"},"name":{"type":"string","example":"MyCompany Inc"},"email":{"type":"string","example":"contact@mycompany.com"},"connections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"e888cedf-e9d0-42c5-9485-2d72984faef2"},"application_id":{"type":"string","example":"d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69"},"customer_id":{"type":"string","example":"my-customer-1"},"provider_id":{"type":"string","example":"677fcfca-cf89-4387-a189-71c885be67bc"},"provider_name":{"type":"string","enum":["hubspot","salesforce","pipedrive","zendesk_sell","ms_dynamics_365_sales","zoho_crm","capsule","outreach","gong","apollo","salesloft","intercom","linear","clearbit","6sense","marketo","salesforce_marketing_cloud_account_engagement","slack"],"example":"hubspot","title":"provider_name"},"category":{"type":"string","enum":["crm","engagement","enrichment","marketing_automation","no_category"],"example":"crm","title":"category"},"instance_url":{"type":"string","example":"https://app.hubspot.com/contacts/123456","description":"Instance URL for the connected customer."},"schema_mappings_config":{"description":"This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings).","type":"object","deprecated":true,"properties":{"common_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact__c"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"required":["object","field_mappings"]}},"standard_objects":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","example":"Contact"},"field_mappings":{"type":"array","items":{"type":"object","properties":{"schema_field":{"type":"string","example":"apolla_first_name"},"mapped_field":{"type":"string","example":"FirstName"}},"required":["schema_field"],"title":"object_field_mapping"}}},"example":null,"required":["object","field_mappings"]}}}},"entity_mappings":{"type":"array","description":"This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping).","deprecated":true,"items":{"type":"object","deprecated":true,"properties":{"entity_id":{"type":"string"},"object":{"type":"object","properties":{"type":{"type":"string","enum":["standard","custom"]},"name":{"type":"string"}},"required":["type","name"],"title":"standard_or_custom_object"},"field_mappings":{"type":"array","items":{"type":"object","deprecated":true,"properties":{"entity_field":{"type":"string","description":"The name of the field in your application.","example":"apolla_first_name"},"mapped_field":{"type":"string","description":"The name of the field in your customer's third-party Provider tool (e.g. Salesforce).","example":"FirstName"}},"required":["entity_field","mapped_field"],"title":"entity_field_mapping"}}},"required":["entity_id"],"title":"connection_entity_mapping"},"example":[]},"connection_sync_config":{"type":"object","properties":{"destination_config":{"description":"An object to override the default Destination configuration per connection.","oneOf":[{"description":"Config specific to Postgres destination","type":"object","title":"Postgres","properties":{"type":{"type":"string","enum":["postgres"]},"schema":{"type":"string","description":"The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.","example":"customer_1_schema"}},"required":["type","schema"]},{"description":"Config specific to BigQuery destination","type":"object","title":"BigQuery","properties":{"type":{"type":"string","enum":["bigquery"]},"dataset":{"type":"string","description":"The dataset you'd like to sync to. This dataset must already exist. Supaglue will not create it. If not specified, the dataset specified in the BigQuery Destination will be used.","example":"customer_1_dataset"}},"required":["type","dataset"]},{"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nConfig specific to MongoDB destination\n","type":"object","title":"MongoDB (Preview)","properties":{"type":{"type":"string","enum":["mongodb"]},"collection":{"type":"string","description":"The collection you'd like to sync to. This collection must already exist. Supaglue will not create it. If not specified, the schema specified in the MongoDB Destination will be used.","example":"customer_1_schema"}},"required":["type","collection"]}]},"standard_objects":{"description":"A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default collection used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}},"custom_objects":{"description":"(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.\n","type":"array","items":{"oneOf":[{"type":"object","title":"All","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"}},"required":["object"]},{"type":"object","title":"Postgres/BigQuery (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"table":{"type":"string","description":"The table to write the object to. If specified, this will override the default table used by Supaglue.","example":"my_contacts"}},"required":["object","table"]},{"type":"object","title":"MongoDB (Preview)","properties":{"object":{"type":"string","description":"The Provider object name (case sensitive)","example":"Contact__c"},"collection":{"type":"string","description":"The collection to write the object to. If specified, this will override the default table used by Supaglue.","example":"MyContacts"}},"required":["object","collection"]}]}}},"title":"connection_sync_config"}},"required":["id","application_id","customer_id","provider_id","provider_name","category","instance_url"],"title":"connection"}}},"required":["application_id","name","email","customer_id"],"title":"customer"}}}}},"description":"Upsert customer","method":"put","path":"/customers","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"customer_id":"your-customers-unique-application-id","name":"MyCompany Inc","email":"contact@mycompany.com"},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Upsert customer","description":{"type":"text/plain"},"url":{"path":["customers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "put api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; @@ -38,13 +38,26 @@ Upsert customer Customer upserted -
    Schema
      connections object[]
    • Array [
    • schema_mappings_config object
      +
      Schema
        connections object[]
      • Array [
      • schema_mappings_config objectdeprecated
        This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). -
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]
        +
        common_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • standard_objects object[]
      • Array [
      • field_mappings object[]required
      • Array [
      • ]
      • ]
      • entity_mappings object[]deprecated
        This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). -
      • Array [
      • object object
        field_mappings object[]
      • Array [
      • ]
      • ]
      • ]
      +
  • Array [
  • object object
    field_mappings object[]
  • Array [
  • ]
  • ]
  • connection_sync_config object
    destination_config object
    + +An object to override the default Destination configuration per connection. + +
    oneOf
    standard_objects object[]
    + +A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig. + +
  • Array [
  • oneOf
  • ]
  • custom_objects object[]
    + +(Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig. + + +
  • Array [
  • oneOf
  • ]
  • ]
  • \ No newline at end of file diff --git a/docs/docs/api/v2/mgmt/upsert-entity-mapping.api.mdx b/docs/docs/api/v2/mgmt/upsert-entity-mapping.api.mdx index c9e565c511..0e309b58f1 100644 --- a/docs/docs/api/v2/mgmt/upsert-entity-mapping.api.mdx +++ b/docs/docs/api/v2/mgmt/upsert-entity-mapping.api.mdx @@ -5,7 +5,7 @@ description: "Upsert entity mapping" sidebar_label: "Upsert entity mapping" hide_title: true hide_table_of_contents: true -api: eJytVm1v2zYQ/isc+2EJYNlulgWZP23dOiDYMgR5wVA4gUNLtM1WIlm+2DEM//fdkZKsF3ctgtpAIpPHu+funnvEHc24Njxljmd04oznA6o0N8wJJa9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3jEbKEYebv/Gxefn50f5leEprbCyZfxGw740160e1KR0/MWNdM5E8Ba6uCtnvpammpYDOmmp1QqCo91uN4csHky+3+MyjIiBEZ3C45oZwebINWB0Jiw+A1UXLLe8B6l+v9OT21IgTwmy9RjUavwlDvqaIUMnFB6DOjQmMoxCqQGvBvE9L4BHs4mouxfZOi28mb0aePfS978AunfQFoRo9HsMlNzHW0pl0buSoYjXL5Obh3uwnZc3u0JleMSwDd4p4e+EPsIXVTPkE9Q+rO9ozuTSw1SDTXSLn/8A+xhPUg== +api: {"deprecated":true,"operationId":"upsertEntityMapping","tags":["EntityMappings"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","deprecated":true,"properties":{"entity_id":{"type":"string"},"object":{"type":"object","properties":{"type":{"type":"string","enum":["standard","custom"]},"name":{"type":"string"}},"required":["type","name"],"title":"standard_or_custom_object"},"field_mappings":{"type":"array","items":{"type":"object","deprecated":true,"properties":{"entity_field":{"type":"string","description":"The name of the field in your application.","example":"apolla_first_name"},"mapped_field":{"type":"string","description":"The name of the field in your customer's third-party Provider tool (e.g. Salesforce).","example":"FirstName"}},"required":["entity_field","mapped_field"],"title":"entity_field_mapping"}}},"required":["entity_id"],"title":"connection_entity_mapping"}}}},"responses":{"200":{"description":"Entity Mapping"}},"description":"Upsert entity mapping","method":"put","path":"/entity_mappings/{entity_id}","servers":[{"url":"https://api.supaglue.io/mgmt/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"entity_id":"string","object":{"type":"standard","name":"string"},"field_mappings":[{"entity_field":"apolla_first_name","mapped_field":"FirstName"}]},"info":{"version":"0.16.9","title":"Management API","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":"#### Introduction\n\nWelcome to the Management API documentation. You can use this API to manage customer integrations and connections.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n\n```\nhttps://api.supaglue.io/mgmt/v2\n```\n"},"postman":{"name":"Upsert entity mapping","description":{"type":"text/plain"},"url":{"path":["entity_mappings",":entity_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"entity_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} sidebar_class_name: "put api-method" info_path: api/v2/mgmt/management-api custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/create-attachment.api.mdx b/docs/docs/api/v2/ticketing/create-attachment.api.mdx index ed386dcf5d..29b3f489d4 100644 --- a/docs/docs/api/v2/ticketing/create-attachment.api.mdx +++ b/docs/docs/api/v2/ticketing/create-attachment.api.mdx @@ -5,7 +5,7 @@ description: "Creates a Attachment object with the given values." sidebar_label: "Create attachment" hide_title: true hide_table_of_contents: true -api: eJztWf9z2jgW/1d03tmZdiYG8zXAXu8uX2iHtmlyQHfbCRlWtgWosS1XkiFsJv/7vSfZYEiT5jrb30IyCZbed7339LF064iUSaq5SAah03MCyahmR1rTYBGzRDsHTshUIHmKJEBwYggUoWRLRIT/hQWarLheEL1gZM6XLCFLGmVMVUCEpnPl9C6dLYtyrg6clEoaM80kTt46CTyAhhs3yJQWMZMuD4GZo9oFoyGT8KSCBYup07t19DpFcqUlT+Yww25onEY4FK+3ImrO3b4LY7CwmCeDU7CYapIl/GvGojXhIZjHZxx81GVCnpC1yCShaRrxwEQMlEr2NeOSQei0zNjdQcmLVIolCJOuGfkRPxSNmJoJGbBvO1FoILmGPWMgwooFmeR6beJ749KUu9cMn65wFumZ0sciXKMhu+wHTiASjSkAUyWnq18UGnB73wObBWAH2AVJpSGEVmwgZPh9uhmP2NRG77GgjCBFWaIWQldSmILAaB5cM/04l9dtdQI/aLttr+m5zYZH3U6zw1xKZzTwaThrUhNkY0Qmo8elLbROe9UqjTSQVgIRV9PDZtdHAXnQppb5MSFfUmbMz9JIQFKEU3/9OEO947eatXrLrXcOZ26z2wzdbrvF3EbQ8hsNL+jSdse5uyvnwWUpqptAlbzcs3fXmKt9WflKwridUalIlF28ulfDf7s5WuoQtq+Ezt+WVUxKIVWJjkpJ11hmmsXq+/wh05R/c5nv19ksiyJiFJKYKUXnMCRFbPqDZLHQjFzkpVghyGCdIDQJScSWLCJiRqxC6JEga0nlmvjrLdfOOt9OIEghmzi9pucdTBwf6hMeYFhpqjMF3yfW/4kD07lJZvTC+rjOey9ZMclIIjQ+87BHLm8n+HG4+h0H7ENvRiPFDuxDIc3O2H8bqZPyx5lOqS8yPQWLdsZJKEA1amU3XGk7mIu3Zu8IH55f9Ifjz9PT8/7ow3ja/zQYjXd4MHt3WPYUF3SRCMCpv1jYRyVnP8mRuysTdagEyaJ84zSxp0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L5liEyCPpCi+t4W/PmcAPPOQo3+w9OH7rQNeaZ/B2gVuAkYvtnGaYReWt0u6L+RfMimIqWZesLO+h1hH8i259k/yfWHqwCf9rQ25nHmTYbMmWmluQdfc/JUxbsA== +api: {"operationId":"createAttachment","description":"Creates a Attachment object with the given values.","tags":["Attachments"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"file_name":{"type":"string","example":"Screenshot.png"},"ticket":{"type":"string","example":"0958cbc6-6040-430a-848e-aafacbadf4ae"},"file_url":{"type":"string","example":"http://alturl.com/p749b"},"content_type":{"type":"string","example":"jpeg"},"uploaded_by":{"type":"string","example":"28b54125-287f-494d-965e-3c5b330c9a68"}},"required":["file_name","ticket","file_url","content_type","uploaded_by"]}},"required":["record"]}}}},"responses":{"201":{"description":"Attachment created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]}},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}}}}}}}}},"method":"post","path":"/attachments","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"file_name":"Screenshot.png","ticket":"0958cbc6-6040-430a-848e-aafacbadf4ae","file_url":"http://alturl.com/p749b","content_type":"jpeg","uploaded_by":"28b54125-287f-494d-965e-3c5b330c9a68"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Create attachment","description":{"content":"Creates a Attachment object with the given values.","type":"text/plain"},"url":{"path":["attachments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/create-comment.api.mdx b/docs/docs/api/v2/ticketing/create-comment.api.mdx index b088e11dd6..ceff8271ff 100644 --- a/docs/docs/api/v2/ticketing/create-comment.api.mdx +++ b/docs/docs/api/v2/ticketing/create-comment.api.mdx @@ -5,7 +5,7 @@ description: "Creates a Comment object with the given values." sidebar_label: "Create comment" hide_title: true hide_table_of_contents: true -api: eJztWXtz2roS/yq6PnNm2pkYbF4BenrOzYN2aJs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S3tRKvFnp8ORtek+RyLANZIusc8Pf7vWGH7gIX/B0JUPx68tSFazDF5sgMbwxSxOMwyhcqE2VTn/glFRTMWrkpblCm4Mwb9o1p3kf+GJAwjw95rczNy7YA0IDDU3+O7mv0GRuuY= +api: {"operationId":"createComment","description":"Creates a Comment object with the given values.","tags":["Comments"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"user":{"type":"string","example":"17a54124-287f-494d-965e-3c5b330c9a68"},"contact":{"type":"string","example":"dde3fb16-b8eb-483d-81c4-b78100816f15"},"body":{"type":"string","nullable":true,"example":"When will these integrations be done? You all should use Supaglue."},"html_body":{"type":"string","nullable":true,"example":"When will these integrations be done? You all should use Supaglue."},"ticket":{"type":"string","nullable":true,"example":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d"},"is_private":{"type":"boolean","example":true}},"required":["user","body","ticket","is_private"]}},"required":["record"]}}}},"responses":{"201":{"description":"Comment created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]}},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}}}}}}}}},"method":"post","path":"/comments","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"user":"17a54124-287f-494d-965e-3c5b330c9a68","contact":"dde3fb16-b8eb-483d-81c4-b78100816f15","body":"When will these integrations be done? You all should use Supaglue.","html_body":"When will these integrations be done? You all should use Supaglue.","ticket":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d","is_private":true}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Create comment","description":{"content":"Creates a Comment object with the given values.","type":"text/plain"},"url":{"path":["comments"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/create-ticket.api.mdx b/docs/docs/api/v2/ticketing/create-ticket.api.mdx index 8171a685ee..646f9ecb3a 100644 --- a/docs/docs/api/v2/ticketing/create-ticket.api.mdx +++ b/docs/docs/api/v2/ticketing/create-ticket.api.mdx @@ -5,7 +5,7 @@ description: "Creates a Ticket object with the given values." sidebar_label: "Create ticket" hide_title: true hide_table_of_contents: true -api: eJztWntz2zYS/yoobzqXzBgSHxL16PV6fiVVEsc+S2mTszwqSIISY5JgAFCy4vF3vwVAvf2qp/3Psicxgd3F7mKx+4OWNxYrKCcyYXkvsrpWyCmRdJCEV1Rae1ZERciTQk3D5KGeFIggQ4BY8JWGEs0SOUFyQtE4mdIcTUlaUlEDdknGwupeWIZcWJd7VkE4yaikXE3cWDk8gORrHJZCsoxynETAmKjlJpRElMOTCCc0I1b3xpLzQpELyZN8DDP0mmRFqoay+UqEY91uqz4A7RbzqHcE2hKJyjz5VtJ0jpKI5jKJE7BNrhMmOZqzkiNSFGkSai/Bopx+KxNOwV2Sl/R2b82KgrMpCONYjzzHDkFSKmLGQ3q3EYsVULXCljLgYUHDkidyrv17jUmR4Cuqni7VrKKnQh6waK4U2WTfs0KWS/CFmlozuv5VKAVudi0wEQB6gF4QSBJcaMSGjEeP0xnH7fojL9OUBMohRq2Vf85SSgRFJIpQxjiFLZJ0bAJYKI8RIZJxTo34SizhnMzVbkiaiYfd77RIs+G4Dey2WzFudBoR7vhNir2wGXieHXaI37ZuYR19UBh/WJoXk3Yz9hu42XJauNH0XRx4cYjdsON7se+TmPh6m0s6iuBoPSzNtV0XOzZ2nIFtd/Xv/xS3kESWj9h1enb8cSegHmI4JDr2UfGAv39BPfnPNEUZuaJIzPMQhCCwg6CsDCcIGBPKf1DLhixNYf/1Jj1rX+KgHTabgY+dMGjjRtAIcSdWj62O23A9x3c6kd4XqVPNyEh6SGIC6qpjr4MmDFlpov5+BrvTbIdB6GPfbti44dkEtxttignsYhiQKG4QamzNJQkfEeY3Q6/RDAj22y0Q1mk1cLsFj1HkOU27E3p+iyhhkC5Bx5Gx6mGRLRWhkd3Anh25uBF7FAe00cRuq+21g7DT8BquEmmS8nM2ATShvOCJoOYIMDUuaTQij6gGketgx8V2ZzNyq80qefow/0TKQnTrdTlJ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LE+bwZ6bDvDbMQblh/g/4oJ66pkSlQeXw8ztNgZEqXVS2WDhTu3Dp0ddw1wrLDILCCERf4GCFcMBK0E8qexU9iJjB/lWyYNux3vdlk1/U1IIXvynTYc0MTK0u8Urr5WKXrxYOV1tSW7evDr6Qyq664ceGX6xy82u9xA8X52WuPQ1pPyP5SiQv8xrgxyxXGT0opQRrxHT8ekUxm81qhWHTSy7Wr88YvxIFFPnlEC7KAO5QdTZVwA9iTS2uvXygUo7yyafzD8P8jz/+GOZPKSsVqa5+RoW1mDXvqyB559ssN6tu2zNebDH5SdJrqTycaAWqNqapmBeWXL30oqClGrq5CcDMTzy9vVXDUFq4fjFjT8H+xLzwcKFgQlXD9NcoiVAT0eJrjfuteHVe4Y3X6K983eVOW3VN3nltRzsIxi31UsyzFd9+xeVBBbbfuNlQwRAdVnelgZKzotjpsK44zJ3rQdrLNah0dtofAHFQvVOTsUjxcDJT7+fAv11rCD/wUF3UNIRQ4zcWZKpxCRdEoDFyVQonpYqgdcRj4E31h4qKxVQ+X9NyHQoZQ9S/yqw7yf+ljhtgqX8vyc3MvQxLZGWoE4OTb/8PEOTelw== +api: {"operationId":"createTicket","description":"Creates a Ticket object with the given values.","tags":["Tickets"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Please add more integrations"},"assignees":{"type":"array","items":{"type":"string","example":"17a54124-287f-494d-965e-3c5b330c9a68"}},"creator":{"type":"string","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"due_date":{"type":"string","example":"2022-10-11T00:00:00Z"},"status":{"type":"string","example":"OPEN"},"description":{"type":"string","example":"Can you please add more integrations? It'll make syncing data much easier!"},"collections":{"type":"array","items":{"type":"string","example":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d"}},"ticket_type":{"type":"string","example":"incident"},"account":{"type":"string","example":"0958cbc6-6040-430a-848e-aafacbadf4ae"},"contact":{"type":"string","example":"65c345ba-6870-4974-87ba-dd31509c367a"},"parent_ticket":{"type":"string","example":"75b33d04-30d2-4f3e-be45-27838bc94342"},"tags":{"type":"array","items":{"type":"string","example":"enterprise"}},"completed_at":{"type":"string","example":"2021-12-09T00:00:00Z"},"ticket_url":{"type":"string","example":"https://thirdpartysoftware.com/project/3/issue/1"},"priority":{"type":"string","example":"HIGH"}},"required":["name","creator"],"title":"create_ticket"}},"required":["record"]}}}},"responses":{"201":{"description":"Ticket created","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]}},"record":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}}}}}}}}},"method":"post","path":"/tickets","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"name":"Please add more integrations","assignees":["17a54124-287f-494d-965e-3c5b330c9a68"],"creator":"3fa85f64-5717-4562-b3fc-2c963f66afa6","due_date":"2022-10-11T00:00:00Z","status":"OPEN","description":"Can you please add more integrations? It'll make syncing data much easier!","collections":["fb8c55b6-1cb8-4b4c-9fb6-17924231619d"],"ticket_type":"incident","account":"0958cbc6-6040-430a-848e-aafacbadf4ae","contact":"65c345ba-6870-4974-87ba-dd31509c367a","parent_ticket":"75b33d04-30d2-4f3e-be45-27838bc94342","tags":["enterprise"],"completed_at":"2021-12-09T00:00:00Z","ticket_url":"https://thirdpartysoftware.com/project/3/issue/1","priority":"HIGH"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Create ticket","description":{"content":"Creates a Ticket object with the given values.","type":"text/plain"},"url":{"path":["tickets"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "post api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-account.api.mdx b/docs/docs/api/v2/ticketing/get-account.api.mdx index abb00bf28f..083bb78a0a 100644 --- a/docs/docs/api/v2/ticketing/get-account.api.mdx +++ b/docs/docs/api/v2/ticketing/get-account.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get account" hide_title: true hide_table_of_contents: true -api: eJzVVttuGzcQ/RV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lkf2nPBF5rHvE5ypfs0cUKm6f2JU0Sbqu/jSjg+E9KHWNmmGo16iXqNtjdUUM4lSTq5zdELhzlNazOh9V523X5oAzx3fjKq5JpbV3GVefSeBXluKZoNqbeOczGLueDzmK1WkV5dawM2cQfrrR5tDkX0C6FuZ+ieg01dmfZaxS8ZPlXbsseZjdXf0zUw8PDRH3NgNam1Fw1hF7PfgTH+OHX0KaT1P9BH77mYVTpjoMnRz0gS4rK6dzUWjluFNWiedy7CFHVFsglWWw2U6zLjUmLgpar1xBJaCItcYL6O+OphRfY/eYH0DO5lPp66N225CRTcVDK85IbWd1s/wj00VV9JQ3Yc/EbYVfrfswGV4/O4g6ta3l/NYp/82X2Ap27L8yOy+NvAL77GnsRwO7jcAtCZYQTALnr7e29iaj07QPh44drtOWemr5/IVe3b/2FKnOwpP2bugpPnwTmoPlPpGF41f/cmlc7zx5oL/6moalhiuJvKI3THQ== +api: {"operationId":"getAccount","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Account object with the given id.\n","tags":["Accounts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"AccountData","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Waystar Royco"},"domains":{"type":"array","items":{"type":"string","example":"waystar-royco.com"}}},"required":["name","domains"],"title":"account"}}}}},"method":"get","path":"/accounts/{account_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get account","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Account object with the given id.\n","type":"text/plain"},"url":{"path":["accounts",":account_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"account_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-attachment.api.mdx b/docs/docs/api/v2/ticketing/get-attachment.api.mdx index be82831a18..85cc96dc56 100644 --- a/docs/docs/api/v2/ticketing/get-attachment.api.mdx +++ b/docs/docs/api/v2/ticketing/get-attachment.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get attachment" hide_title: true hide_table_of_contents: true -api: eJzVVltvIjcU/ivu9CVIDBBCsoCqqml3tYq2D6tcuqoAETNzACczttf2QBDiv/ecuTFAoNtsH1oeErDP5TufP5/jtac0GO6Ekjeh1/dm4K6d48E8Bum8uheCDYzQtI+7/X5fKgdDeT8Xlk2Bu8QAw69KRivGF1xEfBLhimSfDSwELJlTzEIEgWNBYp2KwZA1U4lhH6QDo42wwHTEZYMNflMSczuW2NFZjMGc6jvg8S820XwWJdAIVFxjU2VYrCixxK9xCr4xlAhuKIfyFhCUtIxLtq2EqckTYVgKN2duDmwmFiCZCNEPq3R8Zr3+wNs6WG9U9ywEiRFuhVtr78XnWvjPQL9GG9zV3PAYsASb7kv8gRQJGURJCGPDl+OQO47RBVH3NQGzwh82mEPMvf7acytNDhOlIuCEAl54rCNccyaBzT73X+aAwA0RmudgmINRDjwJh2FDNjUqTsu7MCFDfG7FtFELEYJpeJt6CfLFLw7DF2GBcA4c7V6DaJ0RclZF6MWrbYhz7wDsPWIo9tnNe8TE8VSlQBZQKIhHOjEVYFOwpSHKZkXC4FpHIkjPFZMa+JoIA2HBS6WKojg/XXlLHZZHYFFFAbxeRJGB5RmOguGldMZbSjV38wOnbwPWal92g0lw5V+12i2/c9HifrfTBZ/zKQ8mPJx2OEImHRqwWkkLlgK2Wy36t1vIFtv7TJEB3jO632hZ4br5ZMl8fYgvuz3oiHRgu3AiSzYVEYyz+k+VchcYAGnnyjU0biHPTgTP4P6GgF5JQOc4AfUMRGKi09Hmzul+s8kjbA4RtZGmftfpTShATsY4cz4V5ElDCj/RkUKNhePJ6rRDuzu57Jy3L/12993U7/Q6od+7ugT/IricXFy0gh6/6uIhVhUyqLBaElWpcg/vLpjRhj51D9vSXOXtnE6NZNj3mlsd2OZ6R7Abui5gFkUzS/lMSbPEmhaNsgUL1cxQYbHNRftgRtzlhuz68423qXTRO1JVJpxKLy3pw5VPQB2yvN2Fzf693s2HaRhaUV/kUaSwI8ICIpKpTdeCAGzWZ1JAG4o2VZSYqs1itBrnV41eyrdLD+5BUnsK2X1RKTmzs3yo1fJTwFFFcXLAReGkABpeuBSqwO4MLzqvHWp3Ng860H9/3v6IH3YjnVFhEtAGjeAvEKEjEBbivSAzpbBktMaQnYT0lwVkf6qEBTi1E8TnqF6yxxBLFE8eS5jQ3x1rtkEJB39Q6ZgzxlKz7pWiLpONzgrC6Uga1fqayIWjupqZv5/5263Ka2mKHwa3iUyZVtbFXG5DmkQ2NK5JuhuTxDmsxi5mta3Fcrls6MwtTVnkby6VebaaB1Au+TqZYENuKlRnqjVKnrL8K7ephtnD7e9D+fj4OJTfckFzUxJXDqGi2Y/gGD/63ltvB8X/QIpvfPpl3cfBiyMliJSofJxkfXNQmZ8WPfq7ox473Bx5Jbv1eoJn9GCizYaWsycftdNQWCIHO/KURxZO0Pzdr7wjFaW99rXH6YJTy+p7aatecCMI6D8EfXabj68aO5a/aPJyVc1Z4NpldDNCh7zbvxnIv/kCPcHo/kt6S2f9O4DvvzpPAth/BO9AyIyucQhqV9k7ePXR6Zevho8f7tGWJ6T+6nzOhnH+hU7m1VOtDu4sPf0lMK+a/0QtDSf/z6V5tnPUoXwHFJomwWw2fwEYdiJn +api: {"operationId":"getAttachment","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Attachment object with the given id.\n","tags":["Attachments"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"attachmentData","content":{"application/json":{"schema":{"type":"object","properties":{"file_name":{"type":"string","example":"Screenshot.png"},"ticket":{"type":"string","example":"0958cbc6-6040-430a-848e-aafacbadf4ae"},"file_url":{"type":"string","example":"http://alturl.com/p749b"},"content_type":{"type":"string","example":"jpeg"},"uploaded_by":{"type":"string","example":"28b54125-287f-494d-965e-3c5b330c9a68"}},"required":["file_name","ticket","file_url","content_type","uploaded_by"]}}}}},"method":"get","path":"/attachments/{attachment_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get attachment","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Attachment object with the given id.\n","type":"text/plain"},"url":{"path":["attachments",":attachment_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"attachment_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-collection.api.mdx b/docs/docs/api/v2/ticketing/get-collection.api.mdx index 2fe0098041..2abbfc678b 100644 --- a/docs/docs/api/v2/ticketing/get-collection.api.mdx +++ b/docs/docs/api/v2/ticketing/get-collection.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get collection" hide_title: true hide_table_of_contents: true -api: eJzVVttuGzcQ/RV2+2IBXt2iOvKiKJo4aSDUD44vDQrJsKndkcR4l9yQXMmCoH/vDPcqyzZipw9tH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nck63//oz+Gf+xkbRaRZkjE43tLxDjQSAsVPeymK6EVUVbDKuTJdiBuUP2t8pYyCWCwZOUL9mjixWSp/AldOTvzkLTpoDjvyh1jJlgqrnkOdRVsOuDsuB0Je1mfp20kJdOft7Pz5ua5S0X4qfxeSZdpZWxCZe1S53JdoprknpjmlmL2ZjlvFVbrFardpofcyHL+J2V0ncm5SFUS36aTVHFOwrZ6bhGwV2V33PjOMyuzk8n8vb2diK/p0ELUyd4OYQGZz8B8uTJN+Kmni7/Ayq+7rmYi4+Fe0tEEK5OrkU3hWyOG/pq8ESw+zxAgVtgWclus5niFV3peLul5fyZSGoaCUO1QUGe8djAM1X+4ZfhExk5qX3sQbvkpFiB55R6ybXIJ9GLQB+cF8OpxZ6KX2q8XDdjlrh2K7q9xgOF2L8ayL/5an2mog9f33U5D38A+MOX6rMAHj6cdyDkRu9wBqa2sbf3UqTbrx4Nnz5eoi3PiP3N8ZzP4uIH3cyjt9qc23l4+ktgHjX/lRQNB/9vlXm+8+SB6hlQcpoIs93+A3jPNso= +api: {"operationId":"getCollection","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a Collection object with the given id.\n","tags":["Collections"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"collection_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"CollectionData","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Q1 Platform"},"description":{"type":"string","nullable":true,"example":"For tracking all tasks related to Platform for Q1"},"collection_type":{"type":"string","nullable":true,"example":"LIST"},"parent_collection":{"type":"string","nullable":true,"example":"681b0fd7-40e6-4b91-8e23-2814872090be"},"access_level":{"type":"string","nullable":true,"example":"PUBLIC"}},"required":["name"],"title":"collection"}}}}},"method":"get","path":"/collections/{collection_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get collection","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a Collection object with the given id.\n","type":"text/plain"},"url":{"path":["collections",":collection_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"collection_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-contact.api.mdx b/docs/docs/api/v2/ticketing/get-contact.api.mdx index adcc9ecc4f..5f043cf5bc 100644 --- a/docs/docs/api/v2/ticketing/get-contact.api.mdx +++ b/docs/docs/api/v2/ticketing/get-contact.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get contact" hide_title: true hide_table_of_contents: true -api: eJzVVttuGzcQ/RV2+2IDXkm+RJaEooibGIGRPgSOXaOQDJvijiTGu+SGF8mCsP/emb1pZcmG4/Sh9YMskcOZM4dnZrgKdAqGO6nVRRQMgim4D1o5LlxwEERghZEpbeLWYDBQ2sFIXc2kZRPgzhtg+FWreMn4nMuYj2NcUeyLgbmEBXOaWYhBOCa8dToBQ9ZMe8POlQOTGmmBpTFXLTYs4zJvb/cSdOb0wAFP3luf8mnsoSV0ss8m2rBEU2CFX5MceWukENxIjdQlIChlGWeVNz3+RvEX0s2YmwGbyjkoJiM8gxk6PrXBYBiU1ja4PQgsCG+kW+L6KngMeSrDB6BftxnuptzwBBC7zfcV/kBupBKxj+DO8MVdxB1H15I4++7BLPGHFTNIeDBYBW6Z0oGx1jFwggCPPEljXHPGQ/aU9JsZIGpDTJYxGMZgFAOvwKHbiE2MTvLcjk3EEJ9bstTouYzAtILsoAb5GFa3EMqoQjgDjna7IFpnpJo2E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ubUfybD9IX6Hz6sF5zefATwJ8+Ql8E8PRNvAGhMDrDoZe6xt7WU5Cuvn4ffDq/QlvuSfTNeVwM3/IL3czOK20O6iI8fRKYnea/UQvDSf97bV7sPHugnvuVoEkwWfYPw3IkbA== +api: {"operationId":"getContact","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a Contact object with the given id.\n","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"ContactData","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Cousin Greg"},"email_address":{"type":"string","example":"greg@waystar-royco.com"},"phone_number":{"type":"string","nullable":true,"example":"5108890293"},"details":{"type":"string","nullable":true,"example":"Executive Assistant to Tom Wambsgans"},"account":{"type":"string","nullable":true,"example":"8998e1ed-1c76-4b64-9097-9d37ee88bf6f"}},"required":["name","email_address"],"title":"contact"}}}}},"method":"get","path":"/contacts/{contact_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get contact","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a Contact object with the given id.\n","type":"text/plain"},"url":{"path":["contacts",":contact_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"contact_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-tag.api.mdx b/docs/docs/api/v2/ticketing/get-tag.api.mdx index 1993e04c78..5ca3d90b81 100644 --- a/docs/docs/api/v2/ticketing/get-tag.api.mdx +++ b/docs/docs/api/v2/ticketing/get-tag.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get tag" hide_title: true hide_table_of_contents: true -api: eJzVVm1v2zYQ/iuc9iUGIslNsyAzhmHdWhTB+qFInRWDbSRn6WyzkUiVpOwYhv/77kRJlu0k6Ms+bPkQ2+SRz3PPvfA2gS7QgJNaXaXBIJijG8I8OA1StImRBW/Q8mAwUNrhWA0X0ooZgisNCvqqVbYWsASZwTSjFSXeG1xKXAmnhcUMEyeS0jqdo2FroUsj3iiHpjDSoigyUJEY/aGVAzIt7eQkp8ucHjiE/DdbFjDPSowSnffETBuRawZW9DWvWEdjReTGaqyukUgpK0CQB0JPPzH2SrqFcAsUc7lEJWRK9uSdg7kNBqNgyJ+T08BiUhrp1rS2CR5CKGR4j/xrsqXdAgzkSJxtta/oB2kiVZKVKd4aWN2m4ICulazV5xLNmn7YZIE5BINN4NYFH5hqnSEwPD5AXmS05kyJ20OxPy6QGBtWsMYQhCEYg6R3dG0qZkbnlV8vTSqIn1uLwuilTNFEwfa0JfkQNuqHMm0YLhDI7jGK1hmp5l2GQb7eXfEiOCI7JA7Nvrh6TZyAwqgkqUCZQXyUkzOJtiLbGlKerDkToCgymVSBJFCDn0tpMG106XjROBdWK9/ih4UMLaVNgo870SCIGuFJMpQ7tzstC3CLI+svY9Q/++kymSYX4UX/rB+ev+xDeHl+iSHADJIppLNzIK6cgAZtoZVFyxee9fv8ceABzF/7HEyolEh0NumoG3+ybLc5JuYLhQ6SANQKnPQo3tnn6A9lco+OVsWr91fEsyvCyJ8n6k66rFaNbLZsRqW00HWzYVxWcBDEXJPxxqu75aCiWTYlV5qM4+1cYQdxTOUZtZ1B6tg1TOLl2VHr+lAbepadWv/ASnhnOxXfekwrfyLXcZuDjc1h9u3jEYwgK65eyDJNdYtLzFhaW60lCVpfDY1s3M0YmL31d/SjFxfRz8FOvRvFRZSKPc3FSd1re3XYqYPuQtc6zkHjnkpLqU7sXk+lvX1p9zaP6uS//wz8SH/iSjmj0zLhDX4ZPmJGB5G5sO6NmJWEraI9QeqUOZWOv1D8rUuRgCIydJL9ZXu6YkXJU98lTRruN18bMeDoL3adMHNy1VdcxboFm5w0gnNIoq5/MWnh2K/Ynw/9ebvL8l4F8cPoulSV0tq6HNTuSlOqqKA1xbUxLZ0jb+xy3ttZrFarqPDHKsgGP15pc28LSLBdCotySk0k1pSdVa4xeKXy72CrHBY31+/G6u7ubqy+pEBrU06umkInZ9+iE+54/tjsutr/IAe/chTx7cbhg+PQy0qZqig3dWsc+XHllN4W//RQE1uQdLyz2UwpDDcm22552c8e3DFTaVkGarMzyCw+I+h3jxtP+FC108empCVwVxoEVTdegpFM9CtJn1zXb01PPIXf9HG17mI2vGoptxOyrDv5NzP4N2egZ6Q8nOV2Op5+B/HDuedZAodj2B4Fb/SKHrjCdfaOphAOezsDvH0zJFsoOdG7b69/aOsvHJlHw9l9lD08/2cyj5r/wu2KXvVfW3O/8+SB9o1vkpkTZrv9B9TBlfs= +api: {"operationId":"getTag","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a Tag object with the given id.\n","tags":["Tags"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"tag_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"TagData","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"Ticketing API"}},"required":["name"],"title":"tag"}}}}},"method":"get","path":"/tags/{tag_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get tag","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a Tag object with the given id.\n","type":"text/plain"},"url":{"path":["tags",":tag_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"tag_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-team.api.mdx b/docs/docs/api/v2/ticketing/get-team.api.mdx index b1820828c1..297d9c3178 100644 --- a/docs/docs/api/v2/ticketing/get-team.api.mdx +++ b/docs/docs/api/v2/ticketing/get-team.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get team" hide_title: true hide_table_of_contents: true -api: eJzVVttuGzcQ/RV2+2IB3pXiuIa7KIqmTRAYzYPhyA0KSbCp3ZHEeJfc8CJZEPbfO8O9aHWxkTh9aPVgS+SQc+bMzBluAlWA5lYoeZUGcTAHOwSeB6dBCibRoqAdXI/jWCoLYzlcCMNmwK3TwPCrktma8SUXGZ9muCLZtYalgBWzihnIILEsccaqHDRZM+U0eyct6EILA6zIuIzY6A8lLUdTZyYnOV5mVWwRx2/GFXyeOYgSlffYTGmWK3Is8WvuYUdjieDGcixvAEFJw7hkFANT08/kfSXsgtkFsLlYgmQixRMYn+VzE8SjgExNMDkNDCROC7vGxU3wGPJChA9AvyYl7hZc8xwQtvH7En8gLUImmUvhTvPVXcotx3sF0fXFgV7jD5MsIOdBvAnsuqADU6Uy4OQfHnleZLhmtYNyn+9PC0DImkisfTD0wcgHsm/x2pTNtMp9YK91yhCfXbNCq6VIQUdBedqCfAybBIQibRAugKPdMYjGaiHnXYRBvt5e8So4ADtEDM0+u3qLmDhmUgpkAYsD8UgrZgKMB9saYqmsqRh4UWQi8blEpxq+OKEhbXjpRNEEF/qVl8RheAYGKyeB40E0Hljt4UkwVJt3WzILbhcH5l8HaXD202UyTS7Ci8HZIDx/PeDh5fklhJzPeDLl6eycI1iqQA2mUNKAoQvPBgP6txcConpbVWGC/YS0k02H3/5nQ4abQ2RVr+BBpAAFwYrKTRXuIX7pMt/vTaTbeK4zbqk3K4K34F5yB3Zyyq4wkHmlUMb3NbLRpXpUgZyU9DkNsEcXqlYyCocyEwd9Spjpb+q8lVQvoJdNNzudUSlZW5i438fOj1rdEapvRfIAFkH3l2cHwvixNmRvrq+CsiMjH4niisWOmLQ04MqfQBLRlndjs1/Yu/7QDUMrEgaeZQolAZaQUc6MX0sSMFWjeUAl3TZT5Jiire4YRK8uop9JA4X1hN9K6s+UDZtI6TA7qZW8V9cT6vO2JtrAqZpJsXEpVYnZUWzc26V2Z/OgBf/7Q+ZH/FBFapW6hDZo7nyCDA8CYSHeGzI9hS2jPYbsuBx7srqQ/a0cS3BUOcRnKV6yxytWWDz1XUKn4a6um4gcjv6i0NFnjqFWrexRt84mJw3hlJKoG1+/qJurX50Pq/NmW+U97+KH0Y2TnmllbM7l9krtZFTgmqTemDprMRqznPe2FqvVKiqqY95l47+/UvrBFDyBdiks3BTVqa+wOn2tkXPP8u/c+BpmtzcfxvL+/n4sv6ZBa1MqrhpCp2bfg2X2yPNms9XL/0ERfvNLp1IcC4+Wsi88Ob4vN7U+jvxAM2gbN5MNlWyB/NHeZjPFXNzqrCxpuXrbkGymwhAVqLYznhl4htTvfs48EYXX1GOvsCUnaYoDL8lLrkU1ab4J9MlNPWR67Cn/jZjLdddng6vhspygaa3nL4bwbz6ynuFy/7G4JfL0O4DvP6yeBbD/ztuBUBm9wTFX2M7ewSOH8t6+Bd6/G6Itd1Tr3Qlcjdv6C2XmaD67o7lyT38JzFHzX0i0cLb/2ppXO08eaCd9U81UMGX5D62Du8g= +api: {"operationId":"getTeam","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Team object with the given id.\n","tags":["Teams"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"team_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"TeamData","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Platform"},"decription":{"type":"string","nullable":true,"example":"Platform and Integrations Team"}},"required":["name"]}}}}},"method":"get","path":"/teams/{team_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get team","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Team object with the given id.\n","type":"text/plain"},"url":{"path":["teams",":team_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"team_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-ticket.api.mdx b/docs/docs/api/v2/ticketing/get-ticket.api.mdx index 689769ff39..5023b59379 100644 --- a/docs/docs/api/v2/ticketing/get-ticket.api.mdx +++ b/docs/docs/api/v2/ticketing/get-ticket.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get ticket" hide_title: true hide_table_of_contents: true -api: eJzVV22P2zYM/iuq92E9oMqL7bxi2FtbtIcNW9FeV2x3h6ssyxettuRKctLgkP8+UrKT3Fva3fZhK4o2lijyIUU+pK4iXQvDnNTqOI/m0aVwJ5J/EC56EuXCciNr3IOd+XyutBNn6mQhLSkEc40RBH5qVa4JWzJZsqyEFUVeGbGUYkWcJlaUgjvCG+t0JQxKE90Y8lw5YWojrSB1yVSPnD7VyjEQbez54wqUOT13glXf26Zml2UjelxXR6TQhlQaDSv4WXngvTMF4M7UmXotAJSyhCkSvCA6+xPtr6RbELcQ5F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PEGKTfQ3t6AsbvmWv4k8J63La+TudnsrtsDMwSkcFhgZalhTBBLUSKHW7/GubCh+XpAG9RWaDSM3gYdg95w3JtFuzC+Vdiz83acQtZAM4/bCe8oulZELeDOcbw+nORgKdfcXpvkYO96aK9t3mrL//3h8yv4Q46VMzpvPH3iPPpOlHBQIBaMexdMH8JtRI8IRKepoGSDQvI7kDkHUm8An0N/UR5UrCB5Wl1QXPT6rGd7aPD0N3QdbFbgamjtHvXW2PnjLuB4Jb19//oQC4d+9cN5Gs7bXZYfeROPTl83ykdaW1cxtVNpGtWrYU1hbWSNc+CNXV4e7SRWq1WvDse8yc5+f6XNB1szLrZLtG4ymFb6GrLT5xoa91H+EdscxuTt65/P1Pv378/UlxRoK+oZJ0DYy9kX8FZwdz58rnYT1P8gDR/wBgqs48QnhxkgfYBang88edqSqQXp+W7mBUZbQBxx/+oqgzt5a8rNBpfDuwfpM5cWAwLMW7DSigOh/cdPnXs88dx61wttyZCi5pGn5iUzMkyxfwv049dtLzoi99nvSF2t9212uHbR3JyDcMvsDwbxbz7BDkTz5lNyF8on/wD4zWfXQQA3X4HXIAShH6Dh1W5v79bzB29+Oxm8eH4CsqzBjN/vxaHxtj/wZu680f0mHczjvwjmTvFvkL6gy3+7FQ879x7Y9vwunzFhNpu/AOTaDr4= +api: {"operationId":"getTicket","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Ticket object with the given id.\n","tags":["Tickets"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"TicketData","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Please add more integrations"},"assignees":{"type":"array","items":{"type":"string","example":"17a54124-287f-494d-965e-3c5b330c9a68"}},"creator":{"type":"string","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"due_date":{"type":"string","example":"2022-10-11T00:00:00Z"},"status":{"type":"string","example":"OPEN"},"description":{"type":"string","example":"Can you please add more integrations? It'll make syncing data much easier!"},"collections":{"type":"array","items":{"type":"string","example":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d"}},"ticket_type":{"type":"string","example":"incident"},"account":{"type":"string","example":"0958cbc6-6040-430a-848e-aafacbadf4ae"},"contact":{"type":"string","example":"65c345ba-6870-4974-87ba-dd31509c367a"},"parent_ticket":{"type":"string","example":"75b33d04-30d2-4f3e-be45-27838bc94342"},"tags":{"type":"array","items":{"type":"string","example":"enterprise"}},"completed_at":{"type":"string","example":"2021-12-09T00:00:00Z"},"ticket_url":{"type":"string","example":"https://thirdpartysoftware.com/project/3/issue/1"},"priority":{"type":"string","example":"HIGH"}},"required":["name","creator"],"title":"ticket"}}}}},"method":"get","path":"/tickets/{ticket_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get ticket","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns an Ticket object with the given id.\n","type":"text/plain"},"url":{"path":["tickets",":ticket_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"ticket_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/get-user.api.mdx b/docs/docs/api/v2/ticketing/get-user.api.mdx index 67fee400bd..6274aa82a6 100644 --- a/docs/docs/api/v2/ticketing/get-user.api.mdx +++ b/docs/docs/api/v2/ticketing/get-user.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "Get user" hide_title: true hide_table_of_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UIVG++3hAJC2cH+SYos3v6HVOzzsXQU3gjaSmFbPrMlI6zE6K6dYqigyJrwulCrxMEi7FKrL7ym4fUHso++9t8P6If+xSOqPiLKINmsUfIcGDQFiI95JMT2HFaIshO1mKjSq/kP2rMhZxiWDwJMVL9njFGsVT3CVMHO4PO9shh+N/KHT0mWKoeX/zqCtntycl4ZSSTjO+LnLhKK5ufj7Mz9ta5S3v4ofxVSY908q6lMv6SpPJjsY1SbUxy5zDaOxq0aot1ut1R+fHvMvSf3etzL3VPIJqKdTZDFt2V6E6vdbIuWf5N269htnN1d8TeXd3N5FfUqCFKYmrgNDQ7Dug5B9X1bYeIt+BCF/6+ssbjoMHR8kXnhtfltuiPY59B6X2OiqnPTayJdJHe9vtDFNxY5Ldjpbz9x51zVhYYiKuZsqTnH7zE++JKHxLfexluuLUmUaB78grbkQ+nV4E+uSqGEct9pT/spfLTdNniavkcneLpkU7/2oI/+fD8xkuDx/QNZHtbwB++Nh8FsDh23cPQm70Gqecdo29o4cf5b16Crx7e422PCOtNwdwPm2LL5SZR/PZnMy5e/okMI+a/0w9C0f7L5V5vvPkgWrQl2omwex2/wHrmReN +api: {"operationId":"getUser","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a User object with the given id.\n","tags":["Users"],"security":[{"x-api-key":[]}],"parameters":[{"name":"include_raw_data","in":"query","schema":{"type":"boolean","example":true},"description":"Whether to include raw data fetched from the 3rd party provider."},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"UserData","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Hil Feig"},"email_address":{"type":"string","example":"help@supaglue.com"},"is_active":{"type":"boolean","example":false},"teams":{"type":"array","items":{"type":"string","nullable":false,"example":"681b0fd7-40e6-4b91-8e23-2814872090be"}},"avatar":{"type":"string","nullable":true,"example":"https://supaglue.io/user_profile_pic.png"}},"required":["name","email_address","is_active"],"title":"user"}}}}},"method":"get","path":"/users/{user_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Get user","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a User object with the given id.\n","type":"text/plain"},"url":{"path":["users",":user_id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Whether to include raw data fetched from the 3rd party provider.","type":"text/plain"},"key":"include_raw_data","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"user_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-accounts.api.mdx b/docs/docs/api/v2/ticketing/list-accounts.api.mdx index 250571242b..2ecb239220 100644 --- a/docs/docs/api/v2/ticketing/list-accounts.api.mdx +++ b/docs/docs/api/v2/ticketing/list-accounts.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List accounts" hide_title: true hide_table_of_contents: true -api: eJzVV21zGjcQ/ivq9Ys9Y17dZCZM06ljPCmOobED9oBhEvlOgPCddJF0wJnhv3dXAu4Mjos9+dB6bMxJK+2zz77ewpMxU9RwKRqBV/NCrs2J78tEGO0deQHTvuIxbsNmrVYT0rC+aI+5JkNGTaIYga9ShCmhU8pDehfCiiCfFZtyNiNGEs1C5hviJ9rIiCmUJjJR5EwYpmLFNSNxSEWR3J5KYSiIJnpwEMFlRtYMo9GfOonpKExY0ZfRIRlKRSKJigV8jSz2Yl8AuL7oiysGoIQmlKApRA7Jyhwi7yaAQ4MoGGboSHu1W29j6+DI08xPFDcprC+8eYHGvHDP8GmwhN2YKhoxgKztvoAHoCSSAR9yFnylQ9iCizkS9T1hKoUH7Y9ZRL3awjNpjOLaKC5GsOOQw0pADSsYDpcdeWxOozhEuWq5elwoVwvV43a5XLO/xXK53POW2z5pDEms5JQH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EnBh0K6SO19w53UW5YdWxS+3V4mwTEttIiqyK1UiijGsCcyNu8QYsEZPR4eZxGw2K8bumFW51l+aSXWvY+qzzVIhTu6gT5UkRKeNNVRuWf5AtY1h0rm66Itv3771xT4JuhK1DcFByMXsBY7C9Adj/SJrn/+DSNx/wnf1xkBjQd9zS43NysWqLN56NDf9j4E1XFss7sADHRUul7jshk4slgHXaDsU1yENNXuGxZ8wk/8Av62luy8dbhqteXYg3R/ny2fzZ2HlXx5eiei5YftZ3Zs3hUzxAB8Ud43+FgeKVWt5mTMPrla995D8zBH8GVu2XyVeyeUW8O2x+1kA228BjyA4IUg6Fpvc3s7kjR7YzCMfz9ogSxNMvPww4Dr/6gt6Zr0l0tzd+SnBqcdPBPOk+O9YP2HM+GMjnr2vPXlgM3Q4aSQDJ6p/AKZy7w8= +api: {"operationId":"listAccounts","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Account objects.\n","tags":["Accounts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"AccountsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Waystar Royco"},"domains":{"type":"array","items":{"type":"string","example":"waystar-royco.com"}}},"required":["name","domains"],"title":"account"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/accounts","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List accounts","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Account objects.\n","type":"text/plain"},"url":{"path":["accounts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-attachments.api.mdx b/docs/docs/api/v2/ticketing/list-attachments.api.mdx index a9191367ac..d8f4291394 100644 --- a/docs/docs/api/v2/ticketing/list-attachments.api.mdx +++ b/docs/docs/api/v2/ticketing/list-attachments.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List attachments" hide_title: true hide_table_of_contents: true -api: eJzVV21T2zgQ/is63xeYwYnzRiFzvTkKnV4oyRWawPCSoYqtEAVbciU5iWHy329XzosTaApMP9wxEGJrtfvss6vd1aMjY6ao4VI0AqfuhFybA2OoP4iYMNrZcQKmfcVjlID1er0upGE3oj3gmvQZNYliBL5KEaaEjigPaS+EN4J8UWzE2ZgYSTQLmW+In2gjI6ZQmshEkY/CMBUrrhmJQyoK5PpQCjBuSKK7WxEoM7JuGI3+0klM78KEFXwZbZO+VCSSaFjA18jCL9wIAHcjbsQZA1BCE0rQGyL7ZOkRkb0hQNEgD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BZTEDCxwUR+UnQ87XmSA5+NJwprmB4CsWjyyfcmPBMiVj/plhTi6K6FxmvXyuFbEvDQJS2BBpGMoxCdiIhZi9tklS32c6K+cW0BS19SUaRm8zHV6htFvYt2EwNp4dkTX69txT3Ey2ZlPZ9iw4MGvZCpYBnjuOiYHTF44l0tcr0xeGcYXalcUnhf6/PzD+Dj+kIYySQeLjAs6QFyyEjQyxIO9zMi2FC0a3CbCTYPJlCsmlTIhPBYBh2WiF8qBiDMkz08VV4MIEadJF+8NZ9EZcn6PrYDMCV7MmZVEvjHW35oRjSAp5/4rAhUG/itl+N9uvl1m+bU38dn2WCMu01CaiYqlSJaIQwzuBZ6OXGAPe6NHd9lJiPB4X4mybNTm3XxxLda9j6rPFKzdOetB3ixKy0+YaGrcsf6Da5jDpnJ3ciG/fvt2IlxzQmahtcBmEXM6e4IxPf3xleVxOBP+DZHzV7SWrOgbaJWYAtwTNuktWH68dunqzGQB9+PrxsQeh6KhwOsXX2UCNVTPgGhmAQtunoWYbuPwF940fuGCL6tMLVTZp1x07bL8c5+vvHRth5S9Gb0S06SKx0fbiFrQ03MUHxbO57honpVmPeV0wt85mfXib/MrrxQZf1q9Jb+RyDfj6lWIjgPUbzgqETOgAWm9scmtPrhQYgcVs8uljG2RpgmcvPxVkI8DsC0ZmviTSnO78uJCZx08E86z4H1hIYd74cyG+vIs+u2ExfWTSSAZOV/8CTUk5SQ== +api: {"operationId":"listAttachments","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Attachment objects.\n","tags":["Attachments"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"AttachmentsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"file_name":{"type":"string","example":"Screenshot.png"},"ticket":{"type":"string","example":"0958cbc6-6040-430a-848e-aafacbadf4ae"},"file_url":{"type":"string","example":"http://alturl.com/p749b"},"content_type":{"type":"string","example":"jpeg"},"uploaded_by":{"type":"string","example":"28b54125-287f-494d-965e-3c5b330c9a68"}},"required":["file_name","ticket","file_url","content_type","uploaded_by"]}}},"required":["pagination","records"]}}}}},"method":"get","path":"/attachments","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List attachments","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Attachment objects.\n","type":"text/plain"},"url":{"path":["attachments"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-collection-users.api.mdx b/docs/docs/api/v2/ticketing/list-collection-users.api.mdx index 927ea783bc..e7316c49d3 100644 --- a/docs/docs/api/v2/ticketing/list-collection-users.api.mdx +++ b/docs/docs/api/v2/ticketing/list-collection-users.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List collection users" hide_title: true hide_table_of_contents: true -api: eJzVV21T4kgQ/itzuS9SZSAgukrdXp2r3i6ucKsLWqIWOyQDDCYz2cyEFyn++3VPgERAD639cta6QtIz/fTT71NLhiyimktR9ayK5XOlT6TvMxcfNRWLlLVreUy5EQ/xEchUKhUhNbsXjT5XpMuojiNG4KMU/oTQIeU+7fjwRJBvERtyNiJaEsXwUuLGSssArgVpIuOInAnNojDiipHQpyJP7k6k0BREY/WwE8BlWlY0o8FfKg5pz49Z3pVBjnRlRAKJigV8DIwJ+XsB4O7FvbhiAEooQglaRGSXoC1EdgYAQoEcWKVpT1mVOyu1V1kPu5ZibhxxPYFXU2ts05Dbjwy/PczgbUgjGjCNvOB7AV+AkkB6vMuZ16ZdeAV3cyTqZ8yiCXxRbp8F1KpMLT0JUVzpiIsevEmQwxOPamZrDpftWmxMg9BHuZJT2rOdkl3aazhOxfzLO47TsmarPql2SRjJIfeYt0tG3PcTZ0SGhoXZZAGTGJhEo/9Qs1E8212aAzyztuJPbHtLUtDF0t46vnocdJD/LkBSsQ9YICTm6CAACWrMk50aHVdIEUzMZeGAP5R8A6spFvfUmdROq+OLxjH+lr4+HT+dN+qfaoNLv+acFWuTslN7unyqDW792mN1VDtpPl02jkfrBjT6DEFyYQKNJJDIkEI8ZqGO7UWA29xbIO4z6pmo2AZyMEmvKG7GsXhPqqfgQwqZIjiwAv4G/wuNLgZ+s4KQihNMNhqGPneNCaA0Yj9jHjHIex3F7JkV82CKbPPkPXYo6jMF8e2yF8icayBzDS+CgYwDo9opnSHV/bUD24FySvuHbsc9sA+ckmOX9xxqH5YPmU1pl7od6nXLFOBinkOYhlAQmMILS46Df54bsVImT6mmoMuF4gVwUTxDdmGg8Mx0HWSSmnAQ+IBE0DzRmIbaf8sKNtabzBaxbwrxg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KuwstveOxG9th29qnu52qWKH/BLxJOO/yb/7VzNG3SOvKR10erEJKszZWIRYDOc+ub97t0gfuWu9gqHqzvnO324Anx1P3sVwOq6+AxCInQMY0CoM+/W1iP0/HJy+nzWAFkaYyHITijJODL/gJ7Z6NHs6JKox/8RzEbxP7Cow+zz51I8Xew3HlhOQok0koGz379vIqqz +api: {"operationId":"listCollectionUsers","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of User objects.\n","tags":["Collections"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"parent_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"responses":{"200":{"description":"CollectionUsersData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Hil Feig"},"email_address":{"type":"string","example":"help@supaglue.com"},"is_active":{"type":"boolean","example":false},"teams":{"type":"array","items":{"type":"string","nullable":false,"example":"681b0fd7-40e6-4b91-8e23-2814872090be"}},"avatar":{"type":"string","nullable":true,"example":"https://supaglue.io/user_profile_pic.png"}},"required":["name","email_address","is_active"],"title":"user"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/collections/{parent_id}/users","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List collection users","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of User objects.\n","type":"text/plain"},"url":{"path":["collections",":parent_id","users"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"parent_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-collections.api.mdx b/docs/docs/api/v2/ticketing/list-collections.api.mdx index e2c0a18319..dd56fe1223 100644 --- a/docs/docs/api/v2/ticketing/list-collections.api.mdx +++ b/docs/docs/api/v2/ticketing/list-collections.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List collections" hide_title: true hide_table_of_contents: true -api: eJzVV21T4kgQ/itzuS9aJRDQdZW6vTrfbg8XOHFBS9Ryh2SQwWQmOzPhRYr/ft0TIAFcT6z9cGetbjLT6X76vXviyIgpargUFd8pOwHX5kQGAfPwSDs7js+0p3iEr3BfLpeFNOxONHtcky6jJlaMwKMUwZjQAeUB7QRwIsiFYgPOhsRIohkyJF6sjQyZQmoiY0XOhGEqUlwzEgVU5MntiRSGAmms77dCYGZk2TAa/qHjiD4GMct7MtwmXalIKFGwgMfQws/fCQB3J+7EJQNQQhNKUBsiuyTViMhOH540UINuhj5qp3zrZDW+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Ks1d1keiCFAhfEDQSWHxEf7Y8jbzpo4xfYAC2iK3LoSBaO2CQ83X9zPHzqppVsimQ6ac03xY7I1G+W2Z+UVBrQ0pRaKY1bjyIazjPT00sgGd8umXbpc6w7//SnzV/ghFWGU9GMbSTh4XrMAPmSIBe0+N6Y14cKi2wSsE4eQmAlDciNj4lEBYFgyjyE9sBhC8Mx4ceXnIJnNeNEzcYC9E7dXqDrIDEHVpLNZ1Ath91tzg6NL8ln9CtGs6hSS73PJ9zqN8m0r4pfby1hYS0ttQipSlioW+QjOBOZGJzYGtNGDx+2UYjgc5qPkMytyLr8wlOpJR9Rji6NcFHegWRckRKeNNRRurXxMtY1h0rqs3olv377dibck6IzU1sEEQiZmq7gYeD/ecybpGPE/CMaNVp6k6hjosRgB3BrI5uZkVh9vHW95HeqB+fB4MumAK1oqmE7xOJnCsWr6XKMFoNB2aaDZK7b8CUvKD1SwRXV9C0vG87JjJ/S349x8WXkVVnabeiei17aPV2UvVqdU8D2+KJ705Fscr2Y9ZjNnbl3O+vA2+Zk7ySu6rO5W77TlCvDVPeRVAKtr0RKEhOgIWm9kMndrewh6YDGbfD5rAi2NMfeyU0EyAswe0DPzKzHO8M6OC4l4/ItgXiT/DQspzBu/L8jTBfbFDxbTR0KNxsDp6h9A0E6c +api: {"operationId":"listCollections","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Collection objects.\n","tags":["Collections"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"CollectionsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Q1 Platform"},"description":{"type":"string","nullable":true,"example":"For tracking all tasks related to Platform for Q1"},"collection_type":{"type":"string","nullable":true,"example":"LIST"},"parent_collection":{"type":"string","nullable":true,"example":"681b0fd7-40e6-4b91-8e23-2814872090be"},"access_level":{"type":"string","nullable":true,"example":"PUBLIC"}},"required":["name"],"title":"collection"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/collections","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List collections","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Collection objects.\n","type":"text/plain"},"url":{"path":["collections"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-comments.api.mdx b/docs/docs/api/v2/ticketing/list-comments.api.mdx index c2d6a06903..4db90a51fd 100644 --- a/docs/docs/api/v2/ticketing/list-comments.api.mdx +++ b/docs/docs/api/v2/ticketing/list-comments.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List comments" hide_title: true hide_table_of_contents: true -api: eJzVV3tT2zgQ/yo63z8wg/MOhEzbOwpML5TkCg0wPDJUlhWiYEuuJScEJt/9duU4cQKlwHRu7phCbWm9+9v37oOjIh5TI5Rs+U7TCYQ2uyoMuTTa2XB8rlksIryGy2azKZXhV7I7EJr0OTVJzAk8KhlMCB1REVAvgBNJvsR8JPiYGEU0DzgzhCXaqJDHSE1UEpN9aXgcxUJzEgVUFsjlrpKGAmmie2shMDOqaTgN/9RJRG+ChBeYCtdJX8UkVChYwmNosReuJIC7klfymAMoqQklqApRfTJThyhvCDg0kIJiht5op3npzHXtbTiasyQWZgLnD86dSyPh3nJ8603hNqIxDTlA1vZewguYJFS+6AvuX9M+XAFjgYb6nvB4Ai+aDXhIneaDYyYRkmsTC3kDNylyOPGp4a4RwGzD4Xc0jAKkq5QqVbdUcSvVbqnUtP8KpVLpwpmu+qTVJ1GsRsLn/gYZiyBInRFbM2Q6kwwmsTCJQf+hZCt4ujFXB+zMr7W45y/XZAG6XKk+xtdJQg8kgh9irpMAsEBIzNBB5BGUWCBrbXrXJGVQcT0PB/yh1SususDC9kqT9l7r7rC7g7+Vz/c79wfdzsf28Chol/bL7Umt1L4/um8Pz4P2bWvc3j25P+rujB8r0B1wBCmkDTSSQiIjCvGYh3rnZgHuCj9DPODUt1HxEsjhZMGi/DSO7J609sCHFDJFCrAK+Bv8Lw26GOybJ4RUnGCy0SgKBLMqgNCYf09EzCHhTZzwJS1mwRS79uQtemgacA3xzfgPjDmTQGYSVsD08ERHSmquUVClVML/lvlkabtHDQUWDAoHvCJdTtHiUCPxw2PUaVrAh4AFgtCIVNTCzT+nlfzOPGUHmQS2CKba5O3CJwfRxW5rszU8mnS6rH4xZPeH3ZsyhKTp7J1U27ul+vnwvHp4djo8D4+q7b2DYSds3XV2W7olDwI/PJ2wyon4O7wYeH91gv7R+/do4QhLrUr0W9F8HF7sDcLz8OL28Oyk3gkRzf74At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NWF6FkAq/vZEoSUaAc6bmRyd492IvTAfB75tN8FWppg4uWHgbTzzx7QM9mVnOR456eEVDz+RTBPkr/D+gljxoc5+WKTfvKD+dCRUqMxcKL6ByMJcuw= +api: {"operationId":"listComments","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Comment objects.\n","tags":["Comments"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"CommentsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"user":{"type":"string","example":"17a54124-287f-494d-965e-3c5b330c9a68"},"contact":{"type":"string","example":"dde3fb16-b8eb-483d-81c4-b78100816f15"},"body":{"type":"string","nullable":true,"example":"When will these integrations be done? You all should use Supaglue."},"html_body":{"type":"string","nullable":true,"example":"When will these integrations be done? You all should use Supaglue."},"ticket":{"type":"string","nullable":true,"example":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d"},"is_private":{"type":"boolean","example":true}},"required":["user","body","ticket","is_private"],"title":"comment"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/comments","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List comments","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Comment objects.\n","type":"text/plain"},"url":{"path":["comments"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-contacts.api.mdx b/docs/docs/api/v2/ticketing/list-contacts.api.mdx index f9d2532a53..2769a15091 100644 --- a/docs/docs/api/v2/ticketing/list-contacts.api.mdx +++ b/docs/docs/api/v2/ticketing/list-contacts.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List contacts" hide_title: true hide_table_of_contents: true -api: eJzVV/9TGjkU/1dye7/ojMCC1QpzvalVp4cVrlrQEWVs2A0Q3E22SRZYHf73ey+7wALWU6c/3HVa6yYveZ/3eV/z6MiIKWq4FHXfqTkB1+ZICkM9o50dx2faUzzCbdis1WpCGnYrWkOuSZ9REytG4FcpgoTQMeUB7QWwIshXxcacTYiRRLOAeYZ4sTYyZAqliYwVORGGqUhxzUgUUFEkN5liEuvuVgiXGVkzjIYfdRzRQRCzoifDbdKXioQSFQv4NbTYi7cCwN2KW3HBAJTQhBI0hcg+md8qeyPAoUEUDDN0oJ3ajbOwtbvjaObFipsE1h+daYFGvHDP8Ks7g92IKhoygKztvoAPoCSUPu9z5t/RPmzBxRyJ+hEzlcCH9oYspE7t0TFJhOLaKC4GsJMihxWfGlYwHC7bcdiUhlGAchW3sltwK4XKbst1a/Zv0XXdjjNb90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leEM9lapXdnc6Ab//Xnyd/hD6sIo6ccebuCIecUCOMgQC/I+J9NSuGB0mwA7cQhdKb2QXMuYeFQAGJbOXygPV0wgeLK7uPILMGaaZNEjcVq9FTeXaDroDMHUtJlZ1Atl3a054eiSYt6+EnBh0K5Ser6QntfLKN+2Kn67uYiFZVpqE1KxvFLFohjBmsDc6MXGgDV6PNheSkwmk2KUHrMq5/pLE6nudUQ9tlgqRHEP+nNJQnTaWEPlluVPVNsYJu2Ls1vx/fv3W/GSBM1EbaFNIeRi9gyfAN5PnjOPy7HhfxCJL3/ZpPXGQENF33NLjc3Kx6ws3jhe7tUzBNZw7fGxBx5oq2A2w+V02MZi6XONtkNx7dNAs2dY/AVvkZ/gt7V087GVTuE1xw7iL8f5+jfJs7Dyj6Y3InrukfGs7sULaam4ix+Kpy37BgeprLW8zplbF1nv3Sa/8unxjC3rT6g3crkGfP258SyA9dfPCoRU6BA6bmRyexsvDvTAYh75fNICWRpj4uWHgbTzZ7+gZ+ZbIsndnZ8SUvX4E8E8Kf4H1k8YM/5ciC/fqU8eWAwdqTSSgRPVP6sZQT4= +api: {"operationId":"listContacts","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Contact objects.\n","tags":["Contacts"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"ContactsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Cousin Greg"},"email_address":{"type":"string","example":"greg@waystar-royco.com"},"phone_number":{"type":"string","nullable":true,"example":"5108890293"},"details":{"type":"string","nullable":true,"example":"Executive Assistant to Tom Wambsgans"},"account":{"type":"string","nullable":true,"example":"8998e1ed-1c76-4b64-9097-9d37ee88bf6f"}},"required":["name","email_address"],"title":"contact"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/contacts","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List contacts","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Contact objects.\n","type":"text/plain"},"url":{"path":["contacts"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-tags.api.mdx b/docs/docs/api/v2/ticketing/list-tags.api.mdx index 34ed26adfb..e9e849e6ad 100644 --- a/docs/docs/api/v2/ticketing/list-tags.api.mdx +++ b/docs/docs/api/v2/ticketing/list-tags.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List tags" hide_title: true hide_table_of_contents: true -api: eJzVV21z2jgQ/is635cwE8AhbWfKXG8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UPg91KLhxlrDsgCbDaNC0eSQB4uFNYRlMZK4R++YhUfNCB6qxm1UzdRktUtSFWGTGZPoerUKe6ey3nRcVs0KZ3VS21rFX5aGLobCEvuCde+oKKyynM2Ef2RI57rxVzabLf/YH7ghYIVDnEaRnJKQTViExNvBToOAaTeCVqTidkbHGK27w68cvKm89XJuu8Itp0cZIXtL7VBaNjkogjyx68AxpagRcJXKQD/SCHD2mNpHh1vD6b8va36HX6QhjJJhGuABKp0rFsGHDLEg7ysyLYVrRksE2EljGJTuQtKTKQmoADDMyQG0hyumUDzLu7gKy6B6TLYe2SicbsT1JYYOPmMI1c1Xi3rtbLC3IhxTUinGVwUuDMZVdd+X3fc6r/KSdfHb9UUqLNNSm5iK/EqVikoC7wT2xm1qDESjJ3el3GI6nVYS95l1ufJfnUp1rxMasPWrcpLewsqoSqhOW2vo3LL8nmpbw6R7cX4jvn37diOe06BLUzubHYRCzZ6jEjVPKOp5vsX+B1X4PHHt5oyB2Y4555YS243z5Si8dgIcZtYImMLn+fwWWO+qaLHA107v4YAMucaYYZgOaaTZDvZ+gRz+AXY7P7f1vhOCdc9qwefj/HlZvBNWUbe/ENEunbvT91qk544H+KC4Ux/XuM+X6+Tnkrl3sdy1JfIr1e+OWDZV/Au53AC+qXh3AtgU4I8gOKMj2LKJKZxtCV/MwFp/fDjtgC1NsemKAsBt++UPmJnVkcgKdxeVgXOPfyOYJ83/wJkJ0uLPtXn+X6UnP1gLDWeNZKCC+gdkMLmN +api: {"operationId":"listTags","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Tag objects.\n","tags":["Tags"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"TagsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"Ticketing API"}},"required":["name"],"title":"tag"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/tags","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List tags","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Tag objects.\n","type":"text/plain"},"url":{"path":["tags"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-teams.api.mdx b/docs/docs/api/v2/ticketing/list-teams.api.mdx index a9cbe46fce..a9e13cff60 100644 --- a/docs/docs/api/v2/ticketing/list-teams.api.mdx +++ b/docs/docs/api/v2/ticketing/list-teams.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List teams" hide_title: true hide_table_of_contents: true -api: eJz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9TtHZ86Wvt33pQrydlGlKKY/NyzSz/CRjeiXsPI5pAbrsgvbbbS95g5CRUDqEJgj11O1bUDenuUIsr/aXc7F4pYJFENBaEJjiS16xKzV1IzhoWSyZq2Zmq6bVKJCzF5jYl0tlaChFTdNlMuS4f49dAAxKk0re13+SyZITj/XvVWuO37BfHIU53rk1ksx/8TQTZuKspbZrSUP9YEaAlLYHWgYyhkJ2JSF6FDbMajvM+1qmwW0wtuGEhWjte6OcvH4bfEdtnZurDc6wnW99tpSPEwOsrHkMCseMGxsA2ZjOMYsjh/Yo6WvH4wfsPeQ2gebe1Xvvz8x/Qo/GK5KBomPGzhE3bAQDjLEgryvybQUbhg9JMBOEkEBdheSW5kQnwoAw9ycgfJwxQyCJ7uLq6AA45RJN70AR7KeuLtG00FnBKa6um1Rb5T1D9aEo0uKeftKcZZ5JXe+4M7rbZQfWhW/3F0lwjIttYmo2F6pElGMYU1gbgwSY8AaPR0dbiVms1kxdsesyrX+0kyqex1Tn22WCnEygFZUkhCdNtZQuWX5A9U2hknnqtET375964nnJGgmamu+g5CL2QYOueaxaX25bY//gzB85uDuKo2BroFe55YUm4/LrBreeWY91I+BLFxYLgdAfEeFqxUuu1kSa2TANVoNBXVIQ82e4O8njNo/AG9L6P67hBsyq56dM5+P8+Uj95Ow8u8Er0T01Az9pO7NC8BWcR8fFHft9w5HhayjvMyZB1dZvz0kP3OyfsKW3TeEV3K5A3x3mn4SwO5w/wCCEzqFRhub3N7eTI0e2MwgH8/bIEsTzLr8DOAafvYFPbPeEmnu7vxw4NTjJ4J5VPx3LJswXfyxEd++hj16YDNrOGkkA6eofwCc5dzS +api: {"operationId":"listTeams","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Team objects.\n","tags":["Teams"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"TeamsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Platform"},"decription":{"type":"string","nullable":true,"example":"Platform and Integrations Team"}},"required":["name"]}}},"required":["pagination","records"]}}}}},"method":"get","path":"/teams","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List teams","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Team objects.\n","type":"text/plain"},"url":{"path":["teams"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-tickets.api.mdx b/docs/docs/api/v2/ticketing/list-tickets.api.mdx index 89403c0daa..f79c631465 100644 --- a/docs/docs/api/v2/ticketing/list-tickets.api.mdx +++ b/docs/docs/api/v2/ticketing/list-tickets.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List tickets" hide_title: true hide_table_of_contents: true -api: eJzVWOtT20gS/1dmtR8OqpCtl591e3cEqMRZ7A2sCcWryGg0wjLSSKsZYQzl//26R34ImziE2g93VCCWpqf71+9uPxtpxnOqolT0AqNrxJFUw4jdcyWNPSPgkuVRhqdw1u12Rar4tRiOIklCTlWRcwIfUxFPCX2gUUz9GN4I8iXnDxGfEJUSyWPOFGGFVGnCc6QmaZGTI6F4nuWR5CSLqaiRq4NUKAqkhbzZSYCZSruK0+Q/ssjoXVzwGkuTXRKmOUlSFCzgY6Kh164FgLsW1+KUAyghCSWoCUlDUmpDUn8MMCRQgl6K3kmje2UsNL3ZMyRnRR6pKbx+Nh5NmkXmPcenmxmcZjSnCQfAUp8LeACDJGkQhREPbmkIR8A3QjP9VfB8Cg+SjXhCje6zoaYZkkuVR+IOTkrc8CagipsqAmZ7Bn+kSRYjnWM5rmk5puMOLaur/9Usy7o0Zuse6YUky9OHKODBHplEcVy6ItdGWKhMFjCJhkkUeg8la8GzvaU6YGV+K6Mn/nZNVqBtx93ENygSHySCF3IuixiwQEDM0UHYEZRYIzt9+tglNqi4W4UD/pDpT1h1hYUdWtP+Ye/xeLiPv87vT/tPn4eDD/3xSdy3juz+1LP6TydP/fFF3L/vTfoHZ08nw/3JpgLDEUeQkdBhRkpI5IFCNFahPpqL8DajYIF4xGmgo+ItkJPpioX9Oo7FOekdgg8p5ImIwCrgb/C/UOhisG+VEBJxiqlGsyyOmFYBhOb8ryLKOWS7ygv+Qot5MOWmfvMePSSNuYT4Zvw7xpxLIHMJa2Bu8I3MUiG5REGOZeF/a3zKrD2kigIHBlUD1Eeyip71sUTa503QZVbARYACMaiiUtLKyz+mFfxRvWYGUcS6ApbKVM3Cp5+zy4Neszc+mQ6GrHE5Zk/HwzsbIlINDs/c/oHVuBhfuMfnX8cXyYnbP/w8Hi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CwMji6pVfWrgy0U6lUv75vlfbmK8l0t4per00JoS6dSJVSsWOaFqGXwTmBu+IVSoI18uNtdUUwmk1pWXtMiF/LrkzS/lxllfPnKzAofBtN6CtGpYw2Fayt/wA6INjk7Pb4W3759uxZvSdA5qS5GJYRKzB7j4qte3+GfV+Py/0EgvnmdL6uNgjkSPR9pw8xLf1kTrwy1WvVHYDJ89fzsg/nP8ng2w9flhomVMogkag6FNaSx5Fts+Dcs4N+Brwvp5jcM5erZNfT2+XacP7+Ib4VV/abgnYi2bdZbZS+/FlgJvsGHPCrH+itcH+Z95eecuXM677u75O/ct7fosv69wTttuQZ8fcfeCmB95X8BoSTah3abqcrZxp6NHljOIh+PhkBLC8y76iRQtv35B/TM4khMK7yrI0IpHv8imFfJ/4nFE2aMfy3JV1/OvHphOXGU1GgMnKb+C3+jLFQ= +api: {"operationId":"listTickets","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Ticket objects.\n","tags":["Tickets"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"TicketsData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Please add more integrations"},"assignees":{"type":"array","items":{"type":"string","example":"17a54124-287f-494d-965e-3c5b330c9a68"}},"creator":{"type":"string","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"due_date":{"type":"string","example":"2022-10-11T00:00:00Z"},"status":{"type":"string","example":"OPEN"},"description":{"type":"string","example":"Can you please add more integrations? It'll make syncing data much easier!"},"collections":{"type":"array","items":{"type":"string","example":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d"}},"ticket_type":{"type":"string","example":"incident"},"account":{"type":"string","example":"0958cbc6-6040-430a-848e-aafacbadf4ae"},"contact":{"type":"string","example":"65c345ba-6870-4974-87ba-dd31509c367a"},"parent_ticket":{"type":"string","example":"75b33d04-30d2-4f3e-be45-27838bc94342"},"tags":{"type":"array","items":{"type":"string","example":"enterprise"}},"completed_at":{"type":"string","example":"2021-12-09T00:00:00Z"},"ticket_url":{"type":"string","example":"https://thirdpartysoftware.com/project/3/issue/1"},"priority":{"type":"string","example":"HIGH"}},"required":["name","creator"],"title":"ticket"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/tickets","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List tickets","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of Ticket objects.\n","type":"text/plain"},"url":{"path":["tickets"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/list-users.api.mdx b/docs/docs/api/v2/ticketing/list-users.api.mdx index ebc06f9def..d54c9fc7e0 100644 --- a/docs/docs/api/v2/ticketing/list-users.api.mdx +++ b/docs/docs/api/v2/ticketing/list-users.api.mdx @@ -5,7 +5,7 @@ description: ":::note" sidebar_label: "List users" hide_title: true hide_table_of_contents: true -api: eJzVV21TIjkQ/iu5uS9aJTCg6yp1e3Wueru4wq0uaIlSbpgJEMwks0kGGCn++3VneBnR9dTaL2epMJNO99NPd6c7U0/FTFPLlayFXtUT3NiWYdp4W17ITKB5jGuwUq1WpbLsRjYH3JAeozbRjMBXJUVK6IhyQbsC3kjyVbMRZ2NiFTFMsMCSIDFWRaAWpIlKNDmWlulYc8NILKgskutDJS0F0cR0NiJQZlXVMhr9ZZKY9kXCioGKNklPaRIpNCzha+SAF28kgLuRN/KcAShpCCXoB1E9gr4Q1R0CCANy4JWlfeNVr73My86WZ1iQaG5TeDn1JgUa88Idw6fODFZjqmnELMriuoQHICNSIe9xFt7SHiyBVo4U/UiYTuHBBAMWUa869Wwao7ixmss+rGSY4U1ILStYDsq2PDahUSxQruJXtgt+pVDZbvp+1f0Wfd9ve7P1aNR6JNZqxEMWbpExFyILg3YELBwmC5jEwSQWI4eWneHZ1tIdYJjdGn7PXu7JCnS5sv0YXyOJush8DyCZRAAWSIY5Okg4ghaLZKNOJ1VSBhc383AgHka9gtUVluDIT+tHtclp8wD/Kl/uD+5Pmo2P9eGZqPvH5Xq649fvz+7rwytRv6uN64et+7PmwfixA80BQ5BcuhQjGSQyopCJeaiTwiK1CzxcIB4wGrqseAnkKF2pKD+NY7FOakcQQwo1IjmwAvGG+EuLIQZ+84JQhCmWGY1jwQPnAhjV7EfCNYM6tzphD7yYJ5MuuDdv8cNQwQzkd8B+QubcAplbWAPTwTcmVtIwg4Yqvo8fD/W4mj2ilsL+AM4LcB6Fcl6WhgYlp48hZzUBGwEIZKDlmZ1VjP9bVrKJfYoEmQh39mWu5Elh6UncPq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t5vkV143nvFl/dr0Ri7XgK9fMZ4FsH7jeQAhEzqARhvb3NqjiwZGYDmDfDpugixNsOryM0DW8OdfMDKLJZnmdOeHg8w8/kcwT4r/gccmTBd/LsVXd9MnNyxnjUwaycAp6l9RODkT +api: {"operationId":"listUsers","description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of User objects.\n","tags":["Users"],"security":[{"x-api-key":[]}],"parameters":[{"name":"modified_after","in":"query","schema":{"type":"string","format":"date-time","example":"2023-02-23T00:00:00.000Z"},"description":"If provided, will only return objects modified after this datetime"},{"name":"page_size","in":"query","schema":{"type":"string","example":"123"},"description":"Number of results to return per page. (Max: 1000)"},{"name":"cursor","in":"query","schema":{"type":"string","example":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"},"description":"The pagination cursor value"},{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true}],"responses":{"200":{"description":"UsersData","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"next":{"type":"string","nullable":true,"example":"eyJpZCI6IjQyNTc5ZjczLTg1MjQtNDU3MC05YjY3LWVjYmQ3MDJjNmIxNCIsInJldmVyc2UiOmZhbHNlfQ=="},"previous":{"type":"string","nullable":true,"example":"eyJpZCI6IjBjZDhmYmZkLWU5NmQtNDEwZC05ZjQxLWIwMjU1YjdmNGI4NyIsInJldmVyc2UiOnRydWV9"},"total_count":{"type":"number","example":100}},"required":["next","previous"]},"records":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Hil Feig"},"email_address":{"type":"string","example":"help@supaglue.com"},"is_active":{"type":"boolean","example":false},"teams":{"type":"array","items":{"type":"string","nullable":false,"example":"681b0fd7-40e6-4b91-8e23-2814872090be"}},"avatar":{"type":"string","nullable":true,"example":"https://supaglue.io/user_profile_pic.png"}},"required":["name","email_address","is_active"],"title":"user"}}},"required":["pagination","records"]}}}}},"method":"get","path":"/users","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"List users","description":{"content":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n\nReturns a list of User objects.\n","type":"text/plain"},"url":{"path":["users"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"If provided, will only return objects modified after this datetime","type":"text/plain"},"key":"modified_after","value":""},{"disabled":false,"description":{"content":"Number of results to return per page. (Max: 1000)","type":"text/plain"},"key":"page_size","value":""},{"disabled":false,"description":{"content":"The pagination cursor value","type":"text/plain"},"key":"cursor","value":""}],"variable":[]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Accept","value":"application/json"}],"method":"GET","auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "get api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/docs/docs/api/v2/ticketing/unified-ticketing-api-preview.info.mdx b/docs/docs/api/v2/ticketing/unified-ticketing-api-preview.info.mdx index b94997c65d..6eac5deee6 100644 --- a/docs/docs/api/v2/ticketing/unified-ticketing-api-preview.info.mdx +++ b/docs/docs/api/v2/ticketing/unified-ticketing-api-preview.info.mdx @@ -11,7 +11,7 @@ custom_edit_url: null import ApiLogo from "@theme/ApiLogo"; import SchemaTabs from "@theme/SchemaTabs"; import TabItem from "@theme/TabItem"; -import Export from "@theme/ApiExplorer/Export"; +import Export from "@theme/ApiDemoPanel/Export"; Version: 0.16.9 diff --git a/docs/docs/api/v2/ticketing/update-ticket.api.mdx b/docs/docs/api/v2/ticketing/update-ticket.api.mdx index 60a93f5077..cb00591828 100644 --- a/docs/docs/api/v2/ticketing/update-ticket.api.mdx +++ b/docs/docs/api/v2/ticketing/update-ticket.api.mdx @@ -5,7 +5,7 @@ description: "Updates a Ticket object with the given values." sidebar_label: "Update ticket" hide_title: true hide_table_of_contents: true -api: eJztWntz2zYS/yqobjqXzBgSSUnUo9fr+aEkSuLYZyttcpZHBUlQYkwSDAlKVj367rcLkHrasutp/7PssUVisdhd7OMHLu8qIuEpk4GI+16lW8kTj0k+CNwbLisHFY9nbhokOAyDn9VgRhjRBEQ437grySyQEyInnIyDKY/JlIU5z6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pTZZAeV7eoknuwOmnJqYI2cDXcHFl5SNMOWiTzxcfh/Hvv/8+jJ9SVgpSVQq1CGs+q19zIfLel2DuVn2yZ7wPo/OT5LcSLRwoAYoGpK6eV0VwY/rvrl7hgNSACBHH7+4c0PlzGi4WeBvqTKrerzhA9B7o9xbwAUiQ4XevfCDxsBavLoou4mvykIhlDY2xWip14Aq+qhK79qYJIJeDspA+W4i/8lWde7XRUm+/crRUC9+hebbg26/n7BVg+22hDRE00XFx1BognxXFToN2NUMf2fbSXq+Bt/PDwfE7oHaKd3Ii4eGklM3wXSH4260M4QcuioOeAjJ4/64C+XKcwwETaDRjLCQsRz9ex10aZBVf0C3udad1QKY1wb+o173k/8KgB0T37yW5HnlwwhLfaepA4+zF/wEbxRwQ +api: {"operationId":"updateTicket","description":"Updates a Ticket object with the given values.","tags":["Tickets"],"parameters":[{"name":"x-customer-id","in":"header","schema":{"type":"string","example":"my-customer-1"},"description":"The customer ID that uniquely identifies the customer in your application","required":true},{"name":"x-provider-name","in":"header","schema":{"type":"string","example":"salesforce"},"description":"The provider name","required":true},{"name":"ticket_id","in":"path","required":true,"schema":{"type":"string","example":"0258cbc6-6020-430a-848e-aafacbadf4ae"}}],"security":[{"x-api-key":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"record":{"type":"object","properties":{"name":{"type":"string","nullable":true,"example":"Please add more integrations"},"assignees":{"type":"array","items":{"type":"string","example":"17a54124-287f-494d-965e-3c5b330c9a68"}},"creator":{"type":"string","example":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},"due_date":{"type":"string","example":"2022-10-11T00:00:00Z"},"status":{"type":"string","example":"OPEN"},"description":{"type":"string","example":"Can you please add more integrations? It'll make syncing data much easier!"},"collections":{"type":"array","items":{"type":"string","example":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d"}},"ticket_type":{"type":"string","example":"incident"},"account":{"type":"string","example":"0958cbc6-6040-430a-848e-aafacbadf4ae"},"contact":{"type":"string","example":"65c345ba-6870-4974-87ba-dd31509c367a"},"parent_ticket":{"type":"string","example":"75b33d04-30d2-4f3e-be45-27838bc94342"},"tags":{"type":"array","items":{"type":"string","example":"enterprise"}},"completed_at":{"type":"string","example":"2021-12-09T00:00:00Z"},"ticket_url":{"type":"string","example":"https://thirdpartysoftware.com/project/3/issue/1"},"priority":{"type":"string","example":"HIGH"}},"required":["name","creator"],"title":"update_ticket"}},"required":["record"]}}}},"responses":{"200":{"description":"Ticket updated","content":{"application/json":{"schema":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string","description":"The full error message from the remote Provider. The schema and level of detail will vary by Provider.","example":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n"},"problem_type":{"type":"string","description":"The Supaglue error code associated with the error.","example":"MISSING_REQUIRED_FIELD"},"title":{"type":"string","description":"A brief description of the error. The schema and type of message will vary by Provider.","example":"Property values were not valid\n"}},"example":[{"detail":"{\"code\":400,\"body\":{\"status\":\"error\",\"message\":\"Property values were not valid: [{\\\\\"isValid\\\\\":false,\\\\\"message\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\",\\\\\"error\\\\\":\\\\\"PROPERTY_DOESNT_EXIST\\\\\",\\\\\"name\\\\\":\\\\\"__about_us\\\\\",\\\\\"localizedErrorMessage\\\\\":\\\\\"Property \\\\\\\\\\\\\"__about_us\\\\\\\\\\\\\" does not exist\\\\\"}]\",\"correlationId\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"category\":\"VALIDATION_ERROR\"},\"headers\":{\"access-control-allow-credentials\":\"false\",\"cf-cache-status\":\"DYNAMIC\",\"cf-ray\":\"8053d17b9dae9664-SJC\",\"connection\":\"close\",\"content-length\":\"361\",\"content-type\":\"application/json;charset=utf-8\",\"date\":\"Mon, 11 Sep 2023 23:51:22 GMT\",\"nel\":\"{\\\\\"success_fraction\\\\\":0.01,\\\\\"report_to\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"report-to\":\"{\\\\\"endpoints\\\\\":[{\\\\\"url\\\\\":\\\\\"https://a.nel.cloudflare.com/report/v3?s=FgwuXObO%2Fz6ahUJKsxjDLaXTWjooJ8tB0w4%2B%2BKaulGStx0FGkn1PoJoOx2KrFMfihzNdfAqikq7CmgbdlmwKB8hkmp3eTb68qpg10LXFlRgiSqRhbWM7yYSfo8CXmPBc\\\\\"}],\\\\\"group\\\\\":\\\\\"cf-nel\\\\\",\\\\\"max_age\\\\\":604800}\",\"server\":\"cloudflare\",\"strict-transport-security\":\"max-age=31536000; includeSubDomains; preload\",\"vary\":\"origin, Accept-Encoding\",\"x-content-type-options\":\"nosniff\",\"x-envoy-upstream-service-time\":\"91\",\"x-evy-trace-listener\":\"listener_https\",\"x-evy-trace-route-configuration\":\"listener_https/all\",\"x-evy-trace-route-service-name\":\"envoyset-translator\",\"x-evy-trace-served-by-pod\":\"iad02/hubapi-td/envoy-proxy-6c94986c56-9xsh2\",\"x-evy-trace-virtual-host\":\"all\",\"x-hubspot-correlation-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-hubspot-ratelimit-interval-milliseconds\":\"10000\",\"x-hubspot-ratelimit-max\":\"100\",\"x-hubspot-ratelimit-remaining\":\"99\",\"x-hubspot-ratelimit-secondly\":\"10\",\"x-hubspot-ratelimit-secondly-remaining\":\"9\",\"x-request-id\":\"ac94252c-90b5-45d2-ad1d-9a9f7651d7d2\",\"x-trace\":\"2B1B4386362759B6A4C34802AD168B803DDC1BE770000000000000000000\"}}\n","problem_type":"BAD_REQUEST_ERROR","title":"Property values were not valid\n"}]}},"warnings":{"type":"array","items":{"type":"object","properties":{"detail":{"type":"string"},"problem_type":{"type":"string"},"title":{"type":"string"}}}}}}}}}},"method":"patch","path":"/tickets/{ticket_id}","servers":[{"url":"https://api.supaglue.io/ticketing/v2","description":"Supaglue API"}],"securitySchemes":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","description":"API key to allow developers to access the API"}},"jsonRequestBodyExample":{"record":{"name":"Please add more integrations","assignees":["17a54124-287f-494d-965e-3c5b330c9a68"],"creator":"3fa85f64-5717-4562-b3fc-2c963f66afa6","due_date":"2022-10-11T00:00:00Z","status":"OPEN","description":"Can you please add more integrations? It'll make syncing data much easier!","collections":["fb8c55b6-1cb8-4b4c-9fb6-17924231619d"],"ticket_type":"incident","account":"0958cbc6-6040-430a-848e-aafacbadf4ae","contact":"65c345ba-6870-4974-87ba-dd31509c367a","parent_ticket":"75b33d04-30d2-4f3e-be45-27838bc94342","tags":["enterprise"],"completed_at":"2021-12-09T00:00:00Z","ticket_url":"https://thirdpartysoftware.com/project/3/issue/1","priority":"HIGH"}},"info":{"version":"0.16.9","title":"Unified Ticketing API (Preview)","contact":{"name":"Supaglue","email":"docs@supaglue.com","url":"https://supaglue.com"},"description":":::note\nThis feature is only available in Preview to select customers on our Enterprise plan. [Contact us](mailto:team@supaglue.com) for more information.\n:::\n#### Introduction\n\nWelcome to the Unified API (Ticketing) documentation. You can use this API to write to third-party providers.\n\n[View common schema for Ticketing](https://docs.supaglue.com/platform/common-schemas/ticketing)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/supaglue/workspace/supaglue-public/overview)\n\n#### Base API URL\n```\nhttps://api.supaglue.io/ticketing/v2\n```\n"},"postman":{"name":"Update ticket","description":{"content":"Updates a Ticket object with the given values.","type":"text/plain"},"url":{"path":["tickets",":ticket_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"","key":"ticket_id"}]},"header":[{"disabled":false,"description":{"content":"(Required) The customer ID that uniquely identifies the customer in your application","type":"text/plain"},"key":"x-customer-id","value":""},{"disabled":false,"description":{"content":"(Required) The provider name","type":"text/plain"},"key":"x-provider-name","value":""},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}},"auth":{"type":"apikey","apikey":[{"type":"any","value":"x-api-key","key":"key"},{"type":"any","value":"","key":"value"},{"type":"any","value":"header","key":"in"}]}}} sidebar_class_name: "patch api-method" info_path: api/v2/ticketing/unified-ticketing-api-preview custom_edit_url: null @@ -13,8 +13,8 @@ custom_edit_url: null import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; +import MethodEndpoint from "@theme/ApiDemoPanel/MethodEndpoint"; +import SecuritySchemes from "@theme/ApiDemoPanel/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; diff --git a/openapi/v2/mgmt/components/schemas/create_destination.yaml b/openapi/v2/mgmt/components/schemas/create_destination.yaml index fdb293b26e..f40c97991b 100644 --- a/openapi/v2/mgmt/components/schemas/create_destination.yaml +++ b/openapi/v2/mgmt/components/schemas/create_destination.yaml @@ -1,14 +1,4 @@ oneOf: - - type: object - title: postgres - properties: - type: - type: string - enum: - - supaglue - example: supaglue - required: - - type - type: object title: postgres properties: @@ -26,6 +16,17 @@ oneOf: - name - type - config + - type: object + title: supaglue + description: A Supaglue-hosted Postgres database destination for Listing APIs. + properties: + type: + type: string + enum: + - supaglue + example: supaglue + required: + - type - type: object title: bigquery properties: diff --git a/openapi/v2/mgmt/components/schemas/objects/connection.yaml b/openapi/v2/mgmt/components/schemas/objects/connection.yaml index e3ab879643..e6062d05eb 100644 --- a/openapi/v2/mgmt/components/schemas/objects/connection.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/connection.yaml @@ -24,6 +24,8 @@ properties: $ref: ./schema_mappings_config.yaml entity_mappings: $ref: ./connection_entity_mappings.yaml + connection_sync_config: + $ref: ./connection_sync_config.yaml required: - id - application_id diff --git a/openapi/v2/mgmt/components/schemas/objects/connection_entity_mapping.yaml b/openapi/v2/mgmt/components/schemas/objects/connection_entity_mapping.yaml index 3613395f50..43c1e461c8 100644 --- a/openapi/v2/mgmt/components/schemas/objects/connection_entity_mapping.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/connection_entity_mapping.yaml @@ -1,4 +1,5 @@ type: object +deprecated: true properties: entity_id: type: string @@ -7,6 +8,6 @@ properties: field_mappings: type: array items: - $ref: ./entity_field_mapping.yaml + $ref: ./entity_field_mapping.yaml required: - entity_id diff --git a/openapi/v2/mgmt/components/schemas/objects/connection_entity_mappings.yaml b/openapi/v2/mgmt/components/schemas/objects/connection_entity_mappings.yaml index 3698cc62c2..d0300b32a9 100644 --- a/openapi/v2/mgmt/components/schemas/objects/connection_entity_mappings.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/connection_entity_mappings.yaml @@ -1,5 +1,6 @@ type: array description: This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). +deprecated: true items: $ref: ./connection_entity_mapping.yaml example: [] diff --git a/openapi/v2/mgmt/components/schemas/objects/customer.yaml b/openapi/v2/mgmt/components/schemas/objects/customer.yaml index 4698c8fabe..2910d33598 100644 --- a/openapi/v2/mgmt/components/schemas/objects/customer.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/customer.yaml @@ -1,3 +1,4 @@ +# Supaglue Customer with connections type: object properties: application_id: diff --git a/openapi/v2/mgmt/components/schemas/objects/destination.yaml b/openapi/v2/mgmt/components/schemas/objects/destination.yaml index 10466ff3c2..f276507db0 100644 --- a/openapi/v2/mgmt/components/schemas/objects/destination.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/destination.yaml @@ -12,7 +12,7 @@ example: user: myuser oneOf: - type: object - title: supaglue + title: postgres properties: id: type: string @@ -20,20 +20,30 @@ oneOf: application_id: type: string example: 726fb798-d854-4c59-9a23-57e3e2f73eae + name: + type: string + example: My Postgres Destination type: type: string enum: - - supaglue - example: supaglue + - postgres + example: postgres + config: + $ref: ./postgres_config_safe.yaml version: type: number + example: 1 + description: A monotonically increasing version number of the destination configuration required: - id - application_id + - name - type + - config - version - type: object - title: postgres + title: supaglue + description: A Supaglue-hosted Postgres database destination for Listing APIs. properties: id: type: string @@ -41,24 +51,19 @@ oneOf: application_id: type: string example: 726fb798-d854-4c59-9a23-57e3e2f73eae - name: - type: string - example: My Postgres Destination type: type: string enum: - - postgres - example: postgres - config: - $ref: ./postgres_config_safe.yaml + - supaglue + example: supaglue version: type: number + example: 1 + description: A monotonically increasing version number of the destination configuration required: - id - application_id - - name - type - - config - version - type: object title: bigquery @@ -81,6 +86,8 @@ oneOf: $ref: ./bigquery_config_safe.yaml version: type: number + example: 1 + description: A monotonically increasing version number of the destination configuration required: - id - application_id @@ -109,6 +116,8 @@ oneOf: $ref: ./mongodb_config_safe.yaml version: type: number + example: 1 + description: A monotonically increasing version number of the destination configuration required: - id - application_id diff --git a/openapi/v2/mgmt/components/schemas/objects/entity.yaml b/openapi/v2/mgmt/components/schemas/objects/entity.yaml index cd9b6df10b..4b9e9061fb 100644 --- a/openapi/v2/mgmt/components/schemas/objects/entity.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/entity.yaml @@ -1,4 +1,5 @@ type: object +deprecated: true properties: id: type: string diff --git a/openapi/v2/mgmt/components/schemas/objects/entity_config.yaml b/openapi/v2/mgmt/components/schemas/objects/entity_config.yaml index d29ade6ae6..b135fc9888 100644 --- a/openapi/v2/mgmt/components/schemas/objects/entity_config.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/entity_config.yaml @@ -1,4 +1,5 @@ type: object +deprecated: true properties: fields: type: array diff --git a/openapi/v2/mgmt/components/schemas/objects/entity_field_mapping.yaml b/openapi/v2/mgmt/components/schemas/objects/entity_field_mapping.yaml index 9227c65a57..b4099b81f6 100644 --- a/openapi/v2/mgmt/components/schemas/objects/entity_field_mapping.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/entity_field_mapping.yaml @@ -1,4 +1,5 @@ type: object +deprecated: true properties: entity_field: type: string diff --git a/openapi/v2/mgmt/components/schemas/objects/magic_link.yaml b/openapi/v2/mgmt/components/schemas/objects/magic_link.yaml index a70e13a6d6..c874cea1c4 100644 --- a/openapi/v2/mgmt/components/schemas/objects/magic_link.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/magic_link.yaml @@ -5,7 +5,8 @@ properties: example: ec208408-db29-4705-b39e-4d33070b4ef6 status: type: string - example: created + description: '`new` or `consumed`' + example: new application_id: type: string example: d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69 @@ -29,6 +30,7 @@ properties: type: string format: date-time example: '2023-02-23T00:00:00Z' + description: Any ISO formatted date-time string indicating when the magic link expires. required: - id - status diff --git a/openapi/v2/mgmt/components/schemas/objects/provider.yaml b/openapi/v2/mgmt/components/schemas/objects/provider.yaml index de56bf796a..3ea3ab3b4a 100644 --- a/openapi/v2/mgmt/components/schemas/objects/provider.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/provider.yaml @@ -13,6 +13,7 @@ properties: enum: - oauth2 - api_key + - access_key_secret example: oauth2 name: $ref: ./provider_name.yaml diff --git a/openapi/v2/mgmt/components/schemas/objects/provider_entity_mapping.yaml b/openapi/v2/mgmt/components/schemas/objects/provider_entity_mapping.yaml index 16a081d365..0074ceb601 100644 --- a/openapi/v2/mgmt/components/schemas/objects/provider_entity_mapping.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/provider_entity_mapping.yaml @@ -1,4 +1,5 @@ type: object +deprecated: true properties: entity_id: type: string diff --git a/openapi/v2/mgmt/components/schemas/objects/provider_entity_mappings.yaml b/openapi/v2/mgmt/components/schemas/objects/provider_entity_mappings.yaml index 61d5f01872..885062de8c 100644 --- a/openapi/v2/mgmt/components/schemas/objects/provider_entity_mappings.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/provider_entity_mappings.yaml @@ -1,4 +1,5 @@ type: array +deprecated: true description: This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. items: $ref: ./provider_entity_mapping.yaml diff --git a/openapi/v2/mgmt/components/schemas/objects/s3_config_at_least_safe.yaml b/openapi/v2/mgmt/components/schemas/objects/s3_config_at_least_safe.yaml deleted file mode 100644 index 769ac01bc5..0000000000 --- a/openapi/v2/mgmt/components/schemas/objects/s3_config_at_least_safe.yaml +++ /dev/null @@ -1,18 +0,0 @@ -type: object -properties: - region: - type: string - example: us-west-2 - bucket: - type: string - example: my-test-bucket - access_key_id: - type: string - example: AKIAIOSFODNN7EXAMPLE - secret_access_key: - type: string - example: A1lciPB09K2iqNHTLAftxTHy0SKGxNcO4QecAsZS -required: - - region - - bucket - - access_key_id diff --git a/openapi/v2/mgmt/components/schemas/objects/s3_config_safe.yaml b/openapi/v2/mgmt/components/schemas/objects/s3_config_safe.yaml deleted file mode 100644 index a00a342e93..0000000000 --- a/openapi/v2/mgmt/components/schemas/objects/s3_config_safe.yaml +++ /dev/null @@ -1,15 +0,0 @@ -type: object -properties: - region: - type: string - example: us-west-2 - bucket: - type: string - example: my-test-bucket - access_key_id: - type: string - example: AKIAIOSFODNN7EXAMPLE -required: - - region - - bucket - - access_key_id diff --git a/openapi/v2/mgmt/components/schemas/objects/s3_config_unsafe.yaml b/openapi/v2/mgmt/components/schemas/objects/s3_config_unsafe.yaml deleted file mode 100644 index 52c27063f4..0000000000 --- a/openapi/v2/mgmt/components/schemas/objects/s3_config_unsafe.yaml +++ /dev/null @@ -1,19 +0,0 @@ -type: object -properties: - region: - type: string - example: us-west-2 - bucket: - type: string - example: my-test-bucket - access_key_id: - type: string - example: AKIAIOSFODNN7EXAMPLE - secret_access_key: - type: string - example: A1lciPB09K2iqNHTLAftxTHy0SKGxNcO4QecAsZS -required: - - region - - bucket - - access_key_id - - secret_access_key diff --git a/openapi/v2/mgmt/components/schemas/objects/schema.yaml b/openapi/v2/mgmt/components/schemas/objects/schema.yaml index ea11b278cf..91bf5bbf55 100644 --- a/openapi/v2/mgmt/components/schemas/objects/schema.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/schema.yaml @@ -1,4 +1,5 @@ type: object +deprecated: true properties: id: type: string diff --git a/openapi/v2/mgmt/components/schemas/objects/schema_config.yaml b/openapi/v2/mgmt/components/schemas/objects/schema_config.yaml index 87dc8aa60c..a59c8c41ee 100644 --- a/openapi/v2/mgmt/components/schemas/objects/schema_config.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/schema_config.yaml @@ -1,4 +1,5 @@ type: object +deprecated: true properties: fields: type: array diff --git a/openapi/v2/mgmt/components/schemas/objects/schema_mappings_config.yaml b/openapi/v2/mgmt/components/schemas/objects/schema_mappings_config.yaml index dc4ce86ec5..d37cdcbdfd 100644 --- a/openapi/v2/mgmt/components/schemas/objects/schema_mappings_config.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/schema_mappings_config.yaml @@ -1,5 +1,6 @@ description: This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). type: object +deprecated: true properties: common_objects: type: array diff --git a/openapi/v2/mgmt/components/schemas/objects/simple_customer.yaml b/openapi/v2/mgmt/components/schemas/objects/simple_customer.yaml new file mode 100644 index 0000000000..d3a99b452b --- /dev/null +++ b/openapi/v2/mgmt/components/schemas/objects/simple_customer.yaml @@ -0,0 +1,19 @@ +type: object +properties: + application_id: + type: string + example: d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69 + customer_id: + type: string + example: your-customers-unique-application-id + name: + type: string + example: MyCompany Inc + email: + type: string + example: contact@mycompany.com +required: + - application_id + - name + - email + - customer_id diff --git a/openapi/v2/mgmt/components/schemas/objects/sync.yaml b/openapi/v2/mgmt/components/schemas/objects/sync.yaml index 80eea61cc3..25aa7757f7 100644 --- a/openapi/v2/mgmt/components/schemas/objects/sync.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/sync.yaml @@ -1,7 +1,7 @@ # this is verbose because our docs generator can't handle allOf with nested oneOf correctly oneOf: - type: object - title: 'Data model: Entities' + title: 'Data model: Objects' properties: id: type: string @@ -9,11 +9,19 @@ oneOf: type: type: string enum: - - entity - example: entity - entity_id: + - object + example: object + object_type: type: string - example: 94e6cb6c-0ec8-423f-8873-21054979a6b1 + enum: + - common + - standard + - custom + example: standard + object: + type: string + example: contact + description: The Provider's object name (case sensitive) connection_id: type: string example: 3217ea51-11c8-43c9-9547-6f197e02e5e4 @@ -26,12 +34,13 @@ oneOf: required: - id - type - - entity_id + - object_type + - object - connection_id - sync_config_id - paused - type: object - title: 'Data model: Objects' + title: 'Data model: Common Schema' properties: id: type: string @@ -45,13 +54,11 @@ oneOf: type: string enum: - common - - standard - - custom example: standard object: type: string example: contact - description: The Provider's object name (case sensitive) + description: Supaglue's object name connection_id: type: string example: 3217ea51-11c8-43c9-9547-6f197e02e5e4 @@ -70,7 +77,8 @@ oneOf: - sync_config_id - paused - type: object - title: 'Data model: Common Schema' + title: 'Data model: Entities' + deprecated: true properties: id: type: string @@ -78,17 +86,11 @@ oneOf: type: type: string enum: - - object - example: object - object_type: - type: string - enum: - - common - example: standard - object: + - entity + example: entity + entity_id: type: string - example: contact - description: Supaglue's object name + example: 94e6cb6c-0ec8-423f-8873-21054979a6b1 connection_id: type: string example: 3217ea51-11c8-43c9-9547-6f197e02e5e4 @@ -101,8 +103,7 @@ oneOf: required: - id - type - - object_type - - object + - entity_id - connection_id - sync_config_id - paused diff --git a/openapi/v2/mgmt/components/schemas/objects/sync_config_data.yaml b/openapi/v2/mgmt/components/schemas/objects/sync_config_data.yaml index ee8adc65f3..2b87adfcc0 100644 --- a/openapi/v2/mgmt/components/schemas/objects/sync_config_data.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/sync_config_data.yaml @@ -49,6 +49,7 @@ properties: - object entities: type: array + deprecated: true items: type: object properties: diff --git a/openapi/v2/mgmt/components/schemas/objects/sync_run.yaml b/openapi/v2/mgmt/components/schemas/objects/sync_run.yaml index 8337052e6d..30be38a404 100644 --- a/openapi/v2/mgmt/components/schemas/objects/sync_run.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/sync_run.yaml @@ -2,6 +2,12 @@ oneOf: - type: object title: 'Data model: Objects' properties: + id: + type: string + example: 20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9 + sync_id: + type: string + example: 629525f8-f6f7-436c-80fa-1cb23acc5bf8 object_type: type: string enum: @@ -44,6 +50,8 @@ oneOf: nullable: true example: 100 required: + - id + - sync_id - object_type - object - start_timestamp @@ -58,9 +66,17 @@ oneOf: - num_records_synced - type: object title: 'Data model: Entities' + deprecated: true properties: + id: + type: string + example: 20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9 + sync_id: + type: string + example: 629525f8-f6f7-436c-80fa-1cb23acc5bf8 entity_id: type: string + deprecated: true error_message: type: string nullable: true @@ -95,6 +111,8 @@ oneOf: nullable: true example: 100 required: + - id + - sync_id - entity_id - start_timestamp - end_timestamp diff --git a/openapi/v2/mgmt/components/schemas/objects/sync_with_provider_and_customer.yaml b/openapi/v2/mgmt/components/schemas/objects/sync_with_provider_and_customer.yaml index 29ab482762..cec6a7ee87 100644 --- a/openapi/v2/mgmt/components/schemas/objects/sync_with_provider_and_customer.yaml +++ b/openapi/v2/mgmt/components/schemas/objects/sync_with_provider_and_customer.yaml @@ -1,7 +1,7 @@ # this is verbose because our docs generator can't handle allOf with nested oneOf correctly oneOf: - type: object - title: 'Data model: Entities' + title: 'Data model: Objects' properties: id: type: string @@ -9,11 +9,18 @@ oneOf: type: type: string enum: - - entity - example: entity - entity_id: + - object + example: object + object_type: type: string - example: 70da3830-b717-49cb-91f0-22fb3f09a97a + enum: + - common + - standard + - custom + example: standard + object: + type: string + example: contact connection_id: type: string example: 3217ea51-11c8-43c9-9547-6f197e02e5e4 @@ -32,14 +39,15 @@ oneOf: required: - id - type - - entity_id + - object_type + - object - connection_id - sync_config_id - paused - provider_name - customer_id - type: object - title: 'Data model: Objects' + title: 'Data model: Entities' properties: id: type: string @@ -47,18 +55,11 @@ oneOf: type: type: string enum: - - object - example: object - object_type: - type: string - enum: - - common - - standard - - custom - example: standard - object: + - entity + example: entity + entity_id: type: string - example: contact + example: 70da3830-b717-49cb-91f0-22fb3f09a97a connection_id: type: string example: 3217ea51-11c8-43c9-9547-6f197e02e5e4 @@ -77,8 +78,7 @@ oneOf: required: - id - type - - object_type - - object + - entity_id - connection_id - sync_config_id - paused diff --git a/openapi/v2/mgmt/openapi.bundle.json b/openapi/v2/mgmt/openapi.bundle.json index 6b910af825..f081526cdb 100644 --- a/openapi/v2/mgmt/openapi.bundle.json +++ b/openapi/v2/mgmt/openapi.bundle.json @@ -38,7 +38,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/customer" + "$ref": "#/components/schemas/simple_customer" } } } @@ -100,17 +100,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/customer" - }, - "examples": { - "Example": { - "value": { - "application_id": "d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69", - "name": "MyCompany Inc", - "email": "contact@mycompany.com", - "customer_id": "your-customers-unique-application-id" - } - } + "$ref": "#/components/schemas/simple_customer" } } } @@ -134,17 +124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/customer" - }, - "examples": { - "Example": { - "value": { - "application_id": "d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69", - "name": "MyCompany Inc", - "email": "contact@mycompany.com", - "customer_id": "your-customers-unique-application-id" - } - } + "$ref": "#/components/schemas/simple_customer" } } } @@ -163,153 +143,6 @@ } ] }, - "/destinations": { - "get": { - "operationId": "getDestinations", - "tags": [ - "Destinations" - ], - "security": [ - { - "x-api-key": [] - } - ], - "summary": "List destinations", - "description": "Get a list of destinations", - "responses": { - "200": { - "description": "Destinations", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/destination" - }, - "example": [ - { - "id": "92bc3460-a301-4116-8d1f-6e5f8252c2e2", - "application_id": "9b9a31bb-9fe4-4fa5-ba84-4c035a27f258", - "name": "My Postgres Destination", - "type": "postgres", - "config": { - "host": "production-db-new.cluster-cdhnnutnlctj.us-west-2.rds.amazonaws.com", - "port": 5432, - "database": "my_database", - "schema": "public", - "user": "user", - "password": "password" - } - } - ] - } - } - } - } - } - }, - "post": { - "operationId": "createDestination", - "summary": "Create destination", - "tags": [ - "Destinations" - ], - "security": [ - { - "x-api-key": [] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/create_destination" - } - } - } - }, - "responses": { - "201": { - "description": "Destination created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/destination" - } - } - } - } - } - } - }, - "/destinations/{destination_id}": { - "get": { - "operationId": "getDestination", - "summary": "Get destination", - "tags": [ - "Destinations" - ], - "security": [ - { - "x-api-key": [] - } - ], - "responses": { - "200": { - "description": "Destination", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/destination" - } - } - } - } - } - }, - "put": { - "operationId": "updateDestination", - "summary": "Update destination", - "tags": [ - "Destinations" - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/update_destination" - } - } - } - }, - "responses": { - "200": { - "description": "Destination", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/destination" - } - } - } - } - } - }, - "parameters": [ - { - "name": "destination_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ] - }, "/magic_links": { "get": { "operationId": "getMagicLinks", @@ -911,161 +744,6 @@ } ] }, - "/providers": { - "get": { - "operationId": "getProviders", - "tags": [ - "Providers" - ], - "security": [ - { - "x-api-key": [] - } - ], - "summary": "List providers", - "description": "Get a list of providers", - "responses": { - "200": { - "description": "Providers", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/provider" - } - } - } - } - } - } - }, - "post": { - "operationId": "createProvider", - "summary": "Create provider", - "tags": [ - "Providers" - ], - "security": [ - { - "x-api-key": [] - } - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/create_provider" - } - } - } - }, - "responses": { - "201": { - "description": "Provider created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/provider" - } - } - } - } - } - } - }, - "/providers/{provider_id}": { - "get": { - "operationId": "getProvider", - "summary": "Get provider", - "tags": [ - "Providers" - ], - "security": [ - { - "x-api-key": [] - } - ], - "responses": { - "200": { - "description": "Provider", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/provider" - } - } - } - } - } - }, - "put": { - "operationId": "updateProvider", - "summary": "Update provider", - "tags": [ - "Providers" - ], - "parameters": [], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/update_provider" - } - } - } - }, - "responses": { - "200": { - "description": "Provider", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/provider" - } - } - } - } - } - }, - "delete": { - "operationId": "deleteProvider", - "summary": "Delete provider", - "tags": [ - "Providers" - ], - "security": [ - { - "x-api-key": [] - } - ], - "responses": { - "200": { - "description": "Provider", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/provider" - } - } - } - } - } - }, - "parameters": [ - { - "name": "provider_id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ] - }, "/sync_configs": { "get": { "operationId": "getSyncConfigs", @@ -1629,15 +1307,6 @@ "allOf": [ { "$ref": "#/components/schemas/connection" - }, - { - "type": "object", - "properties": { - "user_id": { - "type": "string", - "description": "The id of the user associated with this connection. This is sometimes also known as the owner." - } - } } ] } @@ -1757,6 +1426,7 @@ }, { "name": "entity_id", + "deprecated": true, "in": "query", "schema": { "type": "string", @@ -1812,19 +1482,6 @@ "application/json": { "schema": { "oneOf": [ - { - "type": "object", - "title": "Data model: Entities", - "properties": { - "entity_id": { - "type": "string", - "description": "The entity id to filter by" - } - }, - "required": [ - "entity_id" - ] - }, { "type": "object", "title": "Data model: Objects", @@ -1872,6 +1529,20 @@ "object_type", "object" ] + }, + { + "type": "object", + "title": "Data model: Entities", + "deprecated": true, + "properties": { + "entity_id": { + "type": "string", + "description": "The entity id to filter by" + } + }, + "required": [ + "entity_id" + ] } ] } @@ -1918,20 +1589,6 @@ "application/json": { "schema": { "oneOf": [ - { - "type": "object", - "title": "Data model: Entities", - "properties": { - "entity_id": { - "type": "string", - "example": "cfba6060-c43a-4a63-8a8c-501c6099f8b0", - "description": "The entity id to filter by" - } - }, - "required": [ - "entity_id" - ] - }, { "type": "object", "title": "Data model: Objects", @@ -1948,13 +1605,28 @@ }, "object": { "type": "string", - "example": "contact", - "description": "The object to filter by" + "example": "contact", + "description": "The object to filter by" + } + }, + "required": [ + "object_type", + "object" + ] + }, + { + "type": "object", + "title": "Data model: Entities", + "deprecated": true, + "properties": { + "entity_id": { + "type": "string", + "example": "cfba6060-c43a-4a63-8a8c-501c6099f8b0", + "description": "The entity id to filter by" } }, "required": [ - "object_type", - "object" + "entity_id" ] } ] @@ -2010,23 +1682,6 @@ "application/json": { "schema": { "oneOf": [ - { - "type": "object", - "title": "Data model: Entities", - "properties": { - "entity_id": { - "type": "string", - "description": "The entity id to filter by" - }, - "perform_full_refresh": { - "type": "boolean", - "example": true - } - }, - "required": [ - "entity_id" - ] - }, { "type": "object", "title": "Data model: Objects", @@ -2081,6 +1736,24 @@ "object_type", "object" ] + }, + { + "type": "object", + "title": "Data model: Entities", + "deprecated": true, + "properties": { + "entity_id": { + "type": "string", + "description": "The entity id to filter by" + }, + "perform_full_refresh": { + "type": "boolean", + "example": true + } + }, + "required": [ + "entity_id" + ] } ] } @@ -2183,6 +1856,7 @@ }, { "name": "entity_id", + "deprecated": true, "in": "query", "schema": { "type": "string", @@ -2206,7 +1880,7 @@ "type": "string", "example": ">2021-01-06T03:24:53.434326Z" }, - "description": "The start time to filter by. Should start with one of [>, <] followed by an ISO 8601 timestamp." + "description": "The start time to filter by. Should start with one of [`>`, `<`] followed by an ISO 8601 timestamp." }, { "name": "end_timestamp", @@ -2215,7 +1889,7 @@ "type": "string", "example": ">2021-01-06T03:24:53.434326Z" }, - "description": "The end time to filter by. Should start with [>, <] followed by an ISO 8601 timestamp." + "description": "The end time to filter by. Should start with [`>`, `<`] followed by an ISO 8601 timestamp." } ], "responses": { @@ -2372,6 +2046,33 @@ "customer_id" ] }, + "simple_customer": { + "type": "object", + "properties": { + "application_id": { + "type": "string", + "example": "d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69" + }, + "customer_id": { + "type": "string", + "example": "your-customers-unique-application-id" + }, + "name": { + "type": "string", + "example": "MyCompany Inc" + }, + "email": { + "type": "string", + "example": "contact@mycompany.com" + } + }, + "required": [ + "application_id", + "name", + "email", + "customer_id" + ] + }, "provider": { "type": "object", "properties": { @@ -2390,7 +2091,8 @@ "type": "string", "enum": [ "oauth2", - "api_key" + "api_key", + "access_key_secret" ], "example": "oauth2" }, @@ -2405,6 +2107,7 @@ }, "entity_mappings": { "type": "array", + "deprecated": true, "description": "This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers.", "items": { "$ref": "#/components/schemas/provider_entity_mapping" @@ -2436,7 +2139,7 @@ "oneOf": [ { "type": "object", - "title": "supaglue", + "title": "postgres", "properties": { "id": { "type": "string", @@ -2446,27 +2149,39 @@ "type": "string", "example": "726fb798-d854-4c59-9a23-57e3e2f73eae" }, + "name": { + "type": "string", + "example": "My Postgres Destination" + }, "type": { "type": "string", "enum": [ - "supaglue" + "postgres" ], - "example": "supaglue" + "example": "postgres" + }, + "config": { + "$ref": "#/components/schemas/postgres_config_safe" }, "version": { - "type": "number" + "type": "number", + "example": 1, + "description": "A monotonically increasing version number of the destination configuration" } }, "required": [ "id", "application_id", + "name", "type", + "config", "version" ] }, { "type": "object", - "title": "postgres", + "title": "supaglue", + "description": "A Supaglue-hosted Postgres database destination for Listing APIs.", "properties": { "id": { "type": "string", @@ -2476,30 +2191,23 @@ "type": "string", "example": "726fb798-d854-4c59-9a23-57e3e2f73eae" }, - "name": { - "type": "string", - "example": "My Postgres Destination" - }, "type": { "type": "string", "enum": [ - "postgres" + "supaglue" ], - "example": "postgres" - }, - "config": { - "$ref": "#/components/schemas/postgres_config_safe" + "example": "supaglue" }, "version": { - "type": "number" + "type": "number", + "example": 1, + "description": "A monotonically increasing version number of the destination configuration" } }, "required": [ "id", "application_id", - "name", "type", - "config", "version" ] }, @@ -2530,7 +2238,9 @@ "$ref": "#/components/schemas/bigquery_config_safe" }, "version": { - "type": "number" + "type": "number", + "example": 1, + "description": "A monotonically increasing version number of the destination configuration" } }, "required": [ @@ -2569,7 +2279,9 @@ "$ref": "#/components/schemas/mongodb_config_safe" }, "version": { - "type": "number" + "type": "number", + "example": 1, + "description": "A monotonically increasing version number of the destination configuration" } }, "required": [ @@ -2885,6 +2597,7 @@ }, "schema": { "type": "object", + "deprecated": true, "properties": { "id": { "type": "string", @@ -2911,6 +2624,7 @@ }, "schema_config": { "type": "object", + "deprecated": true, "properties": { "fields": { "type": "array", @@ -2953,7 +2667,8 @@ }, "status": { "type": "string", - "example": "created" + "description": "`new` or `consumed`", + "example": "new" }, "application_id": { "type": "string", @@ -2983,7 +2698,8 @@ "expires_at": { "type": "string", "format": "date-time", - "example": "2023-02-23T00:00:00Z" + "example": "2023-02-23T00:00:00Z", + "description": "Any ISO formatted date-time string indicating when the magic link expires." } }, "required": [ @@ -3027,6 +2743,7 @@ }, "entity": { "type": "object", + "deprecated": true, "properties": { "id": { "type": "string", @@ -3053,6 +2770,7 @@ }, "entity_config": { "type": "object", + "deprecated": true, "properties": { "fields": { "type": "array", @@ -3262,6 +2980,7 @@ "schema_mappings_config": { "description": "This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings).", "type": "object", + "deprecated": true, "properties": { "common_objects": { "type": "array", @@ -3313,10 +3032,14 @@ "entity_mappings": { "type": "array", "description": "This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping).", + "deprecated": true, "items": { "$ref": "#/components/schemas/connection_entity_mapping" }, "example": [] + }, + "connection_sync_config": { + "$ref": "#/components/schemas/connection_sync_config" } }, "required": [ @@ -3438,6 +3161,7 @@ }, "entities": { "type": "array", + "deprecated": true, "items": { "type": "object", "properties": { @@ -3633,7 +3357,7 @@ "oneOf": [ { "type": "object", - "title": "Data model: Entities", + "title": "Data model: Objects", "properties": { "id": { "type": "string", @@ -3642,13 +3366,23 @@ "type": { "type": "string", "enum": [ - "entity" + "object" ], - "example": "entity" + "example": "object" }, - "entity_id": { + "object_type": { "type": "string", - "example": "94e6cb6c-0ec8-423f-8873-21054979a6b1" + "enum": [ + "common", + "standard", + "custom" + ], + "example": "standard" + }, + "object": { + "type": "string", + "example": "contact", + "description": "The Provider's object name (case sensitive)" }, "connection_id": { "type": "string", @@ -3666,7 +3400,8 @@ "required": [ "id", "type", - "entity_id", + "object_type", + "object", "connection_id", "sync_config_id", "paused" @@ -3674,7 +3409,7 @@ }, { "type": "object", - "title": "Data model: Objects", + "title": "Data model: Common Schema", "properties": { "id": { "type": "string", @@ -3690,16 +3425,14 @@ "object_type": { "type": "string", "enum": [ - "common", - "standard", - "custom" + "common" ], "example": "standard" }, "object": { "type": "string", "example": "contact", - "description": "The Provider's object name (case sensitive)" + "description": "Supaglue's object name" }, "connection_id": { "type": "string", @@ -3726,7 +3459,8 @@ }, { "type": "object", - "title": "Data model: Common Schema", + "title": "Data model: Entities", + "deprecated": true, "properties": { "id": { "type": "string", @@ -3735,21 +3469,13 @@ "type": { "type": "string", "enum": [ - "object" - ], - "example": "object" - }, - "object_type": { - "type": "string", - "enum": [ - "common" + "entity" ], - "example": "standard" + "example": "entity" }, - "object": { + "entity_id": { "type": "string", - "example": "contact", - "description": "Supaglue's object name" + "example": "94e6cb6c-0ec8-423f-8873-21054979a6b1" }, "connection_id": { "type": "string", @@ -3767,8 +3493,7 @@ "required": [ "id", "type", - "object_type", - "object", + "entity_id", "connection_id", "sync_config_id", "paused" @@ -3780,7 +3505,7 @@ "oneOf": [ { "type": "object", - "title": "Data model: Entities", + "title": "Data model: Objects", "properties": { "id": { "type": "string", @@ -3789,13 +3514,22 @@ "type": { "type": "string", "enum": [ - "entity" + "object" ], - "example": "entity" + "example": "object" }, - "entity_id": { + "object_type": { "type": "string", - "example": "70da3830-b717-49cb-91f0-22fb3f09a97a" + "enum": [ + "common", + "standard", + "custom" + ], + "example": "standard" + }, + "object": { + "type": "string", + "example": "contact" }, "connection_id": { "type": "string", @@ -3821,7 +3555,8 @@ "required": [ "id", "type", - "entity_id", + "object_type", + "object", "connection_id", "sync_config_id", "paused", @@ -3831,7 +3566,7 @@ }, { "type": "object", - "title": "Data model: Objects", + "title": "Data model: Entities", "properties": { "id": { "type": "string", @@ -3840,22 +3575,13 @@ "type": { "type": "string", "enum": [ - "object" - ], - "example": "object" - }, - "object_type": { - "type": "string", - "enum": [ - "common", - "standard", - "custom" + "entity" ], - "example": "standard" + "example": "entity" }, - "object": { + "entity_id": { "type": "string", - "example": "contact" + "example": "70da3830-b717-49cb-91f0-22fb3f09a97a" }, "connection_id": { "type": "string", @@ -3881,8 +3607,7 @@ "required": [ "id", "type", - "object_type", - "object", + "entity_id", "connection_id", "sync_config_id", "paused", @@ -3898,6 +3623,14 @@ "type": "object", "title": "Data model: Objects", "properties": { + "id": { + "type": "string", + "example": "20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9" + }, + "sync_id": { + "type": "string", + "example": "629525f8-f6f7-436c-80fa-1cb23acc5bf8" + }, "object_type": { "type": "string", "enum": [ @@ -3955,6 +3688,8 @@ } }, "required": [ + "id", + "sync_id", "object_type", "object", "start_timestamp", @@ -3972,9 +3707,19 @@ { "type": "object", "title": "Data model: Entities", + "deprecated": true, "properties": { + "id": { + "type": "string", + "example": "20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9" + }, + "sync_id": { + "type": "string", + "example": "629525f8-f6f7-436c-80fa-1cb23acc5bf8" + }, "entity_id": { - "type": "string" + "type": "string", + "deprecated": true }, "error_message": { "type": "string", @@ -4022,6 +3767,8 @@ } }, "required": [ + "id", + "sync_id", "entity_id", "start_timestamp", "end_timestamp", @@ -4308,22 +4055,6 @@ }, "create_destination": { "oneOf": [ - { - "type": "object", - "title": "postgres", - "properties": { - "type": { - "type": "string", - "enum": [ - "supaglue" - ], - "example": "supaglue" - } - }, - "required": [ - "type" - ] - }, { "type": "object", "title": "postgres", @@ -4349,6 +4080,23 @@ "config" ] }, + { + "type": "object", + "title": "supaglue", + "description": "A Supaglue-hosted Postgres database destination for Listing APIs.", + "properties": { + "type": { + "type": "string", + "enum": [ + "supaglue" + ], + "example": "supaglue" + } + }, + "required": [ + "type" + ] + }, { "type": "object", "title": "bigquery", @@ -4881,6 +4629,7 @@ }, "provider_entity_mapping": { "type": "object", + "deprecated": true, "properties": { "entity_id": { "type": "string", @@ -4902,6 +4651,7 @@ }, "connection_entity_mapping": { "type": "object", + "deprecated": true, "properties": { "entity_id": { "type": "string" @@ -4992,6 +4742,7 @@ }, "entity_field_mapping": { "type": "object", + "deprecated": true, "properties": { "entity_field": { "type": "string", diff --git a/openapi/v2/mgmt/openapi.yaml b/openapi/v2/mgmt/openapi.yaml index 03e0812f72..4a1a5faa18 100644 --- a/openapi/v2/mgmt/openapi.yaml +++ b/openapi/v2/mgmt/openapi.yaml @@ -31,10 +31,6 @@ paths: $ref: paths/customers.yaml '/customers/{customer_id}': $ref: paths/customers@{customer_id}.yaml - '/destinations': - $ref: paths/destinations.yaml - '/destinations/{destination_id}': - $ref: paths/destinations@{destination_id}.yaml '/magic_links': $ref: paths/magic_links.yaml '/magic_links/{magic_link_id}': @@ -55,10 +51,6 @@ paths: $ref: paths/entities.yaml '/entities/{entity_id}': $ref: paths/entities@{entity_id}.yaml - '/providers': - $ref: paths/providers.yaml - '/providers/{provider_id}': - $ref: paths/providers@{provider_id}.yaml '/sync_configs': $ref: paths/sync_configs.yaml '/sync_configs/{sync_config_id}': @@ -119,6 +111,8 @@ components: $ref: ../../common/components/schemas/pagination.yaml customer: $ref: ./components/schemas/objects/customer.yaml + simple_customer: + $ref: ./components/schemas/objects/simple_customer.yaml provider: $ref: ./components/schemas/objects/provider.yaml destination: diff --git a/openapi/v2/mgmt/paths/connections@{connection_id}.yaml b/openapi/v2/mgmt/paths/connections@{connection_id}.yaml index f1a2998517..53ac00ffdb 100644 --- a/openapi/v2/mgmt/paths/connections@{connection_id}.yaml +++ b/openapi/v2/mgmt/paths/connections@{connection_id}.yaml @@ -13,11 +13,6 @@ get: schema: allOf: - $ref: ../components/schemas/objects/connection.yaml - - type: object - properties: - user_id: - type: string - description: The id of the user associated with this connection. This is sometimes also known as the owner. delete: operationId: deleteConnection summary: Delete connection diff --git a/openapi/v2/mgmt/paths/customers.yaml b/openapi/v2/mgmt/paths/customers.yaml index 350cec9bef..6394948820 100644 --- a/openapi/v2/mgmt/paths/customers.yaml +++ b/openapi/v2/mgmt/paths/customers.yaml @@ -15,7 +15,7 @@ get: schema: type: array items: - $ref: ../components/schemas/objects/customer.yaml + $ref: ../components/schemas/objects/simple_customer.yaml put: operationId: upsertCustomer summary: Upsert customer diff --git a/openapi/v2/mgmt/paths/customers@{customer_id}.yaml b/openapi/v2/mgmt/paths/customers@{customer_id}.yaml index fc72ac3cf0..a099c9a9fd 100644 --- a/openapi/v2/mgmt/paths/customers@{customer_id}.yaml +++ b/openapi/v2/mgmt/paths/customers@{customer_id}.yaml @@ -11,14 +11,7 @@ get: content: application/json: schema: - $ref: ../components/schemas/objects/customer.yaml - examples: - Example: - value: - application_id: d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69 - name: MyCompany Inc - email: contact@mycompany.com - customer_id: your-customers-unique-application-id + $ref: ../components/schemas/objects/simple_customer.yaml delete: operationId: deleteCustomer summary: Delete customer @@ -32,14 +25,7 @@ delete: content: application/json: schema: - $ref: ../components/schemas/objects/customer.yaml - examples: - Example: - value: - application_id: d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69 - name: MyCompany Inc - email: contact@mycompany.com - customer_id: your-customers-unique-application-id + $ref: ../components/schemas/objects/simple_customer.yaml parameters: - name: customer_id in: path diff --git a/openapi/v2/mgmt/paths/sync_runs.yaml b/openapi/v2/mgmt/paths/sync_runs.yaml index 09007f670e..8558a91ca2 100644 --- a/openapi/v2/mgmt/paths/sync_runs.yaml +++ b/openapi/v2/mgmt/paths/sync_runs.yaml @@ -48,6 +48,7 @@ get: example: account description: The object to filter by - name: entity_id + deprecated: true in: query schema: type: string @@ -64,13 +65,13 @@ get: schema: type: string example: '>2021-01-06T03:24:53.434326Z' - description: The start time to filter by. Should start with one of [>, <] followed by an ISO 8601 timestamp. + description: The start time to filter by. Should start with one of [`>`, `<`] followed by an ISO 8601 timestamp. - name: end_timestamp in: query schema: type: string example: '>2021-01-06T03:24:53.434326Z' - description: The end time to filter by. Should start with [>, <] followed by an ISO 8601 timestamp. + description: The end time to filter by. Should start with [`>`, `<`] followed by an ISO 8601 timestamp. responses: '200': description: SyncRun diff --git a/openapi/v2/mgmt/paths/syncs.yaml b/openapi/v2/mgmt/paths/syncs.yaml index c38821e3bb..7d6c295d44 100644 --- a/openapi/v2/mgmt/paths/syncs.yaml +++ b/openapi/v2/mgmt/paths/syncs.yaml @@ -49,6 +49,7 @@ get: example: contact description: The object to filter by - name: entity_id + deprecated: true in: query schema: type: string diff --git a/openapi/v2/mgmt/paths/syncs@_pause.yaml b/openapi/v2/mgmt/paths/syncs@_pause.yaml index cef2836916..1ebe5df622 100644 --- a/openapi/v2/mgmt/paths/syncs@_pause.yaml +++ b/openapi/v2/mgmt/paths/syncs@_pause.yaml @@ -11,14 +11,6 @@ post: application/json: schema: oneOf: - - type: object - title: 'Data model: Entities' - properties: - entity_id: - type: string - description: The entity id to filter by - required: - - entity_id - type: object title: 'Data model: Objects' properties: @@ -53,6 +45,15 @@ post: required: - object_type - object + - type: object + title: 'Data model: Entities' + deprecated: true + properties: + entity_id: + type: string + description: The entity id to filter by + required: + - entity_id responses: '200': diff --git a/openapi/v2/mgmt/paths/syncs@_resume.yaml b/openapi/v2/mgmt/paths/syncs@_resume.yaml index a8b79124ca..5066fe139c 100644 --- a/openapi/v2/mgmt/paths/syncs@_resume.yaml +++ b/openapi/v2/mgmt/paths/syncs@_resume.yaml @@ -11,15 +11,6 @@ post: application/json: schema: oneOf: - - type: object - title: 'Data model: Entities' - properties: - entity_id: - type: string - example: cfba6060-c43a-4a63-8a8c-501c6099f8b0 - description: The entity id to filter by - required: - - entity_id - type: object title: 'Data model: Objects' properties: @@ -38,6 +29,16 @@ post: required: - object_type - object + - type: object + title: 'Data model: Entities' + deprecated: true + properties: + entity_id: + type: string + example: cfba6060-c43a-4a63-8a8c-501c6099f8b0 + description: The entity id to filter by + required: + - entity_id responses: '200': description: Sync resumed diff --git a/openapi/v2/mgmt/paths/syncs@_trigger.yaml b/openapi/v2/mgmt/paths/syncs@_trigger.yaml index 927f3fa8a1..ace03a81d9 100644 --- a/openapi/v2/mgmt/paths/syncs@_trigger.yaml +++ b/openapi/v2/mgmt/paths/syncs@_trigger.yaml @@ -11,17 +11,6 @@ post: application/json: schema: oneOf: - - type: object - title: 'Data model: Entities' - properties: - entity_id: - type: string - description: The entity id to filter by - perform_full_refresh: - type: boolean - example: true - required: - - entity_id - type: object title: 'Data model: Objects' properties: @@ -61,6 +50,18 @@ post: required: - object_type - object + - type: object + title: 'Data model: Entities' + deprecated: true + properties: + entity_id: + type: string + description: The entity id to filter by + perform_full_refresh: + type: boolean + example: true + required: + - entity_id responses: '200': diff --git a/packages/schemas/gen/v2/mgmt.ts b/packages/schemas/gen/v2/mgmt.ts index 0a6e73584e..91a930c504 100644 --- a/packages/schemas/gen/v2/mgmt.ts +++ b/packages/schemas/gen/v2/mgmt.ts @@ -30,26 +30,6 @@ export interface paths { }; }; }; - "/destinations": { - /** - * List destinations - * @description Get a list of destinations - */ - get: operations["getDestinations"]; - /** Create destination */ - post: operations["createDestination"]; - }; - "/destinations/{destination_id}": { - /** Get destination */ - get: operations["getDestination"]; - /** Update destination */ - put: operations["updateDestination"]; - parameters: { - path: { - destination_id: string; - }; - }; - }; "/magic_links": { /** * List magic links @@ -198,28 +178,6 @@ export interface paths { }; }; }; - "/providers": { - /** - * List providers - * @description Get a list of providers - */ - get: operations["getProviders"]; - /** Create provider */ - post: operations["createProvider"]; - }; - "/providers/{provider_id}": { - /** Get provider */ - get: operations["getProvider"]; - /** Update provider */ - put: operations["updateProvider"]; - /** Delete provider */ - delete: operations["deleteProvider"]; - parameters: { - path: { - provider_id: string; - }; - }; - }; "/sync_configs": { /** * List Sync Configs @@ -439,6 +397,16 @@ export interface components { email: string; connections?: (components["schemas"]["connection"])[]; }; + simple_customer: { + /** @example d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69 */ + application_id: string; + /** @example your-customers-unique-application-id */ + customer_id: string; + /** @example MyCompany Inc */ + name: string; + /** @example contact@mycompany.com */ + email: string; + }; provider: { /** @example 0c4cb91f-e392-46f5-8934-17496371f932 */ id: string; @@ -449,11 +417,14 @@ export interface components { * @example oauth2 * @enum {string} */ - auth_type: "oauth2" | "api_key"; + auth_type: "oauth2" | "api_key" | "access_key_secret"; name: components["schemas"]["provider_name"]; config?: components["schemas"]["create_provider_config"]; objects?: components["schemas"]["objects"]; - /** @description This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. */ + /** + * @deprecated + * @description This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview). The object/field mappings (aka [Entity Mappings](https://docs.supaglue.com/platform/entities/overview#entity-mapping)) here are set by you, the developer, and the mappings apply for all your customers. + */ entity_mappings?: (components["schemas"]["provider_entity_mapping"])[]; }; /** @@ -476,25 +447,33 @@ export interface components { id: string; /** @example 726fb798-d854-4c59-9a23-57e3e2f73eae */ application_id: string; + /** @example My Postgres Destination */ + name: string; /** - * @example supaglue + * @example postgres * @enum {string} */ - type: "supaglue"; + type: "postgres"; + config: components["schemas"]["postgres_config_safe"]; + /** + * @description A monotonically increasing version number of the destination configuration + * @example 1 + */ version: number; }, { /** @example d455d20b-f6dc-4bc3-ab14-b4f21c4b4835 */ id: string; /** @example 726fb798-d854-4c59-9a23-57e3e2f73eae */ application_id: string; - /** @example My Postgres Destination */ - name: string; /** - * @example postgres + * @example supaglue * @enum {string} */ - type: "postgres"; - config: components["schemas"]["postgres_config_safe"]; + type: "supaglue"; + /** + * @description A monotonically increasing version number of the destination configuration + * @example 1 + */ version: number; }, { /** @example e888cedf-e9d0-42c5-9485-2d72984faef2 */ @@ -509,6 +488,10 @@ export interface components { */ type: "bigquery"; config: components["schemas"]["bigquery_config_safe"]; + /** + * @description A monotonically increasing version number of the destination configuration + * @example 1 + */ version: number; }, { /** @example e888cedf-e9d0-42c5-9485-2d72984faef2 */ @@ -523,6 +506,10 @@ export interface components { */ type: "mongodb"; config: components["schemas"]["mongodb_config_safe"]; + /** + * @description A monotonically increasing version number of the destination configuration + * @example 1 + */ version: number; }]>; postgres_config_safe: { @@ -637,6 +624,7 @@ export interface components { /** @example mysensitivepassword */ password: string; }; + /** @deprecated */ schema: { /** @example 649b1e49-2722-46a3-a7e7-10caae78a43f */ id: string; @@ -646,6 +634,7 @@ export interface components { name: string; config: components["schemas"]["schema_config"]; }; + /** @deprecated */ schema_config: { fields: ({ /** @@ -668,7 +657,10 @@ export interface components { magic_link: { /** @example ec208408-db29-4705-b39e-4d33070b4ef6 */ id: string; - /** @example created */ + /** + * @description `new` or `consumed` + * @example new + */ status: string; /** @example d8ceb3ff-8b7f-4fa7-b8de-849292f6ca69 */ application_id: string; @@ -689,6 +681,7 @@ export interface components { return_url: string; /** * Format: date-time + * @description Any ISO formatted date-time string indicating when the magic link expires. * @example 2023-02-23T00:00:00Z */ expires_at: Date; @@ -705,6 +698,7 @@ export interface components { /** @example 18000 */ expiration_secs: number; }; + /** @deprecated */ entity: { /** @example 649b1e49-2722-46a3-a7e7-10caae78a43f */ id: string; @@ -714,6 +708,7 @@ export interface components { name: string; config: components["schemas"]["entity_config"]; }; + /** @deprecated */ entity_config: { fields: ({ /** @example apolla_first_name */ @@ -792,7 +787,10 @@ export interface components { * @example https://app.hubspot.com/contacts/123456 */ instance_url: string; - /** @description This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). */ + /** + * @deprecated + * @description This is for field mappings when you data model using [Objects](https://docs.supaglue.com/platform/objects/overview#schemas). The field mappings here are set by your customers using the [Field Mappings API](https://docs.supaglue.com/api/v2/mgmt/update-object-field-mappings). + */ schema_mappings_config?: { common_objects?: ({ /** @example Contact__c */ @@ -806,10 +804,12 @@ export interface components { })[]; }; /** + * @deprecated * @description This is for object/field mappings when you data model using [Entities](https://docs.supaglue.com/platform/entities/overview#entity-mapping). The object/field mappings here are set by your customers using the [Entity Mappings API](https://docs.supaglue.com/api/v2/mgmt/upsert-entity-mapping). * @example [] */ entity_mappings?: (components["schemas"]["connection_entity_mapping"])[]; + connection_sync_config?: components["schemas"]["connection_sync_config"]; }; /** * @example crm @@ -862,6 +862,7 @@ export interface components { */ object: string; })[]; + /** @deprecated */ entities?: ({ /** @example 3a82409f-c98f-4d25-bbd8-3335de3f12cc */ entity_id: string; @@ -940,22 +941,6 @@ export interface components { /** @enum {string} */ provider_name_no_category: "intercom" | "gong" | "linear"; sync: OneOf<[{ - /** @example 7026e4e8-15d7-48d8-b997-f2592b654619 */ - id: string; - /** - * @example entity - * @enum {string} - */ - type: "entity"; - /** @example 94e6cb6c-0ec8-423f-8873-21054979a6b1 */ - entity_id: string; - /** @example 3217ea51-11c8-43c9-9547-6f197e02e5e4 */ - connection_id: string; - /** @example 3217ea51-11c8-43c9-9547-6f197e02e5e5 */ - sync_config_id: string; - /** @example false */ - paused: boolean; - }, { /** @example 7026e4e8-15d7-48d8-b997-f2592b654619 */ id: string; /** @@ -1003,16 +988,15 @@ export interface components { sync_config_id: string; /** @example false */ paused: boolean; - }]>; - sync_with_provider_and_customer: OneOf<[{ - /** @example 971cb76d-9558-42fe-8f3b-8a531c32bd5f */ + }, { + /** @example 7026e4e8-15d7-48d8-b997-f2592b654619 */ id: string; /** * @example entity * @enum {string} */ type: "entity"; - /** @example 70da3830-b717-49cb-91f0-22fb3f09a97a */ + /** @example 94e6cb6c-0ec8-423f-8873-21054979a6b1 */ entity_id: string; /** @example 3217ea51-11c8-43c9-9547-6f197e02e5e4 */ connection_id: string; @@ -1020,11 +1004,8 @@ export interface components { sync_config_id: string; /** @example false */ paused: boolean; - /** @example hubspot */ - provider_name: string; - /** @example my-customer-1 */ - customer_id: string; - }, { + }]>; + sync_with_provider_and_customer: OneOf<[{ /** @example 971cb76d-9558-42fe-8f3b-8a531c32bd5f */ id: string; /** @@ -1049,8 +1030,32 @@ export interface components { provider_name: string; /** @example my-customer-1 */ customer_id: string; + }, { + /** @example 971cb76d-9558-42fe-8f3b-8a531c32bd5f */ + id: string; + /** + * @example entity + * @enum {string} + */ + type: "entity"; + /** @example 70da3830-b717-49cb-91f0-22fb3f09a97a */ + entity_id: string; + /** @example 3217ea51-11c8-43c9-9547-6f197e02e5e4 */ + connection_id: string; + /** @example 3217ea51-11c8-43c9-9547-6f197e02e5e5 */ + sync_config_id: string; + /** @example false */ + paused: boolean; + /** @example hubspot */ + provider_name: string; + /** @example my-customer-1 */ + customer_id: string; }]>; sync_run: OneOf<[{ + /** @example 20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9 */ + id: string; + /** @example 629525f8-f6f7-436c-80fa-1cb23acc5bf8 */ + sync_id: string; /** @enum {string} */ object_type: "common" | "standard" | "custom"; object: string; @@ -1072,6 +1077,11 @@ export interface components { /** @example 100 */ num_records_synced: number | null; }, { + /** @example 20eb4da3-6b38-4ec6-a82d-ecee59a9d6d9 */ + id: string; + /** @example 629525f8-f6f7-436c-80fa-1cb23acc5bf8 */ + sync_id: string; + /** @deprecated */ entity_id: string; error_message: string | null; /** @example 2023-02-22T19:55:17.559Z */ @@ -1161,12 +1171,6 @@ export interface components { config: components["schemas"]["entity_config"]; }; create_destination: OneOf<[{ - /** - * @example supaglue - * @enum {string} - */ - type: "supaglue"; - }, { /** @example My Postgres Destination */ name: string; /** @@ -1175,6 +1179,12 @@ export interface components { */ type: "postgres"; config: components["schemas"]["postgres_config_unsafe"]; + }, { + /** + * @example supaglue + * @enum {string} + */ + type: "supaglue"; }, { /** @example My BigQuery Destination */ name: string; @@ -1386,12 +1396,14 @@ export interface components { type: "standard" | "custom"; name: string; }; + /** @deprecated */ provider_entity_mapping: { /** @example apolla_contact */ entity_id: string; object?: components["schemas"]["standard_object"]; field_mappings?: (components["schemas"]["entity_field_mapping"])[]; }; + /** @deprecated */ connection_entity_mapping: { entity_id: string; object?: components["schemas"]["standard_or_custom_object"]; @@ -1413,6 +1425,7 @@ export interface components { is_additional: boolean; })[]; }; + /** @deprecated */ entity_field_mapping: { /** * @description The name of the field in your application. @@ -1547,7 +1560,7 @@ export interface operations { /** @description Customers */ 200: { content: { - "application/json": (components["schemas"]["customer"])[]; + "application/json": (components["schemas"]["simple_customer"])[]; }; }; }; @@ -1579,7 +1592,7 @@ export interface operations { /** @description Customer */ 200: { content: { - "application/json": components["schemas"]["customer"]; + "application/json": components["schemas"]["simple_customer"]; }; }; }; @@ -1595,74 +1608,7 @@ export interface operations { /** @description Customer */ 200: { content: { - "application/json": components["schemas"]["customer"]; - }; - }; - }; - }; - /** - * List destinations - * @description Get a list of destinations - */ - getDestinations: { - responses: { - /** @description Destinations */ - 200: { - content: { - "application/json": (components["schemas"]["destination"])[]; - }; - }; - }; - }; - /** Create destination */ - createDestination: { - requestBody: { - content: { - "application/json": components["schemas"]["create_destination"]; - }; - }; - responses: { - /** @description Destination created */ - 201: { - content: { - "application/json": components["schemas"]["destination"]; - }; - }; - }; - }; - /** Get destination */ - getDestination: { - parameters: { - path: { - destination_id: string; - }; - }; - responses: { - /** @description Destination */ - 200: { - content: { - "application/json": components["schemas"]["destination"]; - }; - }; - }; - }; - /** Update destination */ - updateDestination: { - parameters: { - path: { - destination_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["update_destination"]; - }; - }; - responses: { - /** @description Destination */ - 200: { - content: { - "application/json": components["schemas"]["destination"]; + "application/json": components["schemas"]["simple_customer"]; }; }; }; @@ -2009,89 +1955,6 @@ export interface operations { }; }; }; - /** - * List providers - * @description Get a list of providers - */ - getProviders: { - responses: { - /** @description Providers */ - 200: { - content: { - "application/json": (components["schemas"]["provider"])[]; - }; - }; - }; - }; - /** Create provider */ - createProvider: { - requestBody: { - content: { - "application/json": components["schemas"]["create_provider"]; - }; - }; - responses: { - /** @description Provider created */ - 201: { - content: { - "application/json": components["schemas"]["provider"]; - }; - }; - }; - }; - /** Get provider */ - getProvider: { - parameters: { - path: { - provider_id: string; - }; - }; - responses: { - /** @description Provider */ - 200: { - content: { - "application/json": components["schemas"]["provider"]; - }; - }; - }; - }; - /** Update provider */ - updateProvider: { - parameters: { - path: { - provider_id: string; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["update_provider"]; - }; - }; - responses: { - /** @description Provider */ - 200: { - content: { - "application/json": components["schemas"]["provider"]; - }; - }; - }; - }; - /** Delete provider */ - deleteProvider: { - parameters: { - path: { - provider_id: string; - }; - }; - responses: { - /** @description Provider */ - 200: { - content: { - "application/json": components["schemas"]["provider"]; - }; - }; - }; - }; /** * List Sync Configs * @description Get a list of Sync Configs @@ -2392,10 +2255,7 @@ export interface operations { /** @description Connection */ 200: { content: { - "application/json": components["schemas"]["connection"] & { - /** @description The id of the user associated with this connection. This is sometimes also known as the owner. */ - user_id?: string; - }; + "application/json": components["schemas"]["connection"]; }; }; }; @@ -2432,7 +2292,10 @@ export interface operations { object_type?: "common" | "standard" | "custom"; /** @description The object to filter by */ object?: string; - /** @description The entity id to filter by */ + /** + * @deprecated + * @description The entity id to filter by + */ entity_id?: string; }; }; @@ -2458,9 +2321,6 @@ export interface operations { requestBody: { content: { "application/json": OneOf<[{ - /** @description The entity id to filter by */ - entity_id: string; - }, { /** * @description The object type to filter by * @example standard @@ -2484,6 +2344,9 @@ export interface operations { * @example contact */ object: string; + }, { + /** @description The entity id to filter by */ + entity_id: string; }]>; }; }; @@ -2507,12 +2370,6 @@ export interface operations { requestBody: { content: { "application/json": OneOf<[{ - /** - * @description The entity id to filter by - * @example cfba6060-c43a-4a63-8a8c-501c6099f8b0 - */ - entity_id: string; - }, { /** * @description The object type to filter by * @example standard @@ -2524,6 +2381,12 @@ export interface operations { * @example contact */ object: string; + }, { + /** + * @description The entity id to filter by + * @example cfba6060-c43a-4a63-8a8c-501c6099f8b0 + */ + entity_id: string; }]>; }; }; @@ -2547,11 +2410,6 @@ export interface operations { requestBody: { content: { "application/json": OneOf<[{ - /** @description The entity id to filter by */ - entity_id: string; - /** @example true */ - perform_full_refresh?: boolean; - }, { /** * @description The object type to filter by * @example standard @@ -2579,6 +2437,11 @@ export interface operations { object: string; /** @example true */ perform_full_refresh?: boolean; + }, { + /** @description The entity id to filter by */ + entity_id: string; + /** @example true */ + perform_full_refresh?: boolean; }]>; }; }; @@ -2609,13 +2472,16 @@ export interface operations { object_type?: "common" | "standard" | "custom"; /** @description The object to filter by */ object?: string; - /** @description The entity id to filter by */ + /** + * @deprecated + * @description The entity id to filter by + */ entity_id?: string; /** @description The status to filter by (case-insensitive) */ status?: string; - /** @description The start time to filter by. Should start with one of [>, <] followed by an ISO 8601 timestamp. */ + /** @description The start time to filter by. Should start with one of [`>`, `<`] followed by an ISO 8601 timestamp. */ start_timestamp?: string; - /** @description The end time to filter by. Should start with [>, <] followed by an ISO 8601 timestamp. */ + /** @description The end time to filter by. Should start with [`>`, `<`] followed by an ISO 8601 timestamp. */ end_timestamp?: string; }; }; diff --git a/packages/types/magic_link.ts b/packages/types/magic_link.ts index f6074911d4..d0c6d006f4 100644 --- a/packages/types/magic_link.ts +++ b/packages/types/magic_link.ts @@ -15,7 +15,6 @@ export type MagicLink = { expiresAt: Date; url: string; returnUrl: string; - // TODO: Make enums status: string; };