{"version":3,"sources":["../../src/pricing-plans-v2-order-orders.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const MemberGetOrderRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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  options: z\n    .object({ fieldSet: z.enum(['UNKNOWN_SET', 'BASIC', 'FULL']).optional() })\n    .describe(\"Options for getting a logged-in member's order. \")\n    .optional(),\n});\nexport const MemberGetOrderResponse = z.object({\n  order: z\n    .object({\n      _id: z\n        .string()\n        .describe('Order 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      planId: z\n        .string()\n        .describe(\n          'ID of the plan purchased with the order, from the Plans API.'\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      subscriptionId: z\n        .string()\n        .describe(\n          'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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      wixPayOrderId: z\n        .string()\n        .describe(\n          'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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      buyer: z\n        .object({\n          memberId: z\n            .string()\n            .describe('Member ID for a Wix site member, from the Members API.')\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          contactId: z\n            .string()\n            .describe(\n              'Contact ID for a Wix site contact, from the Contacts API.'\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        })\n        .describe(\n          \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n        )\n        .optional(),\n      priceDetails: z\n        .intersection(\n          z.object({\n            subtotal: z\n              .string()\n              .describe(\n                'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n              )\n              .optional(),\n            discount: z.string().describe('Total discount applied.').optional(),\n            tax: z\n              .object({\n                name: z\n                  .string()\n                  .describe('Name of the tax. For example, VAT.')\n                  .optional(),\n                includedInPrice: z\n                  .boolean()\n                  .describe(\n                    'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                  )\n                  .optional(),\n                rate: z\n                  .string()\n                  .describe(\n                    'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                  )\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                  )\n                  .optional(),\n              })\n              .describe('Tax applied.')\n              .optional(),\n            total: z\n              .string()\n              .describe(\n                'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n              )\n              .optional(),\n            planPrice: z\n              .string()\n              .describe('Plan price as it was at the moment of order creation.')\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the order in days. Only available for recurring plans.'\n              )\n              .min(1)\n              .max(999)\n              .optional()\n              .nullable(),\n            coupon: z\n              .object({\n                code: z\n                  .string()\n                  .describe('Code of the applied coupon.')\n                  .min(1)\n                  .max(20)\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total discount of the coupon, as a monetary amount.'\n                  )\n                  .optional(),\n                _id: z\n                  .string()\n                  .describe('Coupon 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              })\n              .describe(\n                'Coupon applied to the order. Empty means no coupon was applied.'\n              )\n              .optional(),\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('Order has recurring payments.'),\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                  'One-time payment. Order is valid for a specified duration.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'One-time payment. Order is valid until it is canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            prices: z\n              .array(\n                z.object({\n                  duration: z\n                    .object({\n                      cycleFrom: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                        )\n                        .optional(),\n                      numberOfCycles: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                        )\n                        .optional()\n                        .nullable(),\n                    })\n                    .describe(\n                      'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                    )\n                    .optional(),\n                  price: z\n                    .object({\n                      subtotal: z\n                        .string()\n                        .describe(\n                          'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                        )\n                        .optional(),\n                      coupon: z\n                        .object({\n                          code: z\n                            .string()\n                            .describe('Code of the applied coupon.')\n                            .min(1)\n                            .max(20)\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total discount of the coupon, as a monetary amount.'\n                            )\n                            .optional(),\n                          _id: z\n                            .string()\n                            .describe('Coupon 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                        })\n                        .describe(\n                          'Coupon applied to the order, from the Coupons API.'\n                        )\n                        .optional(),\n                      discount: z\n                        .string()\n                        .describe('Total discount applied to the order.')\n                        .optional(),\n                      tax: z\n                        .object({\n                          name: z\n                            .string()\n                            .describe('Name of the tax. For example, VAT.')\n                            .optional(),\n                          includedInPrice: z\n                            .boolean()\n                            .describe(\n                              'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                            )\n                            .optional(),\n                          rate: z\n                            .string()\n                            .describe(\n                              'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                            )\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                        )\n                        .optional(),\n                      total: z\n                        .string()\n                        .describe(\n                          'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                        )\n                        .optional(),\n                      currency: z\n                        .string()\n                        .describe(\n                          'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                        )\n                        .optional(),\n                      proration: z\n                        .string()\n                        .describe(\n                          'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                        )\n                        .optional(),\n                    })\n                    .describe('Order price.')\n                    .optional(),\n                })\n              )\n              .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n        )\n        .optional(),\n      type: z\n        .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n        .describe('How the order was processed.')\n        .optional(),\n      status: z\n        .enum([\n          'UNDEFINED',\n          'DRAFT',\n          'PENDING',\n          'ACTIVE',\n          'PAUSED',\n          'ENDED',\n          'CANCELED',\n        ])\n        .describe('Status of the order.')\n        .optional(),\n      autoRenewCanceled: z\n        .boolean()\n        .describe(\n          \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n        )\n        .optional()\n        .nullable(),\n      cancellation: z\n        .object({\n          requestedDate: z\n            .date()\n            .describe('Date and time the cancellation was requested.')\n            .optional()\n            .nullable(),\n          cause: z\n            .enum([\n              'UNDEFINED',\n              'OWNER_ACTION',\n              'MEMBER_ACTION',\n              'PAYMENT_FAILURE',\n              'PAYMENT_SETUP_FAILURE',\n              'UNKNOWN',\n            ])\n            .describe('Reason for the cancellation.')\n            .optional(),\n          effectiveAt: z\n            .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n            .describe(\n              'When the cancellation takes effect. Set when cancelling the order.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n        )\n        .optional(),\n      lastPaymentStatus: z\n        .enum([\n          'UNDEFINED',\n          'PAID',\n          'REFUNDED',\n          'FAILED',\n          'UNPAID',\n          'PENDING',\n          'NOT_APPLICABLE',\n        ])\n        .describe(\n          'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n        )\n        .optional(),\n      startDate: z\n        .date()\n        .describe('Start date and time for the ordered plan.')\n        .optional()\n        .nullable(),\n      endDate: z\n        .date()\n        .describe(\n          'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n        )\n        .optional()\n        .nullable(),\n      pausePeriods: z\n        .array(\n          z.object({\n            status: z\n              .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n              .describe('Status of the pause period.')\n              .optional(),\n            pauseDate: z\n              .date()\n              .describe('Start date and time of the pause period.')\n              .optional()\n              .nullable(),\n            resumeDate: z\n              .date()\n              .describe(\n                'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n              )\n              .optional()\n              .nullable(),\n          })\n        )\n        .optional(),\n      freeTrialDays: z\n        .number()\n        .int()\n        .describe(\n          'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n        )\n        .min(1)\n        .max(999)\n        .optional()\n        .nullable(),\n      earliestEndDate: z\n        .date()\n        .describe(\n          'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n        )\n        .optional()\n        .nullable(),\n      currentCycle: z\n        .object({\n          index: z\n            .number()\n            .int()\n            .describe(\n              'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n            )\n            .min(0)\n            .optional(),\n          startedDate: z\n            .date()\n            .describe('Start date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n          endedDate: z\n            .date()\n            .describe('End date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n        )\n        .optional(),\n      planName: z\n        .string()\n        .describe('Plan name at the time of purchase.')\n        .optional(),\n      planDescription: z\n        .string()\n        .describe('Plan description at the time of purchase')\n        .optional(),\n      planPrice: z\n        .string()\n        .describe('Plan price as it was at the moment of order creation.')\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the order was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the order was updated.')\n        .optional()\n        .nullable(),\n      formData: z\n        .object({\n          formId: z\n            .string()\n            .describe(\n              'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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          submissionId: z\n            .string()\n            .describe(\n              \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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          submissionData: z\n            .record(z.string(), z.any())\n            .describe(\"Data submitted to the plan's order form at checkout.\")\n            .optional(),\n        })\n        .describe(\n          \"Information about the form submitted during the plan's checkout.\"\n        )\n        .optional(),\n    })\n    .describe('Requested order.')\n    .optional(),\n});\nexport const MemberListOrdersRequest = z.object({\n  options: z\n    .object({\n      planIds: z.array(z.string()).optional(),\n      autoRenewCanceled: z\n        .boolean()\n        .describe('Filter for orders where auto renewal was canceled.')\n        .optional()\n        .nullable(),\n      orderStatuses: z\n        .array(\n          z.enum([\n            'UNDEFINED',\n            'DRAFT',\n            'PENDING',\n            'ACTIVE',\n            'PAUSED',\n            'ENDED',\n            'CANCELED',\n          ])\n        )\n        .optional(),\n      paymentStatuses: z\n        .array(\n          z.enum([\n            'UNDEFINED',\n            'PAID',\n            'REFUNDED',\n            'FAILED',\n            'UNPAID',\n            'PENDING',\n            'NOT_APPLICABLE',\n          ])\n        )\n        .optional(),\n      limit: z\n        .number()\n        .int()\n        .describe(\n          'Limit the number of pricing plans returned. Default limit is 50.'\n        )\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      offset: z\n        .number()\n        .int()\n        .describe('Number of entries to offset.')\n        .min(0)\n        .optional()\n        .nullable(),\n      sorting: z\n        .object({\n          fieldName: z\n            .string()\n            .describe('Name of the field to sort by.')\n            .max(512)\n            .optional(),\n          order: z.enum(['ASC', 'DESC']).optional(),\n        })\n        .describe('Sorting direction (defaults to ASC) and field to sort by.')\n        .optional(),\n      fieldSet: z.enum(['UNKNOWN_SET', 'BASIC', 'FULL']).optional(),\n    })\n    .describe('Filtering, sorting, and pagination options. ')\n    .optional(),\n});\nexport const MemberListOrdersResponse = z.object({\n  orders: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Order 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        planId: z\n          .string()\n          .describe(\n            'ID of the plan purchased with the order, from the Plans API.'\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        subscriptionId: z\n          .string()\n          .describe(\n            'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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        wixPayOrderId: z\n          .string()\n          .describe(\n            'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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        buyer: z\n          .object({\n            memberId: z\n              .string()\n              .describe(\n                'Member ID for a Wix site member, from the Members API.'\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            contactId: z\n              .string()\n              .describe(\n                'Contact ID for a Wix site contact, from the Contacts API.'\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          })\n          .describe(\n            \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n          )\n          .optional(),\n        priceDetails: z\n          .intersection(\n            z.object({\n              subtotal: z\n                .string()\n                .describe(\n                  'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n                )\n                .optional(),\n              discount: z\n                .string()\n                .describe('Total discount applied.')\n                .optional(),\n              tax: z\n                .object({\n                  name: z\n                    .string()\n                    .describe('Name of the tax. For example, VAT.')\n                    .optional(),\n                  includedInPrice: z\n                    .boolean()\n                    .describe(\n                      'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                    )\n                    .optional(),\n                  rate: z\n                    .string()\n                    .describe(\n                      'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                    )\n                    .optional(),\n                  amount: z\n                    .string()\n                    .describe(\n                      'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                    )\n                    .optional(),\n                })\n                .describe('Tax applied.')\n                .optional(),\n              total: z\n                .string()\n                .describe(\n                  'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                )\n                .optional(),\n              planPrice: z\n                .string()\n                .describe(\n                  'Plan price as it was at the moment of order creation.'\n                )\n                .optional(),\n              currency: z\n                .string()\n                .describe(\n                  'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n                )\n                .optional(),\n              freeTrialDays: z\n                .number()\n                .int()\n                .describe(\n                  'Free trial period for the order in days. Only available for recurring plans.'\n                )\n                .min(1)\n                .max(999)\n                .optional()\n                .nullable(),\n              coupon: z\n                .object({\n                  code: z\n                    .string()\n                    .describe('Code of the applied coupon.')\n                    .min(1)\n                    .max(20)\n                    .optional(),\n                  amount: z\n                    .string()\n                    .describe(\n                      'Total discount of the coupon, as a monetary amount.'\n                    )\n                    .optional(),\n                  _id: z\n                    .string()\n                    .describe('Coupon 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                })\n                .describe(\n                  'Coupon applied to the order. Empty means no coupon was applied.'\n                )\n                .optional(),\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('Order has recurring payments.'),\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                    'One-time payment. Order is valid for a specified duration.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z\n                  .boolean()\n                  .describe(\n                    'One-time payment. Order is valid until it is canceled.'\n                  ),\n              }),\n            ])\n          )\n          .describe(\n            '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n          )\n          .optional(),\n        pricing: z\n          .intersection(\n            z.object({\n              prices: z\n                .array(\n                  z.object({\n                    duration: z\n                      .object({\n                        cycleFrom: z\n                          .number()\n                          .int()\n                          .describe(\n                            'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                          )\n                          .optional(),\n                        numberOfCycles: z\n                          .number()\n                          .int()\n                          .describe(\n                            'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                          )\n                          .optional()\n                          .nullable(),\n                      })\n                      .describe(\n                        'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                      )\n                      .optional(),\n                    price: z\n                      .object({\n                        subtotal: z\n                          .string()\n                          .describe(\n                            'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                          )\n                          .optional(),\n                        coupon: z\n                          .object({\n                            code: z\n                              .string()\n                              .describe('Code of the applied coupon.')\n                              .min(1)\n                              .max(20)\n                              .optional(),\n                            amount: z\n                              .string()\n                              .describe(\n                                'Total discount of the coupon, as a monetary amount.'\n                              )\n                              .optional(),\n                            _id: z\n                              .string()\n                              .describe('Coupon 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                          })\n                          .describe(\n                            'Coupon applied to the order, from the Coupons API.'\n                          )\n                          .optional(),\n                        discount: z\n                          .string()\n                          .describe('Total discount applied to the order.')\n                          .optional(),\n                        tax: z\n                          .object({\n                            name: z\n                              .string()\n                              .describe('Name of the tax. For example, VAT.')\n                              .optional(),\n                            includedInPrice: z\n                              .boolean()\n                              .describe(\n                                'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                              )\n                              .optional(),\n                            rate: z\n                              .string()\n                              .describe(\n                                'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                              )\n                              .optional(),\n                            amount: z\n                              .string()\n                              .describe(\n                                'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                              )\n                              .optional(),\n                          })\n                          .describe(\n                            'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                          )\n                          .optional(),\n                        total: z\n                          .string()\n                          .describe(\n                            'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                          )\n                          .optional(),\n                        currency: z\n                          .string()\n                          .describe(\n                            'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                          )\n                          .optional(),\n                        proration: z\n                          .string()\n                          .describe(\n                            'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                          )\n                          .optional(),\n                      })\n                      .describe('Order price.')\n                      .optional(),\n                  })\n                )\n                .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n                  ),\n              }),\n            ])\n          )\n          .describe(\n            'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n          )\n          .optional(),\n        type: z\n          .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n          .describe('How the order was processed.')\n          .optional(),\n        status: z\n          .enum([\n            'UNDEFINED',\n            'DRAFT',\n            'PENDING',\n            'ACTIVE',\n            'PAUSED',\n            'ENDED',\n            'CANCELED',\n          ])\n          .describe('Status of the order.')\n          .optional(),\n        autoRenewCanceled: z\n          .boolean()\n          .describe(\n            \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n          )\n          .optional()\n          .nullable(),\n        cancellation: z\n          .object({\n            requestedDate: z\n              .date()\n              .describe('Date and time the cancellation was requested.')\n              .optional()\n              .nullable(),\n            cause: z\n              .enum([\n                'UNDEFINED',\n                'OWNER_ACTION',\n                'MEMBER_ACTION',\n                'PAYMENT_FAILURE',\n                'PAYMENT_SETUP_FAILURE',\n                'UNKNOWN',\n              ])\n              .describe('Reason for the cancellation.')\n              .optional(),\n            effectiveAt: z\n              .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n              .describe(\n                'When the cancellation takes effect. Set when cancelling the order.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n          )\n          .optional(),\n        lastPaymentStatus: z\n          .enum([\n            'UNDEFINED',\n            'PAID',\n            'REFUNDED',\n            'FAILED',\n            'UNPAID',\n            'PENDING',\n            'NOT_APPLICABLE',\n          ])\n          .describe(\n            'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n          )\n          .optional(),\n        startDate: z\n          .date()\n          .describe('Start date and time for the ordered plan.')\n          .optional()\n          .nullable(),\n        endDate: z\n          .date()\n          .describe(\n            'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n          )\n          .optional()\n          .nullable(),\n        pausePeriods: z\n          .array(\n            z.object({\n              status: z\n                .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n                .describe('Status of the pause period.')\n                .optional(),\n              pauseDate: z\n                .date()\n                .describe('Start date and time of the pause period.')\n                .optional()\n                .nullable(),\n              resumeDate: z\n                .date()\n                .describe(\n                  'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n                )\n                .optional()\n                .nullable(),\n            })\n          )\n          .optional(),\n        freeTrialDays: z\n          .number()\n          .int()\n          .describe(\n            'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n          )\n          .min(1)\n          .max(999)\n          .optional()\n          .nullable(),\n        earliestEndDate: z\n          .date()\n          .describe(\n            'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n          )\n          .optional()\n          .nullable(),\n        currentCycle: z\n          .object({\n            index: z\n              .number()\n              .int()\n              .describe(\n                'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n              )\n              .min(0)\n              .optional(),\n            startedDate: z\n              .date()\n              .describe('Start date and time for the current payment cycle.')\n              .optional()\n              .nullable(),\n            endedDate: z\n              .date()\n              .describe('End date and time for the current payment cycle.')\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n          )\n          .optional(),\n        planName: z\n          .string()\n          .describe('Plan name at the time of purchase.')\n          .optional(),\n        planDescription: z\n          .string()\n          .describe('Plan description at the time of purchase')\n          .optional(),\n        planPrice: z\n          .string()\n          .describe('Plan price as it was at the moment of order creation.')\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the order was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date and time the order was updated.')\n          .optional()\n          .nullable(),\n        formData: z\n          .object({\n            formId: z\n              .string()\n              .describe(\n                'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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            submissionId: z\n              .string()\n              .describe(\n                \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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            submissionData: z\n              .record(z.string(), z.any())\n              .describe(\"Data submitted to the plan's order form at checkout.\")\n              .optional(),\n          })\n          .describe(\n            \"Information about the form submitted during the plan's checkout.\"\n          )\n          .optional(),\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 (number of orders returned, offset).'\n    )\n    .optional(),\n});\nexport const RequestCancellationRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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  effectiveAt: z.enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE']),\n});\nexport const RequestCancellationResponse = z.object({});\nexport const CreateOnlineOrderRequest = z.object({\n  planId: 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  options: z\n    .object({\n      startDate: z\n        .date()\n        .describe(\n          'Start date and time for the plan of the online order in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.\\n\\nDefault: Current date and time.'\n        )\n        .optional()\n        .nullable(),\n      couponCode: z\n        .string()\n        .describe('Coupon code to apply.')\n        .min(1)\n        .max(20)\n        .optional()\n        .nullable(),\n      onBehalf: z\n        .object({\n          memberId: z\n            .string()\n            .describe('Member 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          orderMethod: z.enum(['UNKNOWN', 'MOTO', 'POS']).optional(),\n        })\n        .describe(\"Provided if checkout is initiated on buyer's behalf.\")\n        .optional(),\n      submissionId: z\n        .string()\n        .describe('Submission ID of the form submitted with this order.')\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    .optional(),\n});\nexport const CreateOnlineOrderResponse = z.object({\n  order: z\n    .object({\n      _id: z\n        .string()\n        .describe('Order 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      planId: z\n        .string()\n        .describe(\n          'ID of the plan purchased with the order, from the Plans API.'\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      subscriptionId: z\n        .string()\n        .describe(\n          'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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      wixPayOrderId: z\n        .string()\n        .describe(\n          'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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      buyer: z\n        .object({\n          memberId: z\n            .string()\n            .describe('Member ID for a Wix site member, from the Members API.')\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          contactId: z\n            .string()\n            .describe(\n              'Contact ID for a Wix site contact, from the Contacts API.'\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        })\n        .describe(\n          \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n        )\n        .optional(),\n      priceDetails: z\n        .intersection(\n          z.object({\n            subtotal: z\n              .string()\n              .describe(\n                'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n              )\n              .optional(),\n            discount: z.string().describe('Total discount applied.').optional(),\n            tax: z\n              .object({\n                name: z\n                  .string()\n                  .describe('Name of the tax. For example, VAT.')\n                  .optional(),\n                includedInPrice: z\n                  .boolean()\n                  .describe(\n                    'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                  )\n                  .optional(),\n                rate: z\n                  .string()\n                  .describe(\n                    'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                  )\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                  )\n                  .optional(),\n              })\n              .describe('Tax applied.')\n              .optional(),\n            total: z\n              .string()\n              .describe(\n                'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n              )\n              .optional(),\n            planPrice: z\n              .string()\n              .describe('Plan price as it was at the moment of order creation.')\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the order in days. Only available for recurring plans.'\n              )\n              .min(1)\n              .max(999)\n              .optional()\n              .nullable(),\n            coupon: z\n              .object({\n                code: z\n                  .string()\n                  .describe('Code of the applied coupon.')\n                  .min(1)\n                  .max(20)\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total discount of the coupon, as a monetary amount.'\n                  )\n                  .optional(),\n                _id: z\n                  .string()\n                  .describe('Coupon 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              })\n              .describe(\n                'Coupon applied to the order. Empty means no coupon was applied.'\n              )\n              .optional(),\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('Order has recurring payments.'),\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                  'One-time payment. Order is valid for a specified duration.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'One-time payment. Order is valid until it is canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            prices: z\n              .array(\n                z.object({\n                  duration: z\n                    .object({\n                      cycleFrom: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                        )\n                        .optional(),\n                      numberOfCycles: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                        )\n                        .optional()\n                        .nullable(),\n                    })\n                    .describe(\n                      'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                    )\n                    .optional(),\n                  price: z\n                    .object({\n                      subtotal: z\n                        .string()\n                        .describe(\n                          'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                        )\n                        .optional(),\n                      coupon: z\n                        .object({\n                          code: z\n                            .string()\n                            .describe('Code of the applied coupon.')\n                            .min(1)\n                            .max(20)\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total discount of the coupon, as a monetary amount.'\n                            )\n                            .optional(),\n                          _id: z\n                            .string()\n                            .describe('Coupon 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                        })\n                        .describe(\n                          'Coupon applied to the order, from the Coupons API.'\n                        )\n                        .optional(),\n                      discount: z\n                        .string()\n                        .describe('Total discount applied to the order.')\n                        .optional(),\n                      tax: z\n                        .object({\n                          name: z\n                            .string()\n                            .describe('Name of the tax. For example, VAT.')\n                            .optional(),\n                          includedInPrice: z\n                            .boolean()\n                            .describe(\n                              'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                            )\n                            .optional(),\n                          rate: z\n                            .string()\n                            .describe(\n                              'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                            )\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                        )\n                        .optional(),\n                      total: z\n                        .string()\n                        .describe(\n                          'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                        )\n                        .optional(),\n                      currency: z\n                        .string()\n                        .describe(\n                          'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                        )\n                        .optional(),\n                      proration: z\n                        .string()\n                        .describe(\n                          'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                        )\n                        .optional(),\n                    })\n                    .describe('Order price.')\n                    .optional(),\n                })\n              )\n              .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n        )\n        .optional(),\n      type: z\n        .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n        .describe('How the order was processed.')\n        .optional(),\n      status: z\n        .enum([\n          'UNDEFINED',\n          'DRAFT',\n          'PENDING',\n          'ACTIVE',\n          'PAUSED',\n          'ENDED',\n          'CANCELED',\n        ])\n        .describe('Status of the order.')\n        .optional(),\n      autoRenewCanceled: z\n        .boolean()\n        .describe(\n          \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n        )\n        .optional()\n        .nullable(),\n      cancellation: z\n        .object({\n          requestedDate: z\n            .date()\n            .describe('Date and time the cancellation was requested.')\n            .optional()\n            .nullable(),\n          cause: z\n            .enum([\n              'UNDEFINED',\n              'OWNER_ACTION',\n              'MEMBER_ACTION',\n              'PAYMENT_FAILURE',\n              'PAYMENT_SETUP_FAILURE',\n              'UNKNOWN',\n            ])\n            .describe('Reason for the cancellation.')\n            .optional(),\n          effectiveAt: z\n            .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n            .describe(\n              'When the cancellation takes effect. Set when cancelling the order.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n        )\n        .optional(),\n      lastPaymentStatus: z\n        .enum([\n          'UNDEFINED',\n          'PAID',\n          'REFUNDED',\n          'FAILED',\n          'UNPAID',\n          'PENDING',\n          'NOT_APPLICABLE',\n        ])\n        .describe(\n          'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n        )\n        .optional(),\n      startDate: z\n        .date()\n        .describe('Start date and time for the ordered plan.')\n        .optional()\n        .nullable(),\n      endDate: z\n        .date()\n        .describe(\n          'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n        )\n        .optional()\n        .nullable(),\n      pausePeriods: z\n        .array(\n          z.object({\n            status: z\n              .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n              .describe('Status of the pause period.')\n              .optional(),\n            pauseDate: z\n              .date()\n              .describe('Start date and time of the pause period.')\n              .optional()\n              .nullable(),\n            resumeDate: z\n              .date()\n              .describe(\n                'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n              )\n              .optional()\n              .nullable(),\n          })\n        )\n        .optional(),\n      freeTrialDays: z\n        .number()\n        .int()\n        .describe(\n          'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n        )\n        .min(1)\n        .max(999)\n        .optional()\n        .nullable(),\n      earliestEndDate: z\n        .date()\n        .describe(\n          'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n        )\n        .optional()\n        .nullable(),\n      currentCycle: z\n        .object({\n          index: z\n            .number()\n            .int()\n            .describe(\n              'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n            )\n            .min(0)\n            .optional(),\n          startedDate: z\n            .date()\n            .describe('Start date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n          endedDate: z\n            .date()\n            .describe('End date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n        )\n        .optional(),\n      planName: z\n        .string()\n        .describe('Plan name at the time of purchase.')\n        .optional(),\n      planDescription: z\n        .string()\n        .describe('Plan description at the time of purchase')\n        .optional(),\n      planPrice: z\n        .string()\n        .describe('Plan price as it was at the moment of order creation.')\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the order was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the order was updated.')\n        .optional()\n        .nullable(),\n      formData: z\n        .object({\n          formId: z\n            .string()\n            .describe(\n              'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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          submissionId: z\n            .string()\n            .describe(\n              \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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          submissionData: z\n            .record(z.string(), z.any())\n            .describe(\"Data submitted to the plan's order form at checkout.\")\n            .optional(),\n        })\n        .describe(\n          \"Information about the form submitted during the plan's checkout.\"\n        )\n        .optional(),\n    })\n    .describe('Created online order.')\n    .optional(),\n});\nexport const CreateOfflineOrderRequest = z.object({\n  planId: z\n    .string()\n    .describe('ID of the plan being ordered, from the Plans API.')\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  memberId: z\n    .string()\n    .describe('ID of the member ordering the plan, from the Members API.')\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  options: z\n    .object({\n      startDate: z\n        .date()\n        .describe(\n          'Start date and time for the ordered plan in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.\\n\\nDefault: Current date and time.'\n        )\n        .optional()\n        .nullable(),\n      paid: z\n        .boolean()\n        .describe('Whether the order is paid.\\n\\nDefault: `false`')\n        .optional()\n        .nullable(),\n      couponCode: z\n        .string()\n        .describe('Coupon code to apply, from the Coupons API.')\n        .min(1)\n        .max(20)\n        .optional()\n        .nullable(),\n      submissionId: z\n        .string()\n        .describe('Form submission ID that was submitted with the order.')\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('Options for creating an offline order. ')\n    .optional(),\n});\nexport const CreateOfflineOrderResponse = z.object({\n  order: z\n    .object({\n      _id: z\n        .string()\n        .describe('Order 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      planId: z\n        .string()\n        .describe(\n          'ID of the plan purchased with the order, from the Plans API.'\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      subscriptionId: z\n        .string()\n        .describe(\n          'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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      wixPayOrderId: z\n        .string()\n        .describe(\n          'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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      buyer: z\n        .object({\n          memberId: z\n            .string()\n            .describe('Member ID for a Wix site member, from the Members API.')\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          contactId: z\n            .string()\n            .describe(\n              'Contact ID for a Wix site contact, from the Contacts API.'\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        })\n        .describe(\n          \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n        )\n        .optional(),\n      priceDetails: z\n        .intersection(\n          z.object({\n            subtotal: z\n              .string()\n              .describe(\n                'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n              )\n              .optional(),\n            discount: z.string().describe('Total discount applied.').optional(),\n            tax: z\n              .object({\n                name: z\n                  .string()\n                  .describe('Name of the tax. For example, VAT.')\n                  .optional(),\n                includedInPrice: z\n                  .boolean()\n                  .describe(\n                    'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                  )\n                  .optional(),\n                rate: z\n                  .string()\n                  .describe(\n                    'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                  )\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                  )\n                  .optional(),\n              })\n              .describe('Tax applied.')\n              .optional(),\n            total: z\n              .string()\n              .describe(\n                'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n              )\n              .optional(),\n            planPrice: z\n              .string()\n              .describe('Plan price as it was at the moment of order creation.')\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the order in days. Only available for recurring plans.'\n              )\n              .min(1)\n              .max(999)\n              .optional()\n              .nullable(),\n            coupon: z\n              .object({\n                code: z\n                  .string()\n                  .describe('Code of the applied coupon.')\n                  .min(1)\n                  .max(20)\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total discount of the coupon, as a monetary amount.'\n                  )\n                  .optional(),\n                _id: z\n                  .string()\n                  .describe('Coupon 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              })\n              .describe(\n                'Coupon applied to the order. Empty means no coupon was applied.'\n              )\n              .optional(),\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('Order has recurring payments.'),\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                  'One-time payment. Order is valid for a specified duration.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'One-time payment. Order is valid until it is canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            prices: z\n              .array(\n                z.object({\n                  duration: z\n                    .object({\n                      cycleFrom: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                        )\n                        .optional(),\n                      numberOfCycles: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                        )\n                        .optional()\n                        .nullable(),\n                    })\n                    .describe(\n                      'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                    )\n                    .optional(),\n                  price: z\n                    .object({\n                      subtotal: z\n                        .string()\n                        .describe(\n                          'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                        )\n                        .optional(),\n                      coupon: z\n                        .object({\n                          code: z\n                            .string()\n                            .describe('Code of the applied coupon.')\n                            .min(1)\n                            .max(20)\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total discount of the coupon, as a monetary amount.'\n                            )\n                            .optional(),\n                          _id: z\n                            .string()\n                            .describe('Coupon 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                        })\n                        .describe(\n                          'Coupon applied to the order, from the Coupons API.'\n                        )\n                        .optional(),\n                      discount: z\n                        .string()\n                        .describe('Total discount applied to the order.')\n                        .optional(),\n                      tax: z\n                        .object({\n                          name: z\n                            .string()\n                            .describe('Name of the tax. For example, VAT.')\n                            .optional(),\n                          includedInPrice: z\n                            .boolean()\n                            .describe(\n                              'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                            )\n                            .optional(),\n                          rate: z\n                            .string()\n                            .describe(\n                              'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                            )\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                        )\n                        .optional(),\n                      total: z\n                        .string()\n                        .describe(\n                          'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                        )\n                        .optional(),\n                      currency: z\n                        .string()\n                        .describe(\n                          'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                        )\n                        .optional(),\n                      proration: z\n                        .string()\n                        .describe(\n                          'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                        )\n                        .optional(),\n                    })\n                    .describe('Order price.')\n                    .optional(),\n                })\n              )\n              .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n        )\n        .optional(),\n      type: z\n        .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n        .describe('How the order was processed.')\n        .optional(),\n      status: z\n        .enum([\n          'UNDEFINED',\n          'DRAFT',\n          'PENDING',\n          'ACTIVE',\n          'PAUSED',\n          'ENDED',\n          'CANCELED',\n        ])\n        .describe('Status of the order.')\n        .optional(),\n      autoRenewCanceled: z\n        .boolean()\n        .describe(\n          \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n        )\n        .optional()\n        .nullable(),\n      cancellation: z\n        .object({\n          requestedDate: z\n            .date()\n            .describe('Date and time the cancellation was requested.')\n            .optional()\n            .nullable(),\n          cause: z\n            .enum([\n              'UNDEFINED',\n              'OWNER_ACTION',\n              'MEMBER_ACTION',\n              'PAYMENT_FAILURE',\n              'PAYMENT_SETUP_FAILURE',\n              'UNKNOWN',\n            ])\n            .describe('Reason for the cancellation.')\n            .optional(),\n          effectiveAt: z\n            .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n            .describe(\n              'When the cancellation takes effect. Set when cancelling the order.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n        )\n        .optional(),\n      lastPaymentStatus: z\n        .enum([\n          'UNDEFINED',\n          'PAID',\n          'REFUNDED',\n          'FAILED',\n          'UNPAID',\n          'PENDING',\n          'NOT_APPLICABLE',\n        ])\n        .describe(\n          'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n        )\n        .optional(),\n      startDate: z\n        .date()\n        .describe('Start date and time for the ordered plan.')\n        .optional()\n        .nullable(),\n      endDate: z\n        .date()\n        .describe(\n          'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n        )\n        .optional()\n        .nullable(),\n      pausePeriods: z\n        .array(\n          z.object({\n            status: z\n              .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n              .describe('Status of the pause period.')\n              .optional(),\n            pauseDate: z\n              .date()\n              .describe('Start date and time of the pause period.')\n              .optional()\n              .nullable(),\n            resumeDate: z\n              .date()\n              .describe(\n                'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n              )\n              .optional()\n              .nullable(),\n          })\n        )\n        .optional(),\n      freeTrialDays: z\n        .number()\n        .int()\n        .describe(\n          'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n        )\n        .min(1)\n        .max(999)\n        .optional()\n        .nullable(),\n      earliestEndDate: z\n        .date()\n        .describe(\n          'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n        )\n        .optional()\n        .nullable(),\n      currentCycle: z\n        .object({\n          index: z\n            .number()\n            .int()\n            .describe(\n              'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n            )\n            .min(0)\n            .optional(),\n          startedDate: z\n            .date()\n            .describe('Start date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n          endedDate: z\n            .date()\n            .describe('End date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n        )\n        .optional(),\n      planName: z\n        .string()\n        .describe('Plan name at the time of purchase.')\n        .optional(),\n      planDescription: z\n        .string()\n        .describe('Plan description at the time of purchase')\n        .optional(),\n      planPrice: z\n        .string()\n        .describe('Plan price as it was at the moment of order creation.')\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the order was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the order was updated.')\n        .optional()\n        .nullable(),\n      formData: z\n        .object({\n          formId: z\n            .string()\n            .describe(\n              'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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          submissionId: z\n            .string()\n            .describe(\n              \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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          submissionData: z\n            .record(z.string(), z.any())\n            .describe(\"Data submitted to the plan's order form at checkout.\")\n            .optional(),\n        })\n        .describe(\n          \"Information about the form submitted during the plan's checkout.\"\n        )\n        .optional(),\n    })\n    .describe('Order.')\n    .optional(),\n});\nexport const GetOnlineOrderPreviewRequest = z.object({\n  planId: 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  options: z\n    .object({\n      startDate: z\n        .date()\n        .describe(\n          'Start date and time for the plan of the order preview in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.\\n\\nDefault: Current date and time.'\n        )\n        .optional()\n        .nullable(),\n      couponCode: z\n        .string()\n        .describe('Coupon code to apply.')\n        .min(1)\n        .max(20)\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const GetOnlineOrderPreviewResponse = z.object({\n  order: z\n    .object({\n      _id: z\n        .string()\n        .describe('Order 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      planId: z\n        .string()\n        .describe(\n          'ID of the plan purchased with the order, from the Plans API.'\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      subscriptionId: z\n        .string()\n        .describe(\n          'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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      wixPayOrderId: z\n        .string()\n        .describe(\n          'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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      buyer: z\n        .object({\n          memberId: z\n            .string()\n            .describe('Member ID for a Wix site member, from the Members API.')\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          contactId: z\n            .string()\n            .describe(\n              'Contact ID for a Wix site contact, from the Contacts API.'\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        })\n        .describe(\n          \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n        )\n        .optional(),\n      priceDetails: z\n        .intersection(\n          z.object({\n            subtotal: z\n              .string()\n              .describe(\n                'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n              )\n              .optional(),\n            discount: z.string().describe('Total discount applied.').optional(),\n            tax: z\n              .object({\n                name: z\n                  .string()\n                  .describe('Name of the tax. For example, VAT.')\n                  .optional(),\n                includedInPrice: z\n                  .boolean()\n                  .describe(\n                    'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                  )\n                  .optional(),\n                rate: z\n                  .string()\n                  .describe(\n                    'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                  )\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                  )\n                  .optional(),\n              })\n              .describe('Tax applied.')\n              .optional(),\n            total: z\n              .string()\n              .describe(\n                'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n              )\n              .optional(),\n            planPrice: z\n              .string()\n              .describe('Plan price as it was at the moment of order creation.')\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the order in days. Only available for recurring plans.'\n              )\n              .min(1)\n              .max(999)\n              .optional()\n              .nullable(),\n            coupon: z\n              .object({\n                code: z\n                  .string()\n                  .describe('Code of the applied coupon.')\n                  .min(1)\n                  .max(20)\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total discount of the coupon, as a monetary amount.'\n                  )\n                  .optional(),\n                _id: z\n                  .string()\n                  .describe('Coupon 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              })\n              .describe(\n                'Coupon applied to the order. Empty means no coupon was applied.'\n              )\n              .optional(),\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('Order has recurring payments.'),\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                  'One-time payment. Order is valid for a specified duration.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'One-time payment. Order is valid until it is canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            prices: z\n              .array(\n                z.object({\n                  duration: z\n                    .object({\n                      cycleFrom: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                        )\n                        .optional(),\n                      numberOfCycles: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                        )\n                        .optional()\n                        .nullable(),\n                    })\n                    .describe(\n                      'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                    )\n                    .optional(),\n                  price: z\n                    .object({\n                      subtotal: z\n                        .string()\n                        .describe(\n                          'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                        )\n                        .optional(),\n                      coupon: z\n                        .object({\n                          code: z\n                            .string()\n                            .describe('Code of the applied coupon.')\n                            .min(1)\n                            .max(20)\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total discount of the coupon, as a monetary amount.'\n                            )\n                            .optional(),\n                          _id: z\n                            .string()\n                            .describe('Coupon 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                        })\n                        .describe(\n                          'Coupon applied to the order, from the Coupons API.'\n                        )\n                        .optional(),\n                      discount: z\n                        .string()\n                        .describe('Total discount applied to the order.')\n                        .optional(),\n                      tax: z\n                        .object({\n                          name: z\n                            .string()\n                            .describe('Name of the tax. For example, VAT.')\n                            .optional(),\n                          includedInPrice: z\n                            .boolean()\n                            .describe(\n                              'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                            )\n                            .optional(),\n                          rate: z\n                            .string()\n                            .describe(\n                              'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                            )\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                        )\n                        .optional(),\n                      total: z\n                        .string()\n                        .describe(\n                          'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                        )\n                        .optional(),\n                      currency: z\n                        .string()\n                        .describe(\n                          'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                        )\n                        .optional(),\n                      proration: z\n                        .string()\n                        .describe(\n                          'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                        )\n                        .optional(),\n                    })\n                    .describe('Order price.')\n                    .optional(),\n                })\n              )\n              .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n        )\n        .optional(),\n      type: z\n        .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n        .describe('How the order was processed.')\n        .optional(),\n      status: z\n        .enum([\n          'UNDEFINED',\n          'DRAFT',\n          'PENDING',\n          'ACTIVE',\n          'PAUSED',\n          'ENDED',\n          'CANCELED',\n        ])\n        .describe('Status of the order.')\n        .optional(),\n      autoRenewCanceled: z\n        .boolean()\n        .describe(\n          \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n        )\n        .optional()\n        .nullable(),\n      cancellation: z\n        .object({\n          requestedDate: z\n            .date()\n            .describe('Date and time the cancellation was requested.')\n            .optional()\n            .nullable(),\n          cause: z\n            .enum([\n              'UNDEFINED',\n              'OWNER_ACTION',\n              'MEMBER_ACTION',\n              'PAYMENT_FAILURE',\n              'PAYMENT_SETUP_FAILURE',\n              'UNKNOWN',\n            ])\n            .describe('Reason for the cancellation.')\n            .optional(),\n          effectiveAt: z\n            .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n            .describe(\n              'When the cancellation takes effect. Set when cancelling the order.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n        )\n        .optional(),\n      lastPaymentStatus: z\n        .enum([\n          'UNDEFINED',\n          'PAID',\n          'REFUNDED',\n          'FAILED',\n          'UNPAID',\n          'PENDING',\n          'NOT_APPLICABLE',\n        ])\n        .describe(\n          'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n        )\n        .optional(),\n      startDate: z\n        .date()\n        .describe('Start date and time for the ordered plan.')\n        .optional()\n        .nullable(),\n      endDate: z\n        .date()\n        .describe(\n          'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n        )\n        .optional()\n        .nullable(),\n      pausePeriods: z\n        .array(\n          z.object({\n            status: z\n              .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n              .describe('Status of the pause period.')\n              .optional(),\n            pauseDate: z\n              .date()\n              .describe('Start date and time of the pause period.')\n              .optional()\n              .nullable(),\n            resumeDate: z\n              .date()\n              .describe(\n                'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n              )\n              .optional()\n              .nullable(),\n          })\n        )\n        .optional(),\n      freeTrialDays: z\n        .number()\n        .int()\n        .describe(\n          'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n        )\n        .min(1)\n        .max(999)\n        .optional()\n        .nullable(),\n      earliestEndDate: z\n        .date()\n        .describe(\n          'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n        )\n        .optional()\n        .nullable(),\n      currentCycle: z\n        .object({\n          index: z\n            .number()\n            .int()\n            .describe(\n              'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n            )\n            .min(0)\n            .optional(),\n          startedDate: z\n            .date()\n            .describe('Start date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n          endedDate: z\n            .date()\n            .describe('End date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n        )\n        .optional(),\n      planName: z\n        .string()\n        .describe('Plan name at the time of purchase.')\n        .optional(),\n      planDescription: z\n        .string()\n        .describe('Plan description at the time of purchase')\n        .optional(),\n      planPrice: z\n        .string()\n        .describe('Plan price as it was at the moment of order creation.')\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the order was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the order was updated.')\n        .optional()\n        .nullable(),\n      formData: z\n        .object({\n          formId: z\n            .string()\n            .describe(\n              'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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          submissionId: z\n            .string()\n            .describe(\n              \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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          submissionData: z\n            .record(z.string(), z.any())\n            .describe(\"Data submitted to the plan's order form at checkout.\")\n            .optional(),\n        })\n        .describe(\n          \"Information about the form submitted during the plan's checkout.\"\n        )\n        .optional(),\n    })\n    .describe(\n      \"Order preview. This field is undefined if the member has already reached the purchase limit for the order's plan.\"\n    )\n    .optional(),\n  purchaseLimitExceeded: z\n    .boolean()\n    .describe(\n      \"Whether the member has already reached purchase limit for the order's plan.\"\n    )\n    .optional(),\n});\nexport const GetOfflineOrderPreviewRequest = z.object({\n  planId: z\n    .string()\n    .describe('ID of the plan of the previewed order.')\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  memberId: z\n    .string()\n    .describe(\n      'Member ID of the buyer the previewed order is for, from the Members API.'\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  options: z\n    .object({\n      startDate: z\n        .date()\n        .describe(\n          'Start date and time for plan of the previewed order in a `YYYY-MM-DDThh:mm[:ss][.sss]Z` format.\\n\\nDefault: Current date and time.'\n        )\n        .optional()\n        .nullable(),\n      couponCode: z\n        .string()\n        .describe('Coupon code to apply, from the Coupons API.')\n        .min(1)\n        .max(20)\n        .optional()\n        .nullable(),\n    })\n    .describe('Options for previewing the offline order. ')\n    .optional(),\n});\nexport const GetOfflineOrderPreviewResponse = z.object({\n  order: z\n    .object({\n      _id: z\n        .string()\n        .describe('Order 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      planId: z\n        .string()\n        .describe(\n          'ID of the plan purchased with the order, from the Plans API.'\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      subscriptionId: z\n        .string()\n        .describe(\n          'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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      wixPayOrderId: z\n        .string()\n        .describe(\n          'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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      buyer: z\n        .object({\n          memberId: z\n            .string()\n            .describe('Member ID for a Wix site member, from the Members API.')\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          contactId: z\n            .string()\n            .describe(\n              'Contact ID for a Wix site contact, from the Contacts API.'\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        })\n        .describe(\n          \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n        )\n        .optional(),\n      priceDetails: z\n        .intersection(\n          z.object({\n            subtotal: z\n              .string()\n              .describe(\n                'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n              )\n              .optional(),\n            discount: z.string().describe('Total discount applied.').optional(),\n            tax: z\n              .object({\n                name: z\n                  .string()\n                  .describe('Name of the tax. For example, VAT.')\n                  .optional(),\n                includedInPrice: z\n                  .boolean()\n                  .describe(\n                    'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                  )\n                  .optional(),\n                rate: z\n                  .string()\n                  .describe(\n                    'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                  )\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                  )\n                  .optional(),\n              })\n              .describe('Tax applied.')\n              .optional(),\n            total: z\n              .string()\n              .describe(\n                'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n              )\n              .optional(),\n            planPrice: z\n              .string()\n              .describe('Plan price as it was at the moment of order creation.')\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n              )\n              .optional(),\n            freeTrialDays: z\n              .number()\n              .int()\n              .describe(\n                'Free trial period for the order in days. Only available for recurring plans.'\n              )\n              .min(1)\n              .max(999)\n              .optional()\n              .nullable(),\n            coupon: z\n              .object({\n                code: z\n                  .string()\n                  .describe('Code of the applied coupon.')\n                  .min(1)\n                  .max(20)\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total discount of the coupon, as a monetary amount.'\n                  )\n                  .optional(),\n                _id: z\n                  .string()\n                  .describe('Coupon 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              })\n              .describe(\n                'Coupon applied to the order. Empty means no coupon was applied.'\n              )\n              .optional(),\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('Order has recurring payments.'),\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                  'One-time payment. Order is valid for a specified duration.'\n                ),\n            }),\n            z.object({\n              subscription: z.never().optional(),\n              singlePaymentForDuration: z.never().optional(),\n              singlePaymentUnlimited: z\n                .boolean()\n                .describe(\n                  'One-time payment. Order is valid until it is canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n        )\n        .optional(),\n      pricing: z\n        .intersection(\n          z.object({\n            prices: z\n              .array(\n                z.object({\n                  duration: z\n                    .object({\n                      cycleFrom: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                        )\n                        .optional(),\n                      numberOfCycles: z\n                        .number()\n                        .int()\n                        .describe(\n                          'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                        )\n                        .optional()\n                        .nullable(),\n                    })\n                    .describe(\n                      'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                    )\n                    .optional(),\n                  price: z\n                    .object({\n                      subtotal: z\n                        .string()\n                        .describe(\n                          'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                        )\n                        .optional(),\n                      coupon: z\n                        .object({\n                          code: z\n                            .string()\n                            .describe('Code of the applied coupon.')\n                            .min(1)\n                            .max(20)\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total discount of the coupon, as a monetary amount.'\n                            )\n                            .optional(),\n                          _id: z\n                            .string()\n                            .describe('Coupon 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                        })\n                        .describe(\n                          'Coupon applied to the order, from the Coupons API.'\n                        )\n                        .optional(),\n                      discount: z\n                        .string()\n                        .describe('Total discount applied to the order.')\n                        .optional(),\n                      tax: z\n                        .object({\n                          name: z\n                            .string()\n                            .describe('Name of the tax. For example, VAT.')\n                            .optional(),\n                          includedInPrice: z\n                            .boolean()\n                            .describe(\n                              'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                            )\n                            .optional(),\n                          rate: z\n                            .string()\n                            .describe(\n                              'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                            )\n                            .optional(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                            )\n                            .optional(),\n                        })\n                        .describe(\n                          'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                        )\n                        .optional(),\n                      total: z\n                        .string()\n                        .describe(\n                          'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                        )\n                        .optional(),\n                      currency: z\n                        .string()\n                        .describe(\n                          'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                        )\n                        .optional(),\n                      proration: z\n                        .string()\n                        .describe(\n                          'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                        )\n                        .optional(),\n                    })\n                    .describe('Order price.')\n                    .optional(),\n                })\n              )\n              .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n                ),\n            }),\n          ])\n        )\n        .describe(\n          'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n        )\n        .optional(),\n      type: z\n        .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n        .describe('How the order was processed.')\n        .optional(),\n      status: z\n        .enum([\n          'UNDEFINED',\n          'DRAFT',\n          'PENDING',\n          'ACTIVE',\n          'PAUSED',\n          'ENDED',\n          'CANCELED',\n        ])\n        .describe('Status of the order.')\n        .optional(),\n      autoRenewCanceled: z\n        .boolean()\n        .describe(\n          \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n        )\n        .optional()\n        .nullable(),\n      cancellation: z\n        .object({\n          requestedDate: z\n            .date()\n            .describe('Date and time the cancellation was requested.')\n            .optional()\n            .nullable(),\n          cause: z\n            .enum([\n              'UNDEFINED',\n              'OWNER_ACTION',\n              'MEMBER_ACTION',\n              'PAYMENT_FAILURE',\n              'PAYMENT_SETUP_FAILURE',\n              'UNKNOWN',\n            ])\n            .describe('Reason for the cancellation.')\n            .optional(),\n          effectiveAt: z\n            .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n            .describe(\n              'When the cancellation takes effect. Set when cancelling the order.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n        )\n        .optional(),\n      lastPaymentStatus: z\n        .enum([\n          'UNDEFINED',\n          'PAID',\n          'REFUNDED',\n          'FAILED',\n          'UNPAID',\n          'PENDING',\n          'NOT_APPLICABLE',\n        ])\n        .describe(\n          'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n        )\n        .optional(),\n      startDate: z\n        .date()\n        .describe('Start date and time for the ordered plan.')\n        .optional()\n        .nullable(),\n      endDate: z\n        .date()\n        .describe(\n          'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n        )\n        .optional()\n        .nullable(),\n      pausePeriods: z\n        .array(\n          z.object({\n            status: z\n              .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n              .describe('Status of the pause period.')\n              .optional(),\n            pauseDate: z\n              .date()\n              .describe('Start date and time of the pause period.')\n              .optional()\n              .nullable(),\n            resumeDate: z\n              .date()\n              .describe(\n                'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n              )\n              .optional()\n              .nullable(),\n          })\n        )\n        .optional(),\n      freeTrialDays: z\n        .number()\n        .int()\n        .describe(\n          'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n        )\n        .min(1)\n        .max(999)\n        .optional()\n        .nullable(),\n      earliestEndDate: z\n        .date()\n        .describe(\n          'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n        )\n        .optional()\n        .nullable(),\n      currentCycle: z\n        .object({\n          index: z\n            .number()\n            .int()\n            .describe(\n              'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n            )\n            .min(0)\n            .optional(),\n          startedDate: z\n            .date()\n            .describe('Start date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n          endedDate: z\n            .date()\n            .describe('End date and time for the current payment cycle.')\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n        )\n        .optional(),\n      planName: z\n        .string()\n        .describe('Plan name at the time of purchase.')\n        .optional(),\n      planDescription: z\n        .string()\n        .describe('Plan description at the time of purchase')\n        .optional(),\n      planPrice: z\n        .string()\n        .describe('Plan price as it was at the moment of order creation.')\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the order was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the order was updated.')\n        .optional()\n        .nullable(),\n      formData: z\n        .object({\n          formId: z\n            .string()\n            .describe(\n              'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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          submissionId: z\n            .string()\n            .describe(\n              \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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          submissionData: z\n            .record(z.string(), z.any())\n            .describe(\"Data submitted to the plan's order form at checkout.\")\n            .optional(),\n        })\n        .describe(\n          \"Information about the form submitted during the plan's checkout.\"\n        )\n        .optional(),\n    })\n    .describe('The previewed order, as if the plan had been ordered.')\n    .optional(),\n  purchaseLimitExceeded: z\n    .boolean()\n    .describe(\n      'Whether this previewed order would exceed the permitted amount of purchases available\\nfor this plan for this buyer.\\n\\nAlways `false` for plans that do not have purchase limits.'\n    )\n    .optional(),\n});\nexport const GetPricePreviewRequest = z.object({\n  planId: z\n    .string()\n    .describe('ID of plan to preview.')\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  options: z\n    .object({\n      couponCode: z\n        .string()\n        .describe('Coupon code to apply, from the Coupons API.')\n        .min(1)\n        .max(20)\n        .optional()\n        .nullable(),\n    })\n    .describe('Options for getting a price preview. ')\n    .optional(),\n});\nexport const GetPricePreviewResponse = z.object({\n  price: z\n    .intersection(\n      z.object({\n        subtotal: z\n          .string()\n          .describe(\n            'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n          )\n          .optional(),\n        discount: z.string().describe('Total discount applied.').optional(),\n        tax: z\n          .object({\n            name: z\n              .string()\n              .describe('Name of the tax. For example, VAT.')\n              .optional(),\n            includedInPrice: z\n              .boolean()\n              .describe(\n                'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n              )\n              .optional(),\n            rate: z\n              .string()\n              .describe(\n                'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n              )\n              .optional(),\n            amount: z\n              .string()\n              .describe(\n                'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n              )\n              .optional(),\n          })\n          .describe('Tax applied.')\n          .optional(),\n        total: z\n          .string()\n          .describe(\n            'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n          )\n          .optional(),\n        planPrice: z\n          .string()\n          .describe('Plan price as it was at the moment of order creation.')\n          .optional(),\n        currency: z\n          .string()\n          .describe(\n            'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n          )\n          .optional(),\n        freeTrialDays: z\n          .number()\n          .int()\n          .describe(\n            'Free trial period for the order in days. Only available for recurring plans.'\n          )\n          .min(1)\n          .max(999)\n          .optional()\n          .nullable(),\n        coupon: z\n          .object({\n            code: z\n              .string()\n              .describe('Code of the applied coupon.')\n              .min(1)\n              .max(20)\n              .optional(),\n            amount: z\n              .string()\n              .describe('Total discount of the coupon, as a monetary amount.')\n              .optional(),\n            _id: z\n              .string()\n              .describe('Coupon 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          })\n          .describe(\n            'Coupon applied to the order. Empty means no coupon was applied.'\n          )\n          .optional(),\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('Order has recurring payments.'),\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              'One-time payment. Order is valid for a specified duration.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z\n            .boolean()\n            .describe('One-time payment. Order is valid until it is canceled.'),\n        }),\n      ])\n    )\n    .describe(\n      '__Deprecated.__ Use `prices` instead. This property will be removed on September 30, 2022.'\n    )\n    .optional(),\n  prices: z\n    .array(\n      z.object({\n        duration: z\n          .object({\n            cycleFrom: z\n              .number()\n              .int()\n              .describe(\n                'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n              )\n              .optional(),\n            numberOfCycles: z\n              .number()\n              .int()\n              .describe(\n                'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n          )\n          .optional(),\n        price: z\n          .object({\n            subtotal: z\n              .string()\n              .describe(\n                'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n              )\n              .optional(),\n            coupon: z\n              .object({\n                code: z\n                  .string()\n                  .describe('Code of the applied coupon.')\n                  .min(1)\n                  .max(20)\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total discount of the coupon, as a monetary amount.'\n                  )\n                  .optional(),\n                _id: z\n                  .string()\n                  .describe('Coupon 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              })\n              .describe('Coupon applied to the order, from the Coupons API.')\n              .optional(),\n            discount: z\n              .string()\n              .describe('Total discount applied to the order.')\n              .optional(),\n            tax: z\n              .object({\n                name: z\n                  .string()\n                  .describe('Name of the tax. For example, VAT.')\n                  .optional(),\n                includedInPrice: z\n                  .boolean()\n                  .describe(\n                    'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                  )\n                  .optional(),\n                rate: z\n                  .string()\n                  .describe(\n                    'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                  )\n                  .optional(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n              )\n              .optional(),\n            total: z\n              .string()\n              .describe(\n                'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n              )\n              .optional(),\n            currency: z\n              .string()\n              .describe(\n                'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n              )\n              .optional(),\n            proration: z\n              .string()\n              .describe(\n                'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n              )\n              .optional(),\n          })\n          .describe('Order price.')\n          .optional(),\n      })\n    )\n    .optional(),\n});\nexport const ManagementGetOrderRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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  options: z\n    .object({ fieldSet: z.enum(['UNKNOWN_SET', 'BASIC', 'FULL']).optional() })\n    .describe('Options to use when getting an order. ')\n    .optional(),\n});\nexport const ManagementGetOrderResponse = z.object({\n  _id: z\n    .string()\n    .describe('Order 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  planId: z\n    .string()\n    .describe('ID of the plan purchased with the order, from the Plans API.')\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  subscriptionId: z\n    .string()\n    .describe(\n      'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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  wixPayOrderId: z\n    .string()\n    .describe(\n      'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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  buyer: z\n    .object({\n      memberId: z\n        .string()\n        .describe('Member ID for a Wix site member, from the Members API.')\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      contactId: z\n        .string()\n        .describe('Contact ID for a Wix site contact, from the Contacts API.')\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    })\n    .describe(\n      \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n    )\n    .optional(),\n  priceDetails: z\n    .intersection(\n      z.object({\n        subtotal: z\n          .string()\n          .describe(\n            'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n          )\n          .optional(),\n        discount: z.string().describe('Total discount applied.').optional(),\n        tax: z\n          .object({\n            name: z\n              .string()\n              .describe('Name of the tax. For example, VAT.')\n              .optional(),\n            includedInPrice: z\n              .boolean()\n              .describe(\n                'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n              )\n              .optional(),\n            rate: z\n              .string()\n              .describe(\n                'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n              )\n              .optional(),\n            amount: z\n              .string()\n              .describe(\n                'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n              )\n              .optional(),\n          })\n          .describe('Tax applied.')\n          .optional(),\n        total: z\n          .string()\n          .describe(\n            'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n          )\n          .optional(),\n        planPrice: z\n          .string()\n          .describe('Plan price as it was at the moment of order creation.')\n          .optional(),\n        currency: z\n          .string()\n          .describe(\n            'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n          )\n          .optional(),\n        freeTrialDays: z\n          .number()\n          .int()\n          .describe(\n            'Free trial period for the order in days. Only available for recurring plans.'\n          )\n          .min(1)\n          .max(999)\n          .optional()\n          .nullable(),\n        coupon: z\n          .object({\n            code: z\n              .string()\n              .describe('Code of the applied coupon.')\n              .min(1)\n              .max(20)\n              .optional(),\n            amount: z\n              .string()\n              .describe('Total discount of the coupon, as a monetary amount.')\n              .optional(),\n            _id: z\n              .string()\n              .describe('Coupon 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          })\n          .describe(\n            'Coupon applied to the order. Empty means no coupon was applied.'\n          )\n          .optional(),\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('Order has recurring payments.'),\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              'One-time payment. Order is valid for a specified duration.'\n            ),\n        }),\n        z.object({\n          subscription: z.never().optional(),\n          singlePaymentForDuration: z.never().optional(),\n          singlePaymentUnlimited: z\n            .boolean()\n            .describe('One-time payment. Order is valid until it is canceled.'),\n        }),\n      ])\n    )\n    .describe(\n      '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n    )\n    .optional(),\n  pricing: z\n    .intersection(\n      z.object({\n        prices: z\n          .array(\n            z.object({\n              duration: z\n                .object({\n                  cycleFrom: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                    )\n                    .optional(),\n                  numberOfCycles: z\n                    .number()\n                    .int()\n                    .describe(\n                      'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                    )\n                    .optional()\n                    .nullable(),\n                })\n                .describe(\n                  'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                )\n                .optional(),\n              price: z\n                .object({\n                  subtotal: z\n                    .string()\n                    .describe(\n                      'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                    )\n                    .optional(),\n                  coupon: z\n                    .object({\n                      code: z\n                        .string()\n                        .describe('Code of the applied coupon.')\n                        .min(1)\n                        .max(20)\n                        .optional(),\n                      amount: z\n                        .string()\n                        .describe(\n                          'Total discount of the coupon, as a monetary amount.'\n                        )\n                        .optional(),\n                      _id: z\n                        .string()\n                        .describe('Coupon 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                    })\n                    .describe(\n                      'Coupon applied to the order, from the Coupons API.'\n                    )\n                    .optional(),\n                  discount: z\n                    .string()\n                    .describe('Total discount applied to the order.')\n                    .optional(),\n                  tax: z\n                    .object({\n                      name: z\n                        .string()\n                        .describe('Name of the tax. For example, VAT.')\n                        .optional(),\n                      includedInPrice: z\n                        .boolean()\n                        .describe(\n                          'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                        )\n                        .optional(),\n                      rate: z\n                        .string()\n                        .describe(\n                          'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                        )\n                        .optional(),\n                      amount: z\n                        .string()\n                        .describe(\n                          'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                    )\n                    .optional(),\n                  total: z\n                    .string()\n                    .describe(\n                      'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                    )\n                    .optional(),\n                  currency: z\n                    .string()\n                    .describe(\n                      'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                    )\n                    .optional(),\n                  proration: z\n                    .string()\n                    .describe(\n                      'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                    )\n                    .optional(),\n                })\n                .describe('Order price.')\n                .optional(),\n            })\n          )\n          .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n            ),\n        }),\n      ])\n    )\n    .describe(\n      'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n    )\n    .optional(),\n  type: z\n    .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n    .describe('How the order was processed.')\n    .optional(),\n  status: z\n    .enum([\n      'UNDEFINED',\n      'DRAFT',\n      'PENDING',\n      'ACTIVE',\n      'PAUSED',\n      'ENDED',\n      'CANCELED',\n    ])\n    .describe('Status of the order.')\n    .optional(),\n  autoRenewCanceled: z\n    .boolean()\n    .describe(\n      \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n    )\n    .optional()\n    .nullable(),\n  cancellation: z\n    .object({\n      requestedDate: z\n        .date()\n        .describe('Date and time the cancellation was requested.')\n        .optional()\n        .nullable(),\n      cause: z\n        .enum([\n          'UNDEFINED',\n          'OWNER_ACTION',\n          'MEMBER_ACTION',\n          'PAYMENT_FAILURE',\n          'PAYMENT_SETUP_FAILURE',\n          'UNKNOWN',\n        ])\n        .describe('Reason for the cancellation.')\n        .optional(),\n      effectiveAt: z\n        .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n        .describe(\n          'When the cancellation takes effect. Set when cancelling the order.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n    )\n    .optional(),\n  lastPaymentStatus: z\n    .enum([\n      'UNDEFINED',\n      'PAID',\n      'REFUNDED',\n      'FAILED',\n      'UNPAID',\n      'PENDING',\n      'NOT_APPLICABLE',\n    ])\n    .describe(\n      'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n    )\n    .optional(),\n  startDate: z\n    .date()\n    .describe('Start date and time for the ordered plan.')\n    .optional()\n    .nullable(),\n  endDate: z\n    .date()\n    .describe(\n      'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n    )\n    .optional()\n    .nullable(),\n  pausePeriods: z\n    .array(\n      z.object({\n        status: z\n          .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n          .describe('Status of the pause period.')\n          .optional(),\n        pauseDate: z\n          .date()\n          .describe('Start date and time of the pause period.')\n          .optional()\n          .nullable(),\n        resumeDate: z\n          .date()\n          .describe(\n            'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n          )\n          .optional()\n          .nullable(),\n      })\n    )\n    .optional(),\n  freeTrialDays: z\n    .number()\n    .int()\n    .describe(\n      'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n    )\n    .min(1)\n    .max(999)\n    .optional()\n    .nullable(),\n  earliestEndDate: z\n    .date()\n    .describe(\n      'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n    )\n    .optional()\n    .nullable(),\n  currentCycle: z\n    .object({\n      index: z\n        .number()\n        .int()\n        .describe(\n          'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n        )\n        .min(0)\n        .optional(),\n      startedDate: z\n        .date()\n        .describe('Start date and time for the current payment cycle.')\n        .optional()\n        .nullable(),\n      endedDate: z\n        .date()\n        .describe('End date and time for the current payment cycle.')\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n    )\n    .optional(),\n  planName: z\n    .string()\n    .describe('Plan name at the time of purchase.')\n    .optional(),\n  planDescription: z\n    .string()\n    .describe('Plan description at the time of purchase')\n    .optional(),\n  planPrice: z\n    .string()\n    .describe('Plan price as it was at the moment of order creation.')\n    .optional(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the order was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the order was updated.')\n    .optional()\n    .nullable(),\n  formData: z\n    .object({\n      formId: z\n        .string()\n        .describe(\n          'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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      submissionId: z\n        .string()\n        .describe(\n          \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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      submissionData: z\n        .record(z.string(), z.any())\n        .describe(\"Data submitted to the plan's order form at checkout.\")\n        .optional(),\n    })\n    .describe(\n      \"Information about the form submitted during the plan's checkout.\"\n    )\n    .optional(),\n});\nexport const ManagementListOrdersRequest = z.object({\n  options: z\n    .object({\n      buyerIds: z.array(z.string()).optional(),\n      planIds: z.array(z.string()).optional(),\n      autoRenewCanceled: z\n        .boolean()\n        .describe(\n          'Filter by whether or not the auto-renewal of recurring orders was canceled.'\n        )\n        .optional()\n        .nullable(),\n      orderStatuses: z\n        .array(\n          z.enum([\n            'UNDEFINED',\n            'DRAFT',\n            'PENDING',\n            'ACTIVE',\n            'PAUSED',\n            'ENDED',\n            'CANCELED',\n          ])\n        )\n        .optional(),\n      paymentStatuses: z\n        .array(\n          z.enum([\n            'UNDEFINED',\n            'PAID',\n            'REFUNDED',\n            'FAILED',\n            'UNPAID',\n            'PENDING',\n            'NOT_APPLICABLE',\n          ])\n        )\n        .optional(),\n      limit: z\n        .number()\n        .int()\n        .describe(\n          'Number of orders to return. See Sorting and Paging for more information.\\n\\nMax: `50`'\n        )\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      offset: z\n        .number()\n        .int()\n        .describe('Number of orders to skip in the current sort order.')\n        .min(0)\n        .optional()\n        .nullable(),\n      sorting: z\n        .object({\n          fieldName: z\n            .string()\n            .describe('Name of the field to sort by.')\n            .max(512)\n            .optional(),\n          order: z.enum(['ASC', 'DESC']).optional(),\n        })\n        .describe(\n          'Sort order.\\n\\nUse `ASC` for ascending order or `DESC` for descending order.\\n\\nDefault: `DESC`.'\n        )\n        .optional(),\n      fieldSet: z.enum(['UNKNOWN_SET', 'BASIC', 'FULL']).optional(),\n    })\n    .describe('Filtering, sorting, and pagination options. ')\n    .optional(),\n});\nexport const ManagementListOrdersResponse = z.object({\n  orders: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Order 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        planId: z\n          .string()\n          .describe(\n            'ID of the plan purchased with the order, from the Plans API.'\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        subscriptionId: z\n          .string()\n          .describe(\n            'ID of the related Wix subscription.\\n\\nEvery pricing plan order corresponds to a Wix subscription, including orders for single payment plans. Learn more in\\na [Pricing Plans overview](https://support.wix.com/en/article/pricing-plans-an-overview#create-plans-to-suit-your-business).'\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        wixPayOrderId: z\n          .string()\n          .describe(\n            'Wix Pay order ID.\\n\\nProvided by Wix whether the order is created online or offline. The field is omitted when the order is free.'\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        buyer: z\n          .object({\n            memberId: z\n              .string()\n              .describe(\n                'Member ID for a Wix site member, from the Members API.'\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            contactId: z\n              .string()\n              .describe(\n                'Contact ID for a Wix site contact, from the Contacts API.'\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          })\n          .describe(\n            \"The buyer's IDs. Includes `memberId` and `contactId`.\\n\\nCurrently, Pricing Plan purchases are limited to members only. `contactId` is returned,\\nbut a buyer will not be able to purchase a plan without a `memberId`.\"\n          )\n          .optional(),\n        priceDetails: z\n          .intersection(\n            z.object({\n              subtotal: z\n                .string()\n                .describe(\n                  'Price of the order excluding tax, specified as a monetary amount. for example, `\"9.99\"`.'\n                )\n                .optional(),\n              discount: z\n                .string()\n                .describe('Total discount applied.')\n                .optional(),\n              tax: z\n                .object({\n                  name: z\n                    .string()\n                    .describe('Name of the tax. For example, VAT.')\n                    .optional(),\n                  includedInPrice: z\n                    .boolean()\n                    .describe(\n                      'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                    )\n                    .optional(),\n                  rate: z\n                    .string()\n                    .describe(\n                      'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                    )\n                    .optional(),\n                  amount: z\n                    .string()\n                    .describe(\n                      'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                    )\n                    .optional(),\n                })\n                .describe('Tax applied.')\n                .optional(),\n              total: z\n                .string()\n                .describe(\n                  'Price after tax and discount is applied, specified as a monetary amount. For example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                )\n                .optional(),\n              planPrice: z\n                .string()\n                .describe(\n                  'Plan price as it was at the moment of order creation.'\n                )\n                .optional(),\n              currency: z\n                .string()\n                .describe(\n                  'Currency code. Must be valid ISO 4217 currency code (e.g., USD).'\n                )\n                .optional(),\n              freeTrialDays: z\n                .number()\n                .int()\n                .describe(\n                  'Free trial period for the order in days. Only available for recurring plans.'\n                )\n                .min(1)\n                .max(999)\n                .optional()\n                .nullable(),\n              coupon: z\n                .object({\n                  code: z\n                    .string()\n                    .describe('Code of the applied coupon.')\n                    .min(1)\n                    .max(20)\n                    .optional(),\n                  amount: z\n                    .string()\n                    .describe(\n                      'Total discount of the coupon, as a monetary amount.'\n                    )\n                    .optional(),\n                  _id: z\n                    .string()\n                    .describe('Coupon 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                })\n                .describe(\n                  'Coupon applied to the order. Empty means no coupon was applied.'\n                )\n                .optional(),\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('Order has recurring payments.'),\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                    'One-time payment. Order is valid for a specified duration.'\n                  ),\n              }),\n              z.object({\n                subscription: z.never().optional(),\n                singlePaymentForDuration: z.never().optional(),\n                singlePaymentUnlimited: z\n                  .boolean()\n                  .describe(\n                    'One-time payment. Order is valid until it is canceled.'\n                  ),\n              }),\n            ])\n          )\n          .describe(\n            '__Deprecated.__ Use `pricing` instead. This property will be removed on September 30, 2022.'\n          )\n          .optional(),\n        pricing: z\n          .intersection(\n            z.object({\n              prices: z\n                .array(\n                  z.object({\n                    duration: z\n                      .object({\n                        cycleFrom: z\n                          .number()\n                          .int()\n                          .describe(\n                            'Price starts to apply with this cycle.\\n\\n`1` is the first payment cycle for all pricing models.'\n                          )\n                          .optional(),\n                        numberOfCycles: z\n                          .number()\n                          .int()\n                          .describe(\n                            'Amount of cycles to apply price for.\\n\\nFor `subscription` pricing models with a finite number of cycles, the `numberOfCycles` is the same as `pricing.subscription.cycleCount`.\\n\\nFor `subscription` pricing models that are unlimited or until-canceled, the `numberOfCycles` is not returned.\\n\\nFor `singlePaymentForDuration` and `singlePaymentUnlimited` pricing models, the `numberOfCycles` is `1`.'\n                          )\n                          .optional()\n                          .nullable(),\n                      })\n                      .describe(\n                        'Cycle duration to apply `price` for.\\n\\nUse with all pricing models.\\nCan apply the same price to multiple payment cycles.'\n                      )\n                      .optional(),\n                    price: z\n                      .object({\n                        subtotal: z\n                          .string()\n                          .describe(\n                            'Price of the order excluding tax, specified as a monetary amount. For example, `\"9.99\"`.'\n                          )\n                          .optional(),\n                        coupon: z\n                          .object({\n                            code: z\n                              .string()\n                              .describe('Code of the applied coupon.')\n                              .min(1)\n                              .max(20)\n                              .optional(),\n                            amount: z\n                              .string()\n                              .describe(\n                                'Total discount of the coupon, as a monetary amount.'\n                              )\n                              .optional(),\n                            _id: z\n                              .string()\n                              .describe('Coupon 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                          })\n                          .describe(\n                            'Coupon applied to the order, from the Coupons API.'\n                          )\n                          .optional(),\n                        discount: z\n                          .string()\n                          .describe('Total discount applied to the order.')\n                          .optional(),\n                        tax: z\n                          .object({\n                            name: z\n                              .string()\n                              .describe('Name of the tax. For example, VAT.')\n                              .optional(),\n                            includedInPrice: z\n                              .boolean()\n                              .describe(\n                                'Whether tax is included in the original price. When `false`, tax is added at checkout.'\n                              )\n                              .optional(),\n                            rate: z\n                              .string()\n                              .describe(\n                                'Tax rate percentage, as a number between 0 and 100. For example, a 7% tax rate is `\"7.00\"`.'\n                              )\n                              .optional(),\n                            amount: z\n                              .string()\n                              .describe(\n                                'Total tax, specified as a monetary amount. For example, `\"3.99\"`.'\n                              )\n                              .optional(),\n                          })\n                          .describe(\n                            'Tax applied to the order.\\n\\nTax is only applied if the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection).'\n                          )\n                          .optional(),\n                        total: z\n                          .string()\n                          .describe(\n                            'Price after tax and discount is applied. Specified as a monetary amount, for example, `\"13.98\"`.\\n\\nIf no tax is applied, the amount is the same as `subtotal`.'\n                          )\n                          .optional(),\n                        currency: z\n                          .string()\n                          .describe(\n                            'Three-letter currency code in\\n[ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.'\n                          )\n                          .optional(),\n                        proration: z\n                          .string()\n                          .describe(\n                            'Price change after billing date was change and price was adjusted. Could be positive and negative values.'\n                          )\n                          .optional(),\n                      })\n                      .describe('Order price.')\n                      .optional(),\n                  })\n                )\n                .optional(),\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 for an order with recurring payment cycles.'\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 for an order with a one-time payment and the order is valid for a specific amount of time.'\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 for an order with a one-time payment and the order is valid until canceled.'\n                  ),\n              }),\n            ])\n          )\n          .describe(\n            'Order pricing model, price, and payment schedule.\\n\\nLearn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).'\n          )\n          .optional(),\n        type: z\n          .enum(['UNDEFINED', 'ONLINE', 'OFFLINE', 'EXTERNAL'])\n          .describe('How the order was processed.')\n          .optional(),\n        status: z\n          .enum([\n            'UNDEFINED',\n            'DRAFT',\n            'PENDING',\n            'ACTIVE',\n            'PAUSED',\n            'ENDED',\n            'CANCELED',\n          ])\n          .describe('Status of the order.')\n          .optional(),\n        autoRenewCanceled: z\n          .boolean()\n          .describe(\n            \"Whether the order will be canceled at the next payment date.\\n\\nIf `true`, the order status will be `CANCELED` and the next payment won't be charged. Omitted for single payment orders.\"\n          )\n          .optional()\n          .nullable(),\n        cancellation: z\n          .object({\n            requestedDate: z\n              .date()\n              .describe('Date and time the cancellation was requested.')\n              .optional()\n              .nullable(),\n            cause: z\n              .enum([\n                'UNDEFINED',\n                'OWNER_ACTION',\n                'MEMBER_ACTION',\n                'PAYMENT_FAILURE',\n                'PAYMENT_SETUP_FAILURE',\n                'UNKNOWN',\n              ])\n              .describe('Reason for the cancellation.')\n              .optional(),\n            effectiveAt: z\n              .enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE'])\n              .describe(\n                'When the cancellation takes effect. Set when cancelling the order.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Details about the cancellation of an order.\\n\\nOnly present if the status is `CANCELED`.'\n          )\n          .optional(),\n        lastPaymentStatus: z\n          .enum([\n            'UNDEFINED',\n            'PAID',\n            'REFUNDED',\n            'FAILED',\n            'UNPAID',\n            'PENDING',\n            'NOT_APPLICABLE',\n          ])\n          .describe(\n            'Status of the last payment for the order.\\nUpdated automatically for online orders. Updated manually by the Wix user for offline orders.'\n          )\n          .optional(),\n        startDate: z\n          .date()\n          .describe('Start date and time for the ordered plan.')\n          .optional()\n          .nullable(),\n        endDate: z\n          .date()\n          .describe(\n            'Current end date and time for the ordered plan.\\n\\n`endDate` may be updated over the course of an order.\\nIf the order is paused, it will have a later `endDate` once it is resumed.\\n`endDate` may also be postponed.\\n\\nOmitted if the order is valid until canceled and still `ACTIVE`.'\n          )\n          .optional()\n          .nullable(),\n        pausePeriods: z\n          .array(\n            z.object({\n              status: z\n                .enum(['UNDEFINED', 'ACTIVE', 'ENDED'])\n                .describe('Status of the pause period.')\n                .optional(),\n              pauseDate: z\n                .date()\n                .describe('Start date and time of the pause period.')\n                .optional()\n                .nullable(),\n              resumeDate: z\n                .date()\n                .describe(\n                  'End date and time of the pause period.\\n\\nOmitted while the pause period remains `ACTIVE`.'\n                )\n                .optional()\n                .nullable(),\n            })\n          )\n          .optional(),\n        freeTrialDays: z\n          .number()\n          .int()\n          .describe(\n            'Free trial period for the order, in days.\\n\\nOnly available for recurring plans.'\n          )\n          .min(1)\n          .max(999)\n          .optional()\n          .nullable(),\n        earliestEndDate: z\n          .date()\n          .describe(\n            'Earliest end date and time that the plan for the order can expire.\\n\\nCalculated by using the original end date plus any pause periods. Omitted if the order is active until canceled. Reserved for future use.'\n          )\n          .optional()\n          .nullable(),\n        currentCycle: z\n          .object({\n            index: z\n              .number()\n              .int()\n              .describe(\n                'Index of the current payment cycle in the order.\\n\\n`0` when order is in a free trial period. In all other cases, the index starts with `1`.'\n              )\n              .min(0)\n              .optional(),\n            startedDate: z\n              .date()\n              .describe('Start date and time for the current payment cycle.')\n              .optional()\n              .nullable(),\n            endedDate: z\n              .date()\n              .describe('End date and time for the current payment cycle.')\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            \"Current payment cycle for the order.\\n\\n`currentCycle` will be omitted if the order's status is `CANCELED` or `ENDED`, or if the `startDate` hasn't passed yet.\"\n          )\n          .optional(),\n        planName: z\n          .string()\n          .describe('Plan name at the time of purchase.')\n          .optional(),\n        planDescription: z\n          .string()\n          .describe('Plan description at the time of purchase')\n          .optional(),\n        planPrice: z\n          .string()\n          .describe('Plan price as it was at the moment of order creation.')\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the order was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date and time the order was updated.')\n          .optional()\n          .nullable(),\n        formData: z\n          .object({\n            formId: z\n              .string()\n              .describe(\n                'ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.'\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            submissionId: z\n              .string()\n              .describe(\n                \"ID of a submission to the plan's order form at checkout. Every time a visitor completes the checkout process for a plan, a new submission is created.\"\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            submissionData: z\n              .record(z.string(), z.any())\n              .describe(\"Data submitted to the plan's order form at checkout.\")\n              .optional(),\n          })\n          .describe(\n            \"Information about the form submitted during the plan's checkout.\"\n          )\n          .optional(),\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 (number of orders returned, offset).'\n    )\n    .optional(),\n});\nexport const PostponeEndDateRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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  endDate: z\n    .date()\n    .describe(\n      'New end date and time.\\n\\nMust be later than the current end date and time.'\n    ),\n});\nexport const PostponeEndDateResponse = z.object({});\nexport const CancelOrderRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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  effectiveAt: z.enum(['UNDEFINED', 'IMMEDIATELY', 'NEXT_PAYMENT_DATE']),\n});\nexport const CancelOrderResponse = z.object({});\nexport const MarkAsPaidRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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 MarkAsPaidResponse = z.object({});\nexport const PauseOrderRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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 PauseOrderResponse = z.object({});\nexport const ResumeOrderRequest = z.object({\n  _id: z\n    .string()\n    .describe('Order 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 ResumeOrderResponse = z.object({});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,wBAA0B,SAAO;AAAA,EAC5C,KACG,SAAO,EACP,SAAS,WAAW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