@wix/auto_sdk_bookings_resources 1.0.82 → 1.0.84

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-ya1xZBLg.d.ts} +16 -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-ya1xZBLg.d.mts} +16 -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-ya1xZBLg.d.ts} +16 -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-ya1xZBLg.d.mts} +16 -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>>;
@@ -71,12 +71,6 @@ var CreateResourceRequest = z.object({
71
71
  }).describe(
72
72
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
73
73
  ).optional(),
74
- appId: z.string().describe(
75
- '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). -->'
76
- ).regex(
77
- /^[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}$/,
78
- "Must be a valid GUID"
79
- ).optional().nullable(),
80
74
  extendedFields: z.object({
81
75
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
82
76
  "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)."
@@ -154,12 +148,6 @@ var CreateResourceResponse = z.object({
154
148
  }).describe(
155
149
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
156
150
  ).optional(),
157
- appId: z.string().describe(
158
- '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). -->'
159
- ).regex(
160
- /^[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}$/,
161
- "Must be a valid GUID"
162
- ).optional().nullable(),
163
151
  extendedFields: z.object({
164
152
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
165
153
  "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)."
@@ -242,12 +230,6 @@ var BulkCreateResourcesRequest = z.object({
242
230
  }).describe(
243
231
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
244
232
  ).optional(),
245
- appId: z.string().describe(
246
- '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). -->'
247
- ).regex(
248
- /^[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}$/,
249
- "Must be a valid GUID"
250
- ).optional().nullable(),
251
233
  extendedFields: z.object({
252
234
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
253
235
  "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)."
@@ -357,12 +339,6 @@ var BulkCreateResourcesResponse = z.object({
357
339
  }).describe(
358
340
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
359
341
  ).optional(),
360
- appId: z.string().describe(
361
- '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). -->'
362
- ).regex(
363
- /^[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}$/,
364
- "Must be a valid GUID"
365
- ).optional().nullable(),
366
342
  extendedFields: z.object({
367
343
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
368
344
  "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)."
@@ -455,12 +431,6 @@ var GetResourceResponse = z.object({
455
431
  }).describe(
456
432
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
457
433
  ).optional(),
458
- appId: z.string().describe(
459
- '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). -->'
460
- ).regex(
461
- /^[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}$/,
462
- "Must be a valid GUID"
463
- ).optional().nullable(),
464
434
  extendedFields: z.object({
465
435
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
466
436
  "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)."
@@ -544,12 +514,6 @@ var UpdateResourceRequest = z.object({
544
514
  }).describe(
545
515
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
546
516
  ).optional(),
547
- appId: z.string().describe(
548
- '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). -->'
549
- ).regex(
550
- /^[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}$/,
551
- "Must be a valid GUID"
552
- ).optional().nullable(),
553
517
  extendedFields: z.object({
554
518
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
555
519
  "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)."
@@ -627,12 +591,6 @@ var UpdateResourceResponse = z.object({
627
591
  }).describe(
628
592
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
629
593
  ).optional(),
630
- appId: z.string().describe(
631
- '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). -->'
632
- ).regex(
633
- /^[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}$/,
634
- "Must be a valid GUID"
635
- ).optional().nullable(),
636
594
  extendedFields: z.object({
637
595
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
638
596
  "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)."
@@ -716,12 +674,6 @@ var BulkUpdateResourcesRequest = z.object({
716
674
  }).describe(
717
675
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
718
676
  ).optional(),
719
- appId: z.string().describe(
720
- '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). -->'
721
- ).regex(
722
- /^[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}$/,
723
- "Must be a valid GUID"
724
- ).optional().nullable(),
725
677
  extendedFields: z.object({
726
678
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
727
679
  "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)."
@@ -833,12 +785,6 @@ var BulkUpdateResourcesResponse = z.object({
833
785
  }).describe(
834
786
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
835
787
  ).optional(),
836
- appId: z.string().describe(
837
- '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). -->'
838
- ).regex(
839
- /^[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}$/,
840
- "Must be a valid GUID"
841
- ).optional().nullable(),
842
788
  extendedFields: z.object({
843
789
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
844
790
  "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)."
@@ -961,12 +907,6 @@ var BulkDeleteResourcesResponse = z.object({
961
907
  }).describe(
962
908
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
963
909
  ).optional(),
964
- appId: z.string().describe(
965
- '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). -->'
966
- ).regex(
967
- /^[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}$/,
968
- "Must be a valid GUID"
969
- ).optional().nullable(),
970
910
  extendedFields: z.object({
971
911
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
972
912
  "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,20 +956,6 @@ var SearchResourcesRequest = z.object({
1016
956
  $nin: z.array(z.string()),
1017
957
  $startsWith: z.string()
1018
958
  }).partial().strict().optional(),
1019
- appId: z.object({
1020
- $eq: z.string(),
1021
- $exists: z.boolean(),
1022
- $gt: z.string(),
1023
- $gte: z.string(),
1024
- $hasAll: z.array(z.string()),
1025
- $hasSome: z.array(z.string()),
1026
- $in: z.array(z.string()),
1027
- $lt: z.string(),
1028
- $lte: z.string(),
1029
- $ne: z.string(),
1030
- $nin: z.array(z.string()),
1031
- $startsWith: z.string()
1032
- }).partial().strict().optional(),
1033
959
  _createdDate: z.object({
1034
960
  $eq: z.string(),
1035
961
  $exists: z.boolean(),
@@ -1109,7 +1035,6 @@ var SearchResourcesRequest = z.object({
1109
1035
  fieldName: z.enum([
1110
1036
  "_id",
1111
1037
  "name",
1112
- "appId",
1113
1038
  "_createdDate",
1114
1039
  "_updatedDate",
1115
1040
  "singleResource.locationOptions.availableInAllLocations",
@@ -1197,12 +1122,6 @@ var SearchResourcesResponse = z.object({
1197
1122
  }).describe(
1198
1123
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
1199
1124
  ).optional(),
1200
- appId: z.string().describe(
1201
- '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). -->'
1202
- ).regex(
1203
- /^[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}$/,
1204
- "Must be a valid GUID"
1205
- ).optional().nullable(),
1206
1125
  extendedFields: z.object({
1207
1126
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
1208
1127
  "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)."
@@ -1514,20 +1433,6 @@ var QueryResourcesRequest = z.object({
1514
1433
  $nin: z.array(z.string()),
1515
1434
  $startsWith: z.string()
1516
1435
  }).partial().strict().optional(),
1517
- appId: z.object({
1518
- $eq: z.string(),
1519
- $exists: z.boolean(),
1520
- $gt: z.string(),
1521
- $gte: z.string(),
1522
- $hasAll: z.array(z.string()),
1523
- $hasSome: z.array(z.string()),
1524
- $in: z.array(z.string()),
1525
- $lt: z.string(),
1526
- $lte: z.string(),
1527
- $ne: z.string(),
1528
- $nin: z.array(z.string()),
1529
- $startsWith: z.string()
1530
- }).partial().strict().optional(),
1531
1436
  _createdDate: z.object({
1532
1437
  $eq: z.string(),
1533
1438
  $exists: z.boolean(),
@@ -1677,7 +1582,6 @@ var QueryResourcesRequest = z.object({
1677
1582
  fieldName: z.enum([
1678
1583
  "_id",
1679
1584
  "typeId",
1680
- "appId",
1681
1585
  "_createdDate",
1682
1586
  "_updatedDate",
1683
1587
  "locationOptions.availableInAllLocations",
@@ -1767,12 +1671,6 @@ var QueryResourcesResponse = z.object({
1767
1671
  }).describe(
1768
1672
  "Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction)\nfor which the resource has been booked."
1769
1673
  ).optional(),
1770
- appId: z.string().describe(
1771
- '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). -->'
1772
- ).regex(
1773
- /^[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}$/,
1774
- "Must be a valid GUID"
1775
- ).optional().nullable(),
1776
1674
  extendedFields: z.object({
1777
1675
  namespaces: z.record(z.string(), z.record(z.string(), z.any())).describe(
1778
1676
  "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)."