{"version":3,"sources":["../../../src/payments-mcp-v1-wix-payments-account-wix-payments-account.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const ConnectWixPaymentsAccountRequest = z.object({\n  account: z\n    .object({\n      _id: z\n        .string()\n        .describe('ID of the Wix Payments account.')\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      firstName: z\n        .string()\n        .describe('First name of the Wix Payments account owner.')\n        .max(500),\n      lastName: z\n        .string()\n        .describe('Last name of the Wix Payments account owner.')\n        .max(500),\n      tosAccepted: z\n        .boolean()\n        .describe(\n          \"Whether the account owner has accepted the\\n[Wix Payments Terms of Service](https://www.wix.com/about/terms-of-payments).\\nThe account owner must accept these terms for the account to be created\\nsuccessfully. If the terms aren't accepted, the Connect Wix Payments Account\\ncall fails.\"\n        ),\n      termsOfServiceAcceptance: z\n        .object({ ip: z.string().max(45).optional() })\n        .optional(),\n      email: z\n        .string()\n        .describe('email of the Wix Payments account owner.')\n        .email()\n        .optional()\n        .nullable(),\n      productDescription: z\n        .string()\n        .describe(\n          'Brief summary of the types of products and services offered for sale through the Wix Payments account.\\nFor example, \"Sportswear and sport accessories\".'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      country: z.string().describe('Country code.').optional().nullable(),\n      softDescriptor: z.string().max(50).optional().nullable(),\n      businessUrl: z.string().url().optional().nullable(),\n    })\n    .describe('Wix Payments account to connect to the site.'),\n});\nexport const ConnectWixPaymentsAccountResponse = z.object({\n  account: z\n    .object({\n      _id: z\n        .string()\n        .describe('ID of the Wix Payments account.')\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      firstName: z\n        .string()\n        .describe('First name of the Wix Payments account owner.')\n        .max(500)\n        .optional()\n        .nullable(),\n      lastName: z\n        .string()\n        .describe('Last name of the Wix Payments account owner.')\n        .max(500)\n        .optional()\n        .nullable(),\n      tosAccepted: z\n        .boolean()\n        .describe(\n          \"Whether the account owner has accepted the\\n[Wix Payments Terms of Service](https://www.wix.com/about/terms-of-payments).\\nThe account owner must accept these terms for the account to be created\\nsuccessfully. If the terms aren't accepted, the Connect Wix Payments Account\\ncall fails.\"\n        )\n        .optional()\n        .nullable(),\n      termsOfServiceAcceptance: z\n        .object({ ip: z.string().max(45).optional() })\n        .optional(),\n      email: z\n        .string()\n        .describe('email of the Wix Payments account owner.')\n        .email()\n        .optional()\n        .nullable(),\n      productDescription: z\n        .string()\n        .describe(\n          'Brief summary of the types of products and services offered for sale through the Wix Payments account.\\nFor example, \"Sportswear and sport accessories\".'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      country: z.string().describe('Country code.').optional().nullable(),\n      softDescriptor: z.string().max(50).optional().nullable(),\n      businessUrl: z.string().url().optional().nullable(),\n    })\n    .describe('Connected Wix Payments account.')\n    .optional(),\n});\nexport const ConnectWixPaymentsAccountBase44Request = z.object({\n  account: z\n    .object({\n      _id: z\n        .string()\n        .describe('ID of the Wix Payments account.')\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      firstName: z\n        .string()\n        .describe('First name of the Wix Payments account owner.')\n        .max(500),\n      lastName: z\n        .string()\n        .describe('Last name of the Wix Payments account owner.')\n        .max(500),\n      tosAccepted: z\n        .boolean()\n        .describe(\n          \"Whether the account owner has accepted the\\n[Wix Payments Terms of Service](https://www.wix.com/about/terms-of-payments).\\nThe account owner must accept these terms for the account to be created\\nsuccessfully. If the terms aren't accepted, the Connect Wix Payments Account\\ncall fails.\"\n        )\n        .optional()\n        .nullable(),\n      termsOfServiceAcceptance: z.object({ ip: z.string().max(45).optional() }),\n      email: z\n        .string()\n        .describe('email of the Wix Payments account owner.')\n        .email(),\n      productDescription: z\n        .string()\n        .describe(\n          'Brief summary of the types of products and services offered for sale through the Wix Payments account.\\nFor example, \"Sportswear and sport accessories\".'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      country: z.string().describe('Country code.').optional().nullable(),\n      softDescriptor: z.string().max(50).optional().nullable(),\n      businessUrl: z.string().url().optional().nullable(),\n    })\n    .describe('Wix Payments account to connect to the site.'),\n  options: z\n    .object({\n      siteId: z\n        .string()\n        .describe('MetaSite 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      userId: z\n        .string()\n        .describe('User 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      appId: z.string().describe('App id').max(32).optional().nullable(),\n      base44App: z\n        .object({\n          appId: z.string().describe('App id').max(32).optional().nullable(),\n          appName: z\n            .string()\n            .describe('App name')\n            .max(512)\n            .optional()\n            .nullable(),\n          appUrl: z.string().describe('App url').url().optional().nullable(),\n          ownerEmail: z\n            .string()\n            .describe('email of the Base app owner.')\n            .email()\n            .optional()\n            .nullable(),\n          country: z.string().describe('Country code.').optional().nullable(),\n        })\n        .optional(),\n    })\n    .optional(),\n});\nexport const ConnectWixPaymentsAccountBase44Response = z.object({\n  account: z\n    .object({\n      _id: z\n        .string()\n        .describe('ID of the Wix Payments account.')\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      firstName: z\n        .string()\n        .describe('First name of the Wix Payments account owner.')\n        .max(500)\n        .optional()\n        .nullable(),\n      lastName: z\n        .string()\n        .describe('Last name of the Wix Payments account owner.')\n        .max(500)\n        .optional()\n        .nullable(),\n      tosAccepted: z\n        .boolean()\n        .describe(\n          \"Whether the account owner has accepted the\\n[Wix Payments Terms of Service](https://www.wix.com/about/terms-of-payments).\\nThe account owner must accept these terms for the account to be created\\nsuccessfully. If the terms aren't accepted, the Connect Wix Payments Account\\ncall fails.\"\n        )\n        .optional()\n        .nullable(),\n      termsOfServiceAcceptance: z\n        .object({ ip: z.string().max(45).optional() })\n        .optional(),\n      email: z\n        .string()\n        .describe('email of the Wix Payments account owner.')\n        .email()\n        .optional()\n        .nullable(),\n      productDescription: z\n        .string()\n        .describe(\n          'Brief summary of the types of products and services offered for sale through the Wix Payments account.\\nFor example, \"Sportswear and sport accessories\".'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      country: z.string().describe('Country code.').optional().nullable(),\n      softDescriptor: z.string().max(50).optional().nullable(),\n      businessUrl: z.string().url().optional().nullable(),\n    })\n    .describe('Connected Wix Payments account.')\n    .optional(),\n  base44Metadata: z\n    .object({\n      siteId: z\n        .string()\n        .describe('MetaSite 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      webhookPublicKey: z\n        .string()\n        .describe('Webhook public key for verifying callbacks')\n        .max(500)\n        .optional(),\n      appSecret: z\n        .string()\n        .describe('App secret for authentication')\n        .max(500)\n        .optional(),\n      apiKey: z\n        .string()\n        .describe('API key for subsequent calls')\n        .max(500)\n        .optional(),\n    })\n    .optional(),\n});\nexport const SetupBase44SiteRequest = z.object({\n  options: z\n    .object({\n      siteId: z\n        .string()\n        .describe('MetaSite ID. If not provided, a new metasite is created.')\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      userId: z\n        .string()\n        .describe(\n          'User ID. If not provided, extracted from the authentication token.'\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      appId: z.string().describe('App ID').max(32).optional().nullable(),\n      base44App: z\n        .object({\n          appId: z.string().describe('App id').max(32).optional().nullable(),\n          appName: z\n            .string()\n            .describe('App name')\n            .max(512)\n            .optional()\n            .nullable(),\n          appUrl: z.string().describe('App url').url().optional().nullable(),\n          ownerEmail: z\n            .string()\n            .describe('email of the Base app owner.')\n            .email()\n            .optional()\n            .nullable(),\n          country: z.string().describe('Country code.').optional().nullable(),\n        })\n        .describe('Base44 app data')\n        .optional(),\n    })\n    .optional(),\n});\nexport const SetupBase44SiteResponse = z.object({\n  siteId: z\n    .string()\n    .describe('MetaSite ID of the created or existing site')\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  apiKey: z\n    .string()\n    .describe('API key for subsequent calls')\n    .max(500)\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,mCAAqC,SAAO;AAAA,EACvD,SACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,iCAAiC,EAC1C;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,WACG,SAAO,EACP,SAAS,+CAA+C,EACxD,IAAI,GAAG;AAAA,IACV,UACG,SAAO,EACP,SAAS,8CAA8C,EACvD,IA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