{"version":3,"sources":["../../src/workflows-v1-card-cards.http.ts","../../src/workflows-v1-card-cards.types.ts","../../src/workflows-v1-card-cards.meta.ts"],"sourcesContent":["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 { 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 resolveComWixpressWorkflowApiV1CardsServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/workflow-server-web',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/workflow-server-web',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/workflow-server-web',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/workflows',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_workflows_cards';\n\n/**\n * Retrieves a list of a workflow's cards.\n *\n *\n * The `listCards()` function returns a Promise that resolves to a list of the specified workflow's cards.\n *\n *\n * Use the `options` parameter to specify which cards to retrieve and in which order to retrieve them. Must use either `phaseId` or `fetchOnlyArchived`.\n *\n *\n * Cards can be sorted based on their `\"id\"`, `\"name\"`, `\"phaseId\"`, `\"createdDate\"`, `\"updatedDate\"`, `\"source\"`, and `\"position\"`.\n *\n *\n * If no `limit` parameter is passed, the first 50 cards are returned.\n *\n *\n * Sort order defaults to by `\"phaseId\"` and then by `\"position\"` ascending.\n *\n *\n * This function requires you to specify the ID of a workflow. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n */\nexport function listCards(payload: object): RequestOptionsFactory<any> {\n  function __listCards({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.ListCards',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/workflows/{workflowId}/cards',\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: 'cards.info.dueDate' },\n              { path: 'cards.info.createdAt' },\n              { path: 'cards.info.updatedAt' },\n              { path: 'cards.info.createdDate' },\n              { path: 'cards.info.updatedDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'GET' as any,\n          url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n            protoPath: '/v1/workflows/{workflowId}/cards',\n            data: payload,\n            host,\n          }),\n          params: toURLSearchParams(payload),\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __listCards;\n}\n\n/**\n * Retrieves a workflow card by ID.\n *\n *\n * The `getCard()` function returns a Promise that resolves to the card with the specified ID.\n *\n *\n * This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n */\nexport function getCard(payload: object): RequestOptionsFactory<any> {\n  function __getCard({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'GET' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.GetCard',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/cards/{id}',\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.info.dueDate' },\n              { path: 'card.info.createdAt' },\n              { path: 'card.info.updatedAt' },\n              { path: 'card.info.createdDate' },\n              { path: 'card.info.updatedDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'GET' as any,\n          url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n            protoPath: '/v1/cards/{id}',\n            data: payload,\n            host,\n          }),\n          params: toURLSearchParams(payload),\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __getCard;\n}\n\n/**\n * Updates an existing workflow card.\n *\n *\n * The `updateCard()` function returns a Promise that resolves when the card has been updated with the specified values.\n *\n *\n * `contactId` is not a required field, but if the parameter is not passed, the field will default to empty and the card will not be associated with any contact.\n *\n *\n * This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n */\nexport function updateCard(payload: object): RequestOptionsFactory<any> {\n  function __updateCard({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'cardInfo.dueDate' },\n          { path: 'cardInfo.createdAt' },\n          { path: 'cardInfo.updatedAt' },\n          { path: 'cardInfo.createdDate' },\n          { path: 'cardInfo.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'PATCH' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.UpdateCard',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/cards/{id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __updateCard;\n}\n\n/**\n * Creates a new workflow card.\n *\n *\n * The `createCard()` function returns a Promise that resolves to the created card's ID when the card is created in the specified workflow phase.\n *\n * Pass a value for the `position` parameter to specify the newly created card's position within the specified phase. Positions are zero-based, meaning the first position is `0`.\n *\n * When omitted, the newly created card is added to the specified phase as the top card within the phase.\n *\n *\n * This function requires you to specify the ID of a workflow and phase. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n *\n *  > **Note:**\n *  > Each workflow is limited to 5,000 cards.\n *  > If this limit is reached, `createCard()` throws an error.\n *  > [Archive cards](#archivecard) when they're no longer needed\n *  > to reduce card count and avoid hitting the limit.\n */\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.dueDate' },\n          { path: 'card.createdAt' },\n          { path: 'card.updatedAt' },\n          { path: 'card.createdDate' },\n          { path: 'card.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.CreateCard',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/workflows/{workflowId}/phases/{phaseId}/cards',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __createCard;\n}\n\n/**\n * Deletes a workflow card by ID.\n *\n *\n * The `deleteCard()` function returns a Promise when the specified card has been deleted.\n *\n * This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n */\nexport function deleteCard(payload: object): RequestOptionsFactory<any> {\n  function __deleteCard({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'DELETE' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.DeleteCard',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/cards/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteCard;\n}\n\n/**\n * Moves a card to a new position within a workflow.\n *\n *\n * The `moveCard()` function returns a Promise when the specified card has been moved to the new position.\n *\n * Use the `options` parameter to specify the phase and position within that phase to move the card to. Positions are zero-based, meaning the first position is `0`.\n *\n * This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n */\nexport function moveCard(payload: object): RequestOptionsFactory<any> {\n  function __moveCard({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.MoveCard',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/cards/{id}/move',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __moveCard;\n}\n\n/**\n * Restores an archived workflow card.\n *\n *\n * The `restoreCard()` function returns a Promise that resolves when the archived card has been restored.\n *\n *\n * This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n *\n *\n * > **Note:**\n * > Each workflow is limited to 5,000 cards.\n * > If this limit is reached, `createCard()` throws an error.\n * > [Archive cards](#archivecard) when they're no longer needed\n * > to reduce card count and avoid hitting the limit.\n */\nexport function restoreCard(payload: object): RequestOptionsFactory<any> {\n  function __restoreCard({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.RestoreCard',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/cards/{id}/restore',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __restoreCard;\n}\n\n/**\n * Archives a workflow card.\n *\n *\n * The `archiveCard()` function returns a Promise that resolves when the card has been archived.\n *\n *\n * This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflows APIs, see [Retrieving IDs](wix-workflows-v2/introduction#retrieving-ids).\n */\nexport function archiveCard(payload: object): RequestOptionsFactory<any> {\n  function __archiveCard({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.workflows.v1.card',\n      method: 'POST' as any,\n      methodFqn: 'com.wixpress.workflow.api.v1.CardsService.ArchiveCard',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressWorkflowApiV1CardsServiceUrl({\n        protoPath: '/v1/cards/{id}/archive',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __archiveCard;\n}\n","export interface Card {\n  /** Card details. */\n  info?: CardInfo;\n}\n\n/** entity representing a card-info */\nexport interface CardInfo {\n  /**\n   * Card ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /** Display name shown at the top of the card. */\n  name?: string | null;\n  /** Card description. */\n  description?: string | null;\n  /** Details about the contact attached to the card. */\n  primaryAttachment?: Attachment;\n  /** Due date. */\n  dueDate?: Date | null;\n  /** Name of the app or service that created the contact. */\n  source?: string | null;\n  /**\n   * Deprecated. Use `createdDate` instead.\n   * @readonly\n   * @deprecated\n   */\n  createdAt?: Date | null;\n  /**\n   * Deprecated. Use `updatedDate` instead.\n   * @readonly\n   * @deprecated\n   */\n  updatedAt?: Date | null;\n  /**\n   * ID of the phase that currently holds the card.\n   * @format GUID\n   * @readonly\n   */\n  phaseId?: string | null;\n  /**\n   * Date and time the card was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the card was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n}\n\nexport interface Attachment {\n  /**\n   * Attachment ID. For internal use.\n   * @format GUID\n   * @readonly\n   */\n  attachmentId?: string;\n  /**\n   * Deprecated. Use `contactId` instead.\n   * @deprecated\n   */\n  value?: string;\n  /**\n   * Deprecated. For internal use.\n   * @deprecated\n   */\n  attachmentType?: AttachmentTypeWithLiterals;\n  /**\n   * ID of the contact attached to the card.\n   * @format GUID\n   */\n  contactId?: string;\n}\n\n/** describes the supported types of attachments (currently only supports Contact which is the default type) */\nexport enum AttachmentType {\n  ContactType = 'ContactType',\n}\n\n/** @enumType */\nexport type AttachmentTypeWithLiterals = AttachmentType | 'ContactType';\n\nexport interface QueryCardsRequest {\n  /** Query, sort, and paging options. */\n  query?: Query;\n}\n\nexport interface Query {\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: any;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   */\n  sort?: Sorting[];\n  /** Paging options to limit and skip the number of items. */\n  paging?: Paging;\n  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fields?: string[];\n  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */\n  fieldsets?: string[];\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 Paging {\n  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface QueryCardsResponse {\n  /** List of cards that matched the query criteria. */\n  cards?: Card[];\n  /** Metadata for the page of results. */\n  pagination?: PaginationResponse;\n}\n\nexport interface PaginationResponse {\n  /** Number of items that were skipped in the current sort order. */\n  offset?: number;\n  /** Total number of items that matched the filter. */\n  total?: number;\n  /** Number of returned items. */\n  count?: number;\n}\n\nexport interface ListCardsRequest {\n  /**\n   * ID of the workflow whose cards will be listed.\n   * @format GUID\n   */\n  workflowId: string;\n  /**\n   * Filters for cards in the specified phase.\n   * @format GUID\n   */\n  phaseId?: string | null;\n  /**\n   * Number of items to return.\n   *\n   * Defaults to `50`.\n   */\n  limit?: number | null;\n  /**\n   * Number of items to skip in the current sort order.\n   *\n   * Defaults to `0`.\n   */\n  offset?: number | null;\n  /** Filters for cards with the specified contact ID. */\n  attachmentValue?: string | null;\n  /**\n   * Filters for archived cards.\n   * If set to `true`,\n   * only archived cards are returned.\n   * If set to `false`,\n   * only cards that are not archived are returned.\n   *\n   * Defaults to `false`.\n   */\n  fetchArchived?: boolean | null;\n  /**\n   * Supported fields:\n   * `id`, `name`, `createdDate`, `updatedDate`, `phaseId`\n   *\n   * List of fields to sort by.\n   * Formatted as `field:direction`,\n   * where field is the field name\n   * and direction is `asc` (ascending) or `desc` (descending).\n   *\n   * Sorting is applied lexicographically, so `\"abc\"` comes after `\"XYZ\"`.\n   */\n  sort?: string[];\n}\n\nexport interface ListCardsResponse {\n  /** List of cards. */\n  cards?: Card[];\n  /** Metadata for the page of results. */\n  pagination?: PaginationResponse;\n}\n\nexport interface GetCardRequest {\n  /**\n   * ID of the card to retrieve.\n   * @format GUID\n   */\n  id: string;\n}\n\nexport interface GetCardResponse {\n  /** Requested card. */\n  card?: Card;\n}\n\nexport interface UpdateCardRequest {\n  /**\n   * ID of the card to update.\n   * @format GUID\n   */\n  id: string;\n  /** Card details. */\n  cardInfo?: CardInfo;\n}\n\nexport interface UpdateCardResponse {}\n\nexport interface CreateCardRequest {\n  /**\n   * ID of the workflow to create the card in.\n   * @format GUID\n   */\n  workflowId: string;\n  /**\n   * ID of the phase to create the card in.\n   * @format GUID\n   */\n  phaseId: string;\n  /** Card details. */\n  card?: CardInfo;\n  /**\n   * Card position, where the first card is `0`.\n   *\n   * If a card already occupies the specified position,\n   * that card and any subsequent cards are shifted to the right by 1.\n   *\n   * Defaults to the last position.\n   */\n  position?: number | null;\n}\n\nexport interface CreateCardResponse {\n  /**\n   * ID of the newly created card.\n   * @format GUID\n   */\n  id?: string | null;\n}\n\nexport interface DeleteCardRequest {\n  /**\n   * ID of the card to delete.\n   * @format GUID\n   */\n  id: string;\n}\n\nexport interface DeleteCardResponse {}\n\nexport interface MoveCardRequest {\n  /**\n   * ID of the card to move.\n   * @format GUID\n   */\n  id: string;\n  /**\n   * ID of the phase to move the card to.\n   * @format GUID\n   */\n  newPhaseId?: string | null;\n  /** Position of the card in the phase, where the first card is `0`. */\n  newPosition?: number | null;\n}\n\nexport interface MoveCardResponse {}\n\nexport interface RestoreCardRequest {\n  /**\n   * ID of the card to restore.\n   * @format GUID\n   */\n  id: string;\n  /**\n   * ID of the phase to restore the card to.\n   * @format GUID\n   */\n  newPhaseId: string;\n  /**\n   * Position of the restored card in the phase,\n   * where the first card is `0`.\n   */\n  newPosition?: number | null;\n}\n\nexport interface RestoreCardResponse {}\n\nexport interface ArchiveCardRequest {\n  /**\n   * ID of the card to archive.\n   * @format GUID\n   */\n  id: string;\n}\n\nexport interface ArchiveCardResponse {}\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","import * as ambassadorWixWorkflowsV1Card from './workflows-v1-card-cards.http.js';\nimport * as ambassadorWixWorkflowsV1CardTypes from './workflows-v1-card-cards.types.js';\nimport * as ambassadorWixWorkflowsV1CardUniversalTypes from './workflows-v1-card-cards.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 listCards(): __PublicMethodMetaInfo<\n  'GET',\n  { workflowId: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.ListCardsRequest,\n  ambassadorWixWorkflowsV1CardTypes.ListCardsRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.ListCardsResponse,\n  ambassadorWixWorkflowsV1CardTypes.ListCardsResponse\n> {\n  const payload = { workflowId: ':workflowId' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.listCards(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/workflows/{workflowId}/cards',\n    pathParams: { workflowId: 'workflowId' },\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  { id: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.GetCardRequest,\n  ambassadorWixWorkflowsV1CardTypes.GetCardRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.GetCardResponse,\n  ambassadorWixWorkflowsV1CardTypes.GetCardResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.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/{id}',\n    pathParams: { id: 'id' },\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  { id: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.UpdateCardRequest,\n  ambassadorWixWorkflowsV1CardTypes.UpdateCardRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.UpdateCardResponse,\n  ambassadorWixWorkflowsV1CardTypes.UpdateCardResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.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/{id}',\n    pathParams: { id: 'id' },\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 createCard(): __PublicMethodMetaInfo<\n  'POST',\n  { workflowId: string; phaseId: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.CreateCardRequest,\n  ambassadorWixWorkflowsV1CardTypes.CreateCardRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.CreateCardResponse,\n  ambassadorWixWorkflowsV1CardTypes.CreateCardResponse\n> {\n  const payload = { workflowId: ':workflowId', phaseId: ':phaseId' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.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/workflows/{workflowId}/phases/{phaseId}/cards',\n    pathParams: { workflowId: 'workflowId', phaseId: 'phaseId' },\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  { id: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.DeleteCardRequest,\n  ambassadorWixWorkflowsV1CardTypes.DeleteCardRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.DeleteCardResponse,\n  ambassadorWixWorkflowsV1CardTypes.DeleteCardResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.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/{id}',\n    pathParams: { id: 'id' },\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  'POST',\n  { id: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.MoveCardRequest,\n  ambassadorWixWorkflowsV1CardTypes.MoveCardRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.MoveCardResponse,\n  ambassadorWixWorkflowsV1CardTypes.MoveCardResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.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: 'POST',\n    path: '/v1/cards/{id}/move',\n    pathParams: { id: 'id' },\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 restoreCard(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.RestoreCardRequest,\n  ambassadorWixWorkflowsV1CardTypes.RestoreCardRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.RestoreCardResponse,\n  ambassadorWixWorkflowsV1CardTypes.RestoreCardResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.restoreCard(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/{id}/restore',\n    pathParams: { id: 'id' },\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 archiveCard(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixWorkflowsV1CardUniversalTypes.ArchiveCardRequest,\n  ambassadorWixWorkflowsV1CardTypes.ArchiveCardRequest,\n  ambassadorWixWorkflowsV1CardUniversalTypes.ArchiveCardResponse,\n  ambassadorWixWorkflowsV1CardTypes.ArchiveCardResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions = ambassadorWixWorkflowsV1Card.archiveCard(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/{id}/archive',\n    pathParams: { id: 'id' },\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  CardInfo as CardInfoOriginal,\n  Attachment as AttachmentOriginal,\n  AttachmentType as AttachmentTypeOriginal,\n  AttachmentTypeWithLiterals as AttachmentTypeWithLiteralsOriginal,\n  QueryCardsRequest as QueryCardsRequestOriginal,\n  Query as QueryOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  QueryCardsResponse as QueryCardsResponseOriginal,\n  PaginationResponse as PaginationResponseOriginal,\n  ListCardsRequest as ListCardsRequestOriginal,\n  ListCardsResponse as ListCardsResponseOriginal,\n  GetCardRequest as GetCardRequestOriginal,\n  GetCardResponse as GetCardResponseOriginal,\n  UpdateCardRequest as UpdateCardRequestOriginal,\n  UpdateCardResponse as UpdateCardResponseOriginal,\n  CreateCardRequest as CreateCardRequestOriginal,\n  CreateCardResponse as CreateCardResponseOriginal,\n  DeleteCardRequest as DeleteCardRequestOriginal,\n  DeleteCardResponse as DeleteCardResponseOriginal,\n  MoveCardRequest as MoveCardRequestOriginal,\n  MoveCardResponse as MoveCardResponseOriginal,\n  RestoreCardRequest as RestoreCardRequestOriginal,\n  RestoreCardResponse as RestoreCardResponseOriginal,\n  ArchiveCardRequest as ArchiveCardRequestOriginal,\n  ArchiveCardResponse as ArchiveCardResponseOriginal,\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} from './workflows-v1-card-cards.types.js';\n"],"mappings":";AAAA,SAAS,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,QAAM,oBAAiD,SAAS,OAAO;AAEvE,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,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,eAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBAAiD,YAAY,OAAO;AAE1E,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,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,eAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBAAiD,YAAY,OAAO;AAE1E,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,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","AttachmentType","SortOrder","WebhookIdentityType","listCards","getCard","updateCard","createCard","deleteCard","moveCard","restoreCard","archiveCard"]}