{"version":3,"sources":["../../src/academy-certifications-v1-user-certification-user-certifications.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetUserCertificationRequest = /*#__PURE__*/ z.object({\n  userCertificationId: z\n    .string()\n    .describe('ID of the user certification to retrieve.')\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 GetUserCertificationResponse = /*#__PURE__*/ z.object({\n  _id: z\n    .string()\n    .describe('User certification 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  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 user certification is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the user certification.\\n\\nIgnored when creating a user certification.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe('Date and time the user certification was created.')\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe('Date and time the user certification was last updated.')\n    .optional()\n    .nullable(),\n  userId: z\n    .string()\n    .describe(\n      \"ID of the certified user. Set when the certification is created and can't be changed afterward.\"\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  certificationType: z\n    .enum([\n      'VELO',\n      'WEB_DESIGNER',\n      'ACCESSIBILITY',\n      'STUDIO_DEVELOPER',\n      'STUDIO_DESIGN_LEAGUE',\n      'STUDIO_DEV_WEBSITES_LEAGUE',\n    ])\n    .describe(\n      \"Type of certification the user holds. Set when the certification is created and can't be changed afterward.\"\n    )\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,8BAA4C,gBAAE,SAAO;AAAA,EAChE,qBACG,SAAO,EACP,SAAS,2CAA2C,EACpD;AAAA,IACC;AAAA,IACA;AAAA,EACF;AACJ,CAAC;AACM,IAAM,+BAA6C,gBAAE,SAAO;AAAA,EACjE,KACG,SAAO,EACP,SAAS,wBAAwB,EACjC;AAAA,IACC;AAAA,IACA;AAAA,EACF,EACC,SAAS,EACT,SAAS;AAAA,EACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,IACC;AAAA,EACF,EACC,SAAS,EACT,SAAS;AAAA,EACZ,cACG,OAAK,EACL,SAAS,mDAAmD,EAC5D,SAAS,EACT,SAAS;AAAA,EACZ,cACG,OAAK,EACL,SAAS,wDAAwD,EACjE,SAAS,EACT,SAAS;AAAA,EACZ,QACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,EACF,EACC,SAAS,EACT,SAAS;AAAA,EACZ,mBACG,OAAK;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC,EACA;AAAA,IACC;AAAA,EACF,EACC,SAAS;AACd,CAAC;","names":[]}