@wix/auto_sdk_calendar_participations 1.0.48 → 1.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +10 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -5
- package/build/cjs/index.typings.js +3 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +10 -10
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +10 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -5
- package/build/es/index.typings.mjs +3 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +10 -10
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +10 -10
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +24 -6
- package/build/internal/cjs/index.typings.js +3 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +65 -1
- package/build/internal/cjs/meta.js +2 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +10 -10
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +10 -10
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +24 -6
- package/build/internal/es/index.typings.mjs +3 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +65 -1
- package/build/internal/es/meta.mjs +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +10 -10
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../schemas.ts","../../src/calendar-v3-participation-participations.schemas.ts"],"sourcesContent":["export * from './src/calendar-v3-participation-participations.schemas.js';\n","import * as z from 'zod';\n\nexport const GetParticipationRequest = z.object({\n participationId: z\n .string()\n .describe('ID of the `participation` object 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 GetParticipationResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n);\nexport const QueryParticipationsRequest = z.object({\n query: z\n .object({\n filter: z\n .object({\n _id: z\n .object({ $in: z.array(z.string()) })\n .partial()\n .strict()\n .optional(),\n eventId: z\n .object({ $eq: z.any(), $in: z.array(z.any()) })\n .partial()\n .strict()\n .optional(),\n scheduleId: z\n .object({ $eq: z.any(), $in: z.array(z.any()) })\n .partial()\n .strict()\n .optional(),\n externalId: z\n .object({ $eq: z.string(), $in: z.array(z.string()) })\n .partial()\n .strict()\n .optional(),\n $and: z.array(z.any()).optional(),\n $or: z.array(z.any()).optional(),\n $not: z.any().optional(),\n })\n .strict()\n .optional(),\n sort: z.array(z.object({})).optional(),\n })\n .catchall(z.any())\n .describe('Query containing filters and paging.'),\n});\nexport const QueryParticipationsResponse = z.object({\n participations: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n )\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n cursors: z\n .object({\n next: z\n .string()\n .describe('Cursor pointing to next page in the list of results.')\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to previous page in the list of results.'\n )\n .optional()\n .nullable(),\n })\n .describe('Offset that was requested.')\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Indicates if there are more results after the current page.\\nIf `true`, another page of results can be retrieved.\\nIf `false`, this is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Paging metadata.')\n .optional(),\n});\nexport const CreateParticipationRequest = z.object({\n participation: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.'),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000),\n status: z.enum(['CONFIRMED', 'PENDING_CONFIRMATION']).optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n )\n .describe('`participation` object to create.'),\n options: z\n .object({\n idempotencyKey: z\n .string()\n .describe(\n \"Idempotency key guaranteeing that you don't create the same `participation`\\nobject more than once.\"\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 })\n .optional(),\n});\nexport const CreateParticipationResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n);\nexport const UpdateParticipationRequest = z.object({\n _id: z\n .string()\n .describe('Participation 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 participation: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z.enum(['CONFIRMED', 'PENDING_CONFIRMATION']).optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n ),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n )\n .describe('`participation` object to update.'),\n});\nexport const UpdateParticipationResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n);\nexport const DeleteParticipationRequest = z.object({\n participationId: z\n .string()\n .describe('ID of `participation` object to delete.')\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 DeleteParticipationResponse = z.object({});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,0BAA4B,SAAO;AAAA,EAC9C,iBACG,SAAO,EACP,SAAS,+CAA+C,EACxD;AAAA,IACC;AAAA,IACA;AAAA,EACF;AACJ,CAAC;AACM,IAAM,2BAA6B;AAAA,EACtC,SAAO;AAAA,IACP,KACG,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,YACG,SAAO,EACP,SAAS,cAAc,EACvB;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,aACG,SAAO;AAAA,MACN,MACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,MACZ,OACG,SAAO,EACP,SAAS,6BAA6B,EACtC,SAAS,EACT,SAAS;AAAA,MACZ,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SAAO;AAAA,EACjD,iBACG,SAAO,EACP,SAAS,yCAAyC,EAClD;AAAA,IACC;AAAA,IACA;AAAA,EACF;AACJ,CAAC;AACM,IAAM,8BAAgC,SAAO,CAAC,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../schemas.ts","../../src/calendar-v3-participation-participations.schemas.ts"],"sourcesContent":["export * from './src/calendar-v3-participation-participations.schemas.js';\n","import * as z from 'zod';\n\nexport const GetParticipationRequest = /*#__PURE__*/ z.object({\n participationId: z\n .string()\n .describe('ID of the `participation` object 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 GetParticipationResponse = /*#__PURE__*/ z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n);\nexport const QueryParticipationsRequest = /*#__PURE__*/ z.object({\n query: z\n .object({\n filter: z\n .object({\n _id: z\n .object({ $in: z.array(z.string()) })\n .partial()\n .strict()\n .optional(),\n eventId: z\n .object({ $eq: z.any(), $in: z.array(z.any()) })\n .partial()\n .strict()\n .optional(),\n scheduleId: z\n .object({ $eq: z.any(), $in: z.array(z.any()) })\n .partial()\n .strict()\n .optional(),\n externalId: z\n .object({ $eq: z.string(), $in: z.array(z.string()) })\n .partial()\n .strict()\n .optional(),\n $and: z.array(z.any()).optional(),\n $or: z.array(z.any()).optional(),\n $not: z.any().optional(),\n })\n .strict()\n .optional(),\n sort: z.array(z.object({})).optional(),\n })\n .catchall(z.any())\n .describe('Query containing filters and paging.'),\n});\nexport const QueryParticipationsResponse = /*#__PURE__*/ z.object({\n participations: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n )\n )\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n cursors: z\n .object({\n next: z\n .string()\n .describe('Cursor pointing to next page in the list of results.')\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to previous page in the list of results.'\n )\n .optional()\n .nullable(),\n })\n .describe('Offset that was requested.')\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Indicates if there are more results after the current page.\\nIf `true`, another page of results can be retrieved.\\nIf `false`, this is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Paging metadata.')\n .optional(),\n});\nexport const CreateParticipationRequest = /*#__PURE__*/ z.object({\n participation: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.'),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000),\n status: z.enum(['CONFIRMED', 'PENDING_CONFIRMATION']).optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n )\n .describe('`participation` object to create.'),\n options: z\n .object({\n idempotencyKey: z\n .string()\n .describe(\n \"Idempotency key guaranteeing that you don't create the same `participation`\\nobject more than once.\"\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 })\n .optional(),\n});\nexport const CreateParticipationResponse = /*#__PURE__*/ z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n);\nexport const UpdateParticipationRequest = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Participation 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 participation: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z.enum(['CONFIRMED', 'PENDING_CONFIRMATION']).optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n ),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n )\n .describe('`participation` object to update.'),\n});\nexport const UpdateParticipationResponse = /*#__PURE__*/ z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Participation 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 externalId: z\n .string()\n .describe('External 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 participant: z\n .object({\n name: z\n .string()\n .describe(\n 'Participant name.\\n\\nMin: 1 character\\nMax: 200 characters'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n phone: z\n .string()\n .describe(\"Participant's phone number.\")\n .optional()\n .nullable(),\n email: z\n .string()\n .describe(\"Participant's email address.\")\n .email()\n .optional()\n .nullable(),\n contactId: z\n .string()\n .describe(\n '[Contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)\\nID of the parcipant.'\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 })\n .describe('Information about the participant.')\n .optional(),\n partySize: z\n .number()\n .int()\n .describe(\n 'Party size of the group or `1` for individuals.\\n\\nMin: `1`\\nMax: `1000`'\n )\n .min(1)\n .max(1000)\n .optional()\n .nullable(),\n status: z\n .enum(['CONFIRMED', 'PENDING_CONFIRMATION'])\n .describe(\n \"Status of the party's participation in the event. Depending on your\\nimplementation, confirmation may be handled by the business owner or the customer.\\n\\nSupported values:\\n+ `CONFIRMED`: The party's participation is confirmed. For example, the business owner has confirmed a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n+ `PENDING_CONFIRMATION`: The party's participation is awaiting confirmation. For example, the business owner still needs to approve the [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/about-wix-bookings).\\n\\nDefault: `CONFIRMED`\"\n )\n .optional(),\n appId: z\n .string()\n .describe(\n 'ID of the app that owns the participation `object`. Identical to `appId` of the\\n[schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nthat the related\\n[event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelongs to.'\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 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 participation is updated.\\nTo prevent conflicting changes, the current revision must be passed when updating the participation.\\nIgnored when creating a participation.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n 'Date the participation was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date the participation was updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n )\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 'Extensions enabling applications or users to save custom data related to the participation.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n scheduleId: z.never().optional(),\n eventId: z.never().optional(),\n }),\n z.object({\n eventId: z.never().optional(),\n scheduleId: z\n .string()\n .describe(\n 'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nassociated with the participation.'\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 scheduleId: z.never().optional(),\n eventId: z\n .string()\n .describe(\n 'ID of the [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nassociated with the participation.'\n )\n .min(36)\n .max(250),\n }),\n ])\n);\nexport const DeleteParticipationRequest = /*#__PURE__*/ z.object({\n participationId: z\n .string()\n .describe('ID of `participation` object to delete.')\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 DeleteParticipationResponse = /*#__PURE__*/ z.object({});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,0BAAwC,gBAAE,SAAO;AAAA,EAC5D,iBACG,SAAO,EACP,SAAS,+CAA+C,EACxD;AAAA,IACC;AAAA,IACA;AAAA,EACF;AACJ,CAAC;AACM,IAAM,2BAAyC,gBAAE;AAAA,EACpD,SAAO;AAAA,IACP,KACG,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,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,IAC9B,CAAC;AAAA,IACC,SAAO;AAAA,MACP,SAAW,QAAM,EAAE,SAAS;AAAA,MAC5B,YACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC;AAAA,QACC;AAAA,QACA;AAAA,MACF;AAAA,IACJ,CAAC;AAAA,IACC,SAAO;AAAA,MACP,YAAc,QAAM,EAAE,SAAS;AAAA,MAC/B,SACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,EAAE,EACN,IAAI,GAAG;AAAA,IACZ,CAAC;AAAA,EACH,CAAC;AACH;AACO,IAAM,6BAA2C,gBAAE,SAAO;AAAA,EAC/D,iBACG,SAAO,EACP,SAAS,yCAAyC,EAClD;AAAA,IACC;AAAA,IACA;AAAA,EACF;AACJ,CAAC;AACM,IAAM,8BAA4C,gBAAE,SAAO,CAAC,CAAC;","names":[]}
|
package/build/es/index.mjs
CHANGED
|
@@ -223,6 +223,8 @@ var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
|
|
|
223
223
|
ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
|
|
224
224
|
ScalarType2["MIN"] = "MIN";
|
|
225
225
|
ScalarType2["MAX"] = "MAX";
|
|
226
|
+
ScalarType2["SUM"] = "SUM";
|
|
227
|
+
ScalarType2["AVG"] = "AVG";
|
|
226
228
|
return ScalarType2;
|
|
227
229
|
})(ScalarType || {});
|
|
228
230
|
var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
|
|
@@ -336,9 +338,7 @@ async function typedQueryParticipations(query) {
|
|
|
336
338
|
}
|
|
337
339
|
}
|
|
338
340
|
var utils = {
|
|
339
|
-
query:
|
|
340
|
-
...createQueryUtils()
|
|
341
|
-
}
|
|
341
|
+
query: /* @__PURE__ */ createQueryUtils()
|
|
342
342
|
};
|
|
343
343
|
async function createParticipation2(participation, options) {
|
|
344
344
|
const { httpClient, sideEffects } = arguments[2];
|
|
@@ -463,7 +463,7 @@ function deleteParticipation3(httpClient) {
|
|
|
463
463
|
{ httpClient }
|
|
464
464
|
);
|
|
465
465
|
}
|
|
466
|
-
var onParticipationCreated = EventDefinition(
|
|
466
|
+
var onParticipationCreated = /* @__PURE__ */ EventDefinition(
|
|
467
467
|
"wix.calendar.v3.participation_created",
|
|
468
468
|
true,
|
|
469
469
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -479,7 +479,7 @@ var onParticipationCreated = EventDefinition(
|
|
|
479
479
|
])
|
|
480
480
|
)
|
|
481
481
|
)();
|
|
482
|
-
var onParticipationDeleted = EventDefinition(
|
|
482
|
+
var onParticipationDeleted = /* @__PURE__ */ EventDefinition(
|
|
483
483
|
"wix.calendar.v3.participation_deleted",
|
|
484
484
|
true,
|
|
485
485
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -495,7 +495,7 @@ var onParticipationDeleted = EventDefinition(
|
|
|
495
495
|
])
|
|
496
496
|
)
|
|
497
497
|
)();
|
|
498
|
-
var onParticipationUpdated = EventDefinition(
|
|
498
|
+
var onParticipationUpdated = /* @__PURE__ */ EventDefinition(
|
|
499
499
|
"wix.calendar.v3.participation_updated",
|
|
500
500
|
true,
|
|
501
501
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
@@ -519,7 +519,7 @@ import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
|
|
|
519
519
|
import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
|
|
520
520
|
import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
|
|
521
521
|
function customQueryParticipations(httpClient) {
|
|
522
|
-
const router = createQueryOverloadRouter({
|
|
522
|
+
const router = /* @__PURE__ */ createQueryOverloadRouter({
|
|
523
523
|
builderQueryFunction: () => queryParticipations3(httpClient)(),
|
|
524
524
|
typedQueryFunction: (query) => typedQueryParticipations2(httpClient)(query),
|
|
525
525
|
hasOptionsParameter: false
|
|
@@ -534,13 +534,13 @@ var createParticipation4 = /* @__PURE__ */ createRESTModule(createParticipation3
|
|
|
534
534
|
var updateParticipation4 = /* @__PURE__ */ createRESTModule(updateParticipation3);
|
|
535
535
|
var deleteParticipation4 = /* @__PURE__ */ createRESTModule(deleteParticipation3);
|
|
536
536
|
var queryParticipations4 = /* @__PURE__ */ createRESTModule(customQueryParticipations);
|
|
537
|
-
var onParticipationCreated2 = createEventModule(
|
|
537
|
+
var onParticipationCreated2 = /* @__PURE__ */ createEventModule(
|
|
538
538
|
onParticipationCreated
|
|
539
539
|
);
|
|
540
|
-
var onParticipationDeleted2 = createEventModule(
|
|
540
|
+
var onParticipationDeleted2 = /* @__PURE__ */ createEventModule(
|
|
541
541
|
onParticipationDeleted
|
|
542
542
|
);
|
|
543
|
-
var onParticipationUpdated2 = createEventModule(
|
|
543
|
+
var onParticipationUpdated2 = /* @__PURE__ */ createEventModule(
|
|
544
544
|
onParticipationUpdated
|
|
545
545
|
);
|
|
546
546
|
export {
|