@wix/auto_sdk_crm_pipelines 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../meta.ts","../../src/crm-pipelines-v1-pipeline-pipelines.http.ts","../../src/crm-pipelines-v1-pipeline-pipelines.types.ts","../../src/crm-pipelines-v1-pipeline-pipelines.meta.ts"],"sourcesContent":["export * from './src/crm-pipelines-v1-pipeline-pipelines.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixCrmPipelinesPipelinesV1PipelinesUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/pipelines-app/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines-app/v1/bulk/pipelines/',\n destPath: '/v1/bulk/pipelines/',\n },\n {\n srcPath: '/_api/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n _: [\n {\n srcPath: '/_api/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/crm/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/crm/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_crm_pipelines';\n\n/**\n * Creates a pipeline with defined stages and a final stage.\n *\n * Pipelines must have at least one stage in addition to the `doneStage`.\n * You must specify allowed outcomes that cards can have when moved to the final stage.\n */\nexport function createPipeline(payload: object): RequestOptionsFactory<any> {\n function __createPipeline({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.CreatePipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPipeline;\n}\n\n/** Retrieves a pipeline by ID. */\nexport function getPipeline(payload: object): RequestOptionsFactory<any> {\n function __getPipeline({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.GetPipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/{pipelineId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPipeline;\n}\n\n/**\n * Updates a pipeline.\n *\n * Each time the pipeline is updated, `revision` increments by 1. The current `revision` must be specified when updating the pipeline. This ensures you're working with the latest pipeline and prevents unintended overwrites.\n *\n * >**Note:**\n * > You can add and remove stages by calling this method. However, the done stage and any stages that contain cards can't be removed.\n *\n * </blockquote>\n */\nexport function updatePipeline(payload: object): RequestOptionsFactory<any> {\n function __updatePipeline({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'PATCH' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.UpdatePipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/{pipeline.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePipeline;\n}\n\n/**\n * Deletes a pipeline.\n *\n * >**Notes:**\n * > - You can't delete a pipeline that contains cards. Make sure to remove all cards in the pipeline before calling this method.\n * > - Deleting a pipeline permanently removes it from a site.\n */\nexport function deletePipeline(payload: object): RequestOptionsFactory<any> {\n function __deletePipeline({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'DELETE' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.DeletePipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/{pipelineId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deletePipeline;\n}\n\n/**\n * Retrieves a list of up to 100 pipelines, given the provided paging, filtering, and sorting.\n *\n * By default, 50 pipelines are returned and sorted by `updatedDate` in descending order.\n *\n * For a detailed list of supported operations, see [Pipelines: Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/crm/crm/pipelines-management/pipelines/supported-filters-and-sorting).\n *\n * To learn more about querying pipelines, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\nexport function queryPipelines(payload: object): RequestOptionsFactory<any> {\n function __queryPipelines({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.QueryPipelines',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipelines.createdDate' },\n { path: 'pipelines.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryPipelines;\n}\n\n/**\n * Updates tags on multiple pipelines by specified pipeline IDs.\n *\n * If you specify a tag in both `assignTags` and `unassignTags`, the tag is assigned to the pipelines.\n */\nexport function bulkUpdatePipelineTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePipelineTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'POST' as any,\n methodFqn:\n 'wix.crm.pipelines.pipelines.v1.Pipelines.BulkUpdatePipelineTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/bulk/pipelines/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePipelineTags;\n}\n\n/**\n * Updates tags on multiple pipelines, using a filter to select which pipelines to update.\n *\n * If you don't specify a filter, all pipelines on the site are updated.\n * If you specify a tag in both `assignTags` and `unassignTags`, the tag is assigned to the pipelines.\n *\n * > **Note:**\n * > This is an asynchronous method that returns a job ID for tracking progress.\n * To get the status of the job, call [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).\n */\nexport function bulkUpdatePipelineTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePipelineTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'POST' as any,\n methodFqn:\n 'wix.crm.pipelines.pipelines.v1.Pipelines.BulkUpdatePipelineTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/bulk/pipelines/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePipelineTagsByFilter;\n}\n","/**\n * A structured business process workflow consisting of multiple ordered stages and a final stage.\n *\n * Pipelines define the path that cards (deals, leads, projects, etc.) follow from start to completion.\n * Each pipeline has a currency setting that applies to all monetary values within that pipeline.\n * Pipeline stages can be configured with stale duration settings to identify workflow delays.\n */\nexport interface Pipeline {\n /**\n * Pipeline ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the pipeline is updated.\n * To prevent conflicting changes, the current revision must be passed when updating the pipeline.\n *\n * Ignored when creating a pipeline.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the pipeline was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the pipeline was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Pipeline name.\n * @minLength 1\n * @maxLength 60\n */\n name?: string | null;\n /**\n * Currency code for monetary values in this pipeline. Must be a valid ISO 4217 currency code. For example, `USD`.\n *\n * Default: Based on the site's currency settings.\n * @format CURRENCY\n * @immutable\n */\n currency?: string | null;\n /**\n * Pipeline stages in order.\n * Cards move through these stages as they progress through the business process.\n * @minSize 1\n * @maxSize 30\n */\n stages?: Stage[];\n /** The final pipeline stage where cards receive a final outcome. */\n doneStage?: DoneStage;\n /** Extended fields data. */\n extendedFields?: ExtendedFields;\n /** Tags for organizing and categorizing pipelines. */\n tags?: PrivateTags;\n}\n\nexport interface Stage {\n /**\n * Stage ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Stage name.\n * @minLength 1\n * @maxLength 40\n */\n name?: string | null;\n /**\n * The duration (in hours) a card can remain in this stage before becoming stale.\n * When a card exceeds this duration, it's marked as stale to indicate potential workflow delays.\n * @min 1\n * @max 100000\n */\n staleDurationInHours?: number | null;\n}\n\nexport interface DoneStage {\n /**\n * Done stage ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Done stage name.\n * @minLength 1\n * @maxLength 40\n */\n name?: string | null;\n /**\n * Outcomes that cards can have when moved to the done stage.\n * @minSize 1\n * @maxSize 3\n */\n allowedOutcomes?: OutcomeWithLiterals[];\n}\n\nexport enum Outcome {\n /** No specific outcome. The process reached the final stage but has not been specified as successful or unsuccessful. */\n NONE = 'NONE',\n /** Successful outcome. The process achieved its intended goal. */\n WON = 'WON',\n /** Unsuccessful outcome. The process didn't achieve its intended goal. */\n LOST = 'LOST',\n}\n\n/** @enumType */\nexport type OutcomeWithLiterals = Outcome | 'NONE' | 'WON' | 'LOST';\n\nexport enum PipelineType {\n /** Generic pipeline type. */\n GENERIC = 'GENERIC',\n /** Lead pipeline type. */\n LEAD = 'LEAD',\n}\n\n/** @enumType */\nexport type PipelineTypeWithLiterals = PipelineType | 'GENERIC' | 'LEAD';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface PrivateTags {\n /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */\n privateTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePipelineRequest {\n /** Pipeline to create. */\n pipeline: Pipeline;\n}\n\nexport interface CreatePipelineResponse {\n /** Created pipeline. */\n pipeline?: Pipeline;\n}\n\nexport interface GetPipelineRequest {\n /**\n * Pipeline ID to retrieve.\n * @format GUID\n */\n pipelineId: string;\n}\n\nexport interface GetPipelineResponse {\n /** Retrieved pipeline. */\n pipeline?: Pipeline;\n}\n\nexport interface UpdatePipelineRequest {\n /** Pipeline to update, may be partial. */\n pipeline: Pipeline;\n}\n\nexport interface UpdatePipelineResponse {\n /** Updated pipeline. */\n pipeline?: Pipeline;\n}\n\nexport interface DeletePipelineRequest {\n /**\n * Pipeline ID.\n * @format GUID\n */\n pipelineId: string;\n}\n\nexport interface DeletePipelineResponse {}\n\nexport interface QueryPipelinesRequest {\n /** Query options. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryPipelinesResponse {\n /** Retrieved pipelines. */\n pipelines?: Pipeline[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkUpdatePipelineTagsRequest {\n /**\n * List of pipeline IDs to update.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n pipelineIds: string[];\n /** List of tags to assign. */\n assignTags?: PrivateTags;\n /** List of tags to unassign. */\n unassignTags?: PrivateTags;\n /**\n * Whether to return the updated pipelines in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkUpdatePipelineTagsResponse {\n /**\n * Results for each updated pipeline.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePipelineTagsResult[];\n /** Metadata about the bulk update. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdatePipelineTagsResult {\n /** Metadata about the individual updated pipeline. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdatePipelineTagsByFilterRequest {\n /** Filter to select which pipelines to update. */\n filter: Record<string, any> | null;\n /** List of tags to assign. */\n assignTags?: PrivateTags;\n /** List of tags to unassign. */\n unassignTags?: PrivateTags;\n /**\n * Whether to return the updated pipelines in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkUpdatePipelineTagsByFilterResponse {\n /**\n * Job ID for tracking the asynchronous tag updates.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type UpdatePipelineApplicationErrors =\n | {\n code?: 'CANNOT_CHANGE_DURATION_ON_STAGE_WITH_CARDS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_DELETE_STAGE_WITH_CARDS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_DELETE_PIPELINE_DONE_STAGE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INSUFFICIENT_PIPELINE_DATA';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'STAGE_IDS_MUST_BE_UNIQUE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type DeletePipelineApplicationErrors = {\n code?: 'CANNOT_DELETE_NON_EMPTY_PIPELINE';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdatePipelineTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdatePipelineTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixCrmPipelinesV1Pipeline from './crm-pipelines-v1-pipeline-pipelines.http.js';\nimport * as ambassadorWixCrmPipelinesV1PipelineTypes from './crm-pipelines-v1-pipeline-pipelines.types.js';\nimport * as ambassadorWixCrmPipelinesV1PipelineUniversalTypes from './crm-pipelines-v1-pipeline-pipelines.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createPipeline(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.CreatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.CreatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.CreatePipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.CreatePipelineResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.createPipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/pipelines',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPipeline(): __PublicMethodMetaInfo<\n 'GET',\n { pipelineId: string },\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.GetPipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.GetPipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.GetPipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.GetPipelineResponse\n> {\n const payload = { pipelineId: ':pipelineId' } as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.getPipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/pipelines/{pipelineId}',\n pathParams: { pipelineId: 'pipelineId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updatePipeline(): __PublicMethodMetaInfo<\n 'PATCH',\n { pipelineId: string },\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.UpdatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.UpdatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.UpdatePipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.UpdatePipelineResponse\n> {\n const payload = { pipeline: { id: ':pipelineId' } } as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.updatePipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/pipelines/{pipeline.id}',\n pathParams: { pipelineId: 'pipelineId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deletePipeline(): __PublicMethodMetaInfo<\n 'DELETE',\n { pipelineId: string },\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.DeletePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.DeletePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.DeletePipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.DeletePipelineResponse\n> {\n const payload = { pipelineId: ':pipelineId' } as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.deletePipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/pipelines/{pipelineId}',\n pathParams: { pipelineId: 'pipelineId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryPipelines(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.QueryPipelinesRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.QueryPipelinesRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.QueryPipelinesResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.QueryPipelinesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.queryPipelines(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/pipelines/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePipelineTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.bulkUpdatePipelineTags(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/pipelines/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePipelineTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsByFilterRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsByFilterRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsByFilterResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.bulkUpdatePipelineTagsByFilter(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/pipelines/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Pipeline as PipelineOriginal,\n Stage as StageOriginal,\n DoneStage as DoneStageOriginal,\n Outcome as OutcomeOriginal,\n OutcomeWithLiterals as OutcomeWithLiteralsOriginal,\n PipelineType as PipelineTypeOriginal,\n PipelineTypeWithLiterals as PipelineTypeWithLiteralsOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n PrivateTags as PrivateTagsOriginal,\n TagList as TagListOriginal,\n CreatePipelineRequest as CreatePipelineRequestOriginal,\n CreatePipelineResponse as CreatePipelineResponseOriginal,\n GetPipelineRequest as GetPipelineRequestOriginal,\n GetPipelineResponse as GetPipelineResponseOriginal,\n UpdatePipelineRequest as UpdatePipelineRequestOriginal,\n UpdatePipelineResponse as UpdatePipelineResponseOriginal,\n DeletePipelineRequest as DeletePipelineRequestOriginal,\n DeletePipelineResponse as DeletePipelineResponseOriginal,\n QueryPipelinesRequest as QueryPipelinesRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryPipelinesResponse as QueryPipelinesResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkUpdatePipelineTagsRequest as BulkUpdatePipelineTagsRequestOriginal,\n BulkUpdatePipelineTagsResponse as BulkUpdatePipelineTagsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkUpdatePipelineTagsResult as BulkUpdatePipelineTagsResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdatePipelineTagsByFilterRequest as BulkUpdatePipelineTagsByFilterRequestOriginal,\n BulkUpdatePipelineTagsByFilterResponse as BulkUpdatePipelineTagsByFilterResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n UpdatePipelineApplicationErrors as UpdatePipelineApplicationErrorsOriginal,\n DeletePipelineApplicationErrors as DeletePipelineApplicationErrorsOriginal,\n BulkUpdatePipelineTagsApplicationErrors as BulkUpdatePipelineTagsApplicationErrorsOriginal,\n BulkUpdatePipelineTagsByFilterApplicationErrors as BulkUpdatePipelineTagsByFilterApplicationErrorsOriginal,\n} from './crm-pipelines-v1-pipeline-pipelines.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAAA;AAAA,EAAA,sCAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,aAAO,iCAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAQd,SAAS,e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AI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,0BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACgC,uBAAuB,OAAO;AAEpE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACgC,+BAA+B,OAAO;AAE5E,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkUpdatePipelineTags","bulkUpdatePipelineTagsByFilter","createPipeline","deletePipeline","getPipeline","queryPipelines","updatePipeline","import_timestamp","import_rest_modules","payload","Outcome","PipelineType","SortOrder","WebhookIdentityType","createPipeline","getPipeline","updatePipeline","deletePipeline","queryPipelines","bulkUpdatePipelineTags","bulkUpdatePipelineTagsByFilter"]}
1
+ {"version":3,"sources":["../../meta.ts","../../src/crm-pipelines-v1-pipeline-pipelines.http.ts","../../src/crm-pipelines-v1-pipeline-pipelines.types.ts","../../src/crm-pipelines-v1-pipeline-pipelines.meta.ts"],"sourcesContent":["export * from './src/crm-pipelines-v1-pipeline-pipelines.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixCrmPipelinesPipelinesV1PipelinesUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/pipelines-app/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines-app/v1/bulk/pipelines/',\n destPath: '/v1/bulk/pipelines/',\n },\n {\n srcPath: '/_api/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n _: [\n {\n srcPath: '/_api/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/_api/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/crm/pipelines/v1/pipelines',\n destPath: '/v1/pipelines',\n },\n {\n srcPath: '/crm/pipelines/v1/bulk/pipelines',\n destPath: '/v1/bulk/pipelines',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_crm_pipelines';\n\n/**\n * Creates a pipeline with defined stages and a final stage.\n *\n * Pipelines must have at least one stage in addition to the `doneStage`.\n * You must specify allowed outcomes that cards can have when moved to the final stage.\n */\nexport function createPipeline(payload: object): RequestOptionsFactory<any> {\n function __createPipeline({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.CreatePipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createPipeline;\n}\n\n/** Retrieves a pipeline by ID. */\nexport function getPipeline(payload: object): RequestOptionsFactory<any> {\n function __getPipeline({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.GetPipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/{pipelineId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPipeline;\n}\n\n/**\n * Updates a pipeline.\n *\n * Each time the pipeline is updated, `revision` increments by 1. The current `revision` must be specified when updating the pipeline. This ensures you're working with the latest pipeline and prevents unintended overwrites.\n *\n * >**Note:**\n * > You can add and remove stages by calling this method. However, the done stage and any stages that contain cards can't be removed.\n *\n * </blockquote>\n */\nexport function updatePipeline(payload: object): RequestOptionsFactory<any> {\n function __updatePipeline({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'PATCH' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.UpdatePipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/{pipeline.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipeline.createdDate' },\n { path: 'pipeline.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePipeline;\n}\n\n/**\n * Deletes a pipeline.\n *\n * >**Notes:**\n * > - You can't delete a pipeline that contains cards. Make sure to remove all cards in the pipeline before calling this method.\n * > - Deleting a pipeline permanently removes it from a site.\n */\nexport function deletePipeline(payload: object): RequestOptionsFactory<any> {\n function __deletePipeline({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'DELETE' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.DeletePipeline',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/{pipelineId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deletePipeline;\n}\n\n/**\n * Retrieves a list of up to 100 pipelines, given the provided paging, filtering, and sorting.\n *\n * By default, 50 pipelines are returned and sorted by `updatedDate` in descending order.\n *\n * For a detailed list of supported operations, see [Pipelines: Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/crm/crm/pipelines-management/pipelines/supported-filters-and-sorting).\n *\n * To learn more about querying pipelines, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\nexport function queryPipelines(payload: object): RequestOptionsFactory<any> {\n function __queryPipelines({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.pipelines.v1.Pipelines.QueryPipelines',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pipelines.createdDate' },\n { path: 'pipelines.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/pipelines/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryPipelines;\n}\n\n/**\n * Updates tags on multiple pipelines by specified pipeline IDs.\n *\n * If you specify a tag in both `assignTags` and `unassignTags`, the tag is assigned to the pipelines.\n */\nexport function bulkUpdatePipelineTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePipelineTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'POST' as any,\n methodFqn:\n 'wix.crm.pipelines.pipelines.v1.Pipelines.BulkUpdatePipelineTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/bulk/pipelines/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePipelineTags;\n}\n\n/**\n * Updates tags on multiple pipelines, using a filter to select which pipelines to update.\n *\n * If you don't specify a filter, all pipelines on the site are updated.\n * If you specify a tag in both `assignTags` and `unassignTags`, the tag is assigned to the pipelines.\n *\n * > **Note:**\n * > This is an asynchronous method that returns a job ID for tracking progress.\n * To get the status of the job, call [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).\n */\nexport function bulkUpdatePipelineTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdatePipelineTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.pipeline',\n method: 'POST' as any,\n methodFqn:\n 'wix.crm.pipelines.pipelines.v1.Pipelines.BulkUpdatePipelineTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesPipelinesV1PipelinesUrl({\n protoPath: '/v1/bulk/pipelines/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdatePipelineTagsByFilter;\n}\n","/**\n * A structured business process workflow consisting of multiple ordered stages and a final stage.\n *\n * Pipelines define the path that cards (deals, leads, projects, etc.) follow from start to completion.\n * Each pipeline has a currency setting that applies to all monetary values within that pipeline.\n * Pipeline stages can be configured with stale duration settings to identify workflow delays.\n */\nexport interface Pipeline {\n /**\n * Pipeline ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the pipeline is updated.\n * To prevent conflicting changes, the current revision must be passed when updating the pipeline.\n *\n * Ignored when creating a pipeline.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the pipeline was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the pipeline was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Pipeline name.\n * @minLength 1\n * @maxLength 60\n */\n name?: string | null;\n /**\n * Currency code for monetary values in this pipeline. Must be a valid ISO 4217 currency code. For example, `USD`.\n *\n * Default: Based on the site's currency settings.\n * @format CURRENCY\n * @immutable\n */\n currency?: string | null;\n /**\n * Pipeline stages in order.\n * Cards move through these stages as they progress through the business process.\n * @minSize 1\n * @maxSize 30\n */\n stages?: Stage[];\n /** The final pipeline stage where cards receive a final outcome. */\n doneStage?: DoneStage;\n /** Extended fields data. */\n extendedFields?: ExtendedFields;\n /** Tags for organizing and categorizing pipelines. */\n tags?: PrivateTags;\n}\n\nexport interface Stage {\n /**\n * Stage ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Stage name.\n * @minLength 1\n * @maxLength 40\n */\n name?: string | null;\n /**\n * The duration (in hours) a card can remain in this stage before becoming stale.\n * When a card exceeds this duration, it's marked as stale to indicate potential workflow delays.\n * @min 1\n * @max 100000\n */\n staleDurationInHours?: number | null;\n}\n\nexport interface DoneStage {\n /**\n * Done stage ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Done stage name.\n * @minLength 1\n * @maxLength 40\n */\n name?: string | null;\n /**\n * Outcomes that cards can have when moved to the done stage.\n * @minSize 1\n * @maxSize 3\n */\n allowedOutcomes?: OutcomeWithLiterals[];\n}\n\nexport enum Outcome {\n /** No specific outcome. The process reached the final stage but has not been specified as successful or unsuccessful. */\n NONE = 'NONE',\n /** Successful outcome. The process achieved its intended goal. */\n WON = 'WON',\n /** Unsuccessful outcome. The process didn't achieve its intended goal. */\n LOST = 'LOST',\n}\n\n/** @enumType */\nexport type OutcomeWithLiterals = Outcome | 'NONE' | 'WON' | 'LOST';\n\nexport enum PipelineType {\n /** Generic pipeline type. */\n GENERIC = 'GENERIC',\n /** Lead pipeline type. */\n LEAD = 'LEAD',\n}\n\n/** @enumType */\nexport type PipelineTypeWithLiterals = PipelineType | 'GENERIC' | 'LEAD';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface PrivateTags {\n /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */\n privateTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface CreatePipelineRequest {\n /** Pipeline to create. */\n pipeline: Pipeline;\n}\n\nexport interface CreatePipelineResponse {\n /** Created pipeline. */\n pipeline?: Pipeline;\n}\n\nexport interface MaxPipelinesReachedError {\n /** The maximum number of pipelines allowed. */\n limit?: number;\n}\n\nexport interface GetPipelineRequest {\n /**\n * Pipeline ID to retrieve.\n * @format GUID\n */\n pipelineId: string;\n}\n\nexport interface GetPipelineResponse {\n /** Retrieved pipeline. */\n pipeline?: Pipeline;\n}\n\nexport interface UpdatePipelineRequest {\n /** Pipeline to update, may be partial. */\n pipeline: Pipeline;\n}\n\nexport interface UpdatePipelineResponse {\n /** Updated pipeline. */\n pipeline?: Pipeline;\n}\n\nexport interface DeletePipelineRequest {\n /**\n * Pipeline ID.\n * @format GUID\n */\n pipelineId: string;\n}\n\nexport interface DeletePipelineResponse {}\n\nexport interface QueryPipelinesRequest {\n /** Query options. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryPipelinesResponse {\n /** Retrieved pipelines. */\n pipelines?: Pipeline[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkUpdatePipelineTagsRequest {\n /**\n * List of pipeline IDs to update.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n pipelineIds: string[];\n /** List of tags to assign. */\n assignTags?: PrivateTags;\n /** List of tags to unassign. */\n unassignTags?: PrivateTags;\n /**\n * Whether to return the updated pipelines in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkUpdatePipelineTagsResponse {\n /**\n * Results for each updated pipeline.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdatePipelineTagsResult[];\n /** Metadata about the bulk update. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @format GUID\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdatePipelineTagsResult {\n /** Metadata about the individual updated pipeline. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdatePipelineTagsByFilterRequest {\n /** Filter to select which pipelines to update. */\n filter: Record<string, any> | null;\n /** List of tags to assign. */\n assignTags?: PrivateTags;\n /** List of tags to unassign. */\n unassignTags?: PrivateTags;\n /**\n * Whether to return the updated pipelines in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkUpdatePipelineTagsByFilterResponse {\n /**\n * Job ID for tracking the asynchronous tag updates.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreatePipelineApplicationErrors = {\n code?: 'MAX_PIPELINES_REACHED';\n description?: string;\n data?: MaxPipelinesReachedError;\n};\n/** @docsIgnore */\nexport type UpdatePipelineApplicationErrors =\n | {\n code?: 'CANNOT_CHANGE_DURATION_ON_STAGE_WITH_CARDS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_DELETE_STAGE_WITH_CARDS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_DELETE_PIPELINE_DONE_STAGE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INSUFFICIENT_PIPELINE_DATA';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'STAGE_IDS_MUST_BE_UNIQUE';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type DeletePipelineApplicationErrors = {\n code?: 'CANNOT_DELETE_NON_EMPTY_PIPELINE';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdatePipelineTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdatePipelineTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixCrmPipelinesV1Pipeline from './crm-pipelines-v1-pipeline-pipelines.http.js';\nimport * as ambassadorWixCrmPipelinesV1PipelineTypes from './crm-pipelines-v1-pipeline-pipelines.types.js';\nimport * as ambassadorWixCrmPipelinesV1PipelineUniversalTypes from './crm-pipelines-v1-pipeline-pipelines.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createPipeline(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.CreatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.CreatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.CreatePipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.CreatePipelineResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.createPipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/pipelines',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getPipeline(): __PublicMethodMetaInfo<\n 'GET',\n { pipelineId: string },\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.GetPipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.GetPipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.GetPipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.GetPipelineResponse\n> {\n const payload = { pipelineId: ':pipelineId' } as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.getPipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/pipelines/{pipelineId}',\n pathParams: { pipelineId: 'pipelineId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updatePipeline(): __PublicMethodMetaInfo<\n 'PATCH',\n { pipelineId: string },\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.UpdatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.UpdatePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.UpdatePipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.UpdatePipelineResponse\n> {\n const payload = { pipeline: { id: ':pipelineId' } } as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.updatePipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/pipelines/{pipeline.id}',\n pathParams: { pipelineId: 'pipelineId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deletePipeline(): __PublicMethodMetaInfo<\n 'DELETE',\n { pipelineId: string },\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.DeletePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.DeletePipelineRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.DeletePipelineResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.DeletePipelineResponse\n> {\n const payload = { pipelineId: ':pipelineId' } as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.deletePipeline(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/pipelines/{pipelineId}',\n pathParams: { pipelineId: 'pipelineId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryPipelines(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.QueryPipelinesRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.QueryPipelinesRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.QueryPipelinesResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.QueryPipelinesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.queryPipelines(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/pipelines/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePipelineTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.bulkUpdatePipelineTags(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/pipelines/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdatePipelineTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsByFilterRequest,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsByFilterRequest,\n ambassadorWixCrmPipelinesV1PipelineUniversalTypes.BulkUpdatePipelineTagsByFilterResponse,\n ambassadorWixCrmPipelinesV1PipelineTypes.BulkUpdatePipelineTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Pipeline.bulkUpdatePipelineTagsByFilter(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/pipelines/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Pipeline as PipelineOriginal,\n Stage as StageOriginal,\n DoneStage as DoneStageOriginal,\n Outcome as OutcomeOriginal,\n OutcomeWithLiterals as OutcomeWithLiteralsOriginal,\n PipelineType as PipelineTypeOriginal,\n PipelineTypeWithLiterals as PipelineTypeWithLiteralsOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n PrivateTags as PrivateTagsOriginal,\n TagList as TagListOriginal,\n CreatePipelineRequest as CreatePipelineRequestOriginal,\n CreatePipelineResponse as CreatePipelineResponseOriginal,\n MaxPipelinesReachedError as MaxPipelinesReachedErrorOriginal,\n GetPipelineRequest as GetPipelineRequestOriginal,\n GetPipelineResponse as GetPipelineResponseOriginal,\n UpdatePipelineRequest as UpdatePipelineRequestOriginal,\n UpdatePipelineResponse as UpdatePipelineResponseOriginal,\n DeletePipelineRequest as DeletePipelineRequestOriginal,\n DeletePipelineResponse as DeletePipelineResponseOriginal,\n QueryPipelinesRequest as QueryPipelinesRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryPipelinesResponse as QueryPipelinesResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkUpdatePipelineTagsRequest as BulkUpdatePipelineTagsRequestOriginal,\n BulkUpdatePipelineTagsResponse as BulkUpdatePipelineTagsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkUpdatePipelineTagsResult as BulkUpdatePipelineTagsResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdatePipelineTagsByFilterRequest as BulkUpdatePipelineTagsByFilterRequestOriginal,\n BulkUpdatePipelineTagsByFilterResponse as BulkUpdatePipelineTagsByFilterResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreatePipelineApplicationErrors as CreatePipelineApplicationErrorsOriginal,\n UpdatePipelineApplicationErrors as UpdatePipelineApplicationErrorsOriginal,\n DeletePipelineApplicationErrors as DeletePipelineApplicationErrorsOriginal,\n BulkUpdatePipelineTagsApplicationErrors as BulkUpdatePipelineTagsApplicationErrorsOriginal,\n BulkUpdatePipelineTagsByFilterApplicationErrors as BulkUpdatePipelineTagsByFilterApplicationErrorsOriginal,\n} from './crm-pipelines-v1-pipeline-pipelines.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAAA;AAAA,EAAA,sCAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,mBAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,sBAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,aAAO,iCAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IA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vC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,0BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACgC,uBAAuB,OAAO;AAEpE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACgC,+BAA+B,OAAO;AAE5E,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkUpdatePipelineTags","bulkUpdatePipelineTagsByFilter","createPipeline","deletePipeline","getPipeline","queryPipelines","updatePipeline","import_timestamp","import_rest_modules","payload","Outcome","PipelineType","SortOrder","WebhookIdentityType","createPipeline","getPipeline","updatePipeline","deletePipeline","queryPipelines","bulkUpdatePipelineTags","bulkUpdatePipelineTagsByFilter"]}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { Pipeline, UpdatePipeline, UpdatePipelineApplicationErrors, DeletePipelineApplicationErrors, BulkUpdatePipelineTagsOptions, BulkUpdatePipelineTagsResponse, BulkUpdatePipelineTagsApplicationErrors, BulkUpdatePipelineTagsByFilterOptions, BulkUpdatePipelineTagsByFilterResponse, BulkUpdatePipelineTagsByFilterApplicationErrors, PipelineCreatedEnvelope, PipelineDeletedEnvelope, PipelineUpdatedEnvelope, PipelinesQueryBuilder, PipelineQuery, typedQueryPipelines } from './index.typings.mjs';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkUpdatePipelineTagsByFilterRequest, BulkUpdatePipelineTagsRequest, BulkUpdatePipelineTagsResult, CommonQueryWithEntityContext, CreatePipelineRequest, CreatePipelineResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeletePipelineRequest, DeletePipelineResponse, DomainEvent, DomainEventBodyOneOf, DoneStage, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetPipelineRequest, GetPipelineResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, Outcome, OutcomeWithLiterals, PipelineQuerySpec, PipelineType, PipelineTypeWithLiterals, PipelinesQueryResult, PrivateTags, QueryPipelinesRequest, QueryPipelinesResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, Stage, TagList, UpdatePipelineRequest, UpdatePipelineResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
2
+ import { Pipeline, CreatePipelineApplicationErrors, UpdatePipeline, UpdatePipelineApplicationErrors, DeletePipelineApplicationErrors, BulkUpdatePipelineTagsOptions, BulkUpdatePipelineTagsResponse, BulkUpdatePipelineTagsApplicationErrors, BulkUpdatePipelineTagsByFilterOptions, BulkUpdatePipelineTagsByFilterResponse, BulkUpdatePipelineTagsByFilterApplicationErrors, PipelineCreatedEnvelope, PipelineDeletedEnvelope, PipelineUpdatedEnvelope, PipelinesQueryBuilder, PipelineQuery, typedQueryPipelines } from './index.typings.mjs';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, BaseEventMetadata, BulkActionMetadata, BulkUpdatePipelineTagsByFilterRequest, BulkUpdatePipelineTagsRequest, BulkUpdatePipelineTagsResult, CommonQueryWithEntityContext, CreatePipelineRequest, CreatePipelineResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeletePipelineRequest, DeletePipelineResponse, DomainEvent, DomainEventBodyOneOf, DoneStage, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetPipelineRequest, GetPipelineResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MaxPipelinesReachedError, MessageEnvelope, Outcome, OutcomeWithLiterals, PipelineQuerySpec, PipelineType, PipelineTypeWithLiterals, PipelinesQueryResult, PrivateTags, QueryPipelinesRequest, QueryPipelinesResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, Stage, TagList, UpdatePipelineRequest, UpdatePipelineResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
4
4
 
5
5
  declare function createPipeline$1(httpClient: HttpClient): CreatePipelineSignature;
6
6
  interface CreatePipelineSignature {
@@ -12,7 +12,9 @@ interface CreatePipelineSignature {
12
12
  * @param - Pipeline to create.
13
13
  * @returns Created pipeline.
14
14
  */
15
- (pipeline: NonNullablePaths<Pipeline, `doneStage` | `doneStage.allowedOutcomes` | `doneStage.name` | `name` | `stages` | `stages.${number}.name`, 4>): Promise<NonNullablePaths<Pipeline, `stages` | `doneStage.allowedOutcomes` | `tags.privateTags.tagIds`, 4>>;
15
+ (pipeline: NonNullablePaths<Pipeline, `doneStage` | `doneStage.allowedOutcomes` | `doneStage.name` | `name` | `stages` | `stages.${number}.name`, 4>): Promise<NonNullablePaths<Pipeline, `stages` | `doneStage.allowedOutcomes` | `tags.privateTags.tagIds`, 4> & {
16
+ __applicationErrorsType?: CreatePipelineApplicationErrors;
17
+ }>;
16
18
  }
17
19
  declare function getPipeline$1(httpClient: HttpClient): GetPipelineSignature;
18
20
  interface GetPipelineSignature {
@@ -112,4 +114,4 @@ declare const onPipelineDeleted: BuildEventDefinition<typeof onPipelineDeleted$1
112
114
  */
113
115
  declare const onPipelineUpdated: BuildEventDefinition<typeof onPipelineUpdated$1> & typeof onPipelineUpdated$1;
114
116
 
115
- export { BulkUpdatePipelineTagsApplicationErrors, BulkUpdatePipelineTagsByFilterApplicationErrors, BulkUpdatePipelineTagsByFilterOptions, BulkUpdatePipelineTagsByFilterResponse, BulkUpdatePipelineTagsOptions, BulkUpdatePipelineTagsResponse, DeletePipelineApplicationErrors, Pipeline, PipelineCreatedEnvelope, PipelineDeletedEnvelope, PipelineQuery, PipelineUpdatedEnvelope, PipelinesQueryBuilder, UpdatePipeline, UpdatePipelineApplicationErrors, bulkUpdatePipelineTags, bulkUpdatePipelineTagsByFilter, createPipeline, deletePipeline, getPipeline, onPipelineCreated, onPipelineDeleted, onPipelineUpdated, queryPipelines, updatePipeline };
117
+ export { BulkUpdatePipelineTagsApplicationErrors, BulkUpdatePipelineTagsByFilterApplicationErrors, BulkUpdatePipelineTagsByFilterOptions, BulkUpdatePipelineTagsByFilterResponse, BulkUpdatePipelineTagsOptions, BulkUpdatePipelineTagsResponse, CreatePipelineApplicationErrors, DeletePipelineApplicationErrors, Pipeline, PipelineCreatedEnvelope, PipelineDeletedEnvelope, PipelineQuery, PipelineUpdatedEnvelope, PipelinesQueryBuilder, UpdatePipeline, UpdatePipelineApplicationErrors, bulkUpdatePipelineTags, bulkUpdatePipelineTagsByFilter, createPipeline, deletePipeline, getPipeline, onPipelineCreated, onPipelineDeleted, onPipelineUpdated, queryPipelines, updatePipeline };