{"version":3,"sources":["../../src/automations-v1-automations-custom-trigger-custom-trigger.universal.ts","../../src/automations-v1-automations-custom-trigger-custom-trigger.http.ts","../../src/automations-v1-automations-custom-trigger-custom-trigger.public.ts","../../src/automations-v1-automations-custom-trigger-custom-trigger.context.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { renameKeysFromSDKRequestToRESTRequest } from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient } from '@wix/sdk-types';\nimport * as ambassadorWixAutomationsV1AutomationsCustomTrigger from './automations-v1-automations-custom-trigger-custom-trigger.http.js';\n\nexport interface MainEntity {\n  /** @format GUID */\n  _id?: string;\n  tags?: Tags;\n}\n\nexport interface Tags {\n  privateTags?: TagList;\n  tags?: TagList;\n}\n\nexport interface TagList {\n  /**\n   * @maxSize 100\n   * @maxLength 5\n   */\n  tagIds?: string[];\n}\n\nexport interface RunTriggerRequest {\n  /**\n   * Trigger ID. You can find this in the custom trigger configuration in the automations builder.\n   * @maxLength 100\n   */\n  triggerId?: string;\n  /**\n   * Optional payload object to pass to run trigger. Define the payload schema from sample data in the custom trigger configuration in the\n   * automations builder.\n   */\n  payload?: Record<string, any> | null;\n}\n\nexport interface RunTriggerResponse {}\n\nexport interface BulkUpdateMainEntityTagsRequest {\n  /**\n   * @maxSize 100\n   * @maxLength 50\n   */\n  entityIds?: string[];\n  assignTags?: Tags;\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateMainEntityTagsResponse {}\n\nexport interface BulkUpdateMainEntityTagsByFilterRequest {\n  filter?: Record<string, any> | null;\n  assignTags?: Tags;\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateMainEntityTagsByFilterResponse {}\n\n/**\n * Runs the automation associated with the trigger ID that you pass to it.\n * @public\n * @permissionId AUTOMATIONS.TRIGGER_WEBHOOK\n * @applicableIdentity APP\n * @fqn com.wixpress.crm.automations.automations_custom_trigger.AutomationsCustomTriggerService.RunTrigger\n */\nexport async function runTrigger(options?: RunTriggerOptions): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    triggerId: options?.triggerId,\n    payload: options?.payload,\n  });\n\n  const reqOpts =\n    ambassadorWixAutomationsV1AutomationsCustomTrigger.runTrigger(payload);\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          triggerId: '$[0].triggerId',\n          payload: '$[0].payload',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface RunTriggerOptions {\n  /**\n   * Trigger ID. You can find this in the custom trigger configuration in the automations builder.\n   * @maxLength 100\n   */\n  triggerId?: string;\n  /**\n   * Optional payload object to pass to run trigger. Define the payload schema from sample data in the custom trigger configuration in the\n   * automations builder.\n   */\n  payload?: Record<string, any> | null;\n}\n\n/** @internal\n * @documentationMaturity preview\n * @permissionId AUTOMATIONS.TRIGGER_WEBHOOK\n * @applicableIdentity APP\n * @fqn com.wixpress.crm.automations.automations_custom_trigger.AutomationsCustomTriggerService.BulkUpdateMainEntityTags\n */\nexport async function bulkUpdateMainEntityTags(\n  options?: BulkUpdateMainEntityTagsOptions\n): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    entityIds: options?.entityIds,\n    assignTags: options?.assignTags,\n    unassignTags: options?.unassignTags,\n  });\n\n  const reqOpts =\n    ambassadorWixAutomationsV1AutomationsCustomTrigger.bulkUpdateMainEntityTags(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          entityIds: '$[0].entityIds',\n          assignTags: '$[0].assignTags',\n          unassignTags: '$[0].unassignTags',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface BulkUpdateMainEntityTagsOptions {\n  /**\n   * @maxSize 100\n   * @maxLength 50\n   */\n  entityIds?: string[];\n  assignTags?: Tags;\n  unassignTags?: Tags;\n}\n\n/** @internal\n * @documentationMaturity preview\n * @permissionId AUTOMATIONS.TRIGGER_WEBHOOK\n * @applicableIdentity APP\n * @fqn com.wixpress.crm.automations.automations_custom_trigger.AutomationsCustomTriggerService.BulkUpdateMainEntityTagsByFilter\n */\nexport async function bulkUpdateMainEntityTagsByFilter(\n  options?: BulkUpdateMainEntityTagsByFilterOptions\n): Promise<void> {\n  // @ts-ignore\n  const { httpClient, sideEffects } = arguments[1] as {\n    httpClient: HttpClient;\n    sideEffects?: any;\n  };\n\n  const payload = renameKeysFromSDKRequestToRESTRequest({\n    filter: options?.filter,\n    assignTags: options?.assignTags,\n    unassignTags: options?.unassignTags,\n  });\n\n  const reqOpts =\n    ambassadorWixAutomationsV1AutomationsCustomTrigger.bulkUpdateMainEntityTagsByFilter(\n      payload\n    );\n\n  sideEffects?.onSiteCall?.();\n  try {\n    const result = await httpClient.request(reqOpts);\n    sideEffects?.onSuccess?.(result);\n  } catch (err: any) {\n    const transformedError = sdkTransformError(\n      err,\n      {\n        spreadPathsToArguments: {},\n        explicitPathsToArguments: {\n          filter: '$[0].filter',\n          assignTags: '$[0].assignTags',\n          unassignTags: '$[0].unassignTags',\n        },\n        singleArgumentUnchanged: false,\n      },\n      ['options']\n    );\n    sideEffects?.onError?.(err);\n\n    throw transformedError;\n  }\n}\n\nexport interface BulkUpdateMainEntityTagsByFilterOptions {\n  filter?: Record<string, any> | null;\n  assignTags?: Tags;\n  unassignTags?: Tags;\n}\n","import { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressCrmAutomationsAutomationsCustomTriggerAutomationsCustomTriggerServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'bo._base_domain_': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'dev._base_domain_': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'platform.rise.ai': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n    'payments.base44.com': [\n      {\n        srcPath: '/_serverless/crm-automations-utils',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_automations_custom-trigger';\n\n/** Runs the automation associated with the trigger ID that you pass to it. */\nexport function runTrigger(payload: object): RequestOptionsFactory<any> {\n  function __runTrigger({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automations_custom_trigger',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.crm.automations.automations_custom_trigger.AutomationsCustomTriggerService.RunTrigger',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressCrmAutomationsAutomationsCustomTriggerAutomationsCustomTriggerServiceUrl(\n        { protoPath: '/v1/trigger-custom', data: payload, host }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __runTrigger;\n}\n\nexport function bulkUpdateMainEntityTags(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateMainEntityTags({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automations_custom_trigger',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.crm.automations.automations_custom_trigger.AutomationsCustomTriggerService.BulkUpdateMainEntityTags',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressCrmAutomationsAutomationsCustomTriggerAutomationsCustomTriggerServiceUrl(\n        { protoPath: '/v1/bulk-update-main-entity-tags', data: payload, host }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateMainEntityTags;\n}\n\nexport function bulkUpdateMainEntityTagsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateMainEntityTagsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.automations.v1.automations_custom_trigger',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wixpress.crm.automations.automations_custom_trigger.AutomationsCustomTriggerService.BulkUpdateMainEntityTagsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixpressCrmAutomationsAutomationsCustomTriggerAutomationsCustomTriggerServiceUrl(\n        {\n          protoPath: '/v1/bulk-update-main-entity-tags-by-filter',\n          data: payload,\n          host,\n        }\n      ),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateMainEntityTagsByFilter;\n}\n","import { HttpClient } from '@wix/sdk-types';\nimport {\n  BulkUpdateMainEntityTagsByFilterOptions,\n  BulkUpdateMainEntityTagsOptions,\n  RunTriggerOptions,\n  bulkUpdateMainEntityTags as universalBulkUpdateMainEntityTags,\n  bulkUpdateMainEntityTagsByFilter as universalBulkUpdateMainEntityTagsByFilter,\n  runTrigger as universalRunTrigger,\n} from './automations-v1-automations-custom-trigger-custom-trigger.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/automations' };\n\nexport function runTrigger(httpClient: HttpClient): RunTriggerSignature {\n  return (options?: RunTriggerOptions) =>\n    universalRunTrigger(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface RunTriggerSignature {\n  /**\n   * Runs the automation associated with the trigger ID that you pass to it.\n   */\n  (options?: RunTriggerOptions): Promise<void>;\n}\n\n/** @internal */\nexport function bulkUpdateMainEntityTags(\n  httpClient: HttpClient\n): BulkUpdateMainEntityTagsSignature {\n  return (options?: BulkUpdateMainEntityTagsOptions) =>\n    universalBulkUpdateMainEntityTags(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface BulkUpdateMainEntityTagsSignature {\n  /** */\n  (options?: BulkUpdateMainEntityTagsOptions): Promise<void>;\n}\n\n/** @internal */\nexport function bulkUpdateMainEntityTagsByFilter(\n  httpClient: HttpClient\n): BulkUpdateMainEntityTagsByFilterSignature {\n  return (options?: BulkUpdateMainEntityTagsByFilterOptions) =>\n    universalBulkUpdateMainEntityTagsByFilter(\n      options,\n      // @ts-ignore\n      { httpClient }\n    );\n}\n\ninterface BulkUpdateMainEntityTagsByFilterSignature {\n  /** */\n  (options?: BulkUpdateMainEntityTagsByFilterOptions): Promise<void>;\n}\n\nexport {\n  BulkUpdateMainEntityTagsByFilterOptions,\n  BulkUpdateMainEntityTagsByFilterRequest,\n  BulkUpdateMainEntityTagsByFilterResponse,\n  BulkUpdateMainEntityTagsOptions,\n  BulkUpdateMainEntityTagsRequest,\n  BulkUpdateMainEntityTagsResponse,\n  MainEntity,\n  RunTriggerOptions,\n  RunTriggerRequest,\n  RunTriggerResponse,\n  TagList,\n  Tags,\n} from './automations-v1-automations-custom-trigger-custom-trigger.universal.js';\n","import {\n  runTrigger as publicRunTrigger,\n  bulkUpdateMainEntityTags as publicBulkUpdateMainEntityTags,\n  bulkUpdateMainEntityTagsByFilter as publicBulkUpdateMainEntityTagsByFilter,\n} from './automations-v1-automations-custom-trigger-custom-trigger.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\nexport const runTrigger: MaybeContext<\n  BuildRESTFunction<typeof publicRunTrigger> & typeof publicRunTrigger\n> = /*#__PURE__*/ createRESTModule(publicRunTrigger);\n/** @internal */\nexport const bulkUpdateMainEntityTags: MaybeContext<\n  BuildRESTFunction<typeof publicBulkUpdateMainEntityTags> &\n    typeof publicBulkUpdateMainEntityTags\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateMainEntityTags);\n/** @internal */\nexport const bulkUpdateMainEntityTagsByFilter: MaybeContext<\n  BuildRESTFunction<typeof publicBulkUpdateMainEntityTagsByFilter> &\n    typeof publicBulkUpdateMainEntityTagsByFilter\n> = /*#__PURE__*/ createRESTModule(publicBulkUpdateMainEntityTagsByFilter);\n\nexport {\n  MainEntity,\n  Tags,\n  TagList,\n  RunTriggerRequest,\n  RunTriggerResponse,\n  BulkUpdateMainEntityTagsRequest,\n  BulkUpdateMainEntityTagsResponse,\n  BulkUpdateMainEntityTagsByFilterRequest,\n  BulkUpdateMainEntityTagsByFilterResponse,\n  RunTriggerOptions,\n  BulkUpdateMainEntityTagsOptions,\n  BulkUpdateMainEntityTagsByFilterOptions,\n} from './automations-v1-automations-custom-trigger-custom-trigger.universal.js';\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,6CAA6C;;;ACDtD,SAAS,kBAAkB;AAI3B,SAAS,2FACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA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,MACA,CAAC,SAAS;AAAA,IACZ;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;;;AErNO,SAASC,YAAW,YAA6C;AACtE,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAUO,SAASC,0BACd,YACmC;AACnC,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;AAQO,SAASC,kCACd,YAC2C;AAC3C,SAAO,CAAC,YACNA;AAAA,IACE;AAAA;AAAA,IAEA,EAAE,WAAW;AAAA,EACf;AACJ;;;AClDA,SAAS,wBAAwB;AAG1B,IAAMC,cAEK,iCAAiBA,WAAgB;AAE5C,IAAMC,4BAGK,iCAAiBA,yBAA8B;AAE1D,IAAMC,oCAGK,iCAAiBA,iCAAsC;","names":["runTrigger","bulkUpdateMainEntityTags","bulkUpdateMainEntityTagsByFilter","runTrigger","bulkUpdateMainEntityTags","bulkUpdateMainEntityTagsByFilter","runTrigger","bulkUpdateMainEntityTags","bulkUpdateMainEntityTagsByFilter"]}