{"version":3,"sources":["../../../src/bookings-staff-v1-staff-member-staff-members.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateStaffMemberRequest = z.object({\n  staffMember: z\n    .object({\n      _id: z\n        .string()\n        .describe('Staff member 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      name: z.string().describe('Staff member name.').min(1).max(40),\n      email: z\n        .string()\n        .describe(\n          \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      phone: z\n        .string()\n        .describe(\n          \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(20)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe(\n          'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      mainMedia: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({ image: z.never().optional() }),\n            z.object({\n              image: z.string().describe(\"Staff member's main image.\"),\n            }),\n          ])\n        )\n        .describe('Staff media.')\n        .optional(),\n      resourceId: z\n        .string()\n        .describe(\n          \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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      resource: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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          workingHoursSchedules: z\n            .array(\n              z.object({\n                _id: z\n                  .string()\n                  .describe(\n                    \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                shared: z\n                  .boolean()\n                  .describe(\n                    \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                  )\n                  .optional(),\n              })\n            )\n            .max(1)\n            .optional(),\n          eventsSchedule: z\n            .object({\n              _id: z\n                .string()\n                .describe(\n                  'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n              'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n            )\n            .optional(),\n          usesDefaultWorkingHours: z\n            .boolean()\n            .describe(\n              \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n        )\n        .optional(),\n      associatedWixIdentity: z\n        .object({\n          identificationData: z\n            .intersection(\n              z.object({\n                contactId: z\n                  .string()\n                  .describe(\n                    \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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              z.xor([\n                z.object({\n                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                }),\n                z.object({\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  anonymousVisitorId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has not logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  memberId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  appId: z.never().optional(),\n                  wixUserId: z\n                    .string()\n                    .describe(\n                      'ID of a Wix user (site owner, contributor, etc.).'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z\n                    .string()\n                    .describe('ID of an app.')\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              ])\n            )\n            .describe(\n              'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n            )\n            .optional(),\n          connectionStatus: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .optional(),\n          connection: z\n            .object({\n              status: z\n                .enum([\n                  'UNKNOWN',\n                  'CONNECTED',\n                  'PENDING',\n                  'EXPIRED',\n                  'DISCONNECTED',\n                ])\n                .optional(),\n            })\n            .describe(\n              'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe(\n          'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Time the staff member was last 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 users to save custom data related to the staff member.'\n        )\n        .optional(),\n      tags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n        )\n        .optional(),\n    })\n    .describe('Staff member to create.'),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe('Options for creating the staff member.')\n    .optional(),\n});\nexport const CreateStaffMemberResponse = z.object({\n  _id: z\n    .string()\n    .describe('Staff member 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  name: z\n    .string()\n    .describe('Staff member name.')\n    .min(1)\n    .max(40)\n    .optional()\n    .nullable(),\n  email: z\n    .string()\n    .describe(\n      \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n    )\n    .max(320)\n    .email()\n    .optional()\n    .nullable(),\n  phone: z\n    .string()\n    .describe(\n      \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n    )\n    .max(20)\n    .optional()\n    .nullable(),\n  description: z\n    .string()\n    .describe(\n      'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n    )\n    .max(500)\n    .optional()\n    .nullable(),\n  mainMedia: z\n    .intersection(\n      z.object({}),\n      z.xor([\n        z.object({ image: z.never().optional() }),\n        z.object({ image: z.string().describe(\"Staff member's main image.\") }),\n      ])\n    )\n    .describe('Staff media.')\n    .optional(),\n  resourceId: z\n    .string()\n    .describe(\n      \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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  resource: z\n    .object({\n      _id: z\n        .string()\n        .describe(\n          'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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      workingHoursSchedules: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe(\n                \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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            shared: z\n              .boolean()\n              .describe(\n                \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n              )\n              .optional(),\n          })\n        )\n        .max(1)\n        .optional(),\n      eventsSchedule: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n          'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n        )\n        .optional(),\n      usesDefaultWorkingHours: z\n        .boolean()\n        .describe(\n          \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n    )\n    .optional(),\n  associatedWixIdentity: z\n    .object({\n      identificationData: z\n        .intersection(\n          z.object({\n            contactId: z\n              .string()\n              .describe(\n                \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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          z.xor([\n            z.object({\n              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n            }),\n            z.object({\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n              anonymousVisitorId: z\n                .string()\n                .describe(\n                  'ID of a site visitor that has not logged in to the site.'\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              anonymousVisitorId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n              memberId: z\n                .string()\n                .describe(\n                  'ID of a site visitor that has logged in to the site.'\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              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              appId: z.never().optional(),\n              wixUserId: z\n                .string()\n                .describe('ID of a Wix user (site owner, contributor, etc.).')\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              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z\n                .string()\n                .describe('ID of an app.')\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          ])\n        )\n        .describe(\n          'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n        )\n        .optional(),\n      connectionStatus: z\n        .enum(['UNKNOWN', 'CONNECTED', 'PENDING', 'EXPIRED', 'DISCONNECTED'])\n        .describe(\n          'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n        )\n        .optional(),\n      connection: z\n        .object({\n          status: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe('Connection status of the Wix user and the staff member.')\n            .optional(),\n        })\n        .describe(\n          'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe(\n      'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n    )\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe(\n      'Time the staff member was last 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 users to save custom data related to the staff member.'\n    )\n    .optional(),\n  tags: z\n    .object({\n      privateTags: z\n        .object({ tagIds: z.array(z.string()).max(100).optional() })\n        .describe(\n          'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n        )\n        .optional(),\n      tags: z\n        .object({ tagIds: z.array(z.string()).max(100).optional() })\n        .describe(\n          'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n    )\n    .optional(),\n});\nexport const GetStaffMemberRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe('ID of the staff member 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  options: z\n    .object({\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe('Option for retrieving the staff member.')\n    .optional(),\n});\nexport const GetStaffMemberResponse = z.object({\n  _id: z\n    .string()\n    .describe('Staff member 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  name: z\n    .string()\n    .describe('Staff member name.')\n    .min(1)\n    .max(40)\n    .optional()\n    .nullable(),\n  email: z\n    .string()\n    .describe(\n      \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n    )\n    .max(320)\n    .email()\n    .optional()\n    .nullable(),\n  phone: z\n    .string()\n    .describe(\n      \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n    )\n    .max(20)\n    .optional()\n    .nullable(),\n  description: z\n    .string()\n    .describe(\n      'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n    )\n    .max(500)\n    .optional()\n    .nullable(),\n  mainMedia: z\n    .intersection(\n      z.object({}),\n      z.xor([\n        z.object({ image: z.never().optional() }),\n        z.object({ image: z.string().describe(\"Staff member's main image.\") }),\n      ])\n    )\n    .describe('Staff media.')\n    .optional(),\n  resourceId: z\n    .string()\n    .describe(\n      \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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  resource: z\n    .object({\n      _id: z\n        .string()\n        .describe(\n          'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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      workingHoursSchedules: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe(\n                \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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            shared: z\n              .boolean()\n              .describe(\n                \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n              )\n              .optional(),\n          })\n        )\n        .max(1)\n        .optional(),\n      eventsSchedule: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n          'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n        )\n        .optional(),\n      usesDefaultWorkingHours: z\n        .boolean()\n        .describe(\n          \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n    )\n    .optional(),\n  associatedWixIdentity: z\n    .object({\n      identificationData: z\n        .intersection(\n          z.object({\n            contactId: z\n              .string()\n              .describe(\n                \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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          z.xor([\n            z.object({\n              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n            }),\n            z.object({\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n              anonymousVisitorId: z\n                .string()\n                .describe(\n                  'ID of a site visitor that has not logged in to the site.'\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              anonymousVisitorId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n              memberId: z\n                .string()\n                .describe(\n                  'ID of a site visitor that has logged in to the site.'\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              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              appId: z.never().optional(),\n              wixUserId: z\n                .string()\n                .describe('ID of a Wix user (site owner, contributor, etc.).')\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              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z\n                .string()\n                .describe('ID of an app.')\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          ])\n        )\n        .describe(\n          'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n        )\n        .optional(),\n      connectionStatus: z\n        .enum(['UNKNOWN', 'CONNECTED', 'PENDING', 'EXPIRED', 'DISCONNECTED'])\n        .describe(\n          'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n        )\n        .optional(),\n      connection: z\n        .object({\n          status: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe('Connection status of the Wix user and the staff member.')\n            .optional(),\n        })\n        .describe(\n          'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe(\n      'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n    )\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe(\n      'Time the staff member was last 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 users to save custom data related to the staff member.'\n    )\n    .optional(),\n  tags: z\n    .object({\n      privateTags: z\n        .object({ tagIds: z.array(z.string()).max(100).optional() })\n        .describe(\n          'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n        )\n        .optional(),\n      tags: z\n        .object({ tagIds: z.array(z.string()).max(100).optional() })\n        .describe(\n          'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n    )\n    .optional(),\n});\nexport const GetDeletedStaffMemberRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe('ID of the deleted staff member 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  options: z\n    .object({\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe('Options for getting the deleted staff member.')\n    .optional(),\n});\nexport const GetDeletedStaffMemberResponse = z.object({\n  staffMember: z\n    .object({\n      _id: z\n        .string()\n        .describe('Staff member 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      name: z\n        .string()\n        .describe('Staff member name.')\n        .min(1)\n        .max(40)\n        .optional()\n        .nullable(),\n      email: z\n        .string()\n        .describe(\n          \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      phone: z\n        .string()\n        .describe(\n          \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(20)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe(\n          'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      mainMedia: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({ image: z.never().optional() }),\n            z.object({\n              image: z.string().describe(\"Staff member's main image.\"),\n            }),\n          ])\n        )\n        .describe('Staff media.')\n        .optional(),\n      resourceId: z\n        .string()\n        .describe(\n          \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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      resource: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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          workingHoursSchedules: z\n            .array(\n              z.object({\n                _id: z\n                  .string()\n                  .describe(\n                    \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                shared: z\n                  .boolean()\n                  .describe(\n                    \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                  )\n                  .optional(),\n              })\n            )\n            .max(1)\n            .optional(),\n          eventsSchedule: z\n            .object({\n              _id: z\n                .string()\n                .describe(\n                  'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n              'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n            )\n            .optional(),\n          usesDefaultWorkingHours: z\n            .boolean()\n            .describe(\n              \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n        )\n        .optional(),\n      associatedWixIdentity: z\n        .object({\n          identificationData: z\n            .intersection(\n              z.object({\n                contactId: z\n                  .string()\n                  .describe(\n                    \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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              z.xor([\n                z.object({\n                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                }),\n                z.object({\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  anonymousVisitorId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has not logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  memberId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  appId: z.never().optional(),\n                  wixUserId: z\n                    .string()\n                    .describe(\n                      'ID of a Wix user (site owner, contributor, etc.).'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z\n                    .string()\n                    .describe('ID of an app.')\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              ])\n            )\n            .describe(\n              'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n            )\n            .optional(),\n          connectionStatus: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe(\n              'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n            )\n            .optional(),\n          connection: z\n            .object({\n              status: z\n                .enum([\n                  'UNKNOWN',\n                  'CONNECTED',\n                  'PENDING',\n                  'EXPIRED',\n                  'DISCONNECTED',\n                ])\n                .describe(\n                  'Connection status of the Wix user and the staff member.'\n                )\n                .optional(),\n            })\n            .describe(\n              'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe(\n          'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Time the staff member was last 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 users to save custom data related to the staff member.'\n        )\n        .optional(),\n      tags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n        )\n        .optional(),\n    })\n    .describe('Retrieved staff member.')\n    .optional(),\n});\nexport const ListDeletedStaffMembersRequest = z.object({\n  options: z\n    .object({\n      staffMemberIds: z.array(z.string()).max(100).optional(),\n      paging: z\n        .object({\n          limit: z\n            .number()\n            .int()\n            .describe('Number of items to load.')\n            .min(0)\n            .max(100)\n            .optional()\n            .nullable(),\n          cursor: z\n            .string()\n            .describe(\n              \"Pointer to the next or previous page in the list of results.\\n\\nYou can get the relevant cursor token\\nfrom the `pagingMetadata` object in the previous call's response.\\nNot relevant for the first request.\"\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe('Paging details.')\n        .optional(),\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe('Options for listing deleted staff members.')\n    .optional(),\n});\nexport const ListDeletedStaffMembersResponse = z.object({\n  staffMembers: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Staff member 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        name: z\n          .string()\n          .describe('Staff member name.')\n          .min(1)\n          .max(40)\n          .optional()\n          .nullable(),\n        email: z\n          .string()\n          .describe(\n            \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n          )\n          .max(320)\n          .email()\n          .optional()\n          .nullable(),\n        phone: z\n          .string()\n          .describe(\n            \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n          )\n          .max(20)\n          .optional()\n          .nullable(),\n        description: z\n          .string()\n          .describe(\n            'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n          )\n          .max(500)\n          .optional()\n          .nullable(),\n        mainMedia: z\n          .intersection(\n            z.object({}),\n            z.xor([\n              z.object({ image: z.never().optional() }),\n              z.object({\n                image: z.string().describe(\"Staff member's main image.\"),\n              }),\n            ])\n          )\n          .describe('Staff media.')\n          .optional(),\n        resourceId: z\n          .string()\n          .describe(\n            \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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        resource: z\n          .object({\n            _id: z\n              .string()\n              .describe(\n                'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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            workingHoursSchedules: z\n              .array(\n                z.object({\n                  _id: z\n                    .string()\n                    .describe(\n                      \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                  shared: z\n                    .boolean()\n                    .describe(\n                      \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                    )\n                    .optional(),\n                })\n              )\n              .max(1)\n              .optional(),\n            eventsSchedule: z\n              .object({\n                _id: z\n                  .string()\n                  .describe(\n                    'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n                'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n              )\n              .optional(),\n            usesDefaultWorkingHours: z\n              .boolean()\n              .describe(\n                \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n          )\n          .optional(),\n        associatedWixIdentity: z\n          .object({\n            identificationData: z\n              .intersection(\n                z.object({\n                  contactId: z\n                    .string()\n                    .describe(\n                      \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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                z.xor([\n                  z.object({\n                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                  }),\n                  z.object({\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                    anonymousVisitorId: z\n                      .string()\n                      .describe(\n                        'ID of a site visitor that has not logged in to the site.'\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                    anonymousVisitorId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                    memberId: z\n                      .string()\n                      .describe(\n                        'ID of a site visitor that has logged in to the site.'\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                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    appId: z.never().optional(),\n                    wixUserId: z\n                      .string()\n                      .describe(\n                        'ID of a Wix user (site owner, contributor, etc.).'\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                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z\n                      .string()\n                      .describe('ID of an app.')\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                ])\n              )\n              .describe(\n                'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n              )\n              .optional(),\n            connectionStatus: z\n              .enum([\n                'UNKNOWN',\n                'CONNECTED',\n                'PENDING',\n                'EXPIRED',\n                'DISCONNECTED',\n              ])\n              .describe(\n                'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n              )\n              .optional(),\n            connection: z\n              .object({\n                status: z\n                  .enum([\n                    'UNKNOWN',\n                    'CONNECTED',\n                    'PENDING',\n                    'EXPIRED',\n                    'DISCONNECTED',\n                  ])\n                  .describe(\n                    'Connection status of the Wix user and the staff member.'\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n          )\n          .optional()\n          .nullable(),\n        _createdDate: z\n          .date()\n          .describe(\n            'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n          )\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe(\n            'Time the staff member was last 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 users to save custom data related to the staff member.'\n          )\n          .optional(),\n        tags: z\n          .object({\n            privateTags: z\n              .object({ tagIds: z.array(z.string()).max(100).optional() })\n              .describe(\n                'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n              )\n              .optional(),\n            tags: z\n              .object({ tagIds: z.array(z.string()).max(100).optional() })\n              .describe(\n                'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n          )\n          .optional(),\n      })\n    )\n    .optional(),\n  pagingMetadata: z\n    .object({\n      count: z\n        .number()\n        .int()\n        .describe(\n          'Number of items returned in the current response page.\\n\\nThis count reflects the actual number of items in the current result set,\\nwhich may be less than the requested limit if fewer items are available.'\n        )\n        .optional()\n        .nullable(),\n      cursors: z\n        .object({\n          next: z\n            .string()\n            .describe(\n              'Cursor token for retrieving the next page of results.\\n\\nUse this token in subsequent requests to continue pagination forward.\\nValue is `null` when on the last page of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n          prev: z\n            .string()\n            .describe(\n              'Cursor token for retrieving the previous page of results.\\n\\nUse this token to navigate backwards through result pages.\\nValue is `null` when on the first page of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Navigation cursors for moving between result pages.\\n\\nContains `next` and `prev` cursor tokens for pagination. Use the `next` cursor\\nto retrieve subsequent pages and `prev` cursor to go back to previous pages.\\nLearn more about cursor paging in the [API Query Language guide](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging).'\n        )\n        .optional(),\n      hasNext: z\n        .boolean()\n        .describe(\n          'Indicates whether additional results are available beyond the current page.\\n\\n- `true`: More results exist and can be retrieved using the `next` cursor.\\n- `false`: This is the final page of results.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('Paging metadata.')\n    .optional(),\n});\nexport const RemoveStaffMemberFromTrashBinRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe('ID of the staff member to delete permanently.')\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 RemoveStaffMemberFromTrashBinResponse = z.object({});\nexport const UpdateStaffMemberRequest = z.object({\n  _id: z\n    .string()\n    .describe('Staff member 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  staffMember: z\n    .object({\n      _id: z\n        .string()\n        .describe('Staff member 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      name: z\n        .string()\n        .describe('Staff member name.')\n        .min(1)\n        .max(40)\n        .optional()\n        .nullable(),\n      email: z\n        .string()\n        .describe(\n          \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      phone: z\n        .string()\n        .describe(\n          \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(20)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe(\n          'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      mainMedia: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({ image: z.never().optional() }),\n            z.object({\n              image: z.string().describe(\"Staff member's main image.\"),\n            }),\n          ])\n        )\n        .describe('Staff media.')\n        .optional(),\n      resourceId: z\n        .string()\n        .describe(\n          \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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      resource: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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          workingHoursSchedules: z\n            .array(\n              z.object({\n                _id: z\n                  .string()\n                  .describe(\n                    \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                shared: z\n                  .boolean()\n                  .describe(\n                    \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                  )\n                  .optional(),\n              })\n            )\n            .max(1)\n            .optional(),\n          eventsSchedule: z\n            .object({\n              _id: z\n                .string()\n                .describe(\n                  'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n              'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n            )\n            .optional(),\n          usesDefaultWorkingHours: z\n            .boolean()\n            .describe(\n              \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n        )\n        .optional(),\n      associatedWixIdentity: z\n        .object({\n          identificationData: z\n            .intersection(\n              z.object({\n                contactId: z\n                  .string()\n                  .describe(\n                    \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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              z.xor([\n                z.object({\n                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                }),\n                z.object({\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  anonymousVisitorId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has not logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  memberId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  appId: z.never().optional(),\n                  wixUserId: z\n                    .string()\n                    .describe(\n                      'ID of a Wix user (site owner, contributor, etc.).'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z\n                    .string()\n                    .describe('ID of an app.')\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              ])\n            )\n            .describe(\n              'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n            )\n            .optional(),\n          connectionStatus: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .optional(),\n          connection: z\n            .object({\n              status: z\n                .enum([\n                  'UNKNOWN',\n                  'CONNECTED',\n                  'PENDING',\n                  'EXPIRED',\n                  'DISCONNECTED',\n                ])\n                .optional(),\n            })\n            .describe(\n              'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n        ),\n      _createdDate: z\n        .date()\n        .describe(\n          'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Time the staff member was last 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 users to save custom data related to the staff member.'\n        )\n        .optional(),\n      tags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n        )\n        .optional(),\n    })\n    .describe('The staff member to update'),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe('Options for updating the staff member.')\n    .optional(),\n});\nexport const UpdateStaffMemberResponse = z.object({\n  _id: z\n    .string()\n    .describe('Staff member 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  name: z\n    .string()\n    .describe('Staff member name.')\n    .min(1)\n    .max(40)\n    .optional()\n    .nullable(),\n  email: z\n    .string()\n    .describe(\n      \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n    )\n    .max(320)\n    .email()\n    .optional()\n    .nullable(),\n  phone: z\n    .string()\n    .describe(\n      \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n    )\n    .max(20)\n    .optional()\n    .nullable(),\n  description: z\n    .string()\n    .describe(\n      'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n    )\n    .max(500)\n    .optional()\n    .nullable(),\n  mainMedia: z\n    .intersection(\n      z.object({}),\n      z.xor([\n        z.object({ image: z.never().optional() }),\n        z.object({ image: z.string().describe(\"Staff member's main image.\") }),\n      ])\n    )\n    .describe('Staff media.')\n    .optional(),\n  resourceId: z\n    .string()\n    .describe(\n      \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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  resource: z\n    .object({\n      _id: z\n        .string()\n        .describe(\n          'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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      workingHoursSchedules: z\n        .array(\n          z.object({\n            _id: z\n              .string()\n              .describe(\n                \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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            shared: z\n              .boolean()\n              .describe(\n                \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n              )\n              .optional(),\n          })\n        )\n        .max(1)\n        .optional(),\n      eventsSchedule: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n          'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n        )\n        .optional(),\n      usesDefaultWorkingHours: z\n        .boolean()\n        .describe(\n          \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n    )\n    .optional(),\n  associatedWixIdentity: z\n    .object({\n      identificationData: z\n        .intersection(\n          z.object({\n            contactId: z\n              .string()\n              .describe(\n                \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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          z.xor([\n            z.object({\n              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n            }),\n            z.object({\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n              anonymousVisitorId: z\n                .string()\n                .describe(\n                  'ID of a site visitor that has not logged in to the site.'\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              anonymousVisitorId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z.never().optional(),\n              memberId: z\n                .string()\n                .describe(\n                  'ID of a site visitor that has logged in to the site.'\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              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              appId: z.never().optional(),\n              wixUserId: z\n                .string()\n                .describe('ID of a Wix user (site owner, contributor, etc.).')\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              anonymousVisitorId: z.never().optional(),\n              memberId: z.never().optional(),\n              wixUserId: z.never().optional(),\n              appId: z\n                .string()\n                .describe('ID of an app.')\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          ])\n        )\n        .describe(\n          'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n        )\n        .optional(),\n      connectionStatus: z\n        .enum(['UNKNOWN', 'CONNECTED', 'PENDING', 'EXPIRED', 'DISCONNECTED'])\n        .describe(\n          'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n        )\n        .optional(),\n      connection: z\n        .object({\n          status: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe('Connection status of the Wix user and the staff member.')\n            .optional(),\n        })\n        .describe(\n          'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe(\n      'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n    )\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe(\n      'Time the staff member was last 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 users to save custom data related to the staff member.'\n    )\n    .optional(),\n  tags: z\n    .object({\n      privateTags: z\n        .object({ tagIds: z.array(z.string()).max(100).optional() })\n        .describe(\n          'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n        )\n        .optional(),\n      tags: z\n        .object({ tagIds: z.array(z.string()).max(100).optional() })\n        .describe(\n          'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n        )\n        .optional(),\n    })\n    .describe(\n      'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n    )\n    .optional(),\n});\nexport const DeleteStaffMemberRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe('ID of the staff member 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 DeleteStaffMemberResponse = z.object({});\nexport const QueryStaffMembersRequest = z.object({\n  query: z\n    .object({\n      filter: z\n        .object({\n          _id: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          description: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          resourceId: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          _createdDate: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          _updatedDate: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          'associatedWixIdentity.identificationData.contactId': z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          'associatedWixIdentity.identificationData.wixUserId': z\n            .object({\n              $eq: z.any(),\n              $exists: z.boolean(),\n              $gt: z.any(),\n              $gte: z.any(),\n              $hasAll: z.array(z.any()),\n              $hasSome: z.array(z.any()),\n              $in: z.array(z.any()),\n              $lt: z.any(),\n              $lte: z.any(),\n              $ne: z.any(),\n              $nin: z.array(z.any()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          name: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $in: z.array(z.string()),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          email: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $in: z.array(z.string()),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          phone: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $in: z.array(z.string()),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          'resource.locationOptions.specificLocationOptions.businessLocations.locationId':\n            z\n              .object({ $hasAll: z.array(z.any()), $hasSome: z.array(z.any()) })\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\n        .array(\n          z.object({\n            fieldName: z\n              .enum([\n                '_id',\n                'description',\n                'resourceId',\n                '_createdDate',\n                '_updatedDate',\n                'associatedWixIdentity.identificationData.contactId',\n                'associatedWixIdentity.identificationData.wixUserId',\n              ])\n              .optional(),\n            order: z.enum(['ASC', 'DESC']).optional(),\n          })\n        )\n        .optional(),\n    })\n    .catchall(z.any())\n    .describe('Information about filters, paging, and sorting.'),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .optional(),\n});\nexport const QueryStaffMembersResponse = z.object({\n  staffMembers: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Staff member 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        name: z\n          .string()\n          .describe('Staff member name.')\n          .min(1)\n          .max(40)\n          .optional()\n          .nullable(),\n        email: z\n          .string()\n          .describe(\n            \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n          )\n          .max(320)\n          .email()\n          .optional()\n          .nullable(),\n        phone: z\n          .string()\n          .describe(\n            \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n          )\n          .max(20)\n          .optional()\n          .nullable(),\n        description: z\n          .string()\n          .describe(\n            'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n          )\n          .max(500)\n          .optional()\n          .nullable(),\n        mainMedia: z\n          .intersection(\n            z.object({}),\n            z.xor([\n              z.object({ image: z.never().optional() }),\n              z.object({\n                image: z.string().describe(\"Staff member's main image.\"),\n              }),\n            ])\n          )\n          .describe('Staff media.')\n          .optional(),\n        resourceId: z\n          .string()\n          .describe(\n            \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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        resource: z\n          .object({\n            _id: z\n              .string()\n              .describe(\n                'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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            workingHoursSchedules: z\n              .array(\n                z.object({\n                  _id: z\n                    .string()\n                    .describe(\n                      \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                  shared: z\n                    .boolean()\n                    .describe(\n                      \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                    )\n                    .optional(),\n                })\n              )\n              .max(1)\n              .optional(),\n            eventsSchedule: z\n              .object({\n                _id: z\n                  .string()\n                  .describe(\n                    'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n                'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n              )\n              .optional(),\n            usesDefaultWorkingHours: z\n              .boolean()\n              .describe(\n                \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n          )\n          .optional(),\n        associatedWixIdentity: z\n          .object({\n            identificationData: z\n              .intersection(\n                z.object({\n                  contactId: z\n                    .string()\n                    .describe(\n                      \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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                z.xor([\n                  z.object({\n                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                  }),\n                  z.object({\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                    anonymousVisitorId: z\n                      .string()\n                      .describe(\n                        'ID of a site visitor that has not logged in to the site.'\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                    anonymousVisitorId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                    memberId: z\n                      .string()\n                      .describe(\n                        'ID of a site visitor that has logged in to the site.'\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                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    appId: z.never().optional(),\n                    wixUserId: z\n                      .string()\n                      .describe(\n                        'ID of a Wix user (site owner, contributor, etc.).'\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                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z\n                      .string()\n                      .describe('ID of an app.')\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                ])\n              )\n              .describe(\n                'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n              )\n              .optional(),\n            connectionStatus: z\n              .enum([\n                'UNKNOWN',\n                'CONNECTED',\n                'PENDING',\n                'EXPIRED',\n                'DISCONNECTED',\n              ])\n              .describe(\n                'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n              )\n              .optional(),\n            connection: z\n              .object({\n                status: z\n                  .enum([\n                    'UNKNOWN',\n                    'CONNECTED',\n                    'PENDING',\n                    'EXPIRED',\n                    'DISCONNECTED',\n                  ])\n                  .describe(\n                    'Connection status of the Wix user and the staff member.'\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n          )\n          .optional()\n          .nullable(),\n        _createdDate: z\n          .date()\n          .describe(\n            'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n          )\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe(\n            'Time the staff member was last 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 users to save custom data related to the staff member.'\n          )\n          .optional(),\n        tags: z\n          .object({\n            privateTags: z\n              .object({ tagIds: z.array(z.string()).max(100).optional() })\n              .describe(\n                'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n              )\n              .optional(),\n            tags: z\n              .object({ tagIds: z.array(z.string()).max(100).optional() })\n              .describe(\n                'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n          )\n          .optional(),\n      })\n    )\n    .optional(),\n  pagingMetadata: z\n    .object({\n      count: z\n        .number()\n        .int()\n        .describe(\n          'Number of items returned in the current response page.\\n\\nThis count reflects the actual number of items in the current result set,\\nwhich may be less than the requested limit if fewer items are available.'\n        )\n        .optional()\n        .nullable(),\n      cursors: z\n        .object({\n          next: z\n            .string()\n            .describe(\n              'Cursor token for retrieving the next page of results.\\n\\nUse this token in subsequent requests to continue pagination forward.\\nValue is `null` when on the last page of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n          prev: z\n            .string()\n            .describe(\n              'Cursor token for retrieving the previous page of results.\\n\\nUse this token to navigate backwards through result pages.\\nValue is `null` when on the first page of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Navigation cursors for moving between result pages.\\n\\nContains `next` and `prev` cursor tokens for pagination. Use the `next` cursor\\nto retrieve subsequent pages and `prev` cursor to go back to previous pages.\\nLearn more about cursor paging in the [API Query Language guide](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging).'\n        )\n        .optional(),\n      hasNext: z\n        .boolean()\n        .describe(\n          'Indicates whether additional results are available beyond the current page.\\n\\n- `true`: More results exist and can be retrieved using the `next` cursor.\\n- `false`: This is the final page of results.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe('Paging metadata.')\n    .optional(),\n});\nexport const CountStaffMembersRequest = z.object({\n  options: z\n    .object({\n      filter: z\n        .record(z.string(), z.any())\n        .describe(\n          'Filter to base the count upon.\\nSee [Query Staff Members](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/query-staff-members)\\nfor a complete list of supported filters.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .optional(),\n});\nexport const CountStaffMembersResponse = z.object({\n  count: z\n    .number()\n    .int()\n    .describe('Total number of staff members matching the given filter.')\n    .optional(),\n});\nexport const ConnectStaffMemberToUserRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe('ID of the staff member to connect to the Wix user.')\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      email: z\n        .string()\n        .describe(\n          'Email of the Wix user to connect to the staff member.\\n\\nDefault: Email of the staff member.'\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe('Options for connecting the staff member to a Wix user.')\n    .optional(),\n});\nexport const ConnectStaffMemberToUserResponse = z.object({\n  staffMember: z\n    .object({\n      _id: z\n        .string()\n        .describe('Staff member 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      name: z\n        .string()\n        .describe('Staff member name.')\n        .min(1)\n        .max(40)\n        .optional()\n        .nullable(),\n      email: z\n        .string()\n        .describe(\n          \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      phone: z\n        .string()\n        .describe(\n          \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(20)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe(\n          'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      mainMedia: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({ image: z.never().optional() }),\n            z.object({\n              image: z.string().describe(\"Staff member's main image.\"),\n            }),\n          ])\n        )\n        .describe('Staff media.')\n        .optional(),\n      resourceId: z\n        .string()\n        .describe(\n          \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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      resource: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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          workingHoursSchedules: z\n            .array(\n              z.object({\n                _id: z\n                  .string()\n                  .describe(\n                    \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                shared: z\n                  .boolean()\n                  .describe(\n                    \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                  )\n                  .optional(),\n              })\n            )\n            .max(1)\n            .optional(),\n          eventsSchedule: z\n            .object({\n              _id: z\n                .string()\n                .describe(\n                  'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n              'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n            )\n            .optional(),\n          usesDefaultWorkingHours: z\n            .boolean()\n            .describe(\n              \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n        )\n        .optional(),\n      associatedWixIdentity: z\n        .object({\n          identificationData: z\n            .intersection(\n              z.object({\n                contactId: z\n                  .string()\n                  .describe(\n                    \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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              z.xor([\n                z.object({\n                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                }),\n                z.object({\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  anonymousVisitorId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has not logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  memberId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  appId: z.never().optional(),\n                  wixUserId: z\n                    .string()\n                    .describe(\n                      'ID of a Wix user (site owner, contributor, etc.).'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z\n                    .string()\n                    .describe('ID of an app.')\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              ])\n            )\n            .describe(\n              'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n            )\n            .optional(),\n          connectionStatus: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe(\n              'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n            )\n            .optional(),\n          connection: z\n            .object({\n              status: z\n                .enum([\n                  'UNKNOWN',\n                  'CONNECTED',\n                  'PENDING',\n                  'EXPIRED',\n                  'DISCONNECTED',\n                ])\n                .describe(\n                  'Connection status of the Wix user and the staff member.'\n                )\n                .optional(),\n            })\n            .describe(\n              'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe(\n          'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Time the staff member was last 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 users to save custom data related to the staff member.'\n        )\n        .optional(),\n      tags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n        )\n        .optional(),\n    })\n    .describe('Updated staff member.')\n    .optional(),\n});\nexport const SearchStaffMembersRequest = z.object({\n  search: z\n    .object({\n      filter: z\n        .object({\n          name: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          email: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          phone: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          description: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\n            .partial()\n            .strict()\n            .optional(),\n          resourceId: z\n            .object({\n              $eq: z.string(),\n              $exists: z.boolean(),\n              $gt: z.string(),\n              $gte: z.string(),\n              $hasAll: z.array(z.string()),\n              $hasSome: z.array(z.string()),\n              $in: z.array(z.string()),\n              $lt: z.string(),\n              $lte: z.string(),\n              $ne: z.string(),\n              $nin: z.array(z.string()),\n              $startsWith: z.string(),\n            })\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\n        .array(\n          z.object({\n            fieldName: z\n              .enum(['name', 'email', 'phone', 'description', 'resourceId'])\n              .optional(),\n            order: z.enum(['ASC', 'DESC']).optional(),\n          })\n        )\n        .optional(),\n    })\n    .catchall(z.any())\n    .describe('Search criteria including filter, sort, and paging options.'),\n  options: z\n    .object({\n      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .optional(),\n});\nexport const SearchStaffMembersResponse = z.object({\n  staffMembers: z\n    .array(\n      z.object({\n        _id: z\n          .string()\n          .describe('Staff member 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        name: z\n          .string()\n          .describe('Staff member name.')\n          .min(1)\n          .max(40)\n          .optional()\n          .nullable(),\n        email: z\n          .string()\n          .describe(\n            \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n          )\n          .max(320)\n          .email()\n          .optional()\n          .nullable(),\n        phone: z\n          .string()\n          .describe(\n            \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n          )\n          .max(20)\n          .optional()\n          .nullable(),\n        description: z\n          .string()\n          .describe(\n            'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n          )\n          .max(500)\n          .optional()\n          .nullable(),\n        mainMedia: z\n          .intersection(\n            z.object({}),\n            z.xor([\n              z.object({ image: z.never().optional() }),\n              z.object({\n                image: z.string().describe(\"Staff member's main image.\"),\n              }),\n            ])\n          )\n          .describe('Staff media.')\n          .optional(),\n        resourceId: z\n          .string()\n          .describe(\n            \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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        resource: z\n          .object({\n            _id: z\n              .string()\n              .describe(\n                'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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            workingHoursSchedules: z\n              .array(\n                z.object({\n                  _id: z\n                    .string()\n                    .describe(\n                      \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                  shared: z\n                    .boolean()\n                    .describe(\n                      \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                    )\n                    .optional(),\n                })\n              )\n              .max(1)\n              .optional(),\n            eventsSchedule: z\n              .object({\n                _id: z\n                  .string()\n                  .describe(\n                    'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n                'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n              )\n              .optional(),\n            usesDefaultWorkingHours: z\n              .boolean()\n              .describe(\n                \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n              )\n              .optional()\n              .nullable(),\n          })\n          .describe(\n            'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n          )\n          .optional(),\n        associatedWixIdentity: z\n          .object({\n            identificationData: z\n              .intersection(\n                z.object({\n                  contactId: z\n                    .string()\n                    .describe(\n                      \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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                z.xor([\n                  z.object({\n                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                  }),\n                  z.object({\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                    anonymousVisitorId: z\n                      .string()\n                      .describe(\n                        'ID of a site visitor that has not logged in to the site.'\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                    anonymousVisitorId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z.never().optional(),\n                    memberId: z\n                      .string()\n                      .describe(\n                        'ID of a site visitor that has logged in to the site.'\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                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    appId: z.never().optional(),\n                    wixUserId: z\n                      .string()\n                      .describe(\n                        'ID of a Wix user (site owner, contributor, etc.).'\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                    anonymousVisitorId: z.never().optional(),\n                    memberId: z.never().optional(),\n                    wixUserId: z.never().optional(),\n                    appId: z\n                      .string()\n                      .describe('ID of an app.')\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                ])\n              )\n              .describe(\n                'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n              )\n              .optional(),\n            connectionStatus: z\n              .enum([\n                'UNKNOWN',\n                'CONNECTED',\n                'PENDING',\n                'EXPIRED',\n                'DISCONNECTED',\n              ])\n              .describe(\n                'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n              )\n              .optional(),\n            connection: z\n              .object({\n                status: z\n                  .enum([\n                    'UNKNOWN',\n                    'CONNECTED',\n                    'PENDING',\n                    'EXPIRED',\n                    'DISCONNECTED',\n                  ])\n                  .describe(\n                    'Connection status of the Wix user and the staff member.'\n                  )\n                  .optional(),\n              })\n              .describe(\n                'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n          )\n          .optional()\n          .nullable(),\n        _createdDate: z\n          .date()\n          .describe(\n            'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n          )\n          .optional()\n          .nullable(),\n        _updatedDate: z\n          .date()\n          .describe(\n            'Time the staff member was last 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 users to save custom data related to the staff member.'\n          )\n          .optional(),\n        tags: z\n          .object({\n            privateTags: z\n              .object({ tagIds: z.array(z.string()).max(100).optional() })\n              .describe(\n                'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n              )\n              .optional(),\n            tags: z\n              .object({ tagIds: z.array(z.string()).max(100).optional() })\n              .describe(\n                'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n              )\n              .optional(),\n          })\n          .describe(\n            'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n          )\n          .optional(),\n      })\n    )\n    .optional(),\n  pagingMetadata: z\n    .object({\n      count: z\n        .number()\n        .int()\n        .describe(\n          'Number of items returned in the current response page.\\n\\nThis count reflects the actual number of items in the current result set,\\nwhich may be less than the requested limit if fewer items are available.'\n        )\n        .optional()\n        .nullable(),\n      cursors: z\n        .object({\n          next: z\n            .string()\n            .describe(\n              'Cursor token for retrieving the next page of results.\\n\\nUse this token in subsequent requests to continue pagination forward.\\nValue is `null` when on the last page of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n          prev: z\n            .string()\n            .describe(\n              'Cursor token for retrieving the previous page of results.\\n\\nUse this token to navigate backwards through result pages.\\nValue is `null` when on the first page of results.'\n            )\n            .max(16000)\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Navigation cursors for moving between result pages.\\n\\nContains `next` and `prev` cursor tokens for pagination. Use the `next` cursor\\nto retrieve subsequent pages and `prev` cursor to go back to previous pages.\\nLearn more about cursor paging in the [API Query Language guide](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging).'\n        )\n        .optional(),\n      hasNext: z\n        .boolean()\n        .describe(\n          'Indicates whether additional results are available beyond the current page.\\n\\n- `true`: More results exist and can be retrieved using the `next` cursor.\\n- `false`: This is the final page of results.'\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      \"Cursor-based paging metadata for navigating through search results.\\n\\nContains pagination details including current cursor position, availability of additional\\nresults, and item counts. Use the `next` cursor to retrieve subsequent result pages.\\nNote: Staff members don't support aggregations, so only cursor and count information is provided.\"\n    )\n    .optional(),\n  aggregationData: z\n    .object({\n      results: z\n        .array(\n          z.intersection(\n            z.object({\n              name: z\n                .string()\n                .describe(\n                  'User-defined name of aggregation as derived from search request.'\n                )\n                .max(100)\n                .optional(),\n              type: z\n                .enum(['UNKNOWN_AGGREGATION_TYPE', 'VALUE', 'RANGE', 'SCALAR'])\n                .describe(\n                  'Type of aggregation that must match specified kind as derived from search request.'\n                )\n                .optional(),\n              fieldPath: z\n                .string()\n                .describe(\n                  'Field to aggregate by as derived from search request.'\n                )\n                .max(200)\n                .optional(),\n            }),\n            z.xor([\n              z.object({\n                values: z.never().optional(),\n                ranges: z.never().optional(),\n                scalar: z.never().optional(),\n                groupedByValue: z.never().optional(),\n                dateHistogram: z.never().optional(),\n                nested: z.never().optional(),\n              }),\n              z.object({\n                ranges: z.never().optional(),\n                scalar: z.never().optional(),\n                groupedByValue: z.never().optional(),\n                dateHistogram: z.never().optional(),\n                nested: z.never().optional(),\n                values: z\n                  .object({\n                    results: z\n                      .array(\n                        z.object({\n                          value: z\n                            .string()\n                            .describe('Value of the field.')\n                            .max(100)\n                            .optional(),\n                          count: z\n                            .number()\n                            .int()\n                            .describe('Count of entities with this value.')\n                            .optional(),\n                        })\n                      )\n                      .max(250)\n                      .optional(),\n                  })\n                  .describe('Value aggregation results.'),\n              }),\n              z.object({\n                values: z.never().optional(),\n                scalar: z.never().optional(),\n                groupedByValue: z.never().optional(),\n                dateHistogram: z.never().optional(),\n                nested: z.never().optional(),\n                ranges: z\n                  .object({\n                    results: z\n                      .array(\n                        z.object({\n                          from: z\n                            .number()\n                            .describe('Inclusive lower bound of the range.')\n                            .optional()\n                            .nullable(),\n                          to: z\n                            .number()\n                            .describe('Exclusive upper bound of the range.')\n                            .optional()\n                            .nullable(),\n                          count: z\n                            .number()\n                            .int()\n                            .describe('Count of entities in this range.')\n                            .optional(),\n                        })\n                      )\n                      .max(50)\n                      .optional(),\n                  })\n                  .describe('Range aggregation results.'),\n              }),\n              z.object({\n                values: z.never().optional(),\n                ranges: z.never().optional(),\n                groupedByValue: z.never().optional(),\n                dateHistogram: z.never().optional(),\n                nested: z.never().optional(),\n                scalar: z\n                  .object({\n                    type: z\n                      .enum([\n                        'UNKNOWN_SCALAR_TYPE',\n                        'COUNT_DISTINCT',\n                        'MIN',\n                        'MAX',\n                      ])\n                      .describe('Type of scalar aggregation.')\n                      .optional(),\n                    value: z\n                      .number()\n                      .describe('Value of the scalar aggregation.')\n                      .optional(),\n                  })\n                  .describe('Scalar aggregation results.'),\n              }),\n              z.object({\n                values: z.never().optional(),\n                ranges: z.never().optional(),\n                scalar: z.never().optional(),\n                dateHistogram: z.never().optional(),\n                nested: z.never().optional(),\n                groupedByValue: z\n                  .object({\n                    results: z\n                      .array(\n                        z.object({\n                          value: z\n                            .string()\n                            .describe('Value of the field.')\n                            .max(1000)\n                            .optional(),\n                          nestedResults: z\n                            .intersection(\n                              z.object({\n                                name: z\n                                  .string()\n                                  .describe(\n                                    'User-defined name of aggregation, matches the one specified in request.'\n                                  )\n                                  .max(100)\n                                  .optional(),\n                                type: z\n                                  .enum([\n                                    'UNKNOWN_AGGREGATION_TYPE',\n                                    'VALUE',\n                                    'RANGE',\n                                    'SCALAR',\n                                  ])\n                                  .describe(\n                                    'Type of aggregation that matches result.'\n                                  )\n                                  .optional(),\n                                fieldPath: z\n                                  .string()\n                                  .describe(\n                                    'Field to aggregate by, matches the one specified in request.'\n                                  )\n                                  .max(200)\n                                  .optional(),\n                              }),\n                              z.xor([\n                                z.object({\n                                  values: z.never().optional(),\n                                  ranges: z.never().optional(),\n                                  scalar: z.never().optional(),\n                                }),\n                                z.object({\n                                  ranges: z.never().optional(),\n                                  scalar: z.never().optional(),\n                                  values: z\n                                    .object({\n                                      results: z\n                                        .array(\n                                          z.object({\n                                            value: z\n                                              .string()\n                                              .describe('Value of the field.')\n                                              .max(100)\n                                              .optional(),\n                                            count: z\n                                              .number()\n                                              .int()\n                                              .describe(\n                                                'Count of entities with this value.'\n                                              )\n                                              .optional(),\n                                          })\n                                        )\n                                        .max(250)\n                                        .optional(),\n                                    })\n                                    .describe('Value aggregation results.'),\n                                }),\n                                z.object({\n                                  values: z.never().optional(),\n                                  scalar: z.never().optional(),\n                                  ranges: z\n                                    .object({\n                                      results: z\n                                        .array(\n                                          z.object({\n                                            from: z\n                                              .number()\n                                              .describe(\n                                                'Inclusive lower bound of the range.'\n                                              )\n                                              .optional()\n                                              .nullable(),\n                                            to: z\n                                              .number()\n                                              .describe(\n                                                'Exclusive upper bound of the range.'\n                                              )\n                                              .optional()\n                                              .nullable(),\n                                            count: z\n                                              .number()\n                                              .int()\n                                              .describe(\n                                                'Count of entities in this range.'\n                                              )\n                                              .optional(),\n                                          })\n                                        )\n                                        .max(50)\n                                        .optional(),\n                                    })\n                                    .describe('Range aggregation results.'),\n                                }),\n                                z.object({\n                                  values: z.never().optional(),\n                                  ranges: z.never().optional(),\n                                  scalar: z\n                                    .object({\n                                      type: z\n                                        .enum([\n                                          'UNKNOWN_SCALAR_TYPE',\n                                          'COUNT_DISTINCT',\n                                          'MIN',\n                                          'MAX',\n                                        ])\n                                        .describe('Type of scalar aggregation.')\n                                        .optional(),\n                                      value: z\n                                        .number()\n                                        .describe(\n                                          'Value of the scalar aggregation.'\n                                        )\n                                        .optional(),\n                                    })\n                                    .describe('Scalar aggregation results.'),\n                                }),\n                              ])\n                            )\n                            .describe('Nested aggregations result data.')\n                            .optional(),\n                        })\n                      )\n                      .max(1000)\n                      .optional(),\n                  })\n                  .describe('Group by value aggregation results.'),\n              }),\n              z.object({\n                values: z.never().optional(),\n                ranges: z.never().optional(),\n                scalar: z.never().optional(),\n                groupedByValue: z.never().optional(),\n                nested: z.never().optional(),\n                dateHistogram: z\n                  .object({\n                    results: z\n                      .array(\n                        z.object({\n                          value: z\n                            .string()\n                            .describe(\n                              'Date in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).'\n                            )\n                            .max(100)\n                            .optional(),\n                          count: z\n                            .number()\n                            .int()\n                            .describe('Count of documents in the bucket.')\n                            .optional(),\n                        })\n                      )\n                      .max(200)\n                      .optional(),\n                  })\n                  .describe('Date histogram aggregation results.'),\n              }),\n              z.object({\n                values: z.never().optional(),\n                ranges: z.never().optional(),\n                scalar: z.never().optional(),\n                groupedByValue: z.never().optional(),\n                dateHistogram: z.never().optional(),\n                nested: z\n                  .object({\n                    results: z\n                      .array(\n                        z.object({\n                          results: z\n                            .record(\n                              z.string(),\n                              z.intersection(\n                                z.object({}),\n                                z.xor([\n                                  z.object({\n                                    value: z.never().optional(),\n                                    range: z.never().optional(),\n                                    scalar: z.never().optional(),\n                                    dateHistogram: z.never().optional(),\n                                  }),\n                                  z.object({\n                                    range: z.never().optional(),\n                                    scalar: z.never().optional(),\n                                    dateHistogram: z.never().optional(),\n                                    value: z\n                                      .object({\n                                        value: z\n                                          .string()\n                                          .describe('Value of the field.')\n                                          .max(1000)\n                                          .optional(),\n                                        count: z\n                                          .number()\n                                          .int()\n                                          .describe(\n                                            'Count of entities with this value.'\n                                          )\n                                          .optional()\n                                          .nullable(),\n                                      })\n                                      .describe('Value aggregation result.'),\n                                  }),\n                                  z.object({\n                                    value: z.never().optional(),\n                                    scalar: z.never().optional(),\n                                    dateHistogram: z.never().optional(),\n                                    range: z\n                                      .object({\n                                        from: z\n                                          .number()\n                                          .describe(\n                                            'Inclusive lower bound of the range.'\n                                          )\n                                          .optional()\n                                          .nullable(),\n                                        to: z\n                                          .number()\n                                          .describe(\n                                            'Exclusive upper bound of the range.'\n                                          )\n                                          .optional()\n                                          .nullable(),\n                                        count: z\n                                          .number()\n                                          .int()\n                                          .describe(\n                                            'Count of entities in this range.'\n                                          )\n                                          .optional()\n                                          .nullable(),\n                                      })\n                                      .describe('Range aggregation result.'),\n                                  }),\n                                  z.object({\n                                    value: z.never().optional(),\n                                    range: z.never().optional(),\n                                    dateHistogram: z.never().optional(),\n                                    scalar: z\n                                      .object({\n                                        value: z\n                                          .number()\n                                          .describe(\n                                            'Value of the scalar aggregation.'\n                                          )\n                                          .optional(),\n                                      })\n                                      .describe('Scalar aggregation result.'),\n                                  }),\n                                  z.object({\n                                    value: z.never().optional(),\n                                    range: z.never().optional(),\n                                    scalar: z.never().optional(),\n                                    dateHistogram: z\n                                      .object({\n                                        value: z\n                                          .string()\n                                          .describe('Value of the field.')\n                                          .max(1000)\n                                          .optional(),\n                                        count: z\n                                          .number()\n                                          .int()\n                                          .describe(\n                                            'Count of entities with this value.'\n                                          )\n                                          .optional()\n                                          .nullable(),\n                                      })\n                                      .describe(\n                                        'Date histogram aggregation result.'\n                                      ),\n                                  }),\n                                ])\n                              )\n                            )\n                            .describe(\n                              'Map of nested aggregation results, keyed by aggregation name.'\n                            )\n                            .optional(),\n                        })\n                      )\n                      .max(1000)\n                      .optional(),\n                  })\n                  .describe('Nested aggregation results.'),\n              }),\n            ])\n          )\n        )\n        .max(10000)\n        .optional(),\n    })\n    .describe(\n      \"Aggregation data results (currently reserved for future use).\\n\\nStaff member searches don't currently support aggregations. This field is reserved\\nfor potential future aggregation capabilities such as grouping by working hours,\\nlocation assignments, or user connection status.\"\n    )\n    .optional(),\n});\nexport const DisconnectStaffMemberFromUserRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe('ID of the staff member to disconnect from its Wix user.')\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      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe('Options to disconnect the staff member from a Wix user.')\n    .optional(),\n});\nexport const DisconnectStaffMemberFromUserResponse = z.object({\n  staffMember: z\n    .object({\n      _id: z\n        .string()\n        .describe('Staff member 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      name: z\n        .string()\n        .describe('Staff member name.')\n        .min(1)\n        .max(40)\n        .optional()\n        .nullable(),\n      email: z\n        .string()\n        .describe(\n          \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      phone: z\n        .string()\n        .describe(\n          \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(20)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe(\n          'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      mainMedia: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({ image: z.never().optional() }),\n            z.object({\n              image: z.string().describe(\"Staff member's main image.\"),\n            }),\n          ])\n        )\n        .describe('Staff media.')\n        .optional(),\n      resourceId: z\n        .string()\n        .describe(\n          \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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      resource: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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          workingHoursSchedules: z\n            .array(\n              z.object({\n                _id: z\n                  .string()\n                  .describe(\n                    \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                shared: z\n                  .boolean()\n                  .describe(\n                    \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                  )\n                  .optional(),\n              })\n            )\n            .max(1)\n            .optional(),\n          eventsSchedule: z\n            .object({\n              _id: z\n                .string()\n                .describe(\n                  'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n              'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n            )\n            .optional(),\n          usesDefaultWorkingHours: z\n            .boolean()\n            .describe(\n              \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n        )\n        .optional(),\n      associatedWixIdentity: z\n        .object({\n          identificationData: z\n            .intersection(\n              z.object({\n                contactId: z\n                  .string()\n                  .describe(\n                    \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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              z.xor([\n                z.object({\n                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                }),\n                z.object({\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  anonymousVisitorId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has not logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  memberId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  appId: z.never().optional(),\n                  wixUserId: z\n                    .string()\n                    .describe(\n                      'ID of a Wix user (site owner, contributor, etc.).'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z\n                    .string()\n                    .describe('ID of an app.')\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              ])\n            )\n            .describe(\n              'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n            )\n            .optional(),\n          connectionStatus: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe(\n              'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n            )\n            .optional(),\n          connection: z\n            .object({\n              status: z\n                .enum([\n                  'UNKNOWN',\n                  'CONNECTED',\n                  'PENDING',\n                  'EXPIRED',\n                  'DISCONNECTED',\n                ])\n                .describe(\n                  'Connection status of the Wix user and the staff member.'\n                )\n                .optional(),\n            })\n            .describe(\n              'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe(\n          'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Time the staff member was last 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 users to save custom data related to the staff member.'\n        )\n        .optional(),\n      tags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n        )\n        .optional(),\n    })\n    .describe('Updated staff member.')\n    .optional(),\n});\nexport const AssignWorkingHoursScheduleRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe('ID of the staff member to assign the schedule to.')\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  scheduleId: z\n    .string()\n    .describe(\n      \"ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nto assign to the staff member.\\n\\nMust be either the staff member's event schedule ID or the working hour\\nschedule ID for a business location.\"\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      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .describe(\"Options for setting the staff member's working hours schedule.\")\n    .optional(),\n});\nexport const AssignWorkingHoursScheduleResponse = z.object({\n  staffMember: z\n    .object({\n      _id: z\n        .string()\n        .describe('Staff member 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      name: z\n        .string()\n        .describe('Staff member name.')\n        .min(1)\n        .max(40)\n        .optional()\n        .nullable(),\n      email: z\n        .string()\n        .describe(\n          \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      phone: z\n        .string()\n        .describe(\n          \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(20)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe(\n          'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      mainMedia: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({ image: z.never().optional() }),\n            z.object({\n              image: z.string().describe(\"Staff member's main image.\"),\n            }),\n          ])\n        )\n        .describe('Staff media.')\n        .optional(),\n      resourceId: z\n        .string()\n        .describe(\n          \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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      resource: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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          workingHoursSchedules: z\n            .array(\n              z.object({\n                _id: z\n                  .string()\n                  .describe(\n                    \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                shared: z\n                  .boolean()\n                  .describe(\n                    \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                  )\n                  .optional(),\n              })\n            )\n            .max(1)\n            .optional(),\n          eventsSchedule: z\n            .object({\n              _id: z\n                .string()\n                .describe(\n                  'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n              'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n            )\n            .optional(),\n          usesDefaultWorkingHours: z\n            .boolean()\n            .describe(\n              \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n        )\n        .optional(),\n      associatedWixIdentity: z\n        .object({\n          identificationData: z\n            .intersection(\n              z.object({\n                contactId: z\n                  .string()\n                  .describe(\n                    \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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              z.xor([\n                z.object({\n                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                }),\n                z.object({\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  anonymousVisitorId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has not logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  memberId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  appId: z.never().optional(),\n                  wixUserId: z\n                    .string()\n                    .describe(\n                      'ID of a Wix user (site owner, contributor, etc.).'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z\n                    .string()\n                    .describe('ID of an app.')\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              ])\n            )\n            .describe(\n              'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n            )\n            .optional(),\n          connectionStatus: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe(\n              'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n            )\n            .optional(),\n          connection: z\n            .object({\n              status: z\n                .enum([\n                  'UNKNOWN',\n                  'CONNECTED',\n                  'PENDING',\n                  'EXPIRED',\n                  'DISCONNECTED',\n                ])\n                .describe(\n                  'Connection status of the Wix user and the staff member.'\n                )\n                .optional(),\n            })\n            .describe(\n              'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe(\n          'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Time the staff member was last 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 users to save custom data related to the staff member.'\n        )\n        .optional(),\n      tags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n        )\n        .optional(),\n    })\n    .describe('Updated staff member.')\n    .optional(),\n});\nexport const AssignCustomScheduleRequest = z.object({\n  staffMemberId: z\n    .string()\n    .describe(\n      'ID of the staff member for which to assign a working hour schedule.'\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  scheduleId: z\n    .string()\n    .describe(\n      'ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nto assign to the staff member.'\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      fields: z\n        .array(z.enum(['RESOURCE_DETAILS', 'ASSOCIATED_IDENTITY_STATUS']))\n        .max(3)\n        .optional(),\n    })\n    .optional(),\n});\nexport const AssignCustomScheduleResponse = z.object({\n  staffMember: z\n    .object({\n      _id: z\n        .string()\n        .describe('Staff member 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      name: z\n        .string()\n        .describe('Staff member name.')\n        .min(1)\n        .max(40)\n        .optional()\n        .nullable(),\n      email: z\n        .string()\n        .describe(\n          \"Staff member's email address.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(320)\n        .email()\n        .optional()\n        .nullable(),\n      phone: z\n        .string()\n        .describe(\n          \"Staff member's phone number.\\nThis field is populated based on the `publiclyAccessible` setting in the [Staff Member Settings API](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-member-settings/introduction).\\nWhen the setting is disabled, this field is empty if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions.\\nIdentities with appropriate permissions can access this field regardless of the setting.\"\n        )\n        .max(20)\n        .optional()\n        .nullable(),\n      description: z\n        .string()\n        .describe(\n          'Description for the staff member. For example,\\n`Experienced nail technician specialized in gel and acrylic nails`.'\n        )\n        .max(500)\n        .optional()\n        .nullable(),\n      mainMedia: z\n        .intersection(\n          z.object({}),\n          z.xor([\n            z.object({ image: z.never().optional() }),\n            z.object({\n              image: z.string().describe(\"Staff member's main image.\"),\n            }),\n          ])\n        )\n        .describe('Staff media.')\n        .optional(),\n      resourceId: z\n        .string()\n        .describe(\n          \"Staff member's [resource ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction),\\nidentical to `resource.id`.\"\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      resource: z\n        .object({\n          _id: z\n            .string()\n            .describe(\n              'ID of the [resource](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/introduction)\\nassociated with the staff member.'\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          workingHoursSchedules: z\n            .array(\n              z.object({\n                _id: z\n                  .string()\n                  .describe(\n                    \"ID of the working hour [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Currently, each staff member can't have more than a\\nsingle working hour schedule. Learn more about\\n[how Wix Bookings uses the Calendar APIs](https://dev.wix.com/docs/api-reference/business-management/calendar/wix-bookings-integration).\"\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                shared: z\n                  .boolean()\n                  .describe(\n                    \"Whether the working hour schedule is shared with the business. If this field\\nisn't available, the schedule isn't shared but specific for the staff member.\"\n                  )\n                  .optional(),\n              })\n            )\n            .max(1)\n            .optional(),\n          eventsSchedule: z\n            .object({\n              _id: z\n                .string()\n                .describe(\n                  'ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nassociated with the staff member. Learn more about\\n_how Wix Bookings uses the Calendar APIs_\\n[Wix Bookings](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration).'\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(\n              'Event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction)\\nof the staff member.'\n            )\n            .optional(),\n          usesDefaultWorkingHours: z\n            .boolean()\n            .describe(\n              \"Whether the staff member works according to business's [default location](https://dev.wix.com/docs/rest/business-management/locations/introduction)\\nopening hours.\\n\\n`false`: The staff has custom working hours.\\n\\nDefault: `true`\"\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 resource is updated.'\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Details about the [resource object](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object)\\nassociated with the staff member. Available only if you specify `RESOURCE_DETAILS`\\nin the `fields` array.'\n        )\n        .optional(),\n      associatedWixIdentity: z\n        .object({\n          identificationData: z\n            .intersection(\n              z.object({\n                contactId: z\n                  .string()\n                  .describe(\n                    \"ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system. Retrievable via the [Contacts API](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/introduction)\"\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              z.xor([\n                z.object({\n                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                }),\n                z.object({\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  anonymousVisitorId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has not logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z.never().optional(),\n                  memberId: z\n                    .string()\n                    .describe(\n                      'ID of a site visitor that has logged in to the site.'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  appId: z.never().optional(),\n                  wixUserId: z\n                    .string()\n                    .describe(\n                      'ID of a Wix user (site owner, contributor, etc.).'\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                  anonymousVisitorId: z.never().optional(),\n                  memberId: z.never().optional(),\n                  wixUserId: z.never().optional(),\n                  appId: z\n                    .string()\n                    .describe('ID of an app.')\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              ])\n            )\n            .describe(\n              'Information about the identity connected to the staff member. Available only\\nif the staff member is connected to a Wix user. Learn more about [identities](https://dev.wix.com/docs/rest/articles/getting-started/about-identities).'\n            )\n            .optional(),\n          connectionStatus: z\n            .enum([\n              'UNKNOWN',\n              'CONNECTED',\n              'PENDING',\n              'EXPIRED',\n              'DISCONNECTED',\n            ])\n            .describe(\n              'Deprecated: Connection status.\\nAvailable only if you specify `ASSOCIATED_IDENTITY_STATUS` in the `fields` array.'\n            )\n            .optional(),\n          connection: z\n            .object({\n              status: z\n                .enum([\n                  'UNKNOWN',\n                  'CONNECTED',\n                  'PENDING',\n                  'EXPIRED',\n                  'DISCONNECTED',\n                ])\n                .describe(\n                  'Connection status of the Wix user and the staff member.'\n                )\n                .optional(),\n            })\n            .describe(\n              'Connection status. Available only if you specify `ASSOCIATED_IDENTITY_STATUS`\\nin the `fields` array.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Identity of the Wix user associated with the staff member. Learn more about\\n[identities](https://dev.wix.com/docs/api-reference/articles/authentication/about-identities).'\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 staff member is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the staff member.'\n        )\n        .optional()\n        .nullable(),\n      _createdDate: z\n        .date()\n        .describe(\n          'Time the staff member was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Time the staff member was last 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 users to save custom data related to the staff member.'\n        )\n        .optional(),\n      tags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe(\n          'Tags allowing you to classify staff members. Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction).'\n        )\n        .optional(),\n    })\n    .describe('Updated staff member.')\n    .optional(),\n});\nexport const BulkUpdateStaffMemberTagsRequest = z.object({\n  ids: z.array(z.string()).min(1).max(100),\n  options: z\n    .object({\n      assignTags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe('Tags to add to the staff members.')\n        .optional(),\n      unassignTags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe('Tags to remove from the staff members.')\n        .optional(),\n    })\n    .optional(),\n});\nexport const BulkUpdateStaffMemberTagsResponse = z.object({\n  results: z\n    .array(\n      z.object({\n        itemMetadata: z\n          .object({\n            _id: z\n              .string()\n              .describe(\n                \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\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            originalIndex: z\n              .number()\n              .int()\n              .describe(\n                'Index of the item within the request array. Allows for correlation between request and response items.'\n              )\n              .optional(),\n            success: z\n              .boolean()\n              .describe(\n                'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n              )\n              .optional(),\n            error: z\n              .object({\n                code: z.string().describe('Error code.').optional(),\n                description: z\n                  .string()\n                  .describe('Description of the error.')\n                  .optional(),\n                data: z\n                  .record(z.string(), z.any())\n                  .describe('Data related to the error.')\n                  .optional()\n                  .nullable(),\n              })\n              .describe('Details about the error in case of failure.')\n              .optional(),\n          })\n          .describe('Metadata about an individual update operation.')\n          .optional(),\n      })\n    )\n    .min(1)\n    .max(100)\n    .optional(),\n  bulkActionMetadata: z\n    .object({\n      totalSuccesses: z\n        .number()\n        .int()\n        .describe('Number of items that were successfully processed.')\n        .optional(),\n      totalFailures: z\n        .number()\n        .int()\n        .describe(\"Number of items that couldn't be processed.\")\n        .optional(),\n      undetailedFailures: z\n        .number()\n        .int()\n        .describe(\n          'Number of failures without details because detailed failure threshold was exceeded.'\n        )\n        .optional(),\n    })\n    .describe('Bulk action metadata.')\n    .optional(),\n});\nexport const BulkUpdateStaffMemberTagsByFilterRequest = z.object({\n  filter: z\n    .record(z.string(), z.any())\n    .describe(\n      'Filter to base the update upon.\\nSee [Query Staff Members](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/query-staff-members)\\nfor a complete list of supported filters.'\n    ),\n  options: z\n    .object({\n      assignTags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe('Tags to add to the staff members.')\n        .optional(),\n      unassignTags: z\n        .object({\n          privateTags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that require an additional permission in order to access them, normally not given to site members or visitors.'\n            )\n            .optional(),\n          tags: z\n            .object({ tagIds: z.array(z.string()).max(100).optional() })\n            .describe(\n              'Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.'\n            )\n            .optional(),\n        })\n        .describe('Tags to remove from the staff members.')\n        .optional(),\n    })\n    .optional(),\n});\nexport const BulkUpdateStaffMemberTagsByFilterResponse = z.object({\n  jobId: z\n    .string()\n    .describe('Job ID for the bulk update operation.')\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});\n"],"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