{"version":3,"sources":["../../src/pricing-plans-v2-plan-plans.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const ListPublicPlansRequest = z.object({\n  options: z\n    .object({\n      limit: z\n        .number()\n        .int()\n        .describe(\n          'Number of items to list. Defaults to `75`. See [limits](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#paging).'\n        )\n        .min(1)\n        .max(100)\n        .optional()\n        .nullable(),\n      offset: z\n        .number()\n        .int()\n        .describe(\n          'Number of items to skip. Defaults to `0`. See [paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#paging).'\n        )\n        .min(0)\n        .optional()\n        .nullable(),\n      planIds: z.array(z.string()).max(100).optional(),\n    })\n    .describe('Options for filtering and paging the list of public plans. ')\n    .optional(),\n});\nexport const ListPublicPlansResponse = z.object({\n  plans: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Plan ID.')\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional(),\n        name: z\n          .string()\n          .describe('Plan name.')\n          .min(1)\n          .max(50)\n          .optional()\n          .nullable(),\n        description: z\n          .string()\n          .describe('Plan description.')\n          .max(450)\n          .optional()\n          .nullable(),\n        perks: z\n          .object({ values: z.array(z.string()).max(500).optional() })\n          .describe(\n            'What is included with this plan (for example, 1 weekly entrance to a specific class).'\n          )\n          .optional(),\n        pricing: z\n          .intersection(\n            z.object({\n              price: z\n                .object({\n                  value: z\n                    .string()\n                    .describe(\n                      \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                    )\n                    .optional(),\n                  currency: z\n                    .string()\n                    .describe(\n                      \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                    )\n                    .optional(),\n                })\n                .describe(\n                  'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n                )\n                .optional(),\n              freeTrialDays: z\n                .number()\n                .int()\n                .describe(\n                  'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n                )\n                .min(0)\n                .max(999)\n                .optional()\n                .nullable(),\n            }),\n            z.xor([\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n              }),\n              z.object({\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n                subscription: z\n                  .object({\n                    cycleDuration: z\n                      .object({\n                        count: z\n                          .number()\n                          .int()\n                          .describe(\n                            'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                          )\n                          .min(1)\n                          .optional()\n                          .nullable(),\n                        unit: z\n                          .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                          .describe('Unit of time for the cycle duration.')\n                          .optional(),\n                      })\n                      .describe(\n                        'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                      )\n                      .optional(),\n                    cycleCount: z\n                      .number()\n                      .int()\n                      .describe(\n                        \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                      )\n                      .min(0)\n                      .max(2000)\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe(\n                    'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n                singlePaymentForDuration: z\n                  .object({\n                    count: z\n                      .number()\n                      .int()\n                      .describe(\n                        'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                      )\n                      .min(1)\n                      .optional()\n                      .nullable(),\n                    unit: z\n                      .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                      .describe('Unit of time for the cycle duration.')\n                      .optional(),\n                  })\n                  .describe(\n                    'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z\n                  .boolean()\n                  .describe(\n                    'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                  ),\n              }),\n            ])\n          )\n          .describe('Plan price, payment schedule, and expiration.')\n          .optional(),\n        primary: z\n          .boolean()\n          .describe('Whether the plan is marked as primary.')\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date plan was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date plan was last updated.')\n          .optional()\n          .nullable(),\n        slug: z\n          .string()\n          .describe(\n            'URL-friendly version of plan name. Unique across all plans in the same site.'\n          )\n          .min(1)\n          .optional()\n          .nullable(),\n        maxPurchasesPerBuyer: z\n          .number()\n          .int()\n          .describe(\n            'Number of times the same buyer can purchase the plan. An empty value or a value of 0 means no limitation.'\n          )\n          .min(0)\n          .optional()\n          .nullable(),\n        allowFutureStartDate: z\n          .boolean()\n          .describe(\n            'Whether the buyer can start the plan at a later date. Defaults to false.'\n          )\n          .optional()\n          .nullable(),\n        buyerCanCancel: z\n          .boolean()\n          .describe(\n            'Whether the buyer is allowed to cancel their plan. Defaults to false.'\n          )\n          .optional()\n          .nullable(),\n        termsAndConditions: z\n          .string()\n          .describe(\n            'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n          )\n          .optional()\n          .nullable(),\n        formId: z\n          .string()\n          .describe(\n            'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n          )\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional()\n          .nullable(),\n      })\n    )\n    .optional(),\n  pagingMetadata: z\n    .object({\n      count: z\n        .number()\n        .int()\n        .describe('Number of items returned in the response.')\n        .optional()\n        .nullable(),\n      offset: z\n        .number()\n        .int()\n        .describe('Offset that was requested.')\n        .optional()\n        .nullable(),\n      total: z\n        .number()\n        .int()\n        .describe(\n          'Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set.'\n        )\n        .optional()\n        .nullable(),\n      tooManyToCount: z\n        .boolean()\n        .describe(\n          'Flag that indicates the server failed to calculate the `total` field.'\n        )\n        .optional()\n        .nullable(),\n      cursors: z\n        .object({\n          next: z\n            .string()\n            .describe(\n              'Cursor string pointing to the next page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n          prev: z\n            .string()\n            .describe(\n              'Cursor pointing to the previous page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Object containing paging-related data (such as the number of plans returned, the offset, and so on).'\n    )\n    .optional(),\n});\nexport const QueryPublicPlansRequest = z.object({\n  query: z\n    .object({\n      filter: z\n        .object({\n          _id: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          slug: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          _createdDate: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          _updatedDate: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          primary: z\n            .object({\n              $eq: z.boolean(),\n              $exists: z.boolean(),\n              $gt: z.boolean(),\n              $gte: z.boolean(),\n              $hasAll: z.array(z.boolean()),\n              $hasSome: z.array(z.boolean()),\n              $in: z.array(z.boolean()),\n              $lt: z.boolean(),\n              $lte: z.boolean(),\n              $ne: z.boolean(),\n              $nin: z.array(z.boolean()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          $and: z.array(z.any()).optional(),\n          $or: z.array(z.any()).optional(),\n          $not: z.any().optional(),\n        })\n        .strict()\n        .optional(),\n      sort: z\n        .array(\n          z.object({\n            fieldName: z\n              .enum(['_id', 'slug', '_createdDate', '_updatedDate', 'primary'])\n              .optional(),\n            order: z.enum(['ASC', 'DESC']).optional(),\n          })\n        )\n        .optional(),\n    })\n    .catchall(z.any())\n    .describe('Query options.'),\n});\nexport const QueryPublicPlansResponse = z.object({\n  plans: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Plan ID.')\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional(),\n        name: z\n          .string()\n          .describe('Plan name.')\n          .min(1)\n          .max(50)\n          .optional()\n          .nullable(),\n        description: z\n          .string()\n          .describe('Plan description.')\n          .max(450)\n          .optional()\n          .nullable(),\n        perks: z\n          .object({ values: z.array(z.string()).max(500).optional() })\n          .describe(\n            'What is included with this plan (for example, 1 weekly entrance to a specific class).'\n          )\n          .optional(),\n        pricing: z\n          .intersection(\n            z.object({\n              price: z\n                .object({\n                  value: z\n                    .string()\n                    .describe(\n                      \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                    )\n                    .optional(),\n                  currency: z\n                    .string()\n                    .describe(\n                      \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                    )\n                    .optional(),\n                })\n                .describe(\n                  'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n                )\n                .optional(),\n              freeTrialDays: z\n                .number()\n                .int()\n                .describe(\n                  'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n                )\n                .min(0)\n                .max(999)\n                .optional()\n                .nullable(),\n            }),\n            z.xor([\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n              }),\n              z.object({\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n                subscription: z\n                  .object({\n                    cycleDuration: z\n                      .object({\n                        count: z\n                          .number()\n                          .int()\n                          .describe(\n                            'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                          )\n                          .min(1)\n                          .optional()\n                          .nullable(),\n                        unit: z\n                          .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                          .describe('Unit of time for the cycle duration.')\n                          .optional(),\n                      })\n                      .describe(\n                        'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                      )\n                      .optional(),\n                    cycleCount: z\n                      .number()\n                      .int()\n                      .describe(\n                        \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                      )\n                      .min(0)\n                      .max(2000)\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe(\n                    'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n                singlePaymentForDuration: z\n                  .object({\n                    count: z\n                      .number()\n                      .int()\n                      .describe(\n                        'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                      )\n                      .min(1)\n                      .optional()\n                      .nullable(),\n                    unit: z\n                      .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                      .describe('Unit of time for the cycle duration.')\n                      .optional(),\n                  })\n                  .describe(\n                    'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z\n                  .boolean()\n                  .describe(\n                    'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                  ),\n              }),\n            ])\n          )\n          .describe('Plan price, payment schedule, and expiration.')\n          .optional(),\n        primary: z\n          .boolean()\n          .describe('Whether the plan is marked as primary.')\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date plan was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date plan was last updated.')\n          .optional()\n          .nullable(),\n        slug: z\n          .string()\n          .describe(\n            'URL-friendly version of plan name. Unique across all plans in the same site.'\n          )\n          .min(1)\n          .optional()\n          .nullable(),\n        maxPurchasesPerBuyer: z\n          .number()\n          .int()\n          .describe(\n            'Number of times the same buyer can purchase the plan. An empty value or a value of 0 means no limitation.'\n          )\n          .min(0)\n          .optional()\n          .nullable(),\n        allowFutureStartDate: z\n          .boolean()\n          .describe(\n            'Whether the buyer can start the plan at a later date. Defaults to false.'\n          )\n          .optional()\n          .nullable(),\n        buyerCanCancel: z\n          .boolean()\n          .describe(\n            'Whether the buyer is allowed to cancel their plan. Defaults to false.'\n          )\n          .optional()\n          .nullable(),\n        termsAndConditions: z\n          .string()\n          .describe(\n            'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n          )\n          .optional()\n          .nullable(),\n        formId: z\n          .string()\n          .describe(\n            'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n          )\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional()\n          .nullable(),\n      })\n    )\n    .optional(),\n  pagingMetadata: z\n    .object({\n      count: z\n        .number()\n        .int()\n        .describe('Number of items returned in the response.')\n        .optional()\n        .nullable(),\n      offset: z\n        .number()\n        .int()\n        .describe('Offset that was requested.')\n        .optional()\n        .nullable(),\n      total: z\n        .number()\n        .int()\n        .describe(\n          'Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set.'\n        )\n        .optional()\n        .nullable(),\n      tooManyToCount: z\n        .boolean()\n        .describe(\n          'Flag that indicates the server failed to calculate the `total` field.'\n        )\n        .optional()\n        .nullable(),\n      cursors: z\n        .object({\n          next: z\n            .string()\n            .describe(\n              'Cursor string pointing to the next page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n          prev: z\n            .string()\n            .describe(\n              'Cursor pointing to the previous page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Object containing paging-related data (such as the number of plans returned, the offset, and so on).'\n    )\n    .optional(),\n});\nexport const GetPlanRequest = z.object({\n  _id: z\n    .string()\n    .describe('Plan ID.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n});\nexport const GetPlanResponse = z.object({\n  _id: z\n    .string()\n    .describe('Plan ID.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n  name: z.string().describe('Plan name.').min(1).max(50).optional().nullable(),\n  description: z\n    .string()\n    .describe('Plan description.')\n    .max(450)\n    .optional()\n    .nullable(),\n  perks: z\n    .object({ values: z.array(z.string()).max(500).optional() })\n    .describe(\n      'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n    )\n    .optional(),\n  pricing: z\n    .intersection(\n      z.object({\n        price: z\n          .object({\n            value: z\n              .string()\n              .describe(\n                \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n              )\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n              )\n              .optional(),\n          })\n          .describe(\n            'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n          )\n          .optional(),\n        freeTrialDays: z\n          .number()\n          .int()\n          .describe(\n            'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n          )\n          .min(0)\n          .max(999)\n          .optional()\n          .nullable(),\n      }),\n      z.xor([\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n        }),\n        z.object({\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n          subscription: z\n            .object({\n              cycleDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .describe('Unit of time for the cycle duration.')\n                    .optional(),\n                })\n                .describe(\n                  'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                )\n                .optional(),\n              cycleCount: z\n                .number()\n                .int()\n                .describe(\n                  \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                )\n                .min(0)\n                .max(2000)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n          singlePaymentForDuration: z\n            .object({\n              count: z\n                .number()\n                .int()\n                .describe(\n                  'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                )\n                .min(1)\n                .optional()\n                .nullable(),\n              unit: z\n                .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                .describe('Unit of time for the cycle duration.')\n                .optional(),\n            })\n            .describe(\n              'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z\n            .boolean()\n            .describe(\n              'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n            ),\n        }),\n      ])\n    )\n    .describe('Plan price, payment schedule, and expiration.')\n    .optional(),\n  public: z\n    .boolean()\n    .describe(\n      'Whether the plan is public (visible to site visitors and members).'\n    )\n    .optional()\n    .nullable(),\n  archived: z\n    .boolean()\n    .describe(\n      \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n    )\n    .optional(),\n  primary: z\n    .boolean()\n    .describe('Whether the plan is marked as primary.')\n    .optional(),\n  hasOrders: z\n    .boolean()\n    .describe(\n      'Whether the plan has any orders (including pending and unpaid orders).'\n    )\n    .optional(),\n  _createdDate: z\n    .date()\n    .describe('Date plan was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date plan was last updated.')\n    .optional()\n    .nullable(),\n  slug: z\n    .string()\n    .describe(\n      'URL-friendly version of plan name. Unique across all plans in the same site.'\n    )\n    .min(1)\n    .optional()\n    .nullable(),\n  maxPurchasesPerBuyer: z\n    .number()\n    .int()\n    .describe(\n      'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n    )\n    .min(0)\n    .max(1)\n    .optional()\n    .nullable(),\n  allowFutureStartDate: z\n    .boolean()\n    .describe(\n      'Whether the buyer can start the plan at a later date. Defaults to false.'\n    )\n    .optional()\n    .nullable(),\n  buyerCanCancel: z\n    .boolean()\n    .describe(\n      'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n    )\n    .optional()\n    .nullable(),\n  termsAndConditions: z\n    .string()\n    .describe(\n      'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n    )\n    .max(3000)\n    .optional()\n    .nullable(),\n  formId: z\n    .string()\n    .describe(\n      'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n    )\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional()\n    .nullable(),\n});\nexport const ListPlansRequest = z.object({\n  options: z\n    .object({\n      archived: z\n        .enum(['ACTIVE', 'ARCHIVED', 'ARCHIVED_AND_ACTIVE'])\n        .optional(),\n      public: z.enum(['PUBLIC_AND_HIDDEN', 'PUBLIC', 'HIDDEN']).optional(),\n      limit: z\n        .number()\n        .int()\n        .describe('Number of pricing plans to list. Defaults to `75`.')\n        .min(1)\n        .max(100)\n        .optional()\n        .nullable(),\n      offset: z\n        .number()\n        .int()\n        .describe('Number of pricing plans to skip. Defaults to `0`.')\n        .min(0)\n        .optional()\n        .nullable(),\n      planIds: z.array(z.string()).max(100).optional(),\n    })\n    .describe('Options for filtering and paging the list of plans. ')\n    .optional(),\n});\nexport const ListPlansResponse = z.object({\n  plans: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Plan ID.')\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional(),\n        name: z\n          .string()\n          .describe('Plan name.')\n          .min(1)\n          .max(50)\n          .optional()\n          .nullable(),\n        description: z\n          .string()\n          .describe('Plan description.')\n          .max(450)\n          .optional()\n          .nullable(),\n        perks: z\n          .object({ values: z.array(z.string()).max(500).optional() })\n          .describe(\n            'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n          )\n          .optional(),\n        pricing: z\n          .intersection(\n            z.object({\n              price: z\n                .object({\n                  value: z\n                    .string()\n                    .describe(\n                      \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                    )\n                    .optional(),\n                  currency: z\n                    .string()\n                    .describe(\n                      \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                    )\n                    .optional(),\n                })\n                .describe(\n                  'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n                )\n                .optional(),\n              freeTrialDays: z\n                .number()\n                .int()\n                .describe(\n                  'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n                )\n                .min(0)\n                .max(999)\n                .optional()\n                .nullable(),\n            }),\n            z.xor([\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n              }),\n              z.object({\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n                subscription: z\n                  .object({\n                    cycleDuration: z\n                      .object({\n                        count: z\n                          .number()\n                          .int()\n                          .describe(\n                            'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                          )\n                          .min(1)\n                          .optional()\n                          .nullable(),\n                        unit: z\n                          .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                          .describe('Unit of time for the cycle duration.')\n                          .optional(),\n                      })\n                      .describe(\n                        'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                      )\n                      .optional(),\n                    cycleCount: z\n                      .number()\n                      .int()\n                      .describe(\n                        \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                      )\n                      .min(0)\n                      .max(2000)\n                      .optional()\n                      .nullable(),\n                  })\n                  .describe(\n                    'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentUnlimited: z.never().optional(),\n                singlePaymentForDuration: z\n                  .object({\n                    count: z\n                      .number()\n                      .int()\n                      .describe(\n                        'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                      )\n                      .min(1)\n                      .optional()\n                      .nullable(),\n                    unit: z\n                      .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                      .describe('Unit of time for the cycle duration.')\n                      .optional(),\n                  })\n                  .describe(\n                    'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z\n                  .boolean()\n                  .describe(\n                    'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                  ),\n              }),\n            ])\n          )\n          .describe('Plan price, payment schedule, and expiration.')\n          .optional(),\n        public: z\n          .boolean()\n          .describe(\n            'Whether the plan is public (visible to site visitors and members).'\n          )\n          .optional()\n          .nullable(),\n        archived: z\n          .boolean()\n          .describe(\n            \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n          )\n          .optional(),\n        primary: z\n          .boolean()\n          .describe('Whether the plan is marked as primary.')\n          .optional(),\n        hasOrders: z\n          .boolean()\n          .describe(\n            'Whether the plan has any orders (including pending and unpaid orders).'\n          )\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date plan was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date plan was last updated.')\n          .optional()\n          .nullable(),\n        slug: z\n          .string()\n          .describe(\n            'URL-friendly version of plan name. Unique across all plans in the same site.'\n          )\n          .min(1)\n          .optional()\n          .nullable(),\n        maxPurchasesPerBuyer: z\n          .number()\n          .int()\n          .describe(\n            'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n          )\n          .min(0)\n          .max(1)\n          .optional()\n          .nullable(),\n        allowFutureStartDate: z\n          .boolean()\n          .describe(\n            'Whether the buyer can start the plan at a later date. Defaults to false.'\n          )\n          .optional()\n          .nullable(),\n        buyerCanCancel: z\n          .boolean()\n          .describe(\n            'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n          )\n          .optional()\n          .nullable(),\n        termsAndConditions: z\n          .string()\n          .describe(\n            'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n          )\n          .max(3000)\n          .optional()\n          .nullable(),\n        formId: z\n          .string()\n          .describe(\n            'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n          )\n          .regex(\n            /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n            'Must be a valid GUID'\n          )\n          .optional()\n          .nullable(),\n      })\n    )\n    .optional(),\n  pagingMetadata: z\n    .object({\n      count: z\n        .number()\n        .int()\n        .describe('Number of items returned in the response.')\n        .optional()\n        .nullable(),\n      offset: z\n        .number()\n        .int()\n        .describe('Offset that was requested.')\n        .optional()\n        .nullable(),\n      total: z\n        .number()\n        .int()\n        .describe(\n          'Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set.'\n        )\n        .optional()\n        .nullable(),\n      tooManyToCount: z\n        .boolean()\n        .describe(\n          'Flag that indicates the server failed to calculate the `total` field.'\n        )\n        .optional()\n        .nullable(),\n      cursors: z\n        .object({\n          next: z\n            .string()\n            .describe(\n              'Cursor string pointing to the next page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n          prev: z\n            .string()\n            .describe(\n              'Cursor pointing to the previous page in the list of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Object containing paging-related data (such as the number of plans returned, the offset, and so on).'\n    )\n    .optional(),\n});\nexport const GetPlanStatsRequest = z.object({});\nexport const GetPlanStatsResponse = z.object({\n  totalPlans: z\n    .number()\n    .int()\n    .describe(\n      'Total number of plans created, including active plans (both public and hidden) and archived plans.'\n    )\n    .optional(),\n});\nexport const CreatePlanRequest = z.object({\n  plan: z\n    .object({\n      _id: z\n        .string()\n        .describe('Plan ID.')\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n      name: z.string().describe('Plan name.').min(1).max(50),\n      description: z\n        .string()\n        .describe('Plan description.')\n        .max(450)\n        .optional()\n        .nullable(),\n      perks: z\n        .object({ values: z.array(z.string()).max(500).optional() })\n        .describe(\n          'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            price: z\n              .object({\n                value: z\n                  .string()\n                  .describe(\n                    \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                  )\n                  .optional(),\n                currency: z\n                  .string()\n                  .describe(\n                    \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n              )\n              .min(0)\n              .max(999)\n              .optional()\n              .nullable(),\n          }),\n          z.xor([\n            z.object({\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              subscription: z\n                .object({\n                  cycleDuration: z\n                    .object({\n                      count: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                        )\n                        .min(1)\n                        .optional()\n                        .nullable(),\n                      unit: z\n                        .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                        .optional(),\n                    })\n                    .describe(\n                      'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                    )\n                    .optional(),\n                  cycleCount: z\n                    .number()\n                    .int()\n                    .describe(\n                      \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                    )\n                    .min(0)\n                    .max(2000)\n                    .optional()\n                    .nullable(),\n                })\n                .describe(\n                  'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              singlePaymentForDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .optional(),\n                })\n                .describe(\n                  'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe('Plan price, payment schedule, and expiration.'),\n      public: z\n        .boolean()\n        .describe(\n          'Whether the plan is public (visible to site visitors and members).'\n        )\n        .optional()\n        .nullable(),\n      archived: z\n        .boolean()\n        .describe(\n          \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n        )\n        .optional(),\n      primary: z\n        .boolean()\n        .describe('Whether the plan is marked as primary.')\n        .optional(),\n      hasOrders: z\n        .boolean()\n        .describe(\n          'Whether the plan has any orders (including pending and unpaid orders).'\n        )\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date plan was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date plan was last updated.')\n        .optional()\n        .nullable(),\n      slug: z\n        .string()\n        .describe(\n          'URL-friendly version of plan name. Unique across all plans in the same site.'\n        )\n        .min(1)\n        .optional()\n        .nullable(),\n      maxPurchasesPerBuyer: z\n        .number()\n        .int()\n        .describe(\n          'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n        )\n        .min(0)\n        .max(1)\n        .optional()\n        .nullable(),\n      allowFutureStartDate: z\n        .boolean()\n        .describe(\n          'Whether the buyer can start the plan at a later date. Defaults to false.'\n        )\n        .optional()\n        .nullable(),\n      buyerCanCancel: z\n        .boolean()\n        .describe(\n          'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n        )\n        .optional()\n        .nullable(),\n      termsAndConditions: z\n        .string()\n        .describe(\n          'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n        )\n        .max(3000)\n        .optional()\n        .nullable(),\n      formId: z\n        .string()\n        .describe(\n          'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n        )\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('Information for the plan being created. '),\n});\nexport const CreatePlanResponse = z.object({\n  _id: z\n    .string()\n    .describe('Plan ID.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n  name: z.string().describe('Plan name.').min(1).max(50).optional().nullable(),\n  description: z\n    .string()\n    .describe('Plan description.')\n    .max(450)\n    .optional()\n    .nullable(),\n  perks: z\n    .object({ values: z.array(z.string()).max(500).optional() })\n    .describe(\n      'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n    )\n    .optional(),\n  pricing: z\n    .intersection(\n      z.object({\n        price: z\n          .object({\n            value: z\n              .string()\n              .describe(\n                \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n              )\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n              )\n              .optional(),\n          })\n          .describe(\n            'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n          )\n          .optional(),\n        freeTrialDays: z\n          .number()\n          .int()\n          .describe(\n            'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n          )\n          .min(0)\n          .max(999)\n          .optional()\n          .nullable(),\n      }),\n      z.xor([\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n        }),\n        z.object({\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n          subscription: z\n            .object({\n              cycleDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .describe('Unit of time for the cycle duration.')\n                    .optional(),\n                })\n                .describe(\n                  'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                )\n                .optional(),\n              cycleCount: z\n                .number()\n                .int()\n                .describe(\n                  \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                )\n                .min(0)\n                .max(2000)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n          singlePaymentForDuration: z\n            .object({\n              count: z\n                .number()\n                .int()\n                .describe(\n                  'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                )\n                .min(1)\n                .optional()\n                .nullable(),\n              unit: z\n                .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                .describe('Unit of time for the cycle duration.')\n                .optional(),\n            })\n            .describe(\n              'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z\n            .boolean()\n            .describe(\n              'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n            ),\n        }),\n      ])\n    )\n    .describe('Plan price, payment schedule, and expiration.')\n    .optional(),\n  public: z\n    .boolean()\n    .describe(\n      'Whether the plan is public (visible to site visitors and members).'\n    )\n    .optional()\n    .nullable(),\n  archived: z\n    .boolean()\n    .describe(\n      \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n    )\n    .optional(),\n  primary: z\n    .boolean()\n    .describe('Whether the plan is marked as primary.')\n    .optional(),\n  hasOrders: z\n    .boolean()\n    .describe(\n      'Whether the plan has any orders (including pending and unpaid orders).'\n    )\n    .optional(),\n  _createdDate: z\n    .date()\n    .describe('Date plan was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date plan was last updated.')\n    .optional()\n    .nullable(),\n  slug: z\n    .string()\n    .describe(\n      'URL-friendly version of plan name. Unique across all plans in the same site.'\n    )\n    .min(1)\n    .optional()\n    .nullable(),\n  maxPurchasesPerBuyer: z\n    .number()\n    .int()\n    .describe(\n      'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n    )\n    .min(0)\n    .max(1)\n    .optional()\n    .nullable(),\n  allowFutureStartDate: z\n    .boolean()\n    .describe(\n      'Whether the buyer can start the plan at a later date. Defaults to false.'\n    )\n    .optional()\n    .nullable(),\n  buyerCanCancel: z\n    .boolean()\n    .describe(\n      'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n    )\n    .optional()\n    .nullable(),\n  termsAndConditions: z\n    .string()\n    .describe(\n      'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n    )\n    .max(3000)\n    .optional()\n    .nullable(),\n  formId: z\n    .string()\n    .describe(\n      'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n    )\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional()\n    .nullable(),\n});\nexport const UpdatePlanRequest = z.object({\n  _id: z\n    .string()\n    .describe('ID of the plan to update.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n  plan: z\n    .object({\n      _id: z\n        .string()\n        .describe('Plan ID.')\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n      name: z\n        .string()\n        .describe('Plan name.')\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe('Plan description.')\n        .max(450)\n        .optional()\n        .nullable(),\n      perks: z\n        .object({ values: z.array(z.string()).max(500).optional() })\n        .describe(\n          'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            price: z\n              .object({\n                value: z\n                  .string()\n                  .describe(\n                    \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                  )\n                  .optional(),\n                currency: z\n                  .string()\n                  .describe(\n                    \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n              )\n              .min(0)\n              .max(999)\n              .optional()\n              .nullable(),\n          }),\n          z.xor([\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n            }),\n            z.object({\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              subscription: z\n                .object({\n                  cycleDuration: z\n                    .object({\n                      count: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                        )\n                        .min(1)\n                        .optional()\n                        .nullable(),\n                      unit: z\n                        .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                        .describe('Unit of time for the cycle duration.')\n                        .optional(),\n                    })\n                    .describe(\n                      'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                    )\n                    .optional(),\n                  cycleCount: z\n                    .number()\n                    .int()\n                    .describe(\n                      \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                    )\n                    .min(0)\n                    .max(2000)\n                    .optional()\n                    .nullable(),\n                })\n                .describe(\n                  'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              singlePaymentForDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .describe('Unit of time for the cycle duration.')\n                    .optional(),\n                })\n                .describe(\n                  'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe('Plan price, payment schedule, and expiration.')\n        .optional(),\n      public: z\n        .boolean()\n        .describe(\n          'Whether the plan is public (visible to site visitors and members).'\n        )\n        .optional()\n        .nullable(),\n      archived: z\n        .boolean()\n        .describe(\n          \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n        )\n        .optional(),\n      primary: z\n        .boolean()\n        .describe('Whether the plan is marked as primary.')\n        .optional(),\n      hasOrders: z\n        .boolean()\n        .describe(\n          'Whether the plan has any orders (including pending and unpaid orders).'\n        )\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date plan was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date plan was last updated.')\n        .optional()\n        .nullable(),\n      slug: z\n        .string()\n        .describe(\n          'URL-friendly version of plan name. Unique across all plans in the same site.'\n        )\n        .min(1)\n        .optional()\n        .nullable(),\n      maxPurchasesPerBuyer: z\n        .number()\n        .int()\n        .describe(\n          'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n        )\n        .min(0)\n        .max(1)\n        .optional()\n        .nullable(),\n      allowFutureStartDate: z\n        .boolean()\n        .describe(\n          'Whether the buyer can start the plan at a later date. Defaults to false.'\n        )\n        .optional()\n        .nullable(),\n      buyerCanCancel: z\n        .boolean()\n        .describe(\n          'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n        )\n        .optional()\n        .nullable(),\n      termsAndConditions: z\n        .string()\n        .describe(\n          'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n        )\n        .max(3000)\n        .optional()\n        .nullable(),\n      formId: z\n        .string()\n        .describe(\n          'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n        )\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('ID of the plan to update.'),\n});\nexport const UpdatePlanResponse = z.object({\n  _id: z\n    .string()\n    .describe('Plan ID.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional(),\n  name: z.string().describe('Plan name.').min(1).max(50).optional().nullable(),\n  description: z\n    .string()\n    .describe('Plan description.')\n    .max(450)\n    .optional()\n    .nullable(),\n  perks: z\n    .object({ values: z.array(z.string()).max(500).optional() })\n    .describe(\n      'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n    )\n    .optional(),\n  pricing: z\n    .intersection(\n      z.object({\n        price: z\n          .object({\n            value: z\n              .string()\n              .describe(\n                \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n              )\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n              )\n              .optional(),\n          })\n          .describe(\n            'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n          )\n          .optional(),\n        freeTrialDays: z\n          .number()\n          .int()\n          .describe(\n            'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n          )\n          .min(0)\n          .max(999)\n          .optional()\n          .nullable(),\n      }),\n      z.xor([\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n        }),\n        z.object({\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n          subscription: z\n            .object({\n              cycleDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .describe('Unit of time for the cycle duration.')\n                    .optional(),\n                })\n                .describe(\n                  'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                )\n                .optional(),\n              cycleCount: z\n                .number()\n                .int()\n                .describe(\n                  \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                )\n                .min(0)\n                .max(2000)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentUnlimited: z.never().optional(),\n          singlePaymentForDuration: z\n            .object({\n              count: z\n                .number()\n                .int()\n                .describe(\n                  'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                )\n                .min(1)\n                .optional()\n                .nullable(),\n              unit: z\n                .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                .describe('Unit of time for the cycle duration.')\n                .optional(),\n            })\n            .describe(\n              'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z\n            .boolean()\n            .describe(\n              'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n            ),\n        }),\n      ])\n    )\n    .describe('Plan price, payment schedule, and expiration.')\n    .optional(),\n  public: z\n    .boolean()\n    .describe(\n      'Whether the plan is public (visible to site visitors and members).'\n    )\n    .optional()\n    .nullable(),\n  archived: z\n    .boolean()\n    .describe(\n      \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n    )\n    .optional(),\n  primary: z\n    .boolean()\n    .describe('Whether the plan is marked as primary.')\n    .optional(),\n  hasOrders: z\n    .boolean()\n    .describe(\n      'Whether the plan has any orders (including pending and unpaid orders).'\n    )\n    .optional(),\n  _createdDate: z\n    .date()\n    .describe('Date plan was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date plan was last updated.')\n    .optional()\n    .nullable(),\n  slug: z\n    .string()\n    .describe(\n      'URL-friendly version of plan name. Unique across all plans in the same site.'\n    )\n    .min(1)\n    .optional()\n    .nullable(),\n  maxPurchasesPerBuyer: z\n    .number()\n    .int()\n    .describe(\n      'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n    )\n    .min(0)\n    .max(1)\n    .optional()\n    .nullable(),\n  allowFutureStartDate: z\n    .boolean()\n    .describe(\n      'Whether the buyer can start the plan at a later date. Defaults to false.'\n    )\n    .optional()\n    .nullable(),\n  buyerCanCancel: z\n    .boolean()\n    .describe(\n      'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n    )\n    .optional()\n    .nullable(),\n  termsAndConditions: z\n    .string()\n    .describe(\n      'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n    )\n    .max(3000)\n    .optional()\n    .nullable(),\n  formId: z\n    .string()\n    .describe(\n      'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n    )\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    )\n    .optional()\n    .nullable(),\n});\nexport const SetPlanVisibilityRequest = z.object({\n  _id: z\n    .string()\n    .describe('The ID of the plan to either display or hide on the site page. ')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n  visible: z\n    .boolean()\n    .describe(\n      'Whether a plan is visible to members and site visitors. Updates the `public` field.'\n    ),\n});\nexport const SetPlanVisibilityResponse = z.object({\n  plan: z\n    .object({\n      _id: z\n        .string()\n        .describe('Plan ID.')\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n      name: z\n        .string()\n        .describe('Plan name.')\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe('Plan description.')\n        .max(450)\n        .optional()\n        .nullable(),\n      perks: z\n        .object({ values: z.array(z.string()).max(500).optional() })\n        .describe(\n          'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            price: z\n              .object({\n                value: z\n                  .string()\n                  .describe(\n                    \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                  )\n                  .optional(),\n                currency: z\n                  .string()\n                  .describe(\n                    \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n              )\n              .min(0)\n              .max(999)\n              .optional()\n              .nullable(),\n          }),\n          z.xor([\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n            }),\n            z.object({\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              subscription: z\n                .object({\n                  cycleDuration: z\n                    .object({\n                      count: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                        )\n                        .min(1)\n                        .optional()\n                        .nullable(),\n                      unit: z\n                        .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                        .describe('Unit of time for the cycle duration.')\n                        .optional(),\n                    })\n                    .describe(\n                      'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                    )\n                    .optional(),\n                  cycleCount: z\n                    .number()\n                    .int()\n                    .describe(\n                      \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                    )\n                    .min(0)\n                    .max(2000)\n                    .optional()\n                    .nullable(),\n                })\n                .describe(\n                  'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              singlePaymentForDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .describe('Unit of time for the cycle duration.')\n                    .optional(),\n                })\n                .describe(\n                  'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe('Plan price, payment schedule, and expiration.')\n        .optional(),\n      public: z\n        .boolean()\n        .describe(\n          'Whether the plan is public (visible to site visitors and members).'\n        )\n        .optional()\n        .nullable(),\n      archived: z\n        .boolean()\n        .describe(\n          \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n        )\n        .optional(),\n      primary: z\n        .boolean()\n        .describe('Whether the plan is marked as primary.')\n        .optional(),\n      hasOrders: z\n        .boolean()\n        .describe(\n          'Whether the plan has any orders (including pending and unpaid orders).'\n        )\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date plan was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date plan was last updated.')\n        .optional()\n        .nullable(),\n      slug: z\n        .string()\n        .describe(\n          'URL-friendly version of plan name. Unique across all plans in the same site.'\n        )\n        .min(1)\n        .optional()\n        .nullable(),\n      maxPurchasesPerBuyer: z\n        .number()\n        .int()\n        .describe(\n          'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n        )\n        .min(0)\n        .max(1)\n        .optional()\n        .nullable(),\n      allowFutureStartDate: z\n        .boolean()\n        .describe(\n          'Whether the buyer can start the plan at a later date. Defaults to false.'\n        )\n        .optional()\n        .nullable(),\n      buyerCanCancel: z\n        .boolean()\n        .describe(\n          'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n        )\n        .optional()\n        .nullable(),\n      termsAndConditions: z\n        .string()\n        .describe(\n          'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n        )\n        .max(3000)\n        .optional()\n        .nullable(),\n      formId: z\n        .string()\n        .describe(\n          'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n        )\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('Pricing plan.')\n    .optional(),\n});\nexport const MakePlanPrimaryRequest = z.object({\n  _id: z\n    .string()\n    .describe('ID of the pricing plan to set as the primary plan.')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n});\nexport const MakePlanPrimaryResponse = z.object({\n  plan: z\n    .object({\n      _id: z\n        .string()\n        .describe('Plan ID.')\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n      name: z\n        .string()\n        .describe('Plan name.')\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe('Plan description.')\n        .max(450)\n        .optional()\n        .nullable(),\n      perks: z\n        .object({ values: z.array(z.string()).max(500).optional() })\n        .describe(\n          'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            price: z\n              .object({\n                value: z\n                  .string()\n                  .describe(\n                    \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                  )\n                  .optional(),\n                currency: z\n                  .string()\n                  .describe(\n                    \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n              )\n              .min(0)\n              .max(999)\n              .optional()\n              .nullable(),\n          }),\n          z.xor([\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n            }),\n            z.object({\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              subscription: z\n                .object({\n                  cycleDuration: z\n                    .object({\n                      count: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                        )\n                        .min(1)\n                        .optional()\n                        .nullable(),\n                      unit: z\n                        .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                        .describe('Unit of time for the cycle duration.')\n                        .optional(),\n                    })\n                    .describe(\n                      'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                    )\n                    .optional(),\n                  cycleCount: z\n                    .number()\n                    .int()\n                    .describe(\n                      \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                    )\n                    .min(0)\n                    .max(2000)\n                    .optional()\n                    .nullable(),\n                })\n                .describe(\n                  'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              singlePaymentForDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .describe('Unit of time for the cycle duration.')\n                    .optional(),\n                })\n                .describe(\n                  'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe('Plan price, payment schedule, and expiration.')\n        .optional(),\n      public: z\n        .boolean()\n        .describe(\n          'Whether the plan is public (visible to site visitors and members).'\n        )\n        .optional()\n        .nullable(),\n      archived: z\n        .boolean()\n        .describe(\n          \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n        )\n        .optional(),\n      primary: z\n        .boolean()\n        .describe('Whether the plan is marked as primary.')\n        .optional(),\n      hasOrders: z\n        .boolean()\n        .describe(\n          'Whether the plan has any orders (including pending and unpaid orders).'\n        )\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date plan was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date plan was last updated.')\n        .optional()\n        .nullable(),\n      slug: z\n        .string()\n        .describe(\n          'URL-friendly version of plan name. Unique across all plans in the same site.'\n        )\n        .min(1)\n        .optional()\n        .nullable(),\n      maxPurchasesPerBuyer: z\n        .number()\n        .int()\n        .describe(\n          'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n        )\n        .min(0)\n        .max(1)\n        .optional()\n        .nullable(),\n      allowFutureStartDate: z\n        .boolean()\n        .describe(\n          'Whether the buyer can start the plan at a later date. Defaults to false.'\n        )\n        .optional()\n        .nullable(),\n      buyerCanCancel: z\n        .boolean()\n        .describe(\n          'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n        )\n        .optional()\n        .nullable(),\n      termsAndConditions: z\n        .string()\n        .describe(\n          'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n        )\n        .max(3000)\n        .optional()\n        .nullable(),\n      formId: z\n        .string()\n        .describe(\n          'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n        )\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('Pricing plan.')\n    .optional(),\n});\nexport const ClearPrimaryRequest = z.object({});\nexport const ClearPrimaryResponse = z.object({});\nexport const ArchivePlanRequest = z.object({\n  _id: z\n    .string()\n    .describe('ID of the active plan to archive. ')\n    .regex(\n      /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n      'Must be a valid GUID'\n    ),\n});\nexport const ArchivePlanResponse = z.object({\n  plan: z\n    .object({\n      _id: z\n        .string()\n        .describe('Plan ID.')\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional(),\n      name: z\n        .string()\n        .describe('Plan name.')\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe('Plan description.')\n        .max(450)\n        .optional()\n        .nullable(),\n      perks: z\n        .object({ values: z.array(z.string()).max(500).optional() })\n        .describe(\n          'List of text strings that promote what is included with this plan. For example, \"Plenty of parking\" or \"Free gift on your birthday.\"'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            price: z\n              .object({\n                value: z\n                  .string()\n                  .describe(\n                    \"Monetary amount. Decimal string with a period as a decimal separator. For example, `'3.99'`. Can't be negative.\"\n                  )\n                  .optional(),\n                currency: z\n                  .string()\n                  .describe(\n                    \"Currency code. Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `'USD'`.\"\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Amount for a single payment. For subscriptions, this is the amount to pay each payment cycle and it is required. For plans that are not recurring plans, it is the single payment amount for the whole subscription.'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the plan in days. Available only for recurring plans, meaning plans whose pricing model is `subscription`. Set to `0` to remove the free trial.'\n              )\n              .min(0)\n              .max(999)\n              .optional()\n              .nullable(),\n          }),\n          z.xor([\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n            }),\n            z.object({\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              subscription: z\n                .object({\n                  cycleDuration: z\n                    .object({\n                      count: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                        )\n                        .min(1)\n                        .optional()\n                        .nullable(),\n                      unit: z\n                        .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                        .describe('Unit of time for the cycle duration.')\n                        .optional(),\n                    })\n                    .describe(\n                      'Number of payment cycles the subscription is valid for.\\n`0` for unlimited plans or for plans that are valid until canceled.'\n                    )\n                    .optional(),\n                  cycleCount: z\n                    .number()\n                    .int()\n                    .describe(\n                      \"Length of a payment cycle. For example, 1 month to have monthly payments.\\nMultiply `cycleDuration`'s `count` by `cycleCount` to get the subscription duration.\\nCurrently, only a value of `1` is supported.\"\n                    )\n                    .min(0)\n                    .max(2000)\n                    .optional()\n                    .nullable(),\n                })\n                .describe(\n                  'Pricing model indicating that the plan has recurring payments. This type of subscription is not a \"Wix subscription,\" which encompasses various types of subscriptions, such as Wix Stores subscriptions, Wix invoice subscriptions, and all pricing plan models.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentUnlimited: z.never().optional(),\n              singlePaymentForDuration: z\n                .object({\n                  count: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Number of days, months, weeks, or years in a single payment cycle. Currently limited to support only `1`.'\n                    )\n                    .min(1)\n                    .optional()\n                    .nullable(),\n                  unit: z\n                    .enum(['UNDEFINED', 'DAY', 'WEEK', 'MONTH', 'YEAR'])\n                    .describe('Unit of time for the cycle duration.')\n                    .optional(),\n                })\n                .describe(\n                  'Pricing model indicating a single payment per cycle and the length of the cycle. The cycle is the duration of the plan, not a payment cycle.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'Pricing model indicating the plan is paid in a single payment. The plan is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe('Plan price, payment schedule, and expiration.')\n        .optional(),\n      public: z\n        .boolean()\n        .describe(\n          'Whether the plan is public (visible to site visitors and members).'\n        )\n        .optional()\n        .nullable(),\n      archived: z\n        .boolean()\n        .describe(\n          \"Whether the plan is archived. Archived plans are not visible and can't be purchased anymore, but existing purchases remain in effect.\"\n        )\n        .optional(),\n      primary: z\n        .boolean()\n        .describe('Whether the plan is marked as primary.')\n        .optional(),\n      hasOrders: z\n        .boolean()\n        .describe(\n          'Whether the plan has any orders (including pending and unpaid orders).'\n        )\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date plan was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date plan was last updated.')\n        .optional()\n        .nullable(),\n      slug: z\n        .string()\n        .describe(\n          'URL-friendly version of plan name. Unique across all plans in the same site.'\n        )\n        .min(1)\n        .optional()\n        .nullable(),\n      maxPurchasesPerBuyer: z\n        .number()\n        .int()\n        .describe(\n          'Number of times the same buyer can purchase the plan. Currently limited to support:\\n- Empty value or a value of `0`, meaning no limitation.\\n- Value of `1`, meaning limited to 1 purchase per buyer.'\n        )\n        .min(0)\n        .max(1)\n        .optional()\n        .nullable(),\n      allowFutureStartDate: z\n        .boolean()\n        .describe(\n          'Whether the buyer can start the plan at a later date. Defaults to false.'\n        )\n        .optional()\n        .nullable(),\n      buyerCanCancel: z\n        .boolean()\n        .describe(\n          'Whether the buyer is allowed to cancel their plan. Defaults to false.\\nIf false, calling Request Cancellation returns an error.'\n        )\n        .optional()\n        .nullable(),\n      termsAndConditions: z\n        .string()\n        .describe(\n          'Any terms and conditions that apply to the plan. This information is displayed during checkout.'\n        )\n        .max(3000)\n        .optional()\n        .nullable(),\n      formId: z\n        .string()\n        .describe(\n          'ID of the form associated with the plan at checkout.\\n\\nLearn more about [forms](https://support.wix.com/en/article/wix-forms-an-overview).'\n        )\n        .regex(\n          /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n          'Must be a valid GUID'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('Archived plan.')\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,yBAA2B,SAAO;AAAA,EAC7C,SACG,SAAO;AAAA,IACN,OACG,SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,IACZ,QACG,SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,SAAS,EACT,SAAS;AAAA,IACZ,SAAW,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS;AAAA,EACjD,CAAC,EACA,SAAS,6DAA6D,EACtE,SAAS;AACd,CAAC;AACM,IAAM,0BAA4B,SAAO;AAAA,EAC9C,OACG;AAAA,IACG,SAAO;AAAA,MACP,KACG,SAAO,EACP,SAAS,UAAU,EACnB;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,MACZ,MACG,SAAO,EACP,SAAS,YAAY,EACrB,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,MACZ,aACG,SAAO,EACP,SAAS,mBAAmB,EAC5B,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,MACZ,OACG,SAAO,EAAE,QAAU,QAAQ,SAAO,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,CAAC,EAC1D;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,MACZ,SACG;AAAA,QACG,SAAO;AAAA,UACP,OACG,SAAO;AAAA,YACN,OACG,SAAO,EACP;AAAA,cACC;AAAA,YACF,EACC,SAAS;AAAA,YACZ,UACG,SAAO,EACP;AAAA,cACC;AAAA,YACF,EACC,SAAS;AAAA,UACd,CAAC,EACA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