{"version":3,"sources":["../../src/bookings-staff-settings-v1-staff-member-settings-staff-member-settings.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetStaffMemberSettingsRequest = /*#__PURE__*/ z.object({});\nexport const GetStaffMemberSettingsResponse = /*#__PURE__*/ z.object({\n  _id: z\n    .string()\n    .describe(\n      'ID of the staff member settings object. There is one settings object per 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    .optional()\n    .nullable(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number, which increments by 1 each time the `staffMemberSettings` object is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the `staffMemberSettings` object.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe(\n      'Date and time the `staffMemberSettings` object was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n    )\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe(\n      'Date and time the `staffMemberSettings` object was last updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n    )\n    .optional()\n    .nullable(),\n  contactInformation: z\n    .object({\n      publiclyAccessible: z\n        .boolean()\n        .describe(\n          \"Whether staff members' email addresses and phone numbers are accessible in API responses and on the live site.\\n\\n- `true`: The `email` and `phone` fields in [staff member objects](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/staff-member-object) contain actual contact information, and this information is displayed on the live site.\\n- `false`: These fields are empty in API responses if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions, and contact information isn't displayed on the live site.\\n\\nIdentities with appropriate permissions can still access this information in API responses regardless of this setting.\\n\\nDefault: `false`\"\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Privacy settings for controlling staff member contact information visibility in API responses and on the live site.'\n    )\n    .optional(),\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      'Custom field data for the staff member settings.\\nExtended fields must be configured in the app dashboard before they can be accessed with API calls.\\n\\nLearn more about extended fields at https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.'\n    )\n    .optional(),\n});\nexport const UpdateStaffMemberSettingsRequest = /*#__PURE__*/ z.object({\n  staffMemberSettings: z\n    .object({\n      _id: z\n        .string()\n        .describe(\n          'ID of the staff member settings object. There is one settings object per 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        .optional()\n        .nullable(),\n      revision: z\n        .string()\n        .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n        .describe(\n          'Revision number, which increments by 1 each time the `staffMemberSettings` object is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the `staffMemberSettings` object.'\n        ),\n      _createdDate: z\n        .date()\n        .describe(\n          'Date and time the `staffMemberSettings` object was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      _updatedDate: z\n        .date()\n        .describe(\n          'Date and time the `staffMemberSettings` object was last updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n        )\n        .optional()\n        .nullable(),\n      contactInformation: z\n        .object({\n          publiclyAccessible: z\n            .boolean()\n            .describe(\n              \"Whether staff members' email addresses and phone numbers are accessible in API responses and on the live site.\\n\\n- `true`: The `email` and `phone` fields in [staff member objects](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/staff-member-object) contain actual contact information, and this information is displayed on the live site.\\n- `false`: These fields are empty in API responses if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions, and contact information isn't displayed on the live site.\\n\\nIdentities with appropriate permissions can still access this information in API responses regardless of this setting.\\n\\nDefault: `false`\"\n            )\n            .optional()\n            .nullable(),\n        })\n        .describe(\n          'Privacy settings for controlling staff member contact information visibility in API responses and on the live site.'\n        )\n        .optional(),\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          'Custom field data for the staff member settings.\\nExtended fields must be configured in the app dashboard before they can be accessed with API calls.\\n\\nLearn more about extended fields at https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.'\n        )\n        .optional(),\n    })\n    .describe('Staff member settings to update, may be partial.'),\n});\nexport const UpdateStaffMemberSettingsResponse = /*#__PURE__*/ z.object({\n  _id: z\n    .string()\n    .describe(\n      'ID of the staff member settings object. There is one settings object per 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    .optional()\n    .nullable(),\n  revision: z\n    .string()\n    .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n    .describe(\n      'Revision number, which increments by 1 each time the `staffMemberSettings` object is updated.\\nTo prevent conflicting changes, the current revision must be specified when updating the `staffMemberSettings` object.'\n    )\n    .optional()\n    .nullable(),\n  _createdDate: z\n    .date()\n    .describe(\n      'Date and time the `staffMemberSettings` object was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n    )\n    .optional()\n    .nullable(),\n  _updatedDate: z\n    .date()\n    .describe(\n      'Date and time the `staffMemberSettings` object was last updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.'\n    )\n    .optional()\n    .nullable(),\n  contactInformation: z\n    .object({\n      publiclyAccessible: z\n        .boolean()\n        .describe(\n          \"Whether staff members' email addresses and phone numbers are accessible in API responses and on the live site.\\n\\n- `true`: The `email` and `phone` fields in [staff member objects](https://dev.wix.com/docs/api-reference/business-solutions/bookings/staff-members/staff-members/staff-member-object) contain actual contact information, and this information is displayed on the live site.\\n- `false`: These fields are empty in API responses if the calling [identity](https://dev.wix.com/docs/build-apps/develop-your-app/access/about-identities) doesn't have sufficient permissions, and contact information isn't displayed on the live site.\\n\\nIdentities with appropriate permissions can still access this information in API responses regardless of this setting.\\n\\nDefault: `false`\"\n        )\n        .optional()\n        .nullable(),\n    })\n    .describe(\n      'Privacy settings for controlling staff member contact information visibility in API responses and on the live site.'\n    )\n    .optional(),\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      'Custom field data for the staff member settings.\\nExtended fields must be configured in the app dashboard before they can be accessed with API calls.\\n\\nLearn more about extended fields at https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.'\n    )\n    .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,gCAA8C,gBAAE,SAAO,CAAC,CAAC;AAC/D,IAAM,iCAA+C,gBAAE,SAAO;AAAA,EACnE,KACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC;AAAA,IACC;AAAA,IACA;AAAA,EACF,EACC,SAAS,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