{"version":3,"sources":["../../src/ecom-api-v1-checkout-content-provider-checkout-content.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetCheckoutContentRequest = z.object({\n  identifiers: z.object({\n    appId: z\n      .string()\n      .describe('ID of the app that provides the content.')\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    componentId: z\n      .string()\n      .describe('ID of the specific component content.')\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      languageCode: z\n        .string()\n        .describe(\n          'When a language is specified, it will be retrieved the content in that language.'\n        )\n        .min(1)\n        .max(20)\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const GetCheckoutContentResponse = z.object({\n  checkoutContent: z\n    .object({\n      continueShoppingLink: z\n        .string()\n        .describe('Text to display in place of the \"Continue shopping\" link.')\n        .min(1)\n        .max(30)\n        .optional()\n        .nullable(),\n      orderSummary: z\n        .string()\n        .describe('Text to display in place of the \"Order summary\" title.')\n        .min(1)\n        .max(30)\n        .optional()\n        .nullable(),\n      customerDetails: z\n        .string()\n        .describe('Text to display in place of the \"Customer details\" title.')\n        .min(1)\n        .max(30)\n        .optional()\n        .nullable(),\n      reviewAndPlaceOrder: z\n        .string()\n        .describe(\n          'Text to display in place of the \"Review and place order\" title.'\n        )\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      placeOrderButton: z\n        .string()\n        .describe('Text to display in place of the \"Place order\" button.')\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n      placeOrderPayButton: z\n        .string()\n        .describe('Text to display in place of the \"Place order & pay\" button.')\n        .min(1)\n        .max(50)\n        .optional()\n        .nullable(),\n    })\n    .describe('The requested CheckoutContent.')\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,4BAA8B,SAAO;AAAA,EAChD,aAAe,SAAO;AAAA,IACpB,OACG,SAAO,EACP,SAAS,0CAA0C,EACnD;AAAA,MACC;AAAA,MACA;AAAA,IACF;AAAA,IACF,aACG,SAAO,EACP,SAAS,uCAAuC,EAChD;AAAA,MACC;AAAA,MACA;AAAA,IACF;AAAA,EACJ,CAAC;AAAA,EACD,SACG,SAAO;AAAA,IACN,cACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,6BAA+B,SAAO;AAAA,EACjD,iBACG,SAAO;AAAA,IACN,sBACG,SAAO,EACP,SAAS,2DAA2D,EACpE,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,IACZ,cACG,SAAO,EACP,SAAS,wDAAwD,EACjE,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,IACZ,iBACG,SAAO,EACP,SAAS,2DAA2D,EACpE,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,IACZ,qBACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,IACZ,kBACG,SAAO,EACP,SAAS,uDAAuD,EAChE,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,IACZ,qBACG,SAAO,EACP,SAAS,6DAA6D,EACtE,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,gCAAgC,EACzC,SAAS;AACd,CAAC;","names":[]}