{"version":3,"sources":["../../src/donations-v2-donation-campaign-donation-campaigns.http.ts","../../src/donations-v2-donation-campaign-donation-campaigns.types.ts","../../src/donations-v2-donation-campaign-donation-campaigns.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\nconst TRANSFORM_PATHS_0 = [\n  { path: 'donationCampaign.createdDate' },\n  { path: 'donationCampaign.updatedDate' },\n  { path: 'donationCampaign.coverImage.urlExpirationDate' },\n  { path: 'donationCampaign.campaignGoal.endDate' },\n];\nconst TRANSFORM_PATHS_1 = [\n  { path: 'donationCampaign.coverImage.focalPoint.x' },\n  { path: 'donationCampaign.coverImage.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_2 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_3 = [\n  { path: 'donationCampaigns.createdDate' },\n  { path: 'donationCampaigns.updatedDate' },\n  { path: 'donationCampaigns.coverImage.urlExpirationDate' },\n  { path: 'donationCampaigns.campaignGoal.endDate' },\n];\nconst TRANSFORM_PATHS_4 = [\n  { path: 'donationCampaigns.coverImage.focalPoint.x' },\n  { path: 'donationCampaigns.coverImage.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_5 = [\n  { path: 'results.item.createdDate' },\n  { path: 'results.item.updatedDate' },\n  { path: 'results.item.coverImage.urlExpirationDate' },\n  { path: 'results.item.campaignGoal.endDate' },\n];\nconst TRANSFORM_PATHS_6 = [\n  { path: 'results.item.coverImage.focalPoint.x' },\n  { path: 'results.item.coverImage.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_7 = [{ path: 'donationCampaigns.fieldMask' }];\nconst TRANSFORM_PATHS_8 = [\n  { path: 'donationCampaigns.donationCampaign.createdDate' },\n  { path: 'donationCampaigns.donationCampaign.updatedDate' },\n  { path: 'donationCampaigns.donationCampaign.coverImage.urlExpirationDate' },\n  { path: 'donationCampaigns.donationCampaign.campaignGoal.endDate' },\n];\nconst TRANSFORM_PATHS_9 = [\n  { path: 'donationCampaigns.donationCampaign.coverImage.focalPoint.x' },\n  { path: 'donationCampaigns.donationCampaign.coverImage.focalPoint.y' },\n];\n\nfunction resolveWixDonationsV2DonationCampaignServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/donation-campaign-service/v2',\n        destPath: '/v2',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/donation-campaign-service/v2',\n        destPath: '/v2',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/donation-campaign-service/v2',\n        destPath: '/v2',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/donation-campaign-service/v2',\n        destPath: '/v2',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/donation-campaign-service/v2',\n        destPath: '/v2',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/donation-campaign-service/v2',\n        destPath: '/v2',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/donation-campaigns/v2',\n        destPath: '/v2',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/donation-campaign-service/v2',\n        destPath: '/v2',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_donations_donation-campaigns';\n\n/**\n * Creates a new donation campaign.\n *\n * The campaign is created in an active state and can immediately accept donations.\n *\n * > **Note:** Other than the fields marked as required, **one or both** of the following fields must be passed on create:\n * > + `customAmountEnabled`\n * > + `predefinedDonationAmounts`\n *\n * To create multiple donation campaigns in a single call, use [Bulk Create Donation Campaigns](https://dev.wix.com/docs/api-reference/business-solutions/donations/donation-campaigns/bulk-create-donation-campaigns).\n */\nexport function createDonationCampaign(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createDonationCampaign({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_1,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.CreateDonationCampaign',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/donation-campaigns',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createDonationCampaign;\n}\n\n/** Retrieves a donation campaign by ID. */\nexport function getDonationCampaign(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getDonationCampaign({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'GET' as any,\n      methodFqn: 'wix.donations.v2.DonationCampaignService.GetDonationCampaign',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/donation-campaigns/{donationCampaignId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getDonationCampaign;\n}\n\n/**\n * Updates a donation campaign. Supports partial updates.\n *\n * Each update increments the campaign's `revision` by 1. To prevent conflicts, you must provide the current `revision` in the request.\n *\n * You can update campaign settings like payment options, goals, and frequencies while maintaining the existing donation history.\n *\n * To update multiple donation campaigns in a single call, use [Bulk Update Donation Campaigns](https://dev.wix.com/docs/rest/business-solutions/donations/donation-campaigns/bulk-update-donation-campaigns).\n */\nexport function updateDonationCampaign(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateDonationCampaign({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: TRANSFORM_PATHS_2,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_1,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'PATCH' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.UpdateDonationCampaign',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/donation-campaigns/{donationCampaign.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateDonationCampaign;\n}\n\n/**\n * Retrieves a list of donation campaigns, given the provided paging, filtering, and sorting.\n *\n * Query Donation Campaigns runs with these defaults, which you can override:\n * - `createdDate` is sorted in `ASC` order\n * - `cursorPaging.limit` is `100`\n *\n * To learn how to query donation campaigns, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).\n */\nexport function queryDonationCampaigns(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryDonationCampaigns({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.QueryDonationCampaigns',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/donation-campaigns/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: TRANSFORM_PATHS_3,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_4,\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveWixDonationsV2DonationCampaignServiceUrl({\n            protoPath: '/v2/donation-campaigns/query',\n            data: payload,\n            host,\n          }),\n          data: payload,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __queryDonationCampaigns;\n}\n\n/**\n * Creates multiple donation campaigns in a single request.\n *\n * The campaigns are created in an active state and can immediately accept donations.\n *\n * > **Note:** Other than the fields marked as required, **one or both** of the following fields must be passed on create:\n * > + `customAmountEnabled`\n * > + `predefinedDonationAmounts`\n *\n * To create a single donation campaign, use [Create Donation Campaign](https://dev.wix.com/docs/rest/business-solutions/donations/donation-campaigns/create-donation-campaign).\n */\nexport function bulkCreateDonationCampaigns(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateDonationCampaigns({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_3,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_4,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.BulkCreateDonationCampaigns',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/bulk/donation-campaigns/create',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_5,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_6,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateDonationCampaigns;\n}\n\n/**\n * Updates multiple donation campaigns in a single request.\n *\n * Each update increments the campaign's `revision` by 1. To prevent conflicts, you must provide the current `revision` for each campaign in the request.\n *\n * You can update campaign settings like payment options, goals, and frequencies while maintaining existing donation history.\n *\n * To update a single donation campaign, use [Update Donation Campaign](https://dev.wix.com/docs/rest/business-solutions/donations/donation-campaigns/update-donation-campaign).\n */\nexport function bulkUpdateDonationCampaigns(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateDonationCampaigns({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: TRANSFORM_PATHS_7,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_8,\n      },\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_9,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.BulkUpdateDonationCampaigns',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/bulk/donation-campaigns/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_5,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_6,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateDonationCampaigns;\n}\n\n/**\n * Retrieves metrics for a donation campaign.\n *\n * Returns the total number of successful donations and amount collected for the campaign.\n * The `campaignGoal` must be configured before using this method.\n *\n * Currently supports metrics in the site's default currency only.\n *\n * > **Note:** This method provides aggregated metrics only. To retrieve individual donation details, use [Search Orders](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/orders/search-orders) and filter by `lineItems.catalogReference.catalogItemId` equal to the donation campaign ID.\n */\nexport function getDonationCampaignMetrics(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getDonationCampaignMetrics({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.GetDonationCampaignMetrics',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/donation-campaigns/{donationCampaignId}/metrics',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __getDonationCampaignMetrics;\n}\n\n/**\n * Updates tags on multiple donation campaigns by ID.\n *\n * Use this method to assign or remove tags from specific campaigns.\n * A tag that appears in both assign and unassign lists will be assigned.\n */\nexport function bulkUpdateDonationCampaignTags(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateDonationCampaignTags({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.BulkUpdateDonationCampaignTags',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/bulk/donation-campaigns/update-tags',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateDonationCampaignTags;\n}\n\n/**\n * Updates tags on multiple donation campaigns using filter criteria.\n *\n * An empty filter updates all campaigns. The operation is asynchronous and returns a job ID for monitoring progress.\n *\n * Learn more about working with [async jobs](https://dev.wix.com/docs/rest/business-management/async-job/introduction).\n */\nexport function bulkUpdateDonationCampaignTagsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateDonationCampaignTagsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.donations.v2.donation_campaign',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.donations.v2.DonationCampaignService.BulkUpdateDonationCampaignTagsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixDonationsV2DonationCampaignServiceUrl({\n        protoPath: '/v2/bulk/donation-campaigns/update-tags-by-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateDonationCampaignTagsByFilter;\n}\n","/**\n * A donation campaign represents a fundraising initiative that allows collecting donations\n * for a specific cause or goal. Campaigns can be configured with various donation options,\n * including one-time and recurring payments, predefined amounts, and campaign goals.\n *\n * Use the Donation Campaigns API to create and manage donation campaigns on your site.\n */\nexport interface DonationCampaign {\n  /**\n   * Donation campaign ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the donation campaign is updated.\n   * To prevent conflicting changes, the current `revision` must be specified when updating the donation campaign.\n   *\n   * Ignored when creating a donation campaign.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the donation campaign was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the donation campaign was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Name of the donation campaign.\n   * @minLength 1\n   * @maxLength 65\n   */\n  name?: string;\n  /**\n   * Whether the donation campaign is archived and hidden from site visitors.\n   * Archived campaigns can't accept donations.\n   *\n   * Default: `false`\n   */\n  archived?: boolean;\n  /**\n   * Current status of the donation campaign.\n   *\n   * The status is automatically calculated based on campaign settings and current progress:\n   * - `COLLECTING`: Campaign is active and accepting donations\n   * - `EXPIRED`: Campaign has passed its end date and `acceptDonationsAfterEndDate` is `false`\n   * - `GOAL_REACHED`: Campaign has reached its target amount and `acceptDonationsAfterGoal` is `false`\n   * @readonly\n   */\n  status?: StatusWithLiterals;\n  /** Cover image for the donation campaign. */\n  coverImage?: Image;\n  /**\n   * Whether donors can specify their own donation amount.\n   * If custom amounts are disabled, at least one predefined amount must be provided.\n   *\n   * Default: `false`\n   */\n  customAmountEnabled?: boolean | null;\n  /** Optional settings for custom donation amounts. */\n  customAmountOptions?: CustomAmountOptions;\n  /**\n   * Predefined donation amounts.\n   *\n   * Each amount can include an optional description explaining its impact. For example, \"Feed 5 families for a week\".\n   * @maxSize 20\n   */\n  predefinedDonationAmounts?: PredefinedAmount[];\n  /** Campaign fundraising goal. */\n  campaignGoal?: CampaignGoal;\n  /**\n   * Whether donors can add comments to their donations.\n   *\n   * Default: `false`\n   */\n  commentsEnabled?: boolean;\n  /**\n   * Donation frequencies available for this campaign.\n   *\n   * At least one frequency must be specified.\n   * @minSize 1\n   * @maxSize 4\n   */\n  donationFrequencies?: FrequencyWithLiterals[];\n  /**\n   * Whether to ask donors during checkout if they want to add 2.9% to their donation to cover fees.\n   *\n   * When `false`, fees are deducted from the donation amount,\n   * meaning the campaign receives less than the donor's original contribution.\n   *\n   * When `true`, donors are presented with an option in the checkout UI to\n   * add a 2.9% fee on top of their donation. This fee helps offset\n   * processing costs, ensuring more of the original donation reaches the campaign.\n   * The donor always has the choice — they are never automatically charged the fee.\n   *\n   * For recurring donations, if the donor opts to cover fees, the 2.9% fee\n   * is applied to each recurring payment (not just the first one).\n   *\n   * > **Notes:**\n   * > + The 2.9% rate is fixed and cannot be customized by campaign owners.\n   * > + This feature works with all payment methods and currencies.\n   *\n   * Default: `false`\n   */\n  askDonorCoverFee?: boolean;\n  /**\n   * Custom field data for the program definition object.\n   *\n   * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.\n   */\n  extendedFields?: ExtendedFields;\n  /** Tags assigned to this donation campaign. */\n  tags?: Tags;\n}\n\nexport enum Status {\n  /** Campaign is actively accepting donations. */\n  COLLECTING = 'COLLECTING',\n  /** Campaign has passed its `endDate` and `acceptDonationsAfterEndDate` is `false`. */\n  EXPIRED = 'EXPIRED',\n  /** Campaign has reached its `targetAmount` and `acceptDonationsAfterGoal` is `false`. */\n  GOAL_REACHED = 'GOAL_REACHED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n  | Status\n  | 'COLLECTING'\n  | 'EXPIRED'\n  | 'GOAL_REACHED';\n\nexport interface Image {\n  /**\n   * WixMedia image ID.\n   * @maxLength 256\n   */\n  id?: string;\n  /**\n   * Image URL.\n   * @format WEB_URL\n   */\n  url?: string;\n  /**\n   * Original image height.\n   * @readonly\n   */\n  height?: number;\n  /**\n   * Original image width.\n   * @readonly\n   */\n  width?: number;\n  /**\n   * Image alt text.\n   * @maxLength 256\n   */\n  altText?: string | null;\n  /**\n   * Image URL expiration date (when relevant).\n   * @internal\n   * @readonly\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * Image filename.\n   * @readonly\n   * @maxLength 256\n   */\n  filename?: string | null;\n  /**\n   * Image size in bytes.\n   * @internal\n   * @readonly\n   * @format DECIMAL_VALUE\n   * @decimalValue options { maxScale:0 }\n   */\n  sizeInBytes?: string | null;\n  /**\n   * Focal point of the image.\n   * @internal\n   */\n  focalPoint?: FocalPoint;\n}\n\nexport interface FocalPoint {\n  /** X-coordinate of the focal point. */\n  x?: number;\n  /** Y-coordinate of the focal point. */\n  y?: number;\n  /** crop by height */\n  height?: number | null;\n  /** crop by width */\n  width?: number | null;\n}\n\n/** Configures custom donation amount settings, allowing donors to specify their own contribution amount within optional limits. */\nexport interface CustomAmountOptions {\n  /** Minimum donation amount. */\n  minimum?: MultiCurrencyPrice;\n  /** Maximum donation amount. */\n  maximum?: MultiCurrencyPrice;\n}\n\nexport interface MultiCurrencyPrice {\n  /**\n   * Amount.\n   * @decimalValue options { gte:0, lte:1000000000000000 }\n   */\n  amount?: string;\n  /**\n   * Converted amount.\n   * @readonly\n   * @decimalValue options { gte:0, lte:1000000000000000 }\n   */\n  convertedAmount?: string;\n  /**\n   * Amount formatted with currency symbol.\n   * @readonly\n   */\n  formattedAmount?: string;\n  /**\n   * Converted amount formatted with currency symbol.\n   * @readonly\n   */\n  formattedConvertedAmount?: string;\n}\n\nexport interface PredefinedAmount {\n  /**\n   * Predefined amount ID.\n   * You must provide this ID when creating or updating campaigns.\n   * @format GUID\n   */\n  id?: string;\n  /**\n   * Donation amount.\n   *\n   * Currently supports the site's default currency only.\n   */\n  price?: MultiCurrencyPrice;\n  /**\n   * Description explaining the impact of this donation amount. For example, \"Feed 5 families for a week\" or \"Plant 10 trees\".\n   * @maxLength 200\n   */\n  description?: string | null;\n}\n\nexport interface CampaignGoal {\n  /**\n   * Target fundraising amount.\n   *\n   * Currently supports the site's default currency only.\n   */\n  targetAmount?: MultiCurrencyPrice;\n  /**\n   * Campaign end date in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.\n   *\n   * The behavior after this date is controlled by `acceptDonationsAfterEndDate`.\n   */\n  endDate?: Date | null;\n  /**\n   * Whether donations are accepted after `endDate`. This field is ignored if `endDate` is not set.\n   *\n   * Default: `false`\n   */\n  acceptDonationsAfterEndDate?: boolean | null;\n  /**\n   * Whether donations are accepted after reaching `targetAmount`.\n   *\n   * Default: `true`\n   */\n  acceptDonationsAfterGoal?: boolean | null;\n}\n\nexport enum Frequency {\n  /** One-time donation. */\n  ONE_TIME = 'ONE_TIME',\n  /** Weekly recurring donation. */\n  WEEK = 'WEEK',\n  /** Monthly recurring donation. */\n  MONTH = 'MONTH',\n  /** Yearly recurring donation. */\n  YEAR = 'YEAR',\n}\n\n/** @enumType */\nexport type FrequencyWithLiterals =\n  | Frequency\n  | 'ONE_TIME'\n  | 'WEEK'\n  | 'MONTH'\n  | 'YEAR';\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\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n  /** Tags that require an additional permission in order to access them, typically restricted from site members and visitors. */\n  privateTags?: TagList;\n  /** Tags that are exposed to anyone with access to the entity, including site members and visitors. */\n  publicTags?: 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 TagsModified {\n  /** Updated donation campaign. */\n  donationCampaign?: DonationCampaign;\n  /** Tags that are assigned. */\n  assignedTags?: Tags;\n  /** Tags that are unassigned. */\n  unassignedTags?: Tags;\n}\n\nexport interface StatusChanged {\n  /** Donation campaign with updated status. */\n  donationCampaign?: DonationCampaign;\n  /** Previous status of the donation campaign. */\n  previousStatus?: StatusWithLiterals;\n  /** New status of the donation campaign. */\n  newStatus?: StatusWithLiterals;\n}\n\nexport interface CreateDonationCampaignRequest {\n  /** Donation campaign to create. */\n  donationCampaign: DonationCampaign;\n}\n\nexport interface CreateDonationCampaignResponse {\n  /** Created donation campaign. */\n  donationCampaign?: DonationCampaign;\n}\n\nexport interface GetDonationCampaignRequest {\n  /**\n   * ID of the donation campaign to retrieve.\n   * @format GUID\n   */\n  donationCampaignId: string;\n}\n\nexport interface GetDonationCampaignResponse {\n  /** Retrieved donation campaign. */\n  donationCampaign?: DonationCampaign;\n}\n\nexport interface UpdateDonationCampaignRequest {\n  /** Donation campaign to update. May be partial. */\n  donationCampaign: DonationCampaign;\n  /**\n   * Set of fields to update.\n   *\n   * Fields that aren't included in `fieldMask.paths` are ignored.\n   * @internal\n   */\n  fieldMask?: string[];\n}\n\nexport interface UpdateDonationCampaignResponse {\n  /** Updated donation campaign. */\n  donationCampaign?: DonationCampaign;\n}\n\nexport interface QueryDonationCampaignsRequest {\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   * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n   * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n   *\n   * If multiple filters are provided, they are combined with AND operator.\n   *\n   * Example:\n   * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n   * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n   * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n   * @internal\n   * @maxSize 10\n   */\n  selectItemsBy?: Record<string, any>[] | null;\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.\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 QueryDonationCampaignsResponse {\n  /** List of donation campaigns matching the query. */\n  donationCampaigns?: DonationCampaign[];\n  /** Paging metadata for handling large result sets. */\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   * Total number of items matching the filter.\n   * Available only on the first page of *Search* results, not included in *Query* or *List* results.\n   * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.\n   * @internal\n   */\n  total?: number | 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 BulkCreateDonationCampaignsRequest {\n  /**\n   * Donation campaigns to create.\n   * @minSize 1\n   * @maxSize 100\n   */\n  donationCampaigns: DonationCampaign[];\n  /**\n   * Whether to return the created donation campaigns in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n}\n\nexport interface BulkCreateDonationCampaignsResponse {\n  /**\n   * Results of the bulk create operation including campaigns and metadata.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkDonationCampaignResult[];\n  /** Metadata about the bulk operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n  /**\n   * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.\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 for this item was successful. When `false`, the `error` field is returned. */\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 BulkDonationCampaignResult {\n  /** Metadata about a single create operation. */\n  itemMetadata?: ItemMetadata;\n  /**\n   * Created campaign.\n   *\n   * Only present if `returnEntity` was `true`.\n   */\n  item?: DonationCampaign;\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 BulkUpdateDonationCampaignsRequest {\n  /**\n   * Donation campaigns to update.\n   * @minSize 1\n   * @maxSize 100\n   */\n  donationCampaigns: MaskedDonationCampaign[];\n  /**\n   * Whether to return the updated donation campaigns in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n}\n\nexport interface MaskedDonationCampaign {\n  /** Donation campaign to update. */\n  donationCampaign?: DonationCampaign;\n  /**\n   * Set of fields to update.\n   * @internal\n   */\n  fieldMask?: string[];\n}\n\nexport interface BulkUpdateDonationCampaignsResponse {\n  /**\n   * Results of the bulk update operation.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateDonationCampaignsResponseBulkDonationCampaignResult[];\n  /** Metadata about the bulk operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateDonationCampaignsResponseBulkDonationCampaignResult {\n  /** Metadata about a single update operation. */\n  itemMetadata?: ItemMetadata;\n  /**\n   * Updated campaign.\n   *\n   * Only present if `returnEntity` was `true`.\n   */\n  item?: DonationCampaign;\n}\n\nexport interface GetDonationCampaignMetricsRequest {\n  /**\n   * ID of the donation campaign to retrieve metrics for.\n   * @format GUID\n   */\n  donationCampaignId: string;\n}\n\nexport interface GetDonationCampaignMetricsResponse {\n  /**\n   * List of metrics per currency.\n   *\n   * Currently returns only the site's default currency.\n   * @maxSize 1\n   */\n  currencyMetricsList?: CurrencyMetrics[];\n}\n\nexport interface CurrencyMetrics {\n  /**\n   * Three-letter currency code in ISO-4217 alphabetic format.\n   * @maxLength 8\n   */\n  currencyCode?: string;\n  /** Total number of successful donations. */\n  donationCount?: number;\n  /** Total amount collected from all donations. */\n  totalAmount?: MultiCurrencyPrice;\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  /**\n   * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n   * @internal\n   */\n  triggeredByUndelete?: boolean | null;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\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   * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n   * wont populate it / have any reference to it in the API.\n   * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n   * the developer should send only the new (current) entity.\n   * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n   * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n   * @internal\n   * @deprecated\n   */\n  previousEntityAsJson?: string | null;\n  /**\n   * Map of fully qualified field paths to their previous values for fields that changed.\n   * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n   * @internal\n   */\n  modifiedFields?: Record<string, any>;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n  /**\n   * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n   * @internal\n   */\n  movedToTrash?: boolean | null;\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface BulkUpdateDonationCampaignTagsRequest {\n  /**\n   * Donation campaign IDs.\n   * @minSize 1\n   * @maxSize 100\n   * @format GUID\n   */\n  ids: string[];\n  /**\n   * Tags to assign.\n   * If a tag already exists on a campaign, it remains assigned.\n   */\n  assignTags?: Tags;\n  /**\n   * Tags to unassign.\n   * If a tag doesn't exist on a campaign, it's ignored.\n   */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDonationCampaignTagsResponse {\n  /**\n   * Results of the tag update operation.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkUpdateDonationCampaignTagsResult[];\n  /** Metadata about the bulk operation. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateDonationCampaignTagsResult {\n  /** Metadata about this specific tag update operation. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateDonationCampaignTagsByFilterRequest {\n  /**\n   * Filter object. An empty filter updates all campaigns.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n   */\n  filter: Record<string, any> | null;\n  /**\n   * Tags to assign.\n   * If a tag already exists on a campaign, it remains assigned.\n   */\n  assignTags?: Tags;\n  /**\n   * Tags to unassign.\n   * If a tag doesn't exist on a campaign, it's ignored.\n   */\n  unassignTags?: Tags;\n}\n\nexport interface BulkUpdateDonationCampaignTagsByFilterResponse {\n  /**\n   * Job ID for tracking the operation.\n   *\n   * Learn more about working with [async jobs](https://dev.wix.com/docs/rest/business-management/async-job/introduction).\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateDonationCampaignApplicationErrors = {\n  code?: 'SITE_CURRENCY_UNAVAILABLE';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type CreateDonationCampaignValidationErrors =\n  | {\n      ruleName?: 'NO_PAYMENT_DEFINITION';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_CAMPAIGN_GOAL_AMOUNT';\n    }\n  | {\n      ruleName?: 'INVALID_CUSTOM_AMOUNT_RANGE';\n    }\n  | {\n      ruleName?: 'DUPLICATE_PREDEFINED_AMOUNTS';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_PREDEFINED_AMOUNT';\n    }\n  | {\n      ruleName?: 'EMPTY_CAMPAIGN_NAME';\n    };\n/** @docsIgnore */\nexport type GetDonationCampaignApplicationErrors = {\n  code?: 'SITE_CURRENCY_UNAVAILABLE';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type UpdateDonationCampaignApplicationErrors = {\n  code?: 'SITE_CURRENCY_UNAVAILABLE';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type UpdateDonationCampaignValidationErrors =\n  | {\n      ruleName?: 'NO_PAYMENT_DEFINITION';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_CAMPAIGN_GOAL_AMOUNT';\n    }\n  | {\n      ruleName?: 'INVALID_CUSTOM_AMOUNT_RANGE';\n    }\n  | {\n      ruleName?: 'DUPLICATE_PREDEFINED_AMOUNTS';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_PREDEFINED_AMOUNT';\n    }\n  | {\n      ruleName?: 'EMPTY_CAMPAIGN_NAME';\n    };\n/** @docsIgnore */\nexport type QueryDonationCampaignsApplicationErrors = {\n  code?: 'SITE_CURRENCY_UNAVAILABLE';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkCreateDonationCampaignsApplicationErrors = {\n  code?: 'SITE_CURRENCY_UNAVAILABLE';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkCreateDonationCampaignsValidationErrors =\n  | {\n      ruleName?: 'NO_PAYMENT_DEFINITION';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_CAMPAIGN_GOAL_AMOUNT';\n    }\n  | {\n      ruleName?: 'INVALID_CUSTOM_AMOUNT_RANGE';\n    }\n  | {\n      ruleName?: 'DUPLICATE_PREDEFINED_AMOUNTS';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_PREDEFINED_AMOUNT';\n    }\n  | {\n      ruleName?: 'EMPTY_CAMPAIGN_NAME';\n    };\n/** @docsIgnore */\nexport type BulkUpdateDonationCampaignsApplicationErrors = {\n  code?: 'SITE_CURRENCY_UNAVAILABLE';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateDonationCampaignsValidationErrors =\n  | {\n      ruleName?: 'NO_PAYMENT_DEFINITION';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_CAMPAIGN_GOAL_AMOUNT';\n    }\n  | {\n      ruleName?: 'INVALID_CUSTOM_AMOUNT_RANGE';\n    }\n  | {\n      ruleName?: 'DUPLICATE_PREDEFINED_AMOUNTS';\n    }\n  | {\n      ruleName?: 'NON_POSITIVE_PREDEFINED_AMOUNT';\n    }\n  | {\n      ruleName?: 'EMPTY_CAMPAIGN_NAME';\n    };\n/** @docsIgnore */\nexport type GetDonationCampaignMetricsApplicationErrors =\n  | {\n      code?: 'CAMPAIGN_GOAL_NOT_SET';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'SITE_CURRENCY_UNAVAILABLE';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'METRICS_TEMPORARILY_UNAVAILABLE';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkUpdateDonationCampaignTagsApplicationErrors =\n  | {\n      code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'SITE_CURRENCY_UNAVAILABLE';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkUpdateDonationCampaignTagsByFilterApplicationErrors =\n  | {\n      code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'SITE_CURRENCY_UNAVAILABLE';\n      description?: string;\n      data?: Record<string, any>;\n    };\n","import * as ambassadorWixDonationsV2DonationCampaign from './donations-v2-donation-campaign-donation-campaigns.http.js';\nimport * as ambassadorWixDonationsV2DonationCampaignTypes from './donations-v2-donation-campaign-donation-campaigns.types.js';\nimport * as ambassadorWixDonationsV2DonationCampaignUniversalTypes from './donations-v2-donation-campaign-donation-campaigns.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 createDonationCampaign(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.CreateDonationCampaignRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.CreateDonationCampaignRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.CreateDonationCampaignResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.CreateDonationCampaignResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.createDonationCampaign(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: '/v2/donation-campaigns',\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 getDonationCampaign(): __PublicMethodMetaInfo<\n  'GET',\n  { donationCampaignId: string },\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.GetDonationCampaignRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.GetDonationCampaignRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.GetDonationCampaignResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.GetDonationCampaignResponse\n> {\n  const payload = { donationCampaignId: ':donationCampaignId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.getDonationCampaign(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: '/v2/donation-campaigns/{donationCampaignId}',\n    pathParams: { donationCampaignId: 'donationCampaignId' },\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 updateDonationCampaign(): __PublicMethodMetaInfo<\n  'PATCH',\n  { donationCampaignId: string },\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.UpdateDonationCampaignRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.UpdateDonationCampaignRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.UpdateDonationCampaignResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.UpdateDonationCampaignResponse\n> {\n  const payload = { donationCampaign: { id: ':donationCampaignId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.updateDonationCampaign(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: '/v2/donation-campaigns/{donationCampaign.id}',\n    pathParams: { donationCampaignId: 'donationCampaignId' },\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 queryDonationCampaigns(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.QueryDonationCampaignsRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.QueryDonationCampaignsRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.QueryDonationCampaignsResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.QueryDonationCampaignsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.queryDonationCampaigns(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: '/v2/donation-campaigns/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 bulkCreateDonationCampaigns(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkCreateDonationCampaignsRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkCreateDonationCampaignsRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkCreateDonationCampaignsResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkCreateDonationCampaignsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.bulkCreateDonationCampaigns(\n      payload\n    );\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: '/v2/bulk/donation-campaigns/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 bulkUpdateDonationCampaigns(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkUpdateDonationCampaignsRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkUpdateDonationCampaignsRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkUpdateDonationCampaignsResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkUpdateDonationCampaignsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.bulkUpdateDonationCampaigns(\n      payload\n    );\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: '/v2/bulk/donation-campaigns/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 getDonationCampaignMetrics(): __PublicMethodMetaInfo<\n  'GET',\n  { donationCampaignId: string },\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.GetDonationCampaignMetricsRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.GetDonationCampaignMetricsRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.GetDonationCampaignMetricsResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.GetDonationCampaignMetricsResponse\n> {\n  const payload = { donationCampaignId: ':donationCampaignId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.getDonationCampaignMetrics(\n      payload\n    );\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: '/v2/donation-campaigns/{donationCampaignId}/metrics',\n    pathParams: { donationCampaignId: 'donationCampaignId' },\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 bulkUpdateDonationCampaignTags(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkUpdateDonationCampaignTagsRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkUpdateDonationCampaignTagsRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkUpdateDonationCampaignTagsResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkUpdateDonationCampaignTagsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.bulkUpdateDonationCampaignTags(\n      payload\n    );\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: '/v2/bulk/donation-campaigns/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 bulkUpdateDonationCampaignTagsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkUpdateDonationCampaignTagsByFilterRequest,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkUpdateDonationCampaignTagsByFilterRequest,\n  ambassadorWixDonationsV2DonationCampaignUniversalTypes.BulkUpdateDonationCampaignTagsByFilterResponse,\n  ambassadorWixDonationsV2DonationCampaignTypes.BulkUpdateDonationCampaignTagsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixDonationsV2DonationCampaign.bulkUpdateDonationCampaignTagsByFilter(\n      payload\n    );\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: '/v2/bulk/donation-campaigns/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  DonationCampaign as DonationCampaignOriginal,\n  Status as StatusOriginal,\n  StatusWithLiterals as StatusWithLiteralsOriginal,\n  Image as ImageOriginal,\n  FocalPoint as FocalPointOriginal,\n  CustomAmountOptions as CustomAmountOptionsOriginal,\n  MultiCurrencyPrice as MultiCurrencyPriceOriginal,\n  PredefinedAmount as PredefinedAmountOriginal,\n  CampaignGoal as CampaignGoalOriginal,\n  Frequency as FrequencyOriginal,\n  FrequencyWithLiterals as FrequencyWithLiteralsOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  Tags as TagsOriginal,\n  TagList as TagListOriginal,\n  TagsModified as TagsModifiedOriginal,\n  StatusChanged as StatusChangedOriginal,\n  CreateDonationCampaignRequest as CreateDonationCampaignRequestOriginal,\n  CreateDonationCampaignResponse as CreateDonationCampaignResponseOriginal,\n  GetDonationCampaignRequest as GetDonationCampaignRequestOriginal,\n  GetDonationCampaignResponse as GetDonationCampaignResponseOriginal,\n  UpdateDonationCampaignRequest as UpdateDonationCampaignRequestOriginal,\n  UpdateDonationCampaignResponse as UpdateDonationCampaignResponseOriginal,\n  QueryDonationCampaignsRequest as QueryDonationCampaignsRequestOriginal,\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  QueryDonationCampaignsResponse as QueryDonationCampaignsResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  BulkCreateDonationCampaignsRequest as BulkCreateDonationCampaignsRequestOriginal,\n  BulkCreateDonationCampaignsResponse as BulkCreateDonationCampaignsResponseOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkDonationCampaignResult as BulkDonationCampaignResultOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkUpdateDonationCampaignsRequest as BulkUpdateDonationCampaignsRequestOriginal,\n  MaskedDonationCampaign as MaskedDonationCampaignOriginal,\n  BulkUpdateDonationCampaignsResponse as BulkUpdateDonationCampaignsResponseOriginal,\n  BulkUpdateDonationCampaignsResponseBulkDonationCampaignResult as BulkUpdateDonationCampaignsResponseBulkDonationCampaignResultOriginal,\n  GetDonationCampaignMetricsRequest as GetDonationCampaignMetricsRequestOriginal,\n  GetDonationCampaignMetricsResponse as GetDonationCampaignMetricsResponseOriginal,\n  CurrencyMetrics as CurrencyMetricsOriginal,\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  BulkUpdateDonationCampaignTagsRequest as BulkUpdateDonationCampaignTagsRequestOriginal,\n  BulkUpdateDonationCampaignTagsResponse as BulkUpdateDonationCampaignTagsResponseOriginal,\n  BulkUpdateDonationCampaignTagsResult as BulkUpdateDonationCampaignTagsResultOriginal,\n  BulkUpdateDonationCampaignTagsByFilterRequest as BulkUpdateDonationCampaignTagsByFilterRequestOriginal,\n  BulkUpdateDonationCampaignTagsByFilterResponse as BulkUpdateDonationCampaignTagsByFilterResponseOriginal,\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  CreateDonationCampaignApplicationErrors as CreateDonationCampaignApplicationErrorsOriginal,\n  CreateDonationCampaignValidationErrors as CreateDonationCampaignValidationErrorsOriginal,\n  GetDonationCampaignApplicationErrors as GetDonationCampaignApplicationErrorsOriginal,\n  UpdateDonationCampaignApplicationErrors as UpdateDonationCampaignApplicationErrorsOriginal,\n  UpdateDonationCampaignValidationErrors as UpdateDonationCampaignValidationErrorsOriginal,\n  QueryDonationCampaignsApplicationErrors as QueryDonationCampaignsApplicationErrorsOriginal,\n  BulkCreateDonationCampaignsApplicationErrors as BulkCreateDonationCampaignsApplicationErrorsOriginal,\n  BulkCreateDonationCampaignsValidationErrors as BulkCreateDonationCampaignsValidationErrorsOriginal,\n  BulkUpdateDonationCampaignsApplicationErrors as BulkUpdateDonationCampaignsApplicationErrorsOriginal,\n  BulkUpdateDonationCampaignsValidationErrors as BulkUpdateDonationCampaignsValidationErrorsOriginal,\n  GetDonationCampaignMetricsApplicationErrors as GetDonationCampaignMetricsApplicationErrorsOriginal,\n  BulkUpdateDonationCampaignTagsApplicationErrors as BulkUpdateDonationCampaignTagsApplicationErrorsOriginal,\n  BulkUpdateDonationCampaignTagsByFilterApplicationErrors as BulkUpdateDonationCampaignTagsByFilterApplicationErrorsOriginal,\n} from './donations-v2-donation-campaign-donation-campaigns.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,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,+BAA+B;AAAA,EACvC,EAAE,MAAM,+BAA+B;AAAA,EACvC,EAAE,MAAM,gDAAgD;AAAA,EACxD,EAAE,MAAM,wCAAwC;AAClD;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,2CAA2C;AAAA,EACnD,EAAE,MAAM,2CAA2C;AACrD;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAChD,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,gCAAgC;AAAA,EACxC,EAAE,MAAM,gCAAgC;AAAA,EACxC,EA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,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,oBAAoB,qBAAqB;AAAA,IACvD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACqC;AAAA,IACvC;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,0CAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACqC;AAAA,IACvC;AAAA,EACF;AAEF,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","Status","Frequency","SortOrder","WebhookIdentityType","createDonationCampaign","getDonationCampaign","updateDonationCampaign","queryDonationCampaigns","bulkCreateDonationCampaigns","bulkUpdateDonationCampaigns","getDonationCampaignMetrics","bulkUpdateDonationCampaignTags","bulkUpdateDonationCampaignTagsByFilter"]}