@wix/auto_sdk_crm_pipelines 1.0.0

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.
Files changed (43) hide show
  1. package/build/cjs/crm-pipelines-v1-card-pipelines.universal-DGtqU_Zb.d.ts +2265 -0
  2. package/build/cjs/index.d.ts +169 -0
  3. package/build/cjs/index.js +1522 -0
  4. package/build/cjs/index.js.map +1 -0
  5. package/build/cjs/index.typings.d.ts +25 -0
  6. package/build/cjs/index.typings.js +1214 -0
  7. package/build/cjs/index.typings.js.map +1 -0
  8. package/build/cjs/meta.d.ts +1444 -0
  9. package/build/cjs/meta.js +1029 -0
  10. package/build/cjs/meta.js.map +1 -0
  11. package/build/es/crm-pipelines-v1-card-pipelines.universal-DGtqU_Zb.d.mts +2265 -0
  12. package/build/es/index.d.mts +169 -0
  13. package/build/es/index.mjs +1465 -0
  14. package/build/es/index.mjs.map +1 -0
  15. package/build/es/index.typings.d.mts +25 -0
  16. package/build/es/index.typings.mjs +1163 -0
  17. package/build/es/index.typings.mjs.map +1 -0
  18. package/build/es/meta.d.mts +1444 -0
  19. package/build/es/meta.mjs +977 -0
  20. package/build/es/meta.mjs.map +1 -0
  21. package/build/es/package.json +3 -0
  22. package/build/internal/cjs/crm-pipelines-v1-card-pipelines.universal-BHszxzqA.d.ts +2303 -0
  23. package/build/internal/cjs/index.d.ts +202 -0
  24. package/build/internal/cjs/index.js +1522 -0
  25. package/build/internal/cjs/index.js.map +1 -0
  26. package/build/internal/cjs/index.typings.d.ts +25 -0
  27. package/build/internal/cjs/index.typings.js +1214 -0
  28. package/build/internal/cjs/index.typings.js.map +1 -0
  29. package/build/internal/cjs/meta.d.ts +1444 -0
  30. package/build/internal/cjs/meta.js +1029 -0
  31. package/build/internal/cjs/meta.js.map +1 -0
  32. package/build/internal/es/crm-pipelines-v1-card-pipelines.universal-BHszxzqA.d.mts +2303 -0
  33. package/build/internal/es/index.d.mts +202 -0
  34. package/build/internal/es/index.mjs +1465 -0
  35. package/build/internal/es/index.mjs.map +1 -0
  36. package/build/internal/es/index.typings.d.mts +25 -0
  37. package/build/internal/es/index.typings.mjs +1163 -0
  38. package/build/internal/es/index.typings.mjs.map +1 -0
  39. package/build/internal/es/meta.d.mts +1444 -0
  40. package/build/internal/es/meta.mjs +977 -0
  41. package/build/internal/es/meta.mjs.map +1 -0
  42. package/meta/package.json +3 -0
  43. package/package.json +54 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/crm-pipelines-v1-card-pipelines.http.ts","../../../src/crm-pipelines-v1-card-pipelines.types.ts","../../../src/crm-pipelines-v1-card-pipelines.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\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 resolveWixCrmPipelinesCardsV1CardsUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/cards-app/v1/cards',\n destPath: '/v1/cards',\n },\n {\n srcPath: '/_api/cards-app/v1/bulk/cards',\n destPath: '/v1/bulk/cards',\n },\n {\n srcPath: '/_api/cards/v1/cards',\n destPath: '/v1/cards',\n },\n {\n srcPath: '/_api/cards/v1/bulk/cards',\n destPath: '/v1/bulk/cards',\n },\n ],\n _: [\n {\n srcPath: '/_api/cards/v1/cards',\n destPath: '/v1/cards',\n },\n {\n srcPath: '/_api/cards/v1/bulk/cards',\n destPath: '/v1/bulk/cards',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/cards/v1/cards',\n destPath: '/v1/cards',\n },\n {\n srcPath: '/_api/cards/v1/bulk/cards',\n destPath: '/v1/bulk/cards',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/crm/pipelines/v1/cards',\n destPath: '/v1/cards',\n },\n {\n srcPath: '/crm/pipelines/v1/bulk/cards',\n destPath: '/v1/bulk/cards',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_crm_pipelines';\n\n/** Creates a card in a specific pipeline stage. */\nexport function createCard(payload: object): RequestOptionsFactory<any> {\n function __createCard({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'card.createdDate' },\n { path: 'card.updatedDate' },\n { path: 'card.stageUpdatedDate' },\n { path: 'card.dueDate' },\n { path: 'card.staleDate' },\n { path: 'card.linkedEntities.linkedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.CreateCard',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'card.createdDate' },\n { path: 'card.updatedDate' },\n { path: 'card.stageUpdatedDate' },\n { path: 'card.dueDate' },\n { path: 'card.staleDate' },\n { path: 'card.linkedEntities.linkedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createCard;\n}\n\n/** Retrieves a card by ID. */\nexport function getCard(payload: object): RequestOptionsFactory<any> {\n function __getCard({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.GetCard',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/{cardId}',\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: 'card.createdDate' },\n { path: 'card.updatedDate' },\n { path: 'card.stageUpdatedDate' },\n { path: 'card.dueDate' },\n { path: 'card.staleDate' },\n { path: 'card.linkedEntities.linkedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCard;\n}\n\n/**\n * Updates a card by ID.\n *\n * Each time the card is updated, `revision` increments by 1. The current `revision` must be specified when updating the card. This ensures you're working with the latest card and prevents unintended overwrites.\n *\n * The card's `pipelineId` and `currency` fields can't be updated.\n */\nexport function updateCard(payload: object): RequestOptionsFactory<any> {\n function __updateCard({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'card.createdDate' },\n { path: 'card.updatedDate' },\n { path: 'card.stageUpdatedDate' },\n { path: 'card.dueDate' },\n { path: 'card.staleDate' },\n { path: 'card.linkedEntities.linkedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'PATCH' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.UpdateCard',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/{card.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: 'card.createdDate' },\n { path: 'card.updatedDate' },\n { path: 'card.stageUpdatedDate' },\n { path: 'card.dueDate' },\n { path: 'card.staleDate' },\n { path: 'card.linkedEntities.linkedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateCard;\n}\n\n/**\n * Moves a card to a different stage within the same pipeline.\n *\n * Cards can only be moved between stages within the same pipeline.\n *\n * Each time a card is moved, its `revision` increments by 1.\n */\nexport function moveCard(payload: object): RequestOptionsFactory<any> {\n function __moveCard({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'PATCH' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.MoveCard',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/move/{cardId}',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'card.createdDate' },\n { path: 'card.updatedDate' },\n { path: 'card.stageUpdatedDate' },\n { path: 'card.dueDate' },\n { path: 'card.staleDate' },\n { path: 'card.linkedEntities.linkedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __moveCard;\n}\n\n/**\n * Deletes a card.\n *\n * Deleting a card permanently removes it from a site.\n */\nexport function deleteCard(payload: object): RequestOptionsFactory<any> {\n function __deleteCard({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'DELETE' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.DeleteCard',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/{cardId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteCard;\n}\n\n/**\n * Retrieves a list of up to 100 cards, given the provided paging, filtering, and sorting.\n *\n * By default, 50 cards are returned and sorted by `updatedDate` in descending order.\n *\n * For a detailed list of supported operations, see [Cards: Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/crm/crm/pipelines/card-v1/supported-filters-sorting-and-search).\n *\n * To learn more about working with _Query_ methods, 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 queryCards(payload: object): RequestOptionsFactory<any> {\n function __queryCards({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.QueryCards',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/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: 'cards.createdDate' },\n { path: 'cards.updatedDate' },\n { path: 'cards.stageUpdatedDate' },\n { path: 'cards.dueDate' },\n { path: 'cards.staleDate' },\n { path: 'cards.linkedEntities.linkedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryCards;\n}\n\n/**\n * Retrieves a list of cards given the provided free-text search expression, filtering, and sorting.\n *\n * By default, cards are sorted by `updatedDate` in descending order.\n *\n * For a detailed list of supported filters, sorting options, and search capabilities, see [Cards: Supported Filters, Sorting, and Search](https://dev.wix.com/docs/api-reference/crm/crm/pipelines-wip/card-v1/sort-filter-and-search).\n *\n * To learn more about working with _Search_ methods, 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 searchCards(payload: object): RequestOptionsFactory<any> {\n function __searchCards({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'search.aggregations.range.buckets.from' },\n { path: 'search.aggregations.range.buckets.to' },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.SearchCards',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/search',\n data: serializedData,\n host,\n }),\n params: toURLSearchParams(serializedData, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'cards.createdDate' },\n { path: 'cards.updatedDate' },\n { path: 'cards.stageUpdatedDate' },\n { path: 'cards.dueDate' },\n { path: 'cards.staleDate' },\n { path: 'cards.linkedEntities.linkedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'aggregationData.results.ranges.results.from' },\n { path: 'aggregationData.results.ranges.results.to' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.from',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.to',\n },\n { path: 'aggregationData.results.scalar.value' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.scalar.value',\n },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/search',\n data: serializedData,\n host,\n }),\n data: serializedData,\n },\n ],\n };\n\n return metadata;\n }\n\n return __searchCards;\n}\n\n/**\n * Retrieves a list of cards by the pipeline's stage, given the provided free-text search expression, filtering, and sorting.\n *\n * By default, cards are sorted by `updatedDate` in descending order.\n *\n * For a detailed list of supported filters, sorting options, and search capabilities, see [Cards: Supported Filters, Sorting, and Search](https://dev.wix.com/docs/api-reference/crm/crm/pipelines-wip/card-v1/sort-filter-and-search).\n *\n * To learn more about working with _Search_ methods, 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 searchCardsByStage(\n payload: object\n): RequestOptionsFactory<any> {\n function __searchCardsByStage({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'search.aggregations.range.buckets.from' },\n { path: 'search.aggregations.range.buckets.to' },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'GET' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.SearchCardsByStage',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/search-by-stage',\n data: serializedData,\n host,\n }),\n params: toURLSearchParams(serializedData, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.cards.createdDate' },\n { path: 'results.cards.updatedDate' },\n { path: 'results.cards.stageUpdatedDate' },\n { path: 'results.cards.dueDate' },\n { path: 'results.cards.staleDate' },\n { path: 'results.cards.linkedEntities.linkedDate' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.aggregationData.results.ranges.results.from' },\n { path: 'results.aggregationData.results.ranges.results.to' },\n {\n path: 'results.aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n },\n {\n path: 'results.aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n },\n {\n path: 'results.aggregationData.results.nested.results.results.*.range.from',\n },\n {\n path: 'results.aggregationData.results.nested.results.results.*.range.to',\n },\n { path: 'results.aggregationData.results.scalar.value' },\n {\n path: 'results.aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n },\n {\n path: 'results.aggregationData.results.nested.results.results.*.scalar.value',\n },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/cards/search-by-stage',\n data: serializedData,\n host,\n }),\n data: serializedData,\n },\n ],\n };\n\n return metadata;\n }\n\n return __searchCardsByStage;\n}\n\n/** Creates multiple cards. */\nexport function bulkCreateCards(payload: object): RequestOptionsFactory<any> {\n function __bulkCreateCards({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'cards.createdDate' },\n { path: 'cards.updatedDate' },\n { path: 'cards.stageUpdatedDate' },\n { path: 'cards.dueDate' },\n { path: 'cards.staleDate' },\n { path: 'cards.linkedEntities.linkedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.BulkCreateCards',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/bulk/cards/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.stageUpdatedDate' },\n { path: 'results.item.dueDate' },\n { path: 'results.item.staleDate' },\n { path: 'results.item.linkedEntities.linkedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateCards;\n}\n\n/** Updates multiple cards. */\nexport function bulkUpdateCards(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdateCards({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'cards.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'cards.card.createdDate' },\n { path: 'cards.card.updatedDate' },\n { path: 'cards.card.stageUpdatedDate' },\n { path: 'cards.card.dueDate' },\n { path: 'cards.card.staleDate' },\n { path: 'cards.card.linkedEntities.linkedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.BulkUpdateCards',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/bulk/cards/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.stageUpdatedDate' },\n { path: 'results.item.dueDate' },\n { path: 'results.item.staleDate' },\n { path: 'results.item.linkedEntities.linkedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateCards;\n}\n\n/** Deletes multiple cards. */\nexport function bulkDeleteCards(payload: object): RequestOptionsFactory<any> {\n function __bulkDeleteCards({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.BulkDeleteCards',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/bulk/cards/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteCards;\n}\n\n/**\n * Updates tags on multiple cards by specified card IDs.\n *\n * If you specify a tag that in both `assignTags` and `unassignTags`, the tag is assigned to the cards.\n */\nexport function bulkUpdateCardTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateCardTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.BulkUpdateCardTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/bulk/cards/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateCardTags;\n}\n\n/**\n * Asynchronously updates tags on multiple cards using a filter to specify which cards to update.\n *\n * An empty filter updates all cards in the pipeline.\n *\n * If you specify a tag in both `assignTags` and `unassignTags`, the tag is assigned to the cards.\n */\nexport function bulkUpdateCardTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateCardTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.crm.pipelines.v1.card',\n method: 'POST' as any,\n methodFqn: 'wix.crm.pipelines.cards.v1.Cards.BulkUpdateCardTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixCrmPipelinesCardsV1CardsUrl({\n protoPath: '/v1/bulk/cards/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateCardTagsByFilter;\n}\n","/**\n * A business entity representing a deal, lead, opportunity, or project that moves through pipeline stages.\n *\n * Cards contain comprehensive business information including contact details, monetary values,\n * priorities, due dates, and outcomes. They progress through pipeline stages as work advances\n * and can be assigned to team members for ownership and responsibility tracking.\n */\nexport interface Card {\n /**\n * Card ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the card is updated.\n * To prevent conflicting changes, the current revision must be passed when updating the card.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the card 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 card 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 * ID of the pipeline containing this card.\n * @format GUID\n * @readonly\n */\n pipelineId?: string | null;\n /**\n * ID of the cards' current.\n * @format GUID\n */\n stageId?: string | null;\n /**\n * Date and time when the card last moved between stagesin [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * @readonly\n */\n stageUpdatedDate?: Date | null;\n /**\n * How the card was moved to its current stage.\n * @readonly\n */\n stageUpdateSource?: CardSource;\n /**\n * The Card name.\n * @minLength 1\n * @maxLength 100\n */\n name?: string | null;\n /**\n * Card description.\n * @maxLength 1000\n */\n description?: string | null;\n /**\n * Priority level of the card for task management.\n *\n * Default: `P3_MEDIUM`\n */\n priority?: PriorityWithLiterals;\n /**\n * ID of the Wix user assigned to manage the card.\n * @format GUID\n */\n assigneeId?: string | null;\n /**\n * Date and time when the card is expected to moved to the done stage in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * If the card remains active past this date, it becomes overdue.\n */\n dueDate?: Date | null;\n /**\n * Date and time when the card becomes stale based on the stage's stale duration setting in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * This date is automatically calculated and updated when the card moves to a new stage.\n * @readonly\n */\n staleDate?: Date | null;\n /** Monetary value assigned to the card. */\n value?: Money;\n /**\n * Final outcome of the card when moved to the done stage.\n *\n * Default: `NONE`\n */\n outcome?: OutcomeWithLiterals;\n /** Primary contact associated with the card. */\n mainContact?: ContactInfo;\n /**\n * Secondary contacts associated with the card.\n * @maxSize 10\n */\n additionalContacts?: ContactInfo[];\n /**\n * Other entities linked to the card.\n *\n * For example, orders, invoices, activities, or other relevant entities.\n * @maxSize 20\n */\n linkedEntities?: LinkedEntity[];\n /** Extended fields data. */\n extendedFields?: ExtendedFields;\n /** Tags for organizing and categorizing the card. */\n tags?: PrivateTags;\n}\n\nexport interface CardSource {\n /**\n * ID of the Wix user who last moved the card.\n * @format GUID\n * @readonly\n */\n userId?: string | null;\n /**\n * ID of the app that last moved the card.\n * @format GUID\n * @readonly\n */\n appId?: string | null;\n}\n\nexport enum Priority {\n /** Urgent priority. Card requires immediate attention. */\n P1_URGENT = 'P1_URGENT',\n /** High priority. Card is important and should be addressed promptly. */\n P2_HIGH = 'P2_HIGH',\n /** Medium priority. Card should be completed within regular workflow timelines. */\n P3_MEDIUM = 'P3_MEDIUM',\n /** Low priority. Card can be addressed when time and resources allow. */\n P4_LOW = 'P4_LOW',\n}\n\n/** @enumType */\nexport type PriorityWithLiterals =\n | Priority\n | 'P1_URGENT'\n | 'P2_HIGH'\n | 'P3_MEDIUM'\n | 'P4_LOW';\n\n/**\n * Monetary amount with currency information.\n * Default format to use. Sufficiently compliant with majority of standards: w3c, ISO 4217, ISO 20022, ISO 8583:2003.\n */\nexport interface Money {\n /**\n * Monetary amount. For example, `\"3.99\"`, or `\"-4.99\"` for a negative amount.\n * @format DECIMAL_VALUE\n * @decimalValue options { maxScale:2 }\n */\n value?: string;\n /**\n * Three-letter currency code in ISO-4217 format.\n * Currency is the same as the pipeline currency and is immutable.\n * @format CURRENCY\n * @readonly\n */\n currency?: string;\n}\n\nexport enum Outcome {\n /** No specific outcome. The card reached the final stage but hasn't been specified as successful or unsuccessful. */\n NONE = 'NONE',\n /** Successful outcome. The card achieved its intended goal. */\n WON = 'WON',\n /** Unsuccessful outcome. The card didn't achieve its intended goal. */\n LOST = 'LOST',\n}\n\n/** @enumType */\nexport type OutcomeWithLiterals = Outcome | 'NONE' | 'WON' | 'LOST';\n\nexport interface ContactInfo {\n /**\n * ID of the contact associated with the card.\n * @format GUID\n */\n contactId?: string | null;\n /**\n * Contact's first name.\n * @readonly\n * @maxLength 50\n */\n firstName?: string | null;\n /**\n * Contact's last name.\n * @readonly\n * @maxLength 50\n */\n lastName?: string | null;\n /**\n * Contact's primary email.\n * @format EMAIL\n * @maxLength 320\n * @readonly\n */\n email?: string | null;\n /**\n * Contact's primary phone.\n * @minLength 1\n * @maxLength 50\n * @readonly\n */\n phone?: string | null;\n}\n\nexport interface LinkedEntity {\n /**\n * ID of the linked entity.\n * @format GUID\n */\n entityId?: string;\n /**\n * Linked entity type.\n *\n * Identifies the type of entity associated with this card such as a contact submitted by a form, or an invoice sent to close a deal.\n * You can store any value that helps identify the entity type.\n * Use the item selection provider key to make the item selectable by the client.\n * For example, an invoice uses \"13ee94c1-b635-8505-3391-97919052c16f_InvoiceSelectionProvider\".\n * @minLength 1\n * @maxLength 100\n */\n referencedEntity?: string;\n /**\n * Date and time the entity was linked to the card in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#combined_date_and_time_representations) format.\n * @readonly\n */\n linkedDate?: Date | null;\n}\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 CardMoved {\n /** The card that moved. */\n card?: Card;\n /**\n * The ID of the stage to which the card was moved.\n * @format GUID\n */\n targetStageId?: string;\n /**\n * The ID of the stage from which the card was moved.\n * @format GUID\n */\n sourceStageId?: string;\n}\n\nexport interface CardAssigned {\n /** The card that is assigned. */\n card?: Card;\n}\n\nexport interface CardOverdue {\n /** The card that is overdue. */\n card?: Card;\n}\n\nexport interface CardStale {\n /** The card that is stale. */\n card?: Card;\n}\n\nexport interface CreateCardRequest {\n /** Card to create. */\n card?: Card;\n}\n\nexport interface CreateCardResponse {\n /** Created card. */\n card?: Card;\n}\n\nexport interface ContactsNotFound {\n /**\n * The contact IDs that were not found.\n * @format GUID\n * @minSize 1\n * @maxSize 11\n */\n contactIds?: string[] | null;\n}\n\nexport interface GetCardRequest {\n /**\n * Card ID to retrieve.\n * @format GUID\n */\n cardId: string;\n}\n\nexport interface GetCardResponse {\n /** Retrieved card. */\n card?: Card;\n}\n\nexport interface UpdateCardRequest {\n /** Card to update, may be partial. */\n card?: Card;\n}\n\nexport interface UpdateCardResponse {\n /** Updated card. */\n card?: Card;\n}\n\nexport interface MoveCardRequest {\n /**\n * Card ID to move.\n * @format GUID\n */\n cardId: string;\n /**\n * ID of the stage to move the card to.\n * @format GUID\n */\n stageId: string;\n /** Revision of the card to move. Moving the card changes the `stageId` on the card and increases `revision` by 1. */\n revision: string | null;\n /** New card outcome. */\n outcome?: OutcomeWithLiterals;\n}\n\nexport interface MoveCardResponse {\n /** Updated card. */\n card?: Card;\n}\n\nexport interface DeleteCardRequest {\n /**\n * Card ID to delete.\n * @format GUID\n */\n cardId: string;\n}\n\nexport interface DeleteCardResponse {}\n\nexport interface QueryCardsRequest {\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 the [filter section](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 the [sort section](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 in the results. Default is 50.\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 QueryCardsResponse {\n /** List of cards. */\n cards?: Card[];\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 SearchCardsRequest {\n /** Search options. */\n search?: CursorSearch;\n /**\n * Specifies how contact names should be formatted and ordered when filtering, sorting, or searching cards by contact names.\n * By default, names are ordered by first name followed by last name.\n * When set to `\"BY_LAST_NAME\"`, names are ordered by last name followed by first name.\n */\n nameFormat?: NameFormatWithLiterals;\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\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 the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n */\n filter?: Record<string, any> | null;\n /**\n * List of sort objects.\n *\n * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n * @maxSize 10\n */\n sort?: Sorting[];\n /**\n * Aggregations are a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.\n * @maxSize 10\n */\n aggregations?: Aggregation[];\n /** Free text to match in searchable fields. */\n search?: SearchDetails;\n /**\n * UTC offset or IANA time zone. Valid values are\n * ISO 8601 UTC offsets, such as +02:00 or -06:00,\n * and IANA time zone IDs, such as Europe/Rome.\n *\n * Affects all filters and aggregations returned values.\n * You may override this behavior in a specific filter by providing\n * timestamps including time zone. For example, `\"2023-12-20T10:52:34.795Z\"`.\n * @maxLength 50\n */\n timeZone?: string | null;\n}\n\n/** @oneof */\nexport interface CursorSearchPagingMethodOneOf {\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 Aggregation extends AggregationKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation. */\n nested?: NestedAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dot notation to specify json path.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation. */\n nested?: NestedAggregation;\n}\n\nexport interface RangeBucket {\n /** Inclusive lower bound of the range. Required if `to` is not provided. */\n from?: number | null;\n /** Exclusive upper bound of the range. Required if `from` is not provided. */\n to?: number | null;\n}\n\nexport enum SortType {\n /** Sort by number of matches. */\n COUNT = 'COUNT',\n /** Sort by value of the field alphabetically. */\n VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n /** Sort in descending order. */\n DESC = 'DESC',\n /** Sort in ascending order. */\n ASC = 'ASC',\n}\n\n/** @enumType */\nexport type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';\n\nexport enum MissingValues {\n /** Exclude missing values from the aggregation results. */\n EXCLUDE = 'EXCLUDE',\n /** Include missing values in the aggregation results. */\n INCLUDE = 'INCLUDE',\n}\n\n/** @enumType */\nexport type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';\n\nexport interface IncludeMissingValuesOptions {\n /**\n * Specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...\n * @maxLength 20\n */\n addToBucket?: string;\n}\n\nexport enum ScalarType {\n /** Count of distinct values. */\n COUNT_DISTINCT = 'COUNT_DISTINCT',\n /** Minimum value. */\n MIN = 'MIN',\n /** Maximum value. */\n MAX = 'MAX',\n}\n\n/** @enumType */\nexport type ScalarTypeWithLiterals =\n | ScalarType\n | 'COUNT_DISTINCT'\n | 'MIN'\n | 'MAX';\n\nexport interface ValueAggregation extends ValueAggregationOptionsOneOf {\n /** Options for including missing values. */\n includeOptions?: IncludeMissingValuesOptions;\n /** Whether to sort by number of matches or value of the field. */\n sortType?: SortTypeWithLiterals;\n /** Whether to sort in ascending or descending order. */\n sortDirection?: SortDirectionWithLiterals;\n /** How many aggregations to return. Can be between 1 and 250. 10 is the default. */\n limit?: number | null;\n /** Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`. */\n missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n /** Options for including missing values. */\n includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value. */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket. */\n RANGE = 'RANGE',\n /** A single-value metric aggregation. For example, min, max, sum, avg. */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.). */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n}\n\n/** @enumType */\nexport type NestedAggregationTypeWithLiterals =\n | NestedAggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM';\n\nexport interface RangeAggregation {\n /**\n * List of range buckets, where during aggregation each entity will be placed in the first bucket its value falls into, based on the provided range bounds.\n * @maxSize 50\n */\n buckets?: RangeBucket[];\n}\n\nexport interface ScalarAggregation {\n /** Define the operator for the scalar aggregation. */\n type?: ScalarTypeWithLiterals;\n}\n\nexport interface DateHistogramAggregation {\n /** Interval for date histogram aggregation. */\n interval?: IntervalWithLiterals;\n}\n\nexport enum Interval {\n /** Yearly interval */\n YEAR = 'YEAR',\n /** Monthly interval */\n MONTH = 'MONTH',\n /** Weekly interval */\n WEEK = 'WEEK',\n /** Daily interval */\n DAY = 'DAY',\n /** Hourly interval */\n HOUR = 'HOUR',\n /** Minute interval */\n MINUTE = 'MINUTE',\n /** Second interval */\n SECOND = 'SECOND',\n}\n\n/** @enumType */\nexport type IntervalWithLiterals =\n | Interval\n | 'YEAR'\n | 'MONTH'\n | 'WEEK'\n | 'DAY'\n | 'HOUR'\n | 'MINUTE'\n | 'SECOND';\n\nexport interface NestedAggregationItem extends NestedAggregationItemKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results.\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below. */\n type?: NestedAggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dot notation to specify json path.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n /** Value aggregation. */\n value?: ValueAggregation;\n /** Range aggregation. */\n range?: RangeAggregation;\n /** Scalar aggregation. */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation. */\n dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value. */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket. */\n RANGE = 'RANGE',\n /** A single-value metric aggregation. For example, min, max, sum, avg. */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n /** Multi-level aggregation, where each next aggregation is nested within previous one. */\n NESTED = 'NESTED',\n}\n\n/** @enumType */\nexport type AggregationTypeWithLiterals =\n | AggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM'\n | 'NESTED';\n\n/** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one. */\nexport interface NestedAggregation {\n /**\n * Flattened list of aggregations, where each next aggregation is nested within previous one.\n * @minSize 2\n * @maxSize 3\n */\n nestedAggregations?: NestedAggregationItem[];\n}\n\nexport interface SearchDetails {\n /** Defines how separate search terms in `expression` are combined. */\n mode?: ModeWithLiterals;\n /**\n * Search term or expression.\n * @maxLength 100\n */\n expression?: string | null;\n /**\n * Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.\n * @maxLength 200\n * @maxSize 20\n */\n fields?: string[];\n /** Whether to use auto fuzzy search (allowing typos by a managed proximity algorithm). */\n fuzzy?: boolean;\n}\n\nexport enum Mode {\n /** Any of the search terms must be present. */\n OR = 'OR',\n /** All search terms must be present. */\n AND = 'AND',\n}\n\n/** @enumType */\nexport type ModeWithLiterals = Mode | 'OR' | 'AND';\n\n/** Name format types for sorting and searching. */\nexport enum NameFormat {\n /** Names are ordered by first name followed by last name. */\n BY_FIRST_NAME = 'BY_FIRST_NAME',\n /** Names are ordered by last name followed by first name. */\n BY_LAST_NAME = 'BY_LAST_NAME',\n}\n\n/** @enumType */\nexport type NameFormatWithLiterals =\n | NameFormat\n | 'BY_FIRST_NAME'\n | 'BY_LAST_NAME';\n\nexport interface SearchCardsResponse {\n /** List of cards. */\n cards?: Card[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n /** Aggregation data. */\n aggregationData?: AggregationData;\n}\n\nexport interface AggregationData {\n /**\n * key = aggregation name (as derived from search request).\n * @maxSize 10000\n */\n results?: AggregationResults[];\n}\n\nexport interface ValueAggregationResult {\n /**\n * Value of the field.\n * @maxLength 100\n */\n value?: string;\n /** Count of entities with this value. */\n count?: number;\n}\n\nexport interface RangeAggregationResult {\n /** Inclusive lower bound of the range. */\n from?: number | null;\n /** Exclusive upper bound of the range. */\n to?: number | null;\n /** Count of entities in this range. */\n count?: number;\n}\n\nexport interface NestedAggregationResults\n extends NestedAggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /**\n * User-defined name of aggregation, matches the one provided in request.\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that matches result. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, matches the one provided in request.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n}\n\nexport interface ValueResults {\n /**\n * List of value aggregations.\n * @maxSize 250\n */\n results?: ValueAggregationResult[];\n}\n\nexport interface RangeResults {\n /**\n * List of ranges returned in same order as requested.\n * @maxSize 50\n */\n results?: RangeAggregationResult[];\n}\n\nexport interface AggregationResultsScalarResult {\n /** Type of scalar aggregation. */\n type?: ScalarTypeWithLiterals;\n /** Value of the scalar aggregation. */\n value?: number;\n}\n\nexport interface NestedValueAggregationResult {\n /**\n * Value of the field.\n * @maxLength 1000\n */\n value?: string;\n /** Nested aggregations. */\n nestedResults?: NestedAggregationResults;\n}\n\nexport interface ValueResult {\n /**\n * Value of the field.\n * @maxLength 1000\n */\n value?: string;\n /** Count of entities with this value. */\n count?: number | null;\n}\n\nexport interface RangeResult {\n /** Inclusive lower bound of the range. */\n from?: number | null;\n /** Exclusive upper bound of the range. */\n to?: number | null;\n /** Count of entities in this range. */\n count?: number | null;\n}\n\nexport interface ScalarResult {\n /** Value of the scalar aggregation. */\n value?: number;\n}\n\nexport interface NestedResultValue extends NestedResultValueResultOneOf {\n /** Value aggregation result. */\n value?: ValueResult;\n /** Range aggregation result. */\n range?: RangeResult;\n /** Scalar aggregation result. */\n scalar?: ScalarResult;\n /** Date histogram aggregation result. */\n dateHistogram?: ValueResult;\n}\n\n/** @oneof */\nexport interface NestedResultValueResultOneOf {\n /** Value aggregation result. */\n value?: ValueResult;\n /** Range aggregation result. */\n range?: RangeResult;\n /** Scalar aggregation result. */\n scalar?: ScalarResult;\n /** Date histogram aggregation result. */\n dateHistogram?: ValueResult;\n}\n\nexport interface Results {\n /** List of nested aggregations. */\n results?: Record<string, NestedResultValue>;\n}\n\nexport interface DateHistogramResult {\n /**\n * Date in ISO 8601 format.\n * @maxLength 100\n */\n value?: string;\n /** Count of documents in the bucket. */\n count?: number;\n}\n\nexport interface GroupByValueResults {\n /**\n * List of value aggregations.\n * @maxSize 1000\n */\n results?: NestedValueAggregationResult[];\n}\n\nexport interface DateHistogramResults {\n /**\n * List of date histogram aggregations.\n * @maxSize 200\n */\n results?: DateHistogramResult[];\n}\n\n/**\n * Results of `NESTED` aggregation type in a flattened form.\n * Aggregations in resulting array are keyed by requested aggregation `name`.\n */\nexport interface NestedResults {\n /**\n * List of nested aggregations.\n * @maxSize 1000\n */\n results?: Results[];\n}\n\nexport interface AggregationResults extends AggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results. */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results. */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results. */\n nested?: NestedResults;\n /**\n * User-defined name of aggregation as derived from search request.\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that must match provided kind as derived from search request. */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by as derived from search request.\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationResultsResultOneOf {\n /** Value aggregation results. */\n values?: ValueResults;\n /** Range aggregation results. */\n ranges?: RangeResults;\n /** Scalar aggregation results. */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results. */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results. */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results. */\n nested?: NestedResults;\n}\n\nexport interface SearchCardsByStageRequest {\n /**\n * ID of the pipeline in which to look for cards.\n * @format GUID\n */\n pipelineId: string | null;\n /**\n * Stage IDs to filter by.\n * @format GUID\n * @minSize 1\n * @maxSize 35\n */\n stageIds: string[];\n /** Search options. `search.cursorPaging.cursor` is not supported in this request and is ignored. */\n search?: CursorSearch;\n /**\n * Specifies how contact names should be formatted and ordered when filtering, sorting, or searching cards by contact names.\n * By default, names are ordered by first name followed by last name.\n * When set to `\"BY_LAST_NAME\"`, names are ordered by last name followed by first name.\n */\n nameFormat?: NameFormatWithLiterals;\n}\n\nexport interface SearchCardsByStageResponse {\n /**\n * List of card results matching the filter and search.\n * @minSize 1\n * @maxSize 30\n */\n results?: BulkSearchCardsResult[];\n}\n\nexport interface BulkSearchCardsResult {\n /**\n * ID of the pipeline containing the cards.\n * @format GUID\n */\n pipelineId?: string | null;\n /**\n * ID of the stage containing the cards.\n * @format GUID\n */\n stageId?: string | null;\n /** List of cards. */\n cards?: Card[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n /** Aggregation data. */\n aggregationData?: AggregationData;\n}\n\nexport interface BulkCreateCardsRequest {\n /**\n * List of cards to create.\n * @minSize 1\n * @maxSize 100\n */\n cards: Card[];\n /**\n * Whether to return the created cards in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateCardsResponse {\n /**\n * List of cards created by the bulk operation.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCardResult[];\n /** Bulk operation metadata. */\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 BulkCardResult {\n /** Information about the card that was created. */\n itemMetadata?: ItemMetadata;\n /**\n * Created card.\n *\n * Only returned if `returnEntity` was set to `true` in the request.\n */\n item?: Card;\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 BulkUpdateCardsRequest {\n /**\n * List of cards to update.\n * @minSize 1\n * @maxSize 100\n * @readonly\n */\n cards: MaskedCard[];\n /**\n * Whether to return the updated cards in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface MaskedCard {\n /**\n * Card to update, may be partial.\n * @readonly\n */\n card?: Card;\n}\n\nexport interface BulkUpdateCardsResponse {\n /**\n * List of cards updated by the bulk operation.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateCardsResponseBulkCardResult[];\n /** Bulk operation metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateCardsResponseBulkCardResult {\n /** Information about the card that was updated. */\n itemMetadata?: ItemMetadata;\n /**\n * Updated card.\n *\n * Only returned if `returnEntity` was set to `true` in the request.\n */\n item?: Card;\n}\n\nexport interface BulkDeleteCardsRequest {\n /**\n * Card IDs to delete.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n cardIds: string[];\n}\n\nexport interface BulkDeleteCardsResponse {\n /**\n * List of cards deleted by the bulk operation.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkDeleteCardsResponseBulkCardResult[];\n /** Bulk operation metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteCardsResponseBulkCardResult {\n /** Information about the card that was deleted. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateCardTagsRequest {\n /**\n * List of card IDs whose tags will be updated.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n cardIds: 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 cards in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkUpdateCardTagsResponse {\n /**\n * List of cards whose tags were updated.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateCardTagsResult[];\n /** Bulk operation metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateCardTagsResult {\n /** Information about the card that was updated. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateCardTagsByFilterRequest {\n /** Filter object. */\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\nexport interface BulkUpdateCardTagsByFilterResponse {\n /**\n * Job ID.\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 Empty {}\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 CreateCardApplicationErrors =\n | {\n code?: 'PIPELINE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'STAGE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'ASSIGNEE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONTACTS_NOT_FOUND';\n description?: string;\n data?: ContactsNotFound;\n }\n | {\n code?: 'INVALID_OUTCOME';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'ADDITIONAL_CONTACTS_WITHOUT_MAIN_CONTACT';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateCardApplicationErrors =\n | {\n code?: 'REVISION_MISSING';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'STAGE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_OUTCOME';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_REMOVE_NAME';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_ASSIGNEE_ID';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_CONTACT_ID';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_CHANGE_CURRENCY';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INSUFFICIENT_CARD_DATA';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONTACTS_NOT_FOUND';\n description?: string;\n data?: ContactsNotFound;\n }\n | {\n code?: 'ADDITIONAL_CONTACTS_WITHOUT_MAIN_CONTACT';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type MoveCardApplicationErrors =\n | {\n code?: 'STAGE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_OUTCOME';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkUpdateCardTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateCardTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixCrmPipelinesV1Card from './crm-pipelines-v1-card-pipelines.http.js';\nimport * as ambassadorWixCrmPipelinesV1CardTypes from './crm-pipelines-v1-card-pipelines.types.js';\nimport * as ambassadorWixCrmPipelinesV1CardUniversalTypes from './crm-pipelines-v1-card-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 createCard(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.CreateCardRequest,\n ambassadorWixCrmPipelinesV1CardTypes.CreateCardRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.CreateCardResponse,\n ambassadorWixCrmPipelinesV1CardTypes.CreateCardResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixCrmPipelinesV1Card.createCard(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/cards',\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 getCard(): __PublicMethodMetaInfo<\n 'GET',\n { cardId: string },\n ambassadorWixCrmPipelinesV1CardUniversalTypes.GetCardRequest,\n ambassadorWixCrmPipelinesV1CardTypes.GetCardRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.GetCardResponse,\n ambassadorWixCrmPipelinesV1CardTypes.GetCardResponse\n> {\n const payload = { cardId: ':cardId' } as any;\n\n const getRequestOptions = ambassadorWixCrmPipelinesV1Card.getCard(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/cards/{cardId}',\n pathParams: { cardId: 'cardId' },\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 updateCard(): __PublicMethodMetaInfo<\n 'PATCH',\n { cardId: string },\n ambassadorWixCrmPipelinesV1CardUniversalTypes.UpdateCardRequest,\n ambassadorWixCrmPipelinesV1CardTypes.UpdateCardRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.UpdateCardResponse,\n ambassadorWixCrmPipelinesV1CardTypes.UpdateCardResponse\n> {\n const payload = { card: { id: ':cardId' } } as any;\n\n const getRequestOptions = ambassadorWixCrmPipelinesV1Card.updateCard(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/cards/{card.id}',\n pathParams: { cardId: 'cardId' },\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 moveCard(): __PublicMethodMetaInfo<\n 'PATCH',\n { cardId: string },\n ambassadorWixCrmPipelinesV1CardUniversalTypes.MoveCardRequest,\n ambassadorWixCrmPipelinesV1CardTypes.MoveCardRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.MoveCardResponse,\n ambassadorWixCrmPipelinesV1CardTypes.MoveCardResponse\n> {\n const payload = { cardId: ':cardId' } as any;\n\n const getRequestOptions = ambassadorWixCrmPipelinesV1Card.moveCard(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/cards/move/{cardId}',\n pathParams: { cardId: 'cardId' },\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 deleteCard(): __PublicMethodMetaInfo<\n 'DELETE',\n { cardId: string },\n ambassadorWixCrmPipelinesV1CardUniversalTypes.DeleteCardRequest,\n ambassadorWixCrmPipelinesV1CardTypes.DeleteCardRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.DeleteCardResponse,\n ambassadorWixCrmPipelinesV1CardTypes.DeleteCardResponse\n> {\n const payload = { cardId: ':cardId' } as any;\n\n const getRequestOptions = ambassadorWixCrmPipelinesV1Card.deleteCard(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/cards/{cardId}',\n pathParams: { cardId: 'cardId' },\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 queryCards(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.QueryCardsRequest,\n ambassadorWixCrmPipelinesV1CardTypes.QueryCardsRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.QueryCardsResponse,\n ambassadorWixCrmPipelinesV1CardTypes.QueryCardsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixCrmPipelinesV1Card.queryCards(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/cards/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 searchCards(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.SearchCardsRequest,\n ambassadorWixCrmPipelinesV1CardTypes.SearchCardsRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.SearchCardsResponse,\n ambassadorWixCrmPipelinesV1CardTypes.SearchCardsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Card.searchCards(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/cards/search',\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 searchCardsByStage(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.SearchCardsByStageRequest,\n ambassadorWixCrmPipelinesV1CardTypes.SearchCardsByStageRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.SearchCardsByStageResponse,\n ambassadorWixCrmPipelinesV1CardTypes.SearchCardsByStageResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Card.searchCardsByStage(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/cards/search-by-stage',\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 bulkCreateCards(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkCreateCardsRequest,\n ambassadorWixCrmPipelinesV1CardTypes.BulkCreateCardsRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkCreateCardsResponse,\n ambassadorWixCrmPipelinesV1CardTypes.BulkCreateCardsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Card.bulkCreateCards(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/cards/create',\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 bulkUpdateCards(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkUpdateCardsRequest,\n ambassadorWixCrmPipelinesV1CardTypes.BulkUpdateCardsRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkUpdateCardsResponse,\n ambassadorWixCrmPipelinesV1CardTypes.BulkUpdateCardsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Card.bulkUpdateCards(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/cards/update',\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 bulkDeleteCards(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkDeleteCardsRequest,\n ambassadorWixCrmPipelinesV1CardTypes.BulkDeleteCardsRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkDeleteCardsResponse,\n ambassadorWixCrmPipelinesV1CardTypes.BulkDeleteCardsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Card.bulkDeleteCards(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/cards/delete',\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 bulkUpdateCardTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkUpdateCardTagsRequest,\n ambassadorWixCrmPipelinesV1CardTypes.BulkUpdateCardTagsRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkUpdateCardTagsResponse,\n ambassadorWixCrmPipelinesV1CardTypes.BulkUpdateCardTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Card.bulkUpdateCardTags(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/cards/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 bulkUpdateCardTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkUpdateCardTagsByFilterRequest,\n ambassadorWixCrmPipelinesV1CardTypes.BulkUpdateCardTagsByFilterRequest,\n ambassadorWixCrmPipelinesV1CardUniversalTypes.BulkUpdateCardTagsByFilterResponse,\n ambassadorWixCrmPipelinesV1CardTypes.BulkUpdateCardTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixCrmPipelinesV1Card.bulkUpdateCardTagsByFilter(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/cards/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 Card as CardOriginal,\n CardSource as CardSourceOriginal,\n Priority as PriorityOriginal,\n PriorityWithLiterals as PriorityWithLiteralsOriginal,\n Money as MoneyOriginal,\n Outcome as OutcomeOriginal,\n OutcomeWithLiterals as OutcomeWithLiteralsOriginal,\n ContactInfo as ContactInfoOriginal,\n LinkedEntity as LinkedEntityOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n PrivateTags as PrivateTagsOriginal,\n TagList as TagListOriginal,\n CardMoved as CardMovedOriginal,\n CardAssigned as CardAssignedOriginal,\n CardOverdue as CardOverdueOriginal,\n CardStale as CardStaleOriginal,\n CreateCardRequest as CreateCardRequestOriginal,\n CreateCardResponse as CreateCardResponseOriginal,\n ContactsNotFound as ContactsNotFoundOriginal,\n GetCardRequest as GetCardRequestOriginal,\n GetCardResponse as GetCardResponseOriginal,\n UpdateCardRequest as UpdateCardRequestOriginal,\n UpdateCardResponse as UpdateCardResponseOriginal,\n MoveCardRequest as MoveCardRequestOriginal,\n MoveCardResponse as MoveCardResponseOriginal,\n DeleteCardRequest as DeleteCardRequestOriginal,\n DeleteCardResponse as DeleteCardResponseOriginal,\n QueryCardsRequest as QueryCardsRequestOriginal,\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 QueryCardsResponse as QueryCardsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n SearchCardsRequest as SearchCardsRequestOriginal,\n CursorSearch as CursorSearchOriginal,\n CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal,\n Aggregation as AggregationOriginal,\n AggregationKindOneOf as AggregationKindOneOfOriginal,\n RangeBucket as RangeBucketOriginal,\n SortType as SortTypeOriginal,\n SortTypeWithLiterals as SortTypeWithLiteralsOriginal,\n SortDirection as SortDirectionOriginal,\n SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal,\n MissingValues as MissingValuesOriginal,\n MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal,\n IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal,\n ScalarType as ScalarTypeOriginal,\n ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal,\n ValueAggregation as ValueAggregationOriginal,\n ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal,\n NestedAggregationType as NestedAggregationTypeOriginal,\n NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal,\n RangeAggregation as RangeAggregationOriginal,\n ScalarAggregation as ScalarAggregationOriginal,\n DateHistogramAggregation as DateHistogramAggregationOriginal,\n Interval as IntervalOriginal,\n IntervalWithLiterals as IntervalWithLiteralsOriginal,\n NestedAggregationItem as NestedAggregationItemOriginal,\n NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal,\n AggregationType as AggregationTypeOriginal,\n AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal,\n NestedAggregation as NestedAggregationOriginal,\n SearchDetails as SearchDetailsOriginal,\n Mode as ModeOriginal,\n ModeWithLiterals as ModeWithLiteralsOriginal,\n NameFormat as NameFormatOriginal,\n NameFormatWithLiterals as NameFormatWithLiteralsOriginal,\n SearchCardsResponse as SearchCardsResponseOriginal,\n AggregationData as AggregationDataOriginal,\n ValueAggregationResult as ValueAggregationResultOriginal,\n RangeAggregationResult as RangeAggregationResultOriginal,\n NestedAggregationResults as NestedAggregationResultsOriginal,\n NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal,\n ValueResults as ValueResultsOriginal,\n RangeResults as RangeResultsOriginal,\n AggregationResultsScalarResult as AggregationResultsScalarResultOriginal,\n NestedValueAggregationResult as NestedValueAggregationResultOriginal,\n ValueResult as ValueResultOriginal,\n RangeResult as RangeResultOriginal,\n ScalarResult as ScalarResultOriginal,\n NestedResultValue as NestedResultValueOriginal,\n NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal,\n Results as ResultsOriginal,\n DateHistogramResult as DateHistogramResultOriginal,\n GroupByValueResults as GroupByValueResultsOriginal,\n DateHistogramResults as DateHistogramResultsOriginal,\n NestedResults as NestedResultsOriginal,\n AggregationResults as AggregationResultsOriginal,\n AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal,\n SearchCardsByStageRequest as SearchCardsByStageRequestOriginal,\n SearchCardsByStageResponse as SearchCardsByStageResponseOriginal,\n BulkSearchCardsResult as BulkSearchCardsResultOriginal,\n BulkCreateCardsRequest as BulkCreateCardsRequestOriginal,\n BulkCreateCardsResponse as BulkCreateCardsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkCardResult as BulkCardResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateCardsRequest as BulkUpdateCardsRequestOriginal,\n MaskedCard as MaskedCardOriginal,\n BulkUpdateCardsResponse as BulkUpdateCardsResponseOriginal,\n BulkUpdateCardsResponseBulkCardResult as BulkUpdateCardsResponseBulkCardResultOriginal,\n BulkDeleteCardsRequest as BulkDeleteCardsRequestOriginal,\n BulkDeleteCardsResponse as BulkDeleteCardsResponseOriginal,\n BulkDeleteCardsResponseBulkCardResult as BulkDeleteCardsResponseBulkCardResultOriginal,\n BulkUpdateCardTagsRequest as BulkUpdateCardTagsRequestOriginal,\n BulkUpdateCardTagsResponse as BulkUpdateCardTagsResponseOriginal,\n BulkUpdateCardTagsResult as BulkUpdateCardTagsResultOriginal,\n BulkUpdateCardTagsByFilterRequest as BulkUpdateCardTagsByFilterRequestOriginal,\n BulkUpdateCardTagsByFilterResponse as BulkUpdateCardTagsByFilterResponseOriginal,\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 Empty as EmptyOriginal,\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 CreateCardApplicationErrors as CreateCardApplicationErrorsOriginal,\n UpdateCardApplicationErrors as UpdateCardApplicationErrorsOriginal,\n MoveCardApplicationErrors as MoveCardApplicationErrorsOriginal,\n BulkUpdateCardTagsApplicationErrors as BulkUpdateCardTagsApplicationErrorsOriginal,\n BulkUpdateCardTagsByFilterApplicationErrors as BulkUpdateCardTagsByFilterApplicationErrorsOriginal,\n} from './crm-pipelines-v1-card-pipelines.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,sCACP,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,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,WAAW,SAA6C;AACtE,WAAS,aAAa,EAAE,KAAK,GAAQ;A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;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;","names":["payload","Priority","Outcome","SortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","Mode","NameFormat","WebhookIdentityType","createCard","getCard","updateCard","moveCard","deleteCard","queryCards","searchCards","searchCardsByStage","bulkCreateCards","bulkUpdateCards","bulkDeleteCards","bulkUpdateCardTags","bulkUpdateCardTagsByFilter"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "main": "../build/cjs/meta.js"
3
+ }
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@wix/auto_sdk_crm_pipelines",
3
+ "version": "1.0.0",
4
+ "license": "MIT",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/",
7
+ "access": "public"
8
+ },
9
+ "keywords": [],
10
+ "sideEffects": false,
11
+ "main": "./build/cjs/index.js",
12
+ "types": "./build/cjs/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "import": "./build/es/index.mjs",
16
+ "require": "./build/cjs/index.js",
17
+ "types": "./build/es/index.d.mts"
18
+ },
19
+ "./package.json": "./package.json",
20
+ "./meta": {
21
+ "import": "./build/es/meta.mjs",
22
+ "require": "./build/cjs/meta.js",
23
+ "types": "./build/es/meta.d.mts"
24
+ }
25
+ },
26
+ "files": [
27
+ "build",
28
+ "meta",
29
+ "service-plugins"
30
+ ],
31
+ "dependencies": {
32
+ "@wix/sdk-runtime": "^1.0.10",
33
+ "@wix/sdk-types": "^1.17.6"
34
+ },
35
+ "devDependencies": {
36
+ "tsup": "^8.4.0",
37
+ "typescript": "^5.3.2"
38
+ },
39
+ "scripts": {
40
+ "build": "tsup",
41
+ "test": ":"
42
+ },
43
+ "wix": {
44
+ "artifact": {
45
+ "artifactId": "auto-sdk-crm-pipelines",
46
+ "groupId": "com.wixpress.public-sdk-dependencies"
47
+ },
48
+ "sdkDependency": {
49
+ "fqdnNamespace": "pipelines",
50
+ "fqdn": "wix.crm.pipelines.v1.card"
51
+ }
52
+ },
53
+ "falconPackageHash": "682e868d06ee0780c36b8322e3797349b82d8f1ce64cb5e4e3338995"
54
+ }