{"version":3,"sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetScheduleTimeFrameRequest = z.object({\n  _id: z\n    .string()\n    .describe(\n      '[Schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nID for which to retrieve the schedule time frame.'\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  options: z\n    .object({\n      timeZone: z\n        .string()\n        .describe(\n          'Time zone for adjusting the times of the returned schedule time frame.\\n\\nDefault: `timeZone` of the [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)'\n        )\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const GetScheduleTimeFrameResponse = z.object({\n  _id: z\n    .string()\n    .describe(\n      'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nto which the time frame belongs.'\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  status: z\n    .enum(['NONE', 'FINITE', 'INFINITE'])\n    .describe(\n      'Information about the presence of recurring events within the schedule.\\n\\nSupported values:\\n+ `NONE`: No [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object) are scheduled within the schedule.\\n+ `FINITE`: All recurring events within the schedule have a defined end date, or there are no recurring events.\\n+ `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.'\n    )\n    .optional(),\n  firstEventStartDate: z\n    .object({\n      localDate: z\n        .string()\n        .describe(\n          'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n        )\n        .optional()\n        .nullable(),\n      timeZone: z\n        .string()\n        .describe(\n          'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n        )\n        .optional()\n        .nullable(),\n      utcDate: z\n        .date()\n        .describe(\n          'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nwithin the schedule. Identical to `event.start.localDate`. Available only if\\n`status` is set to `FINITE` or `INFINITE`.'\n    )\n    .optional(),\n  lastEventEndDate: z\n    .object({\n      localDate: z\n        .string()\n        .describe(\n          'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n        )\n        .optional()\n        .nullable(),\n      timeZone: z\n        .string()\n        .describe(\n          'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n        )\n        .optional()\n        .nullable(),\n      utcDate: z\n        .date()\n        .describe(\n          'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'End date of the last [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelonging to the schedule. Identical to `event.end.localDate`. Available only if\\n`status` is set to `FINITE`.'\n    )\n    .optional(),\n  adjustedFirstEventStartDate: z\n    .object({\n      localDate: z\n        .string()\n        .describe(\n          'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n        )\n        .optional()\n        .nullable(),\n      timeZone: z\n        .string()\n        .describe(\n          'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n        )\n        .optional()\n        .nullable(),\n      utcDate: z\n        .date()\n        .describe(\n          'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelonging to the schedule, adjusted to `timeZone` of the\\n[site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)\\nor the `timeZone` specified in the request.\\nIdentical to `event.adjustedStart.localDate`.'\n    )\n    .optional(),\n  adjustedLastEventEndDate: z\n    .object({\n      localDate: z\n        .string()\n        .describe(\n          'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n        )\n        .optional()\n        .nullable(),\n      timeZone: z\n        .string()\n        .describe(\n          'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n        )\n        .optional()\n        .nullable(),\n      utcDate: z\n        .date()\n        .describe(\n          'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'End date of the last [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelonging to the schedule, adjusted to `timeZone` of the\\n[site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)\\nor the `timeZone` specified in the request.\\nIdentical to `event.adjustedEnd.localDate`.'\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 schedule time frame is updated.'\n    )\n    .optional()\n    .nullable(),\n});\nexport const ListScheduleTimeFramesRequest = z.object({\n  ids: z.array(z.string()).min(1).max(100),\n  options: z\n    .object({\n      timeZone: z\n        .string()\n        .describe(\n          'Time zone for adjusting the times of the returned schedule time frames.\\n\\nDefault: `timeZone` of the [site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)'\n        )\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const ListScheduleTimeFramesResponse = z.object({\n  scheduleTimeFrames: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe(\n            'ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)\\nto which the time frame belongs.'\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        status: z\n          .enum(['NONE', 'FINITE', 'INFINITE'])\n          .describe(\n            'Information about the presence of recurring events within the schedule.\\n\\nSupported values:\\n+ `NONE`: No [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object) are scheduled within the schedule.\\n+ `FINITE`: All recurring events within the schedule have a defined end date, or there are no recurring events.\\n+ `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.'\n          )\n          .optional(),\n        firstEventStartDate: z\n          .object({\n            localDate: z\n              .string()\n              .describe(\n                'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n              )\n              .optional()\n              .nullable(),\n            timeZone: z\n              .string()\n              .describe(\n                'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n              )\n              .optional()\n              .nullable(),\n            utcDate: z\n              .date()\n              .describe(\n                'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nwithin the schedule. Identical to `event.start.localDate`. Available only if\\n`status` is set to `FINITE` or `INFINITE`.'\n          )\n          .optional(),\n        lastEventEndDate: z\n          .object({\n            localDate: z\n              .string()\n              .describe(\n                'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n              )\n              .optional()\n              .nullable(),\n            timeZone: z\n              .string()\n              .describe(\n                'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n              )\n              .optional()\n              .nullable(),\n            utcDate: z\n              .date()\n              .describe(\n                'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'End date of the last [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelonging to the schedule. Identical to `event.end.localDate`. Available only if\\n`status` is set to `FINITE`.'\n          )\n          .optional(),\n        adjustedFirstEventStartDate: z\n          .object({\n            localDate: z\n              .string()\n              .describe(\n                'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n              )\n              .optional()\n              .nullable(),\n            timeZone: z\n              .string()\n              .describe(\n                'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n              )\n              .optional()\n              .nullable(),\n            utcDate: z\n              .date()\n              .describe(\n                'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelonging to the schedule, adjusted to `timeZone` of the\\n[site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)\\nor the `timeZone` specified in the request.\\nIdentical to `event.adjustedStart.localDate`.'\n          )\n          .optional(),\n        adjustedLastEventEndDate: z\n          .object({\n            localDate: z\n              .string()\n              .describe(\n                'Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nWix Calendar APIs ignore seconds.'\n              )\n              .optional()\n              .nullable(),\n            timeZone: z\n              .string()\n              .describe(\n                'Time zone in\\n[IANA tz database format](https://en.wikipedia.org/wiki/Tz_database).\\nFor example, `America/New_York`.'\n              )\n              .optional()\n              .nullable(),\n            utcDate: z\n              .date()\n              .describe(\n                'UTC date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).\\nFor example, `2024-01-30T13:30:00`.\\nNot available for adjusted date fields.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'End date of the last [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)\\nbelonging to the schedule, adjusted to `timeZone` of the\\n[site properties](https://dev.wix.com/docs/rest/business-management/site-properties/properties/properties-object)\\nor the `timeZone` specified in the request.\\nIdentical to `event.adjustedEnd.localDate`.'\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 schedule time frame is updated.'\n          )\n          .optional()\n          .nullable(),\n      })\n    )\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,8BAAgC,SAAO;AAAA,EAClD,KACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,EACF;AAAA,EACF,SACG,SAAO;AAAA,IACN,UACG,SAAO,EACP;AA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,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,SACG,OAAK,EACL;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,MACd,CAAC,EACA;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,MACZ,6BACG,SAAO;AAAA,QACN,WACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,UACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,SACG,OAAK,EACL;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,MACd,CAAC,EACA;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,MACZ,0BACG,SAAO;AAAA,QACN,WACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,UACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,QACZ,SACG,OAAK,EACL;AAAA,UACC;AAAA,QACF,EACC,SAAS,EACT,SAAS;AAAA,MACd,CAAC,EACA;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,MACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,QACC;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,SAAS;AACd,CAAC;","names":[]}