{"version":3,"sources":["../../src/ecom-v1-delivery-profile-delivery-profile.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateDeliveryProfileRequest = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z.string().describe('Delivery profile name.').min(1).max(256),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    ),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Delivery profile to create.'),\n});\nexport const CreateDeliveryProfileResponse = z.object({\n  _id: z\n    .string()\n    .describe('Delivery profile 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    .nullable(),\n  name: z\n    .string()\n    .describe('Delivery profile name.')\n    .min(1)\n    .max(256)\n    .optional()\n    .nullable(),\n  default: z\n    .boolean()\n    .describe(\n      \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n    )\n    .optional()\n    .nullable(),\n  deliveryRegions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Delivery region 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          .nullable(),\n        name: z\n          .string()\n          .describe(\n            'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n          )\n          .min(1)\n          .max(256)\n          .optional()\n          .nullable(),\n        active: z\n          .boolean()\n          .describe(\n            'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n          )\n          .optional()\n          .nullable(),\n        deliveryCarriers: z\n          .array(\n            z.object({\n              appId: z\n                .string()\n                .describe(\n                  'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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              backupRate: z\n                .object({\n                  title: z\n                    .string()\n                    .describe(\n                      'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                    )\n                    .min(1)\n                    .max(256)\n                    .optional()\n                    .nullable(),\n                  amount: z\n                    .string()\n                    .describe('Backup rate amount.')\n                    .optional()\n                    .nullable(),\n                  active: z\n                    .boolean()\n                    .describe(\n                      'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                    )\n                    .optional(),\n                })\n                .describe(\n                  \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                )\n                .optional(),\n              additionalCharges: z\n                .array(\n                  z.object({\n                    description: z\n                      .string()\n                      .describe(\n                        'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                      )\n                      .max(250)\n                      .optional()\n                      .nullable(),\n                    amount: z\n                      .string()\n                      .describe(\n                        'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                      )\n                      .max(16)\n                      .optional(),\n                  })\n                )\n                .max(10)\n                .optional(),\n            })\n          )\n          .min(0)\n          .max(25)\n          .optional(),\n        destinations: z\n          .array(\n            z.object({\n              countryCode: z\n                .string()\n                .describe(\n                  '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                )\n                .optional(),\n              subdivisions: z.array(z.string()).min(0).max(100).optional(),\n            })\n          )\n          .min(0)\n          .max(250)\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the delivery region was created.')\n          .optional()\n          .nullable(),\n      })\n    )\n    .min(0)\n    .max(100)\n    .optional(),\n  createdBy: z\n    .intersection(\n      z.object({}),\n      z.xor([\n        z.object({ appId: z.never().optional(), userId: z.never().optional() }),\n        z.object({\n          userId: z.never().optional(),\n          appId: z\n            .string()\n            .describe(\n              'App ID, when the delivery profile was created by an external application or Wix service.'\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        }),\n        z.object({\n          appId: z.never().optional(),\n          userId: z\n            .string()\n            .describe(\n              'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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        }),\n      ])\n    )\n    .describe(\n      'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n    )\n    .optional(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the delivery profile was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the delivery profile was last updated.')\n    .optional()\n    .nullable(),\n  extendedFields: z\n    .object({\n      namespaces: z\n        .record(z.string(), z.record(z.string(), z.any()))\n        .describe(\n          'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n        )\n        .optional(),\n    })\n    .describe(\n      'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n    )\n    .optional(),\n});\nexport const GetDeliveryProfileRequest = z.object({\n  deliveryProfileId: z\n    .string()\n    .describe('Delivery profile 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 GetDeliveryProfileResponse = z.object({\n  _id: z\n    .string()\n    .describe('Delivery profile 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    .nullable(),\n  name: z\n    .string()\n    .describe('Delivery profile name.')\n    .min(1)\n    .max(256)\n    .optional()\n    .nullable(),\n  default: z\n    .boolean()\n    .describe(\n      \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n    )\n    .optional()\n    .nullable(),\n  deliveryRegions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Delivery region 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          .nullable(),\n        name: z\n          .string()\n          .describe(\n            'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n          )\n          .min(1)\n          .max(256)\n          .optional()\n          .nullable(),\n        active: z\n          .boolean()\n          .describe(\n            'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n          )\n          .optional()\n          .nullable(),\n        deliveryCarriers: z\n          .array(\n            z.object({\n              appId: z\n                .string()\n                .describe(\n                  'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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              backupRate: z\n                .object({\n                  title: z\n                    .string()\n                    .describe(\n                      'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                    )\n                    .min(1)\n                    .max(256)\n                    .optional()\n                    .nullable(),\n                  amount: z\n                    .string()\n                    .describe('Backup rate amount.')\n                    .optional()\n                    .nullable(),\n                  active: z\n                    .boolean()\n                    .describe(\n                      'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                    )\n                    .optional(),\n                })\n                .describe(\n                  \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                )\n                .optional(),\n              additionalCharges: z\n                .array(\n                  z.object({\n                    description: z\n                      .string()\n                      .describe(\n                        'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                      )\n                      .max(250)\n                      .optional()\n                      .nullable(),\n                    amount: z\n                      .string()\n                      .describe(\n                        'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                      )\n                      .max(16)\n                      .optional(),\n                  })\n                )\n                .max(10)\n                .optional(),\n            })\n          )\n          .min(0)\n          .max(25)\n          .optional(),\n        destinations: z\n          .array(\n            z.object({\n              countryCode: z\n                .string()\n                .describe(\n                  '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                )\n                .optional(),\n              subdivisions: z.array(z.string()).min(0).max(100).optional(),\n            })\n          )\n          .min(0)\n          .max(250)\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the delivery region was created.')\n          .optional()\n          .nullable(),\n      })\n    )\n    .min(0)\n    .max(100)\n    .optional(),\n  createdBy: z\n    .intersection(\n      z.object({}),\n      z.xor([\n        z.object({ appId: z.never().optional(), userId: z.never().optional() }),\n        z.object({\n          userId: z.never().optional(),\n          appId: z\n            .string()\n            .describe(\n              'App ID, when the delivery profile was created by an external application or Wix service.'\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        }),\n        z.object({\n          appId: z.never().optional(),\n          userId: z\n            .string()\n            .describe(\n              'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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        }),\n      ])\n    )\n    .describe(\n      'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n    )\n    .optional(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the delivery profile was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the delivery profile was last updated.')\n    .optional()\n    .nullable(),\n  extendedFields: z\n    .object({\n      namespaces: z\n        .record(z.string(), z.record(z.string(), z.any()))\n        .describe(\n          'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n        )\n        .optional(),\n    })\n    .describe(\n      'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n    )\n    .optional(),\n});\nexport const UpdateDeliveryProfileRequest = z.object({\n  _id: z\n    .string()\n    .describe('Delivery profile 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  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        ),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Delivery profile to update.'),\n});\nexport const UpdateDeliveryProfileResponse = z.object({\n  _id: z\n    .string()\n    .describe('Delivery profile 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    .nullable(),\n  name: z\n    .string()\n    .describe('Delivery profile name.')\n    .min(1)\n    .max(256)\n    .optional()\n    .nullable(),\n  default: z\n    .boolean()\n    .describe(\n      \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n    )\n    .optional()\n    .nullable(),\n  deliveryRegions: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Delivery region 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          .nullable(),\n        name: z\n          .string()\n          .describe(\n            'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n          )\n          .min(1)\n          .max(256)\n          .optional()\n          .nullable(),\n        active: z\n          .boolean()\n          .describe(\n            'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n          )\n          .optional()\n          .nullable(),\n        deliveryCarriers: z\n          .array(\n            z.object({\n              appId: z\n                .string()\n                .describe(\n                  'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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              backupRate: z\n                .object({\n                  title: z\n                    .string()\n                    .describe(\n                      'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                    )\n                    .min(1)\n                    .max(256)\n                    .optional()\n                    .nullable(),\n                  amount: z\n                    .string()\n                    .describe('Backup rate amount.')\n                    .optional()\n                    .nullable(),\n                  active: z\n                    .boolean()\n                    .describe(\n                      'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                    )\n                    .optional(),\n                })\n                .describe(\n                  \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                )\n                .optional(),\n              additionalCharges: z\n                .array(\n                  z.object({\n                    description: z\n                      .string()\n                      .describe(\n                        'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                      )\n                      .max(250)\n                      .optional()\n                      .nullable(),\n                    amount: z\n                      .string()\n                      .describe(\n                        'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                      )\n                      .max(16)\n                      .optional(),\n                  })\n                )\n                .max(10)\n                .optional(),\n            })\n          )\n          .min(0)\n          .max(25)\n          .optional(),\n        destinations: z\n          .array(\n            z.object({\n              countryCode: z\n                .string()\n                .describe(\n                  '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                )\n                .optional(),\n              subdivisions: z.array(z.string()).min(0).max(100).optional(),\n            })\n          )\n          .min(0)\n          .max(250)\n          .optional(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the delivery region was created.')\n          .optional()\n          .nullable(),\n      })\n    )\n    .min(0)\n    .max(100)\n    .optional(),\n  createdBy: z\n    .intersection(\n      z.object({}),\n      z.xor([\n        z.object({ appId: z.never().optional(), userId: z.never().optional() }),\n        z.object({\n          userId: z.never().optional(),\n          appId: z\n            .string()\n            .describe(\n              'App ID, when the delivery profile was created by an external application or Wix service.'\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        }),\n        z.object({\n          appId: z.never().optional(),\n          userId: z\n            .string()\n            .describe(\n              'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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        }),\n      ])\n    )\n    .describe(\n      'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n    )\n    .optional(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the delivery profile was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the delivery profile was last updated.')\n    .optional()\n    .nullable(),\n  extendedFields: z\n    .object({\n      namespaces: z\n        .record(z.string(), z.record(z.string(), z.any()))\n        .describe(\n          'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n        )\n        .optional(),\n    })\n    .describe(\n      'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n    )\n    .optional(),\n});\nexport const DeleteDeliveryProfileRequest = z.object({\n  deliveryProfileId: z\n    .string()\n    .describe('Delivery profile 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 DeleteDeliveryProfileResponse = z.object({});\nexport const QueryDeliveryProfilesRequest = z.object({\n  query: z\n    .intersection(\n      z.object({\n        filter: z\n          .record(z.string(), z.any())\n          .describe(\n            'Filter object in the following format:\\n`\"filter\" : {\\n\"fieldName1\": \"value1\",\\n\"fieldName2\":{\"$operator\":\"value2\"}\\n}`\\nExample of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`'\n          )\n          .optional()\n          .nullable(),\n        sort: z\n          .array(\n            z.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          )\n          .max(5)\n          .optional(),\n      }),\n      z.xor([\n        z.object({ cursorPaging: z.never().optional() }),\n        z.object({\n          cursorPaging: z\n            .object({\n              limit: z\n                .number()\n                .int()\n                .describe('Maximum number of items to return in the results.')\n                .min(0)\n                .max(100)\n                .optional()\n                .nullable(),\n              cursor: z\n                .string()\n                .describe(\n                  \"Pointer to the next or previous page in the list of results.\\n\\nPass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\\nNot relevant for the first request.\"\n                )\n                .max(16000)\n                .optional()\n                .nullable(),\n            })\n            .describe(\n              'Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.'\n            ),\n        }),\n      ])\n    )\n    .describe('Query options.'),\n});\nexport const QueryDeliveryProfilesResponse = z.object({\n  deliveryProfiles: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Delivery profile 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          .nullable(),\n        name: z\n          .string()\n          .describe('Delivery profile name.')\n          .min(1)\n          .max(256)\n          .optional()\n          .nullable(),\n        default: z\n          .boolean()\n          .describe(\n            \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n          )\n          .optional()\n          .nullable(),\n        deliveryRegions: z\n          .array(\n            z.object({\n              _id: z\n                .string()\n                .describe('Delivery region 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                .nullable(),\n              name: z\n                .string()\n                .describe(\n                  'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n                )\n                .min(1)\n                .max(256)\n                .optional()\n                .nullable(),\n              active: z\n                .boolean()\n                .describe(\n                  'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n                )\n                .optional()\n                .nullable(),\n              deliveryCarriers: z\n                .array(\n                  z.object({\n                    appId: z\n                      .string()\n                      .describe(\n                        'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                    backupRate: z\n                      .object({\n                        title: z\n                          .string()\n                          .describe(\n                            'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                          )\n                          .min(1)\n                          .max(256)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe('Backup rate amount.')\n                          .optional()\n                          .nullable(),\n                        active: z\n                          .boolean()\n                          .describe(\n                            'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                          )\n                          .optional(),\n                      })\n                      .describe(\n                        \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                      )\n                      .optional(),\n                    additionalCharges: z\n                      .array(\n                        z.object({\n                          description: z\n                            .string()\n                            .describe(\n                              'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                            )\n                            .max(250)\n                            .optional()\n                            .nullable(),\n                          amount: z\n                            .string()\n                            .describe(\n                              'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                            )\n                            .max(16)\n                            .optional(),\n                        })\n                      )\n                      .max(10)\n                      .optional(),\n                  })\n                )\n                .min(0)\n                .max(25)\n                .optional(),\n              destinations: z\n                .array(\n                  z.object({\n                    countryCode: z\n                      .string()\n                      .describe(\n                        '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                      )\n                      .optional(),\n                    subdivisions: z\n                      .array(z.string())\n                      .min(0)\n                      .max(100)\n                      .optional(),\n                  })\n                )\n                .min(0)\n                .max(250)\n                .optional(),\n              _createdDate: z\n                .date()\n                .describe('Date and time the delivery region was created.')\n                .optional()\n                .nullable(),\n            })\n          )\n          .min(0)\n          .max(100)\n          .optional(),\n        createdBy: z\n          .intersection(\n            z.object({}),\n            z.xor([\n              z.object({\n                appId: z.never().optional(),\n                userId: z.never().optional(),\n              }),\n              z.object({\n                userId: z.never().optional(),\n                appId: z\n                  .string()\n                  .describe(\n                    'App ID, when the delivery profile was created by an external application or Wix service.'\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              }),\n              z.object({\n                appId: z.never().optional(),\n                userId: z\n                  .string()\n                  .describe(\n                    'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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              }),\n            ])\n          )\n          .describe(\n            'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n          )\n          .optional(),\n        revision: z\n          .string()\n          .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n          .describe(\n            'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n          )\n          .optional()\n          .nullable(),\n        _createdDate: z\n          .date()\n          .describe('Date and time the delivery profile was created.')\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe('Date and time the delivery profile was last updated.')\n          .optional()\n          .nullable(),\n        extendedFields: z\n          .object({\n            namespaces: z\n              .record(z.string(), z.record(z.string(), z.any()))\n              .describe(\n                'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n              )\n              .optional(),\n          })\n          .describe(\n            'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n          )\n          .optional(),\n      })\n    )\n    .min(0)\n    .max(100)\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      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          'Cursor strings that point to the next page, previous page, or both.'\n        )\n        .optional(),\n      hasNext: z\n        .boolean()\n        .describe(\n          'Whether there are more pages to retrieve following the current page.\\n\\n+ `true`: Another page of results can be retrieved.\\n+ `false`: This is the last page.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('Paging metadata.')\n    .optional(),\n});\nexport const AddDeliveryRegionRequest = z.object({\n  deliveryProfileId: z\n    .string()\n    .describe('Delivery profile 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  deliveryRegion: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery region 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        .nullable(),\n      name: z\n        .string()\n        .describe(\n          'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n        )\n        .min(1)\n        .max(256),\n      active: z\n        .boolean()\n        .describe(\n          'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n        )\n        .optional()\n        .nullable(),\n      deliveryCarriers: z\n        .array(\n          z.object({\n            appId: z\n              .string()\n              .describe(\n                'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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            backupRate: z\n              .object({\n                title: z\n                  .string()\n                  .describe(\n                    'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                  )\n                  .min(1)\n                  .max(256)\n                  .optional()\n                  .nullable(),\n                amount: z\n                  .string()\n                  .describe('Backup rate amount.')\n                  .optional()\n                  .nullable(),\n                active: z\n                  .boolean()\n                  .describe(\n                    'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                  )\n                  .optional(),\n              })\n              .describe(\n                \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n              )\n              .optional(),\n            additionalCharges: z\n              .array(\n                z.object({\n                  description: z\n                    .string()\n                    .describe(\n                      'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                    )\n                    .max(250)\n                    .optional()\n                    .nullable(),\n                  amount: z\n                    .string()\n                    .describe(\n                      'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                    )\n                    .max(16)\n                    .optional(),\n                })\n              )\n              .max(10)\n              .optional(),\n          })\n        )\n        .min(0)\n        .max(25)\n        .optional(),\n      destinations: z\n        .array(\n          z.object({\n            countryCode: z\n              .string()\n              .describe(\n                '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n              ),\n            subdivisions: z.array(z.string()).min(0).max(100).optional(),\n          })\n        )\n        .min(0)\n        .max(250)\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery region was created.')\n        .optional()\n        .nullable(),\n    })\n    .describe('Delivery region to add.'),\n  options: z\n    .object({\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe('Delivery profile revision.')\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const AddDeliveryRegionResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Updated delivery profile with the new delivery region.')\n    .optional(),\n});\nexport const UpdateDeliveryRegionRequest = z.object({\n  identifiers: z.object({\n    deliveryProfileId: z\n      .string()\n      .describe('Delivery profile 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    deliveryRegionId: z\n      .string()\n      .describe('Delivery region 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  }),\n  deliveryRegion: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery region 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        .nullable(),\n      name: z\n        .string()\n        .describe(\n          'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n        )\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      active: z\n        .boolean()\n        .describe(\n          'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n        )\n        .optional()\n        .nullable(),\n      deliveryCarriers: z\n        .array(\n          z.object({\n            appId: z\n              .string()\n              .describe(\n                'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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            backupRate: z\n              .object({\n                title: z\n                  .string()\n                  .describe(\n                    'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                  )\n                  .min(1)\n                  .max(256)\n                  .optional()\n                  .nullable(),\n                amount: z\n                  .string()\n                  .describe('Backup rate amount.')\n                  .optional()\n                  .nullable(),\n                active: z\n                  .boolean()\n                  .describe(\n                    'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                  )\n                  .optional(),\n              })\n              .describe(\n                \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n              )\n              .optional(),\n            additionalCharges: z\n              .array(\n                z.object({\n                  description: z\n                    .string()\n                    .describe(\n                      'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                    )\n                    .max(250)\n                    .optional()\n                    .nullable(),\n                  amount: z\n                    .string()\n                    .describe(\n                      'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                    )\n                    .max(16)\n                    .optional(),\n                })\n              )\n              .max(10)\n              .optional(),\n          })\n        )\n        .min(0)\n        .max(25)\n        .optional(),\n      destinations: z\n        .array(\n          z.object({\n            countryCode: z\n              .string()\n              .describe(\n                '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n              )\n              .optional(),\n            subdivisions: z.array(z.string()).min(0).max(100).optional(),\n          })\n        )\n        .min(0)\n        .max(250)\n        .optional(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery region was created.')\n        .optional()\n        .nullable(),\n    })\n    .describe('Delivery region to update.'),\n  options: z\n    .object({\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe('Delivery profile revision.')\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const UpdateDeliveryRegionResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Updated delivery profile with the updated delivery region.')\n    .optional(),\n});\nexport const GetDeliveryProfileByDeliveryRegionIdRequest = z.object({\n  deliveryRegionId: z\n    .string()\n    .describe('Delivery region 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 GetDeliveryProfileByDeliveryRegionIdResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Delivery profile containing the requested region.')\n    .optional(),\n});\nexport const RemoveDeliveryRegionRequest = z.object({\n  identifiers: z.object({\n    deliveryProfileId: z\n      .string()\n      .describe('Delivery profile 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    deliveryRegionId: z\n      .string()\n      .describe('Delivery region 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  }),\n  options: z\n    .object({\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe('Delivery profile revision.')\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const RemoveDeliveryRegionResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Updated delivery profile with the delivery region removed.')\n    .optional(),\n});\nexport const AddDeliveryCarrierRequest = z.object({\n  deliveryRegionId: z\n    .string()\n    .describe('Delivery region 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.object({\n    deliveryCarrier: z\n      .object({\n        appId: z\n          .string()\n          .describe(\n            'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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        backupRate: z\n          .object({\n            title: z\n              .string()\n              .describe(\n                'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            amount: z.string().describe('Backup rate amount.'),\n            active: z\n              .boolean()\n              .describe(\n                'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n              )\n              .optional(),\n          })\n          .describe(\n            \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n          )\n          .optional(),\n        additionalCharges: z\n          .array(\n            z.object({\n              description: z\n                .string()\n                .describe(\n                  'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                )\n                .max(250)\n                .optional()\n                .nullable(),\n              amount: z\n                .string()\n                .describe(\n                  'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                )\n                .max(16)\n                .optional(),\n            })\n          )\n          .max(10)\n          .optional(),\n      })\n      .describe('Delivery carrier to add.'),\n  }),\n});\nexport const AddDeliveryCarrierResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Updated delivery profile.')\n    .optional(),\n});\nexport const RemoveDeliveryCarrierRequest = z.object({\n  deliveryRegionId: z\n    .string()\n    .describe('Delivery region 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.object({\n    appId: z\n      .string()\n      .describe('App ID of the delivery carrier to remove.')\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  }),\n});\nexport const RemoveDeliveryCarrierResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Updated delivery profile.')\n    .optional(),\n});\nexport const UpdateDeliveryCarrierRequest = z.object({\n  deliveryRegionId: z\n    .string()\n    .describe('Delivery region 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      deliveryCarrier: z\n        .object({\n          appId: z\n            .string()\n            .describe(\n              'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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          backupRate: z\n            .object({\n              title: z\n                .string()\n                .describe(\n                  'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                )\n                .min(1)\n                .max(256)\n                .optional()\n                .nullable(),\n              amount: z\n                .string()\n                .describe('Backup rate amount.')\n                .optional()\n                .nullable(),\n              active: z\n                .boolean()\n                .describe(\n                  'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                )\n                .optional(),\n            })\n            .describe(\n              \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n            )\n            .optional(),\n          additionalCharges: z\n            .array(\n              z.object({\n                description: z\n                  .string()\n                  .describe(\n                    'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                  )\n                  .max(250)\n                  .optional()\n                  .nullable(),\n                amount: z\n                  .string()\n                  .describe(\n                    'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                  )\n                  .max(16)\n                  .optional(),\n              })\n            )\n            .max(10)\n            .optional(),\n        })\n        .describe('Delivery carrier to update.')\n        .optional(),\n    })\n    .optional(),\n});\nexport const UpdateDeliveryCarrierResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Updated delivery profile with the updated delivery carrier.')\n    .optional(),\n});\nexport const ListInstalledDeliveryCarriersRequest = z.object({});\nexport const ListInstalledDeliveryCarriersResponse = z.object({\n  installedDeliveryCarriers: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Carrier app 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        displayName: z\n          .string()\n          .describe('Carrier display name.')\n          .max(256)\n          .optional(),\n        description: z\n          .string()\n          .describe('Carrier description.')\n          .max(200)\n          .optional()\n          .nullable(),\n        learnMoreUrl: z\n          .string()\n          .describe('URL to learn more about the carrier.')\n          .max(200)\n          .optional()\n          .nullable(),\n        dashboardUrl: z\n          .string()\n          .describe(\"URL to the carrier's dashboard.\")\n          .min(1)\n          .max(2048)\n          .url()\n          .optional()\n          .nullable(),\n        fallbackDefinitionMandatory: z\n          .boolean()\n          .describe('Whether a backup rate is required for this carrier.')\n          .optional()\n          .nullable(),\n        thumbnailUrl: z\n          .string()\n          .describe(\"URL for the carrier's thumbnail image.\")\n          .url()\n          .optional()\n          .nullable(),\n        toggleGetCarrierSettingsEnabled: z\n          .boolean()\n          .describe('Whether the carrier supports retrieving carrier settings.')\n          .optional(),\n      })\n    )\n    .max(100)\n    .optional(),\n});\nexport const GetDeliveryDestinationPropertiesRequest = z.object({});\nexport const GetDeliveryDestinationPropertiesResponse = z.object({\n  restOfWorld: z\n    .object({\n      postalCodeRequired: z\n        .boolean()\n        .describe(\n          'Whether a postal code is required for delivery to this destination.'\n        )\n        .optional(),\n      pickupOnly: z\n        .boolean()\n        .describe('Whether only pickup is available at this destination.')\n        .optional(),\n    })\n    .describe('Delivery destination properties for Rest of World.')\n    .optional(),\n  countries: z\n    .array(\n      z.object({\n        country: z\n          .string()\n          .describe(\n            '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n          )\n          .optional(),\n        deliveryDestinationProperties: z\n          .object({\n            postalCodeRequired: z\n              .boolean()\n              .describe(\n                'Whether a postal code is required for delivery to this destination.'\n              )\n              .optional(),\n            pickupOnly: z\n              .boolean()\n              .describe('Whether only pickup is available at this destination.')\n              .optional(),\n          })\n          .describe('Delivery destination properties for the country.')\n          .optional(),\n        subdivisions: z\n          .array(\n            z.object({\n              subdivision: z\n                .string()\n                .describe(\n                  'Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.'\n                )\n                .min(1)\n                .max(5)\n                .optional(),\n              deliveryDestinationProperties: z\n                .object({\n                  postalCodeRequired: z\n                    .boolean()\n                    .describe(\n                      'Whether a postal code is required for delivery to this destination.'\n                    )\n                    .optional(),\n                  pickupOnly: z\n                    .boolean()\n                    .describe(\n                      'Whether only pickup is available at this destination.'\n                    )\n                    .optional(),\n                })\n                .describe(\n                  'Delivery destination properties for the subdivision.'\n                )\n                .optional(),\n            })\n          )\n          .max(100)\n          .optional(),\n      })\n    )\n    .max(195)\n    .optional(),\n});\nexport const ListDeliveryCarriersRequest = z.object({\n  deliveryProfileId: z\n    .string()\n    .describe('Delivery profile 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({ appIds: z.array(z.string()).min(1).max(25).optional() })\n    .optional(),\n});\nexport const ListDeliveryCarriersResponse = z.object({\n  results: z\n    .array(\n      z.object({\n        deliveryCarrierMetadata: z\n          .object({\n            _id: z\n              .string()\n              .describe(\n                \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\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            success: z\n              .boolean()\n              .describe(\n                'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n              )\n              .optional(),\n            error: z\n              .object({\n                code: z.string().describe('Error code.').optional(),\n                description: z\n                  .string()\n                  .describe('Description of the error.')\n                  .optional(),\n                data: z\n                  .record(z.string(), z.any())\n                  .describe('Data related to the error.')\n                  .optional()\n                  .nullable(),\n              })\n              .describe('Details about the error in case of failure.')\n              .optional(),\n          })\n          .describe(\n            'Metadata for the result, including success or error information.'\n          )\n          .optional(),\n        deliveryCarrierDetails: z\n          .object({\n            _id: z\n              .string()\n              .describe('Carrier app 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            displayName: z\n              .string()\n              .describe('Carrier display name.')\n              .max(256)\n              .optional(),\n            description: z\n              .string()\n              .describe('Carrier description.')\n              .max(200)\n              .optional()\n              .nullable(),\n            learnMoreUrl: z\n              .string()\n              .describe('URL to learn more about the carrier.')\n              .max(200)\n              .optional()\n              .nullable(),\n            dashboardUrl: z\n              .string()\n              .describe(\"URL to the carrier's dashboard.\")\n              .min(1)\n              .max(2048)\n              .url()\n              .optional()\n              .nullable(),\n            fallbackDefinitionMandatory: z\n              .boolean()\n              .describe('Whether a backup rate is required for this carrier.')\n              .optional()\n              .nullable(),\n            thumbnailUrl: z\n              .string()\n              .describe(\"URL for the carrier's thumbnail image.\")\n              .url()\n              .optional()\n              .nullable(),\n            toggleGetCarrierSettingsEnabled: z\n              .boolean()\n              .describe(\n                'Whether the carrier supports retrieving carrier settings.'\n              )\n              .optional(),\n            toggleUpdateCarrierActiveStatusEnabled: z\n              .boolean()\n              .describe(\n                'Whether the carrier supports updating carrier active status.'\n              )\n              .optional(),\n          })\n          .describe('Delivery carrier details.')\n          .optional(),\n        deliveryCarrierRegionalSettings: z\n          .array(\n            z.object({\n              deliveryRegionId: z\n                .string()\n                .describe('Delivery region 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              dashboardTables: z\n                .array(\n                  z.object({\n                    title: z\n                      .string()\n                      .describe('Table title.')\n                      .max(256)\n                      .optional(),\n                    columns: z\n                      .array(\n                        z.object({\n                          key: z\n                            .string()\n                            .describe(\n                              'Column key, used to retrieve data from rows.'\n                            )\n                            .max(256)\n                            .optional(),\n                          name: z\n                            .string()\n                            .describe('Column display name.')\n                            .max(256)\n                            .optional(),\n                        })\n                      )\n                      .max(200)\n                      .optional(),\n                    rows: z\n                      .array(\n                        z.object({\n                          key: z\n                            .string()\n                            .describe(\n                              'Unique row identifier, used to identify the row for editing.'\n                            )\n                            .max(256)\n                            .optional(),\n                          data: z\n                            .record(z.string(), z.any())\n                            .describe(\n                              'Row data as a JSON object. Each key corresponds to a column key.'\n                            )\n                            .optional()\n                            .nullable(),\n                          active: z\n                            .boolean()\n                            .describe(\n                              \"Whether this row's configuration is active.\"\n                            )\n                            .optional(),\n                        })\n                      )\n                      .max(25)\n                      .optional(),\n                  })\n                )\n                .min(1)\n                .max(5)\n                .optional(),\n            })\n          )\n          .min(1)\n          .max(5)\n          .optional(),\n      })\n    )\n    .max(100)\n    .optional(),\n  bulkActionMetadata: z\n    .object({\n      totalSuccesses: z\n        .number()\n        .int()\n        .describe('Number of items that were successfully processed.')\n        .optional(),\n      totalFailures: z\n        .number()\n        .int()\n        .describe(\"Number of items that couldn't be processed.\")\n        .optional(),\n      undetailedFailures: z\n        .number()\n        .int()\n        .describe(\n          'Number of failures without details because detailed failure threshold was exceeded.'\n        )\n        .optional(),\n    })\n    .describe('Bulk action metadata.')\n    .optional(),\n});\nexport const SetDeliveryCarrierActiveStatusRequest = z.object({\n  carrierAppId: z\n    .string()\n    .describe('Carrier app 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.object({\n    rowId: z\n      .string()\n      .describe(\n        \"Row identifier in the carrier's dashboard settings table that identifies the specific shipping configuration to update.\\n\\nPass the `row.key` field from the response of [List Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-delivery-carriers).\"\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    active: z\n      .boolean()\n      .describe('Whether the configuration defined in the row is active.'),\n  }),\n});\nexport const SetDeliveryCarrierActiveStatusResponse = z.object({});\nexport const UpdateExtendedFieldsRequest = z.object({\n  _id: z.string().describe('ID of the entity to update.'),\n  namespace: z\n    .string()\n    .describe(\n      'Identifier for the app whose extended fields are being updated.'\n    ),\n  options: z.object({\n    namespaceData: z\n      .record(z.string(), z.any())\n      .describe(\n        'Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured.'\n      ),\n  }),\n});\nexport const UpdateExtendedFieldsResponse = z.object({\n  deliveryProfile: z\n    .object({\n      _id: z\n        .string()\n        .describe('Delivery profile 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        .nullable(),\n      name: z\n        .string()\n        .describe('Delivery profile name.')\n        .min(1)\n        .max(256)\n        .optional()\n        .nullable(),\n      default: z\n        .boolean()\n        .describe(\n          \"Whether this is the default delivery profile.\\n\\n> **Notes:**\\n>\\n> - The first delivery profile is automatically created and marked as default when the Wix Stores, Wix Bookings, Wix Events, or Wix Restaurants business solutions are installed on a site.\\n> - Default status can't be changed or transferred to another profile.\\n> - The default profile can't be deleted because every site requires one for core delivery functionality.\"\n        )\n        .optional()\n        .nullable(),\n      deliveryRegions: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe('Delivery region 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              .nullable(),\n            name: z\n              .string()\n              .describe(\n                'Delivery region name. For example, `\"Domestic\"` or `\"International\"`.'\n              )\n              .min(1)\n              .max(256)\n              .optional()\n              .nullable(),\n            active: z\n              .boolean()\n              .describe(\n                'Whether this delivery region is active and available during checkout.\\n\\nDefault: `true`'\n              )\n              .optional()\n              .nullable(),\n            deliveryCarriers: z\n              .array(\n                z.object({\n                  appId: z\n                    .string()\n                    .describe(\n                      'Carrier app ID.\\n\\nGet app IDs from the [app dashboard](https://dev.wix.com/dc3/my-apps/), or by calling [List Installed Delivery Carriers](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/shipping-delivery/delivery-profiles/list-installed-delivery-carriers).'\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                  backupRate: z\n                    .object({\n                      title: z\n                        .string()\n                        .describe(\n                          'Title displayed for the backup rate. For example, `\"Standard Shipping\"`.'\n                        )\n                        .min(1)\n                        .max(256)\n                        .optional()\n                        .nullable(),\n                      amount: z\n                        .string()\n                        .describe('Backup rate amount.')\n                        .optional()\n                        .nullable(),\n                      active: z\n                        .boolean()\n                        .describe(\n                          'Whether the backup rate is active.\\n\\nThe backup rate is used in the following situations:\\n+ When `active` is `true`.\\n+ When the carrier does not return a cost for any reason.\\n\\nIf active, and no cost is returned by the carrier, the backup rate will be displayed to customers as the shipping option.\\n\\nDefault: `false`'\n                        )\n                        .optional(),\n                    })\n                    .describe(\n                      \"Backup rate to use when the carrier doesn't return a rate for a specific shipping option.\\n\\nWhen `active` is `false` and the carrier doesn't return a rate, the carrier's shipping options aren't shown to customers.\"\n                    )\n                    .optional(),\n                  additionalCharges: z\n                    .array(\n                      z.object({\n                        description: z\n                          .string()\n                          .describe(\n                            'Description of the additional charge. For example, `\"Handling fee of $5 applied for gift wrapping\"`.'\n                          )\n                          .max(250)\n                          .optional()\n                          .nullable(),\n                        amount: z\n                          .string()\n                          .describe(\n                            'Additional fixed charge amount to add to the delivery rate. For example, `\"12.50\"`.'\n                          )\n                          .max(16)\n                          .optional(),\n                      })\n                    )\n                    .max(10)\n                    .optional(),\n                })\n              )\n              .min(0)\n              .max(25)\n              .optional(),\n            destinations: z\n              .array(\n                z.object({\n                  countryCode: z\n                    .string()\n                    .describe(\n                      '2-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.'\n                    )\n                    .optional(),\n                  subdivisions: z.array(z.string()).min(0).max(100).optional(),\n                })\n              )\n              .min(0)\n              .max(250)\n              .optional(),\n            _createdDate: z\n              .date()\n              .describe('Date and time the delivery region was created.')\n              .optional()\n              .nullable(),\n          })\n        )\n        .min(0)\n        .max(100)\n        .optional(),\n      createdBy: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({\n              appId: z.never().optional(),\n              userId: z.never().optional(),\n            }),\n            z.object({\n              userId: z.never().optional(),\n              appId: z\n                .string()\n                .describe(\n                  'App ID, when the delivery profile was created by an external application or Wix service.'\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            }),\n            z.object({\n              appId: z.never().optional(),\n              userId: z\n                .string()\n                .describe(\n                  'Wix user ID, when the delivery profile was created by a Wix user using the dashboard or an API call.'\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            }),\n          ])\n        )\n        .describe(\n          'Information about who created the delivery profile.\\n\\nCurrently only for use with Wix Restaurants.'\n        )\n        .optional(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the delivery profile is updated. To prevent conflicting changes, the current revision must be passed when updating the delivery profile. Ignored when creating a delivery profile.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe('Date and time the delivery profile was created.')\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe('Date and time the delivery profile was last updated.')\n        .optional()\n        .nullable(),\n      extendedFields: z\n        .object({\n          namespaces: z\n            .record(z.string(), z.record(z.string(), z.any()))\n            .describe(\n              'Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\\nThe value of each key is structured according to the schema defined when the extended fields were configured.\\n\\nYou can only access fields for which you have the appropriate permissions.\\n\\nLearn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).'\n            )\n            .optional(),\n        })\n        .describe(\n          'Custom field data for the delivery profile object. [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.'\n        )\n        .optional(),\n    })\n    .describe('Updated delivery profile.')\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,+BAAiC,SAAO;AAAA,EACnD,iBACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,sBAAsB,EAC/B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,MAAQ,SAAO,EAAE,SAAS,wBAAwB,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG;AAAA,IAClE,SACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,iBACG;AAAA,MACG,SAAO;AAAA,QACP,KACG,SAAO,EACP,SAAS,qBAAqB,EAC9B;AAAA,UACC;AAAA,UACA;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,MACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG;AAAA,QACV,QACG,UAAQ,EACR;AAAA,UACC;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