@wix/auto_sdk_bookings_resources 1.0.82 → 1.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/build/cjs/{bookings-resources-v2-resource-resources.universal-Ba7IleZN.d.ts → bookings-resources-v2-resource-resources.universal-CI0rQPIN.d.ts} +10 -41
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +1 -15
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.d.ts +0 -42
  9. package/build/cjs/schemas.js +0 -102
  10. package/build/cjs/schemas.js.map +1 -1
  11. package/build/es/{bookings-resources-v2-resource-resources.universal-Ba7IleZN.d.mts → bookings-resources-v2-resource-resources.universal-CI0rQPIN.d.mts} +10 -41
  12. package/build/es/index.d.mts +2 -2
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -2
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1 -15
  17. package/build/es/meta.mjs.map +1 -1
  18. package/build/es/schemas.d.mts +0 -42
  19. package/build/es/schemas.mjs +0 -102
  20. package/build/es/schemas.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-resources-v2-resource-resources.universal-Ba7IleZN.d.ts → bookings-resources-v2-resource-resources.universal-CI0rQPIN.d.ts} +10 -41
  22. package/build/internal/cjs/index.d.ts +2 -2
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +2 -2
  25. package/build/internal/cjs/index.typings.js.map +1 -1
  26. package/build/internal/cjs/meta.d.ts +1 -15
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/cjs/schemas.d.ts +0 -42
  29. package/build/internal/cjs/schemas.js +0 -102
  30. package/build/internal/cjs/schemas.js.map +1 -1
  31. package/build/internal/es/{bookings-resources-v2-resource-resources.universal-Ba7IleZN.d.mts → bookings-resources-v2-resource-resources.universal-CI0rQPIN.d.mts} +10 -41
  32. package/build/internal/es/index.d.mts +2 -2
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +2 -2
  35. package/build/internal/es/index.typings.mjs.map +1 -1
  36. package/build/internal/es/meta.d.mts +1 -15
  37. package/build/internal/es/meta.mjs.map +1 -1
  38. package/build/internal/es/schemas.d.mts +0 -42
  39. package/build/internal/es/schemas.mjs +0 -102
  40. package/build/internal/es/schemas.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -26,7 +26,6 @@ declare const CreateResourceRequest: z.ZodObject<{
26
26
  eventsSchedule: z.ZodOptional<z.ZodObject<{
27
27
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
28
  }, z.core.$strip>>;
29
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
30
29
  extendedFields: z.ZodOptional<z.ZodObject<{
31
30
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
32
31
  }, z.core.$strip>>;
@@ -57,7 +56,6 @@ declare const CreateResourceResponse: z.ZodObject<{
57
56
  eventsSchedule: z.ZodOptional<z.ZodObject<{
58
57
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59
58
  }, z.core.$strip>>;
60
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
61
59
  extendedFields: z.ZodOptional<z.ZodObject<{
62
60
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
63
61
  }, z.core.$strip>>;
@@ -88,7 +86,6 @@ declare const BulkCreateResourcesRequest: z.ZodObject<{
88
86
  eventsSchedule: z.ZodOptional<z.ZodObject<{
89
87
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
90
88
  }, z.core.$strip>>;
91
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
92
89
  extendedFields: z.ZodOptional<z.ZodObject<{
93
90
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
94
91
  }, z.core.$strip>>;
@@ -134,7 +131,6 @@ declare const BulkCreateResourcesResponse: z.ZodObject<{
134
131
  eventsSchedule: z.ZodOptional<z.ZodObject<{
135
132
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
136
133
  }, z.core.$strip>>;
137
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
138
134
  extendedFields: z.ZodOptional<z.ZodObject<{
139
135
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
140
136
  }, z.core.$strip>>;
@@ -174,7 +170,6 @@ declare const GetResourceResponse: z.ZodObject<{
174
170
  eventsSchedule: z.ZodOptional<z.ZodObject<{
175
171
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
176
172
  }, z.core.$strip>>;
177
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
178
173
  extendedFields: z.ZodOptional<z.ZodObject<{
179
174
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
180
175
  }, z.core.$strip>>;
@@ -206,7 +201,6 @@ declare const UpdateResourceRequest: z.ZodObject<{
206
201
  eventsSchedule: z.ZodOptional<z.ZodObject<{
207
202
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
208
203
  }, z.core.$strip>>;
209
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
210
204
  extendedFields: z.ZodOptional<z.ZodObject<{
211
205
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
212
206
  }, z.core.$strip>>;
@@ -237,7 +231,6 @@ declare const UpdateResourceResponse: z.ZodObject<{
237
231
  eventsSchedule: z.ZodOptional<z.ZodObject<{
238
232
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
239
233
  }, z.core.$strip>>;
240
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
241
234
  extendedFields: z.ZodOptional<z.ZodObject<{
242
235
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
243
236
  }, z.core.$strip>>;
@@ -269,7 +262,6 @@ declare const BulkUpdateResourcesRequest: z.ZodObject<{
269
262
  eventsSchedule: z.ZodOptional<z.ZodObject<{
270
263
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
271
264
  }, z.core.$strip>>;
272
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
273
265
  extendedFields: z.ZodOptional<z.ZodObject<{
274
266
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
275
267
  }, z.core.$strip>>;
@@ -317,7 +309,6 @@ declare const BulkUpdateResourcesResponse: z.ZodObject<{
317
309
  eventsSchedule: z.ZodOptional<z.ZodObject<{
318
310
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
319
311
  }, z.core.$strip>>;
320
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
321
312
  extendedFields: z.ZodOptional<z.ZodObject<{
322
313
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
323
314
  }, z.core.$strip>>;
@@ -373,7 +364,6 @@ declare const BulkDeleteResourcesResponse: z.ZodObject<{
373
364
  eventsSchedule: z.ZodOptional<z.ZodObject<{
374
365
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
375
366
  }, z.core.$strip>>;
376
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
377
367
  extendedFields: z.ZodOptional<z.ZodObject<{
378
368
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
379
369
  }, z.core.$strip>>;
@@ -416,20 +406,6 @@ declare const SearchResourcesRequest: z.ZodObject<{
416
406
  $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
417
407
  $startsWith: z.ZodOptional<z.ZodString>;
418
408
  }, z.core.$strict>>;
419
- appId: z.ZodOptional<z.ZodObject<{
420
- $eq: z.ZodOptional<z.ZodString>;
421
- $exists: z.ZodOptional<z.ZodBoolean>;
422
- $gt: z.ZodOptional<z.ZodString>;
423
- $gte: z.ZodOptional<z.ZodString>;
424
- $hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
425
- $hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
426
- $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
427
- $lt: z.ZodOptional<z.ZodString>;
428
- $lte: z.ZodOptional<z.ZodString>;
429
- $ne: z.ZodOptional<z.ZodString>;
430
- $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
431
- $startsWith: z.ZodOptional<z.ZodString>;
432
- }, z.core.$strict>>;
433
409
  _createdDate: z.ZodOptional<z.ZodObject<{
434
410
  $eq: z.ZodOptional<z.ZodString>;
435
411
  $exists: z.ZodOptional<z.ZodBoolean>;
@@ -510,7 +486,6 @@ declare const SearchResourcesRequest: z.ZodObject<{
510
486
  name: "name";
511
487
  _createdDate: "_createdDate";
512
488
  _updatedDate: "_updatedDate";
513
- appId: "appId";
514
489
  "singleResource.locationOptions.specificLocationOptions.businessLocations.locationId": "singleResource.locationOptions.specificLocationOptions.businessLocations.locationId";
515
490
  "singleResource.locationOptions.availableInAllLocations": "singleResource.locationOptions.availableInAllLocations";
516
491
  "singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations": "singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations";
@@ -548,7 +523,6 @@ declare const SearchResourcesResponse: z.ZodObject<{
548
523
  eventsSchedule: z.ZodOptional<z.ZodObject<{
549
524
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
550
525
  }, z.core.$strip>>;
551
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
552
526
  extendedFields: z.ZodOptional<z.ZodObject<{
553
527
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
554
528
  }, z.core.$strip>>;
@@ -768,20 +742,6 @@ declare const QueryResourcesRequest: z.ZodObject<{
768
742
  $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
769
743
  $startsWith: z.ZodOptional<z.ZodString>;
770
744
  }, z.core.$strict>>;
771
- appId: z.ZodOptional<z.ZodObject<{
772
- $eq: z.ZodOptional<z.ZodString>;
773
- $exists: z.ZodOptional<z.ZodBoolean>;
774
- $gt: z.ZodOptional<z.ZodString>;
775
- $gte: z.ZodOptional<z.ZodString>;
776
- $hasAll: z.ZodOptional<z.ZodArray<z.ZodString>>;
777
- $hasSome: z.ZodOptional<z.ZodArray<z.ZodString>>;
778
- $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
779
- $lt: z.ZodOptional<z.ZodString>;
780
- $lte: z.ZodOptional<z.ZodString>;
781
- $ne: z.ZodOptional<z.ZodString>;
782
- $nin: z.ZodOptional<z.ZodArray<z.ZodString>>;
783
- $startsWith: z.ZodOptional<z.ZodString>;
784
- }, z.core.$strict>>;
785
745
  _createdDate: z.ZodOptional<z.ZodObject<{
786
746
  $eq: z.ZodOptional<z.ZodString>;
787
747
  $exists: z.ZodOptional<z.ZodBoolean>;
@@ -932,7 +892,6 @@ declare const QueryResourcesRequest: z.ZodObject<{
932
892
  _createdDate: "_createdDate";
933
893
  _updatedDate: "_updatedDate";
934
894
  typeId: "typeId";
935
- appId: "appId";
936
895
  "locationOptions.availableInAllLocations": "locationOptions.availableInAllLocations";
937
896
  "locationOptions.specificLocationOptions.availableInBusinessLocations": "locationOptions.specificLocationOptions.availableInBusinessLocations";
938
897
  "eventsSchedule.scheduleId": "eventsSchedule.scheduleId";
@@ -974,7 +933,6 @@ declare const QueryResourcesResponse: z.ZodObject<{
974
933
  eventsSchedule: z.ZodOptional<z.ZodObject<{
975
934
  scheduleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
976
935
  }, z.core.$strip>>;
977
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
978
936
  extendedFields: z.ZodOptional<z.ZodObject<{
979
937
  namespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
980
938
  }, z.core.$strip>>;
@@ -126,12 +126,6 @@ var CreateResourceRequest = z.object({
126
126
  }).describe(
127
127
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
128
128
  ).optional(),
129
- appId: z.string().describe(
130
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
131
- ).regex(
132
- /^[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}$/,
133
- "Must be a valid GUID"
134
- ).optional().nullable(),
135
129
  extendedFields: z.object({
136
130
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
137
131
  "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)."
@@ -209,12 +203,6 @@ var CreateResourceResponse = z.object({
209
203
  }).describe(
210
204
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
211
205
  ).optional(),
212
- appId: z.string().describe(
213
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
214
- ).regex(
215
- /^[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}$/,
216
- "Must be a valid GUID"
217
- ).optional().nullable(),
218
206
  extendedFields: z.object({
219
207
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
220
208
  "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)."
@@ -297,12 +285,6 @@ var BulkCreateResourcesRequest = z.object({
297
285
  }).describe(
298
286
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
299
287
  ).optional(),
300
- appId: z.string().describe(
301
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
302
- ).regex(
303
- /^[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}$/,
304
- "Must be a valid GUID"
305
- ).optional().nullable(),
306
288
  extendedFields: z.object({
307
289
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
308
290
  "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)."
@@ -412,12 +394,6 @@ var BulkCreateResourcesResponse = z.object({
412
394
  }).describe(
413
395
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
414
396
  ).optional(),
415
- appId: z.string().describe(
416
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
417
- ).regex(
418
- /^[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}$/,
419
- "Must be a valid GUID"
420
- ).optional().nullable(),
421
397
  extendedFields: z.object({
422
398
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
423
399
  "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)."
@@ -510,12 +486,6 @@ var GetResourceResponse = z.object({
510
486
  }).describe(
511
487
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
512
488
  ).optional(),
513
- appId: z.string().describe(
514
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
515
- ).regex(
516
- /^[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}$/,
517
- "Must be a valid GUID"
518
- ).optional().nullable(),
519
489
  extendedFields: z.object({
520
490
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
521
491
  "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)."
@@ -599,12 +569,6 @@ var UpdateResourceRequest = z.object({
599
569
  }).describe(
600
570
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
601
571
  ).optional(),
602
- appId: z.string().describe(
603
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
604
- ).regex(
605
- /^[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}$/,
606
- "Must be a valid GUID"
607
- ).optional().nullable(),
608
572
  extendedFields: z.object({
609
573
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
610
574
  "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)."
@@ -682,12 +646,6 @@ var UpdateResourceResponse = z.object({
682
646
  }).describe(
683
647
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
684
648
  ).optional(),
685
- appId: z.string().describe(
686
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
687
- ).regex(
688
- /^[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}$/,
689
- "Must be a valid GUID"
690
- ).optional().nullable(),
691
649
  extendedFields: z.object({
692
650
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
693
651
  "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)."
@@ -771,12 +729,6 @@ var BulkUpdateResourcesRequest = z.object({
771
729
  }).describe(
772
730
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
773
731
  ).optional(),
774
- appId: z.string().describe(
775
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
776
- ).regex(
777
- /^[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}$/,
778
- "Must be a valid GUID"
779
- ).optional().nullable(),
780
732
  extendedFields: z.object({
781
733
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
782
734
  "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)."
@@ -888,12 +840,6 @@ var BulkUpdateResourcesResponse = z.object({
888
840
  }).describe(
889
841
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
890
842
  ).optional(),
891
- appId: z.string().describe(
892
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
893
- ).regex(
894
- /^[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}$/,
895
- "Must be a valid GUID"
896
- ).optional().nullable(),
897
843
  extendedFields: z.object({
898
844
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
899
845
  "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)."
@@ -1016,12 +962,6 @@ var BulkDeleteResourcesResponse = z.object({
1016
962
  }).describe(
1017
963
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
1018
964
  ).optional(),
1019
- appId: z.string().describe(
1020
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
1021
- ).regex(
1022
- /^[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}$/,
1023
- "Must be a valid GUID"
1024
- ).optional().nullable(),
1025
965
  extendedFields: z.object({
1026
966
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
1027
967
  "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)."
@@ -1071,20 +1011,6 @@ var SearchResourcesRequest = z.object({
1071
1011
  $nin: z.array(z.string()),
1072
1012
  $startsWith: z.string()
1073
1013
  }).partial().strict().optional(),
1074
- appId: z.object({
1075
- $eq: z.string(),
1076
- $exists: z.boolean(),
1077
- $gt: z.string(),
1078
- $gte: z.string(),
1079
- $hasAll: z.array(z.string()),
1080
- $hasSome: z.array(z.string()),
1081
- $in: z.array(z.string()),
1082
- $lt: z.string(),
1083
- $lte: z.string(),
1084
- $ne: z.string(),
1085
- $nin: z.array(z.string()),
1086
- $startsWith: z.string()
1087
- }).partial().strict().optional(),
1088
1014
  _createdDate: z.object({
1089
1015
  $eq: z.string(),
1090
1016
  $exists: z.boolean(),
@@ -1164,7 +1090,6 @@ var SearchResourcesRequest = z.object({
1164
1090
  fieldName: z.enum([
1165
1091
  "_id",
1166
1092
  "name",
1167
- "appId",
1168
1093
  "_createdDate",
1169
1094
  "_updatedDate",
1170
1095
  "singleResource.locationOptions.availableInAllLocations",
@@ -1252,12 +1177,6 @@ var SearchResourcesResponse = z.object({
1252
1177
  }).describe(
1253
1178
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
1254
1179
  ).optional(),
1255
- appId: z.string().describe(
1256
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
1257
- ).regex(
1258
- /^[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}$/,
1259
- "Must be a valid GUID"
1260
- ).optional().nullable(),
1261
1180
  extendedFields: z.object({
1262
1181
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
1263
1182
  "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)."
@@ -1569,20 +1488,6 @@ var QueryResourcesRequest = z.object({
1569
1488
  $nin: z.array(z.string()),
1570
1489
  $startsWith: z.string()
1571
1490
  }).partial().strict().optional(),
1572
- appId: z.object({
1573
- $eq: z.string(),
1574
- $exists: z.boolean(),
1575
- $gt: z.string(),
1576
- $gte: z.string(),
1577
- $hasAll: z.array(z.string()),
1578
- $hasSome: z.array(z.string()),
1579
- $in: z.array(z.string()),
1580
- $lt: z.string(),
1581
- $lte: z.string(),
1582
- $ne: z.string(),
1583
- $nin: z.array(z.string()),
1584
- $startsWith: z.string()
1585
- }).partial().strict().optional(),
1586
1491
  _createdDate: z.object({
1587
1492
  $eq: z.string(),
1588
1493
  $exists: z.boolean(),
@@ -1732,7 +1637,6 @@ var QueryResourcesRequest = z.object({
1732
1637
  fieldName: z.enum([
1733
1638
  "_id",
1734
1639
  "typeId",
1735
- "appId",
1736
1640
  "_createdDate",
1737
1641
  "_updatedDate",
1738
1642
  "locationOptions.availableInAllLocations",
@@ -1822,12 +1726,6 @@ var QueryResourcesResponse = z.object({
1822
1726
  }).describe(
1823
1727
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
1824
1728
  ).optional(),
1825
- appId: z.string().describe(
1826
- 'ID of the app associated with the resource. You can\'t update `appId`.\nResources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.\nDefault: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)\nFor resources from Wix apps, the following values apply:\n- Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`\n- Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`\n- Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`\n[Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).\n<!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->'
1827
- ).regex(
1828
- /^[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}$/,
1829
- "Must be a valid GUID"
1830
- ).optional().nullable(),
1831
1729
  extendedFields: z.object({
1832
1730
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
1833
1731
  "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)."