@wix/bookings 1.0.229 → 1.0.230

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 (113) hide show
  1. package/build/cjs/src/bookings-availability-v1-slot-availability.http.d.ts +2 -2
  2. package/build/cjs/src/bookings-availability-v1-slot-availability.http.js.map +1 -1
  3. package/build/cjs/src/bookings-availability-v1-slot-availability.public.d.ts +2 -2
  4. package/build/cjs/src/bookings-availability-v1-slot-availability.types.d.ts +19 -0
  5. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -1
  6. package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
  7. package/build/cjs/src/bookings-calendar-v1-session.http.d.ts +6 -6
  8. package/build/cjs/src/bookings-calendar-v1-session.http.js.map +1 -1
  9. package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +146 -5
  10. package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +450 -0
  11. package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +254 -4
  12. package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
  13. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.d.ts +9 -9
  14. package/build/cjs/src/bookings-calendar-v2-external-calendar.http.js.map +1 -1
  15. package/build/cjs/src/bookings-calendar-v2-external-calendar.public.d.ts +9 -9
  16. package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +93 -0
  17. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +96 -8
  18. package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  19. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +7 -7
  20. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
  21. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +70 -6
  22. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +210 -0
  23. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +215 -5
  24. package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  25. package/build/cjs/src/bookings-reader-v2-extended-booking.http.d.ts +2 -2
  26. package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
  27. package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +2 -2
  28. package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +89 -0
  29. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +72 -1
  30. package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  31. package/build/cjs/src/bookings-services-v2-service.http.d.ts +5 -5
  32. package/build/cjs/src/bookings-services-v2-service.http.js.map +1 -1
  33. package/build/cjs/src/bookings-services-v2-service.public.d.ts +397 -4
  34. package/build/cjs/src/bookings-services-v2-service.types.d.ts +768 -0
  35. package/build/cjs/src/bookings-services-v2-service.universal.d.ts +539 -3
  36. package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
  37. package/build/cjs/src/bookings-v2-attendance.http.d.ts +4 -4
  38. package/build/cjs/src/bookings-v2-attendance.http.js.map +1 -1
  39. package/build/cjs/src/bookings-v2-attendance.public.d.ts +6 -3
  40. package/build/cjs/src/bookings-v2-attendance.types.d.ts +21 -0
  41. package/build/cjs/src/bookings-v2-attendance.universal.d.ts +20 -2
  42. package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
  43. package/build/cjs/src/bookings-v2-booking.http.d.ts +11 -11
  44. package/build/cjs/src/bookings-v2-booking.http.js.map +1 -1
  45. package/build/cjs/src/bookings-v2-booking.public.d.ts +12 -12
  46. package/build/cjs/src/bookings-v2-booking.public.js.map +1 -1
  47. package/build/cjs/src/bookings-v2-booking.types.d.ts +735 -0
  48. package/build/cjs/src/bookings-v2-booking.universal.d.ts +592 -13
  49. package/build/cjs/src/bookings-v2-booking.universal.js +0 -3
  50. package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
  51. package/build/cjs/src/bookings-v2-price-info.http.d.ts +3 -3
  52. package/build/cjs/src/bookings-v2-price-info.http.js.map +1 -1
  53. package/build/cjs/src/bookings-v2-price-info.public.d.ts +3 -3
  54. package/build/cjs/src/bookings-v2-price-info.types.d.ts +24 -0
  55. package/build/cjs/src/bookings-v2-price-info.universal.d.ts +26 -2
  56. package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
  57. package/build/es/src/bookings-availability-v1-slot-availability.http.d.ts +2 -2
  58. package/build/es/src/bookings-availability-v1-slot-availability.http.js.map +1 -1
  59. package/build/es/src/bookings-availability-v1-slot-availability.public.d.ts +2 -2
  60. package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +19 -0
  61. package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +14 -1
  62. package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
  63. package/build/es/src/bookings-calendar-v1-session.http.d.ts +6 -6
  64. package/build/es/src/bookings-calendar-v1-session.http.js.map +1 -1
  65. package/build/es/src/bookings-calendar-v1-session.public.d.ts +146 -5
  66. package/build/es/src/bookings-calendar-v1-session.types.d.ts +450 -0
  67. package/build/es/src/bookings-calendar-v1-session.universal.d.ts +254 -4
  68. package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
  69. package/build/es/src/bookings-calendar-v2-external-calendar.http.d.ts +9 -9
  70. package/build/es/src/bookings-calendar-v2-external-calendar.http.js.map +1 -1
  71. package/build/es/src/bookings-calendar-v2-external-calendar.public.d.ts +9 -9
  72. package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +93 -0
  73. package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +96 -8
  74. package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
  75. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +7 -7
  76. package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js.map +1 -1
  77. package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +70 -6
  78. package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +210 -0
  79. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +215 -5
  80. package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
  81. package/build/es/src/bookings-reader-v2-extended-booking.http.d.ts +2 -2
  82. package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
  83. package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +2 -2
  84. package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +89 -0
  85. package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +72 -1
  86. package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
  87. package/build/es/src/bookings-services-v2-service.http.d.ts +5 -5
  88. package/build/es/src/bookings-services-v2-service.http.js.map +1 -1
  89. package/build/es/src/bookings-services-v2-service.public.d.ts +397 -4
  90. package/build/es/src/bookings-services-v2-service.types.d.ts +768 -0
  91. package/build/es/src/bookings-services-v2-service.universal.d.ts +539 -3
  92. package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
  93. package/build/es/src/bookings-v2-attendance.http.d.ts +4 -4
  94. package/build/es/src/bookings-v2-attendance.http.js.map +1 -1
  95. package/build/es/src/bookings-v2-attendance.public.d.ts +6 -3
  96. package/build/es/src/bookings-v2-attendance.types.d.ts +21 -0
  97. package/build/es/src/bookings-v2-attendance.universal.d.ts +20 -2
  98. package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
  99. package/build/es/src/bookings-v2-booking.http.d.ts +11 -11
  100. package/build/es/src/bookings-v2-booking.http.js.map +1 -1
  101. package/build/es/src/bookings-v2-booking.public.d.ts +12 -12
  102. package/build/es/src/bookings-v2-booking.public.js.map +1 -1
  103. package/build/es/src/bookings-v2-booking.types.d.ts +735 -0
  104. package/build/es/src/bookings-v2-booking.universal.d.ts +592 -13
  105. package/build/es/src/bookings-v2-booking.universal.js +0 -3
  106. package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
  107. package/build/es/src/bookings-v2-price-info.http.d.ts +3 -3
  108. package/build/es/src/bookings-v2-price-info.http.js.map +1 -1
  109. package/build/es/src/bookings-v2-price-info.public.d.ts +3 -3
  110. package/build/es/src/bookings-v2-price-info.types.d.ts +24 -0
  111. package/build/es/src/bookings-v2-price-info.universal.d.ts +26 -2
  112. package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
  113. package/package.json +2 -2
@@ -2085,3 +2085,738 @@ export interface V2UpdateNumberOfParticipantsResponse {
2085
2085
  /** Booking with updated number of participants. */
2086
2086
  booking?: Booking;
2087
2087
  }
2088
+ export interface CreateBookingResponseNonNullableFields {
2089
+ booking?: {
2090
+ totalParticipants: number;
2091
+ participantsChoices?: {
2092
+ serviceChoices: {
2093
+ choices: {
2094
+ custom: string;
2095
+ optionId: string;
2096
+ }[];
2097
+ }[];
2098
+ };
2099
+ bookedEntity?: {
2100
+ slot?: {
2101
+ serviceId: string;
2102
+ scheduleId: string;
2103
+ resource?: {
2104
+ id: string;
2105
+ };
2106
+ location?: {
2107
+ locationType: LocationType;
2108
+ };
2109
+ resources: {
2110
+ id: string;
2111
+ }[];
2112
+ flowSelectedResources: {
2113
+ type: Type;
2114
+ resourceIds: string[];
2115
+ }[];
2116
+ };
2117
+ schedule?: {
2118
+ scheduleId: string;
2119
+ location?: {
2120
+ locationType: LocationType;
2121
+ };
2122
+ };
2123
+ };
2124
+ contactDetails?: {
2125
+ fullAddress?: {
2126
+ streetAddress?: {
2127
+ number: string;
2128
+ name: string;
2129
+ apt: string;
2130
+ };
2131
+ subdivisions: {
2132
+ code: string;
2133
+ name: string;
2134
+ }[];
2135
+ };
2136
+ };
2137
+ additionalFields: {
2138
+ id: string;
2139
+ valueType: ValueType;
2140
+ }[];
2141
+ status: BookingStatus;
2142
+ paymentStatus: PaymentStatus;
2143
+ selectedPaymentOption: SelectedPaymentOption;
2144
+ bookingSource?: {
2145
+ platform: Platform;
2146
+ actor: Actor;
2147
+ };
2148
+ participantNotification?: {
2149
+ notifyParticipants: boolean;
2150
+ };
2151
+ createdBy?: {
2152
+ anonymousVisitorId: string;
2153
+ memberId: string;
2154
+ wixUserId: string;
2155
+ appId: string;
2156
+ identityType: IdentificationDataIdentityType;
2157
+ };
2158
+ flowControlSettings?: {
2159
+ ignoreBookingWindow: boolean;
2160
+ skipAvailabilityValidation: boolean;
2161
+ skipBusinessConfirmation: boolean;
2162
+ skipSelectedPaymentOptionValidation: boolean;
2163
+ };
2164
+ };
2165
+ }
2166
+ export interface BulkCreateBookingResponseNonNullableFields {
2167
+ results: {
2168
+ itemMetadata?: {
2169
+ originalIndex: number;
2170
+ success: boolean;
2171
+ error?: {
2172
+ code: string;
2173
+ description: string;
2174
+ };
2175
+ };
2176
+ item?: {
2177
+ totalParticipants: number;
2178
+ participantsChoices?: {
2179
+ serviceChoices: {
2180
+ choices: {
2181
+ custom: string;
2182
+ optionId: string;
2183
+ }[];
2184
+ }[];
2185
+ };
2186
+ bookedEntity?: {
2187
+ slot?: {
2188
+ serviceId: string;
2189
+ scheduleId: string;
2190
+ resource?: {
2191
+ id: string;
2192
+ };
2193
+ location?: {
2194
+ locationType: LocationType;
2195
+ };
2196
+ resources: {
2197
+ id: string;
2198
+ }[];
2199
+ flowSelectedResources: {
2200
+ type: Type;
2201
+ resourceIds: string[];
2202
+ }[];
2203
+ };
2204
+ schedule?: {
2205
+ scheduleId: string;
2206
+ location?: {
2207
+ locationType: LocationType;
2208
+ };
2209
+ };
2210
+ };
2211
+ contactDetails?: {
2212
+ fullAddress?: {
2213
+ streetAddress?: {
2214
+ number: string;
2215
+ name: string;
2216
+ apt: string;
2217
+ };
2218
+ subdivisions: {
2219
+ code: string;
2220
+ name: string;
2221
+ }[];
2222
+ };
2223
+ };
2224
+ additionalFields: {
2225
+ id: string;
2226
+ valueType: ValueType;
2227
+ }[];
2228
+ status: BookingStatus;
2229
+ paymentStatus: PaymentStatus;
2230
+ selectedPaymentOption: SelectedPaymentOption;
2231
+ bookingSource?: {
2232
+ platform: Platform;
2233
+ actor: Actor;
2234
+ };
2235
+ participantNotification?: {
2236
+ notifyParticipants: boolean;
2237
+ };
2238
+ createdBy?: {
2239
+ anonymousVisitorId: string;
2240
+ memberId: string;
2241
+ wixUserId: string;
2242
+ appId: string;
2243
+ identityType: IdentificationDataIdentityType;
2244
+ };
2245
+ flowControlSettings?: {
2246
+ ignoreBookingWindow: boolean;
2247
+ skipAvailabilityValidation: boolean;
2248
+ skipBusinessConfirmation: boolean;
2249
+ skipSelectedPaymentOptionValidation: boolean;
2250
+ };
2251
+ };
2252
+ }[];
2253
+ bulkActionMetadata?: {
2254
+ totalSuccesses: number;
2255
+ totalFailures: number;
2256
+ undetailedFailures: number;
2257
+ };
2258
+ }
2259
+ export interface RescheduleBookingResponseNonNullableFields {
2260
+ booking?: {
2261
+ totalParticipants: number;
2262
+ participantsChoices?: {
2263
+ serviceChoices: {
2264
+ choices: {
2265
+ custom: string;
2266
+ optionId: string;
2267
+ }[];
2268
+ }[];
2269
+ };
2270
+ bookedEntity?: {
2271
+ slot?: {
2272
+ serviceId: string;
2273
+ scheduleId: string;
2274
+ resource?: {
2275
+ id: string;
2276
+ };
2277
+ location?: {
2278
+ locationType: LocationType;
2279
+ };
2280
+ resources: {
2281
+ id: string;
2282
+ }[];
2283
+ flowSelectedResources: {
2284
+ type: Type;
2285
+ resourceIds: string[];
2286
+ }[];
2287
+ };
2288
+ schedule?: {
2289
+ scheduleId: string;
2290
+ location?: {
2291
+ locationType: LocationType;
2292
+ };
2293
+ };
2294
+ };
2295
+ contactDetails?: {
2296
+ fullAddress?: {
2297
+ streetAddress?: {
2298
+ number: string;
2299
+ name: string;
2300
+ apt: string;
2301
+ };
2302
+ subdivisions: {
2303
+ code: string;
2304
+ name: string;
2305
+ }[];
2306
+ };
2307
+ };
2308
+ additionalFields: {
2309
+ id: string;
2310
+ valueType: ValueType;
2311
+ }[];
2312
+ status: BookingStatus;
2313
+ paymentStatus: PaymentStatus;
2314
+ selectedPaymentOption: SelectedPaymentOption;
2315
+ bookingSource?: {
2316
+ platform: Platform;
2317
+ actor: Actor;
2318
+ };
2319
+ participantNotification?: {
2320
+ notifyParticipants: boolean;
2321
+ };
2322
+ createdBy?: {
2323
+ anonymousVisitorId: string;
2324
+ memberId: string;
2325
+ wixUserId: string;
2326
+ appId: string;
2327
+ identityType: IdentificationDataIdentityType;
2328
+ };
2329
+ flowControlSettings?: {
2330
+ ignoreBookingWindow: boolean;
2331
+ skipAvailabilityValidation: boolean;
2332
+ skipBusinessConfirmation: boolean;
2333
+ skipSelectedPaymentOptionValidation: boolean;
2334
+ };
2335
+ };
2336
+ }
2337
+ export interface ConfirmBookingResponseNonNullableFields {
2338
+ booking?: {
2339
+ totalParticipants: number;
2340
+ participantsChoices?: {
2341
+ serviceChoices: {
2342
+ choices: {
2343
+ custom: string;
2344
+ optionId: string;
2345
+ }[];
2346
+ }[];
2347
+ };
2348
+ bookedEntity?: {
2349
+ slot?: {
2350
+ serviceId: string;
2351
+ scheduleId: string;
2352
+ resource?: {
2353
+ id: string;
2354
+ };
2355
+ location?: {
2356
+ locationType: LocationType;
2357
+ };
2358
+ resources: {
2359
+ id: string;
2360
+ }[];
2361
+ flowSelectedResources: {
2362
+ type: Type;
2363
+ resourceIds: string[];
2364
+ }[];
2365
+ };
2366
+ schedule?: {
2367
+ scheduleId: string;
2368
+ location?: {
2369
+ locationType: LocationType;
2370
+ };
2371
+ };
2372
+ };
2373
+ contactDetails?: {
2374
+ fullAddress?: {
2375
+ streetAddress?: {
2376
+ number: string;
2377
+ name: string;
2378
+ apt: string;
2379
+ };
2380
+ subdivisions: {
2381
+ code: string;
2382
+ name: string;
2383
+ }[];
2384
+ };
2385
+ };
2386
+ additionalFields: {
2387
+ id: string;
2388
+ valueType: ValueType;
2389
+ }[];
2390
+ status: BookingStatus;
2391
+ paymentStatus: PaymentStatus;
2392
+ selectedPaymentOption: SelectedPaymentOption;
2393
+ bookingSource?: {
2394
+ platform: Platform;
2395
+ actor: Actor;
2396
+ };
2397
+ participantNotification?: {
2398
+ notifyParticipants: boolean;
2399
+ };
2400
+ createdBy?: {
2401
+ anonymousVisitorId: string;
2402
+ memberId: string;
2403
+ wixUserId: string;
2404
+ appId: string;
2405
+ identityType: IdentificationDataIdentityType;
2406
+ };
2407
+ flowControlSettings?: {
2408
+ ignoreBookingWindow: boolean;
2409
+ skipAvailabilityValidation: boolean;
2410
+ skipBusinessConfirmation: boolean;
2411
+ skipSelectedPaymentOptionValidation: boolean;
2412
+ };
2413
+ };
2414
+ }
2415
+ export interface UpdateExtendedFieldsResponseNonNullableFields {
2416
+ namespace: string;
2417
+ }
2418
+ export interface DeclineBookingResponseNonNullableFields {
2419
+ booking?: {
2420
+ totalParticipants: number;
2421
+ participantsChoices?: {
2422
+ serviceChoices: {
2423
+ choices: {
2424
+ custom: string;
2425
+ optionId: string;
2426
+ }[];
2427
+ }[];
2428
+ };
2429
+ bookedEntity?: {
2430
+ slot?: {
2431
+ serviceId: string;
2432
+ scheduleId: string;
2433
+ resource?: {
2434
+ id: string;
2435
+ };
2436
+ location?: {
2437
+ locationType: LocationType;
2438
+ };
2439
+ resources: {
2440
+ id: string;
2441
+ }[];
2442
+ flowSelectedResources: {
2443
+ type: Type;
2444
+ resourceIds: string[];
2445
+ }[];
2446
+ };
2447
+ schedule?: {
2448
+ scheduleId: string;
2449
+ location?: {
2450
+ locationType: LocationType;
2451
+ };
2452
+ };
2453
+ };
2454
+ contactDetails?: {
2455
+ fullAddress?: {
2456
+ streetAddress?: {
2457
+ number: string;
2458
+ name: string;
2459
+ apt: string;
2460
+ };
2461
+ subdivisions: {
2462
+ code: string;
2463
+ name: string;
2464
+ }[];
2465
+ };
2466
+ };
2467
+ additionalFields: {
2468
+ id: string;
2469
+ valueType: ValueType;
2470
+ }[];
2471
+ status: BookingStatus;
2472
+ paymentStatus: PaymentStatus;
2473
+ selectedPaymentOption: SelectedPaymentOption;
2474
+ bookingSource?: {
2475
+ platform: Platform;
2476
+ actor: Actor;
2477
+ };
2478
+ participantNotification?: {
2479
+ notifyParticipants: boolean;
2480
+ };
2481
+ createdBy?: {
2482
+ anonymousVisitorId: string;
2483
+ memberId: string;
2484
+ wixUserId: string;
2485
+ appId: string;
2486
+ identityType: IdentificationDataIdentityType;
2487
+ };
2488
+ flowControlSettings?: {
2489
+ ignoreBookingWindow: boolean;
2490
+ skipAvailabilityValidation: boolean;
2491
+ skipBusinessConfirmation: boolean;
2492
+ skipSelectedPaymentOptionValidation: boolean;
2493
+ };
2494
+ };
2495
+ }
2496
+ export interface CancelBookingResponseNonNullableFields {
2497
+ booking?: {
2498
+ totalParticipants: number;
2499
+ participantsChoices?: {
2500
+ serviceChoices: {
2501
+ choices: {
2502
+ custom: string;
2503
+ optionId: string;
2504
+ }[];
2505
+ }[];
2506
+ };
2507
+ bookedEntity?: {
2508
+ slot?: {
2509
+ serviceId: string;
2510
+ scheduleId: string;
2511
+ resource?: {
2512
+ id: string;
2513
+ };
2514
+ location?: {
2515
+ locationType: LocationType;
2516
+ };
2517
+ resources: {
2518
+ id: string;
2519
+ }[];
2520
+ flowSelectedResources: {
2521
+ type: Type;
2522
+ resourceIds: string[];
2523
+ }[];
2524
+ };
2525
+ schedule?: {
2526
+ scheduleId: string;
2527
+ location?: {
2528
+ locationType: LocationType;
2529
+ };
2530
+ };
2531
+ };
2532
+ contactDetails?: {
2533
+ fullAddress?: {
2534
+ streetAddress?: {
2535
+ number: string;
2536
+ name: string;
2537
+ apt: string;
2538
+ };
2539
+ subdivisions: {
2540
+ code: string;
2541
+ name: string;
2542
+ }[];
2543
+ };
2544
+ };
2545
+ additionalFields: {
2546
+ id: string;
2547
+ valueType: ValueType;
2548
+ }[];
2549
+ status: BookingStatus;
2550
+ paymentStatus: PaymentStatus;
2551
+ selectedPaymentOption: SelectedPaymentOption;
2552
+ bookingSource?: {
2553
+ platform: Platform;
2554
+ actor: Actor;
2555
+ };
2556
+ participantNotification?: {
2557
+ notifyParticipants: boolean;
2558
+ };
2559
+ createdBy?: {
2560
+ anonymousVisitorId: string;
2561
+ memberId: string;
2562
+ wixUserId: string;
2563
+ appId: string;
2564
+ identityType: IdentificationDataIdentityType;
2565
+ };
2566
+ flowControlSettings?: {
2567
+ ignoreBookingWindow: boolean;
2568
+ skipAvailabilityValidation: boolean;
2569
+ skipBusinessConfirmation: boolean;
2570
+ skipSelectedPaymentOptionValidation: boolean;
2571
+ };
2572
+ };
2573
+ }
2574
+ export interface UpdateNumberOfParticipantsResponseNonNullableFields {
2575
+ booking?: {
2576
+ totalParticipants: number;
2577
+ participantsChoices?: {
2578
+ serviceChoices: {
2579
+ choices: {
2580
+ custom: string;
2581
+ optionId: string;
2582
+ }[];
2583
+ }[];
2584
+ };
2585
+ bookedEntity?: {
2586
+ slot?: {
2587
+ serviceId: string;
2588
+ scheduleId: string;
2589
+ resource?: {
2590
+ id: string;
2591
+ };
2592
+ location?: {
2593
+ locationType: LocationType;
2594
+ };
2595
+ resources: {
2596
+ id: string;
2597
+ }[];
2598
+ flowSelectedResources: {
2599
+ type: Type;
2600
+ resourceIds: string[];
2601
+ }[];
2602
+ };
2603
+ schedule?: {
2604
+ scheduleId: string;
2605
+ location?: {
2606
+ locationType: LocationType;
2607
+ };
2608
+ };
2609
+ };
2610
+ contactDetails?: {
2611
+ fullAddress?: {
2612
+ streetAddress?: {
2613
+ number: string;
2614
+ name: string;
2615
+ apt: string;
2616
+ };
2617
+ subdivisions: {
2618
+ code: string;
2619
+ name: string;
2620
+ }[];
2621
+ };
2622
+ };
2623
+ additionalFields: {
2624
+ id: string;
2625
+ valueType: ValueType;
2626
+ }[];
2627
+ status: BookingStatus;
2628
+ paymentStatus: PaymentStatus;
2629
+ selectedPaymentOption: SelectedPaymentOption;
2630
+ bookingSource?: {
2631
+ platform: Platform;
2632
+ actor: Actor;
2633
+ };
2634
+ participantNotification?: {
2635
+ notifyParticipants: boolean;
2636
+ };
2637
+ createdBy?: {
2638
+ anonymousVisitorId: string;
2639
+ memberId: string;
2640
+ wixUserId: string;
2641
+ appId: string;
2642
+ identityType: IdentificationDataIdentityType;
2643
+ };
2644
+ flowControlSettings?: {
2645
+ ignoreBookingWindow: boolean;
2646
+ skipAvailabilityValidation: boolean;
2647
+ skipBusinessConfirmation: boolean;
2648
+ skipSelectedPaymentOptionValidation: boolean;
2649
+ };
2650
+ };
2651
+ }
2652
+ export interface ConfirmOrDeclineBookingResponseNonNullableFields {
2653
+ booking?: {
2654
+ totalParticipants: number;
2655
+ participantsChoices?: {
2656
+ serviceChoices: {
2657
+ choices: {
2658
+ custom: string;
2659
+ optionId: string;
2660
+ }[];
2661
+ }[];
2662
+ };
2663
+ bookedEntity?: {
2664
+ slot?: {
2665
+ serviceId: string;
2666
+ scheduleId: string;
2667
+ resource?: {
2668
+ id: string;
2669
+ };
2670
+ location?: {
2671
+ locationType: LocationType;
2672
+ };
2673
+ resources: {
2674
+ id: string;
2675
+ }[];
2676
+ flowSelectedResources: {
2677
+ type: Type;
2678
+ resourceIds: string[];
2679
+ }[];
2680
+ };
2681
+ schedule?: {
2682
+ scheduleId: string;
2683
+ location?: {
2684
+ locationType: LocationType;
2685
+ };
2686
+ };
2687
+ };
2688
+ contactDetails?: {
2689
+ fullAddress?: {
2690
+ streetAddress?: {
2691
+ number: string;
2692
+ name: string;
2693
+ apt: string;
2694
+ };
2695
+ subdivisions: {
2696
+ code: string;
2697
+ name: string;
2698
+ }[];
2699
+ };
2700
+ };
2701
+ additionalFields: {
2702
+ id: string;
2703
+ valueType: ValueType;
2704
+ }[];
2705
+ status: BookingStatus;
2706
+ paymentStatus: PaymentStatus;
2707
+ selectedPaymentOption: SelectedPaymentOption;
2708
+ bookingSource?: {
2709
+ platform: Platform;
2710
+ actor: Actor;
2711
+ };
2712
+ participantNotification?: {
2713
+ notifyParticipants: boolean;
2714
+ };
2715
+ createdBy?: {
2716
+ anonymousVisitorId: string;
2717
+ memberId: string;
2718
+ wixUserId: string;
2719
+ appId: string;
2720
+ identityType: IdentificationDataIdentityType;
2721
+ };
2722
+ flowControlSettings?: {
2723
+ ignoreBookingWindow: boolean;
2724
+ skipAvailabilityValidation: boolean;
2725
+ skipBusinessConfirmation: boolean;
2726
+ skipSelectedPaymentOptionValidation: boolean;
2727
+ };
2728
+ };
2729
+ }
2730
+ export interface BulkConfirmOrDeclineBookingResponseNonNullableFields {
2731
+ results: {
2732
+ itemMetadata?: {
2733
+ originalIndex: number;
2734
+ success: boolean;
2735
+ error?: {
2736
+ code: string;
2737
+ description: string;
2738
+ };
2739
+ };
2740
+ item?: {
2741
+ totalParticipants: number;
2742
+ participantsChoices?: {
2743
+ serviceChoices: {
2744
+ choices: {
2745
+ custom: string;
2746
+ optionId: string;
2747
+ }[];
2748
+ }[];
2749
+ };
2750
+ bookedEntity?: {
2751
+ slot?: {
2752
+ serviceId: string;
2753
+ scheduleId: string;
2754
+ resource?: {
2755
+ id: string;
2756
+ };
2757
+ location?: {
2758
+ locationType: LocationType;
2759
+ };
2760
+ resources: {
2761
+ id: string;
2762
+ }[];
2763
+ flowSelectedResources: {
2764
+ type: Type;
2765
+ resourceIds: string[];
2766
+ }[];
2767
+ };
2768
+ schedule?: {
2769
+ scheduleId: string;
2770
+ location?: {
2771
+ locationType: LocationType;
2772
+ };
2773
+ };
2774
+ };
2775
+ contactDetails?: {
2776
+ fullAddress?: {
2777
+ streetAddress?: {
2778
+ number: string;
2779
+ name: string;
2780
+ apt: string;
2781
+ };
2782
+ subdivisions: {
2783
+ code: string;
2784
+ name: string;
2785
+ }[];
2786
+ };
2787
+ };
2788
+ additionalFields: {
2789
+ id: string;
2790
+ valueType: ValueType;
2791
+ }[];
2792
+ status: BookingStatus;
2793
+ paymentStatus: PaymentStatus;
2794
+ selectedPaymentOption: SelectedPaymentOption;
2795
+ bookingSource?: {
2796
+ platform: Platform;
2797
+ actor: Actor;
2798
+ };
2799
+ participantNotification?: {
2800
+ notifyParticipants: boolean;
2801
+ };
2802
+ createdBy?: {
2803
+ anonymousVisitorId: string;
2804
+ memberId: string;
2805
+ wixUserId: string;
2806
+ appId: string;
2807
+ identityType: IdentificationDataIdentityType;
2808
+ };
2809
+ flowControlSettings?: {
2810
+ ignoreBookingWindow: boolean;
2811
+ skipAvailabilityValidation: boolean;
2812
+ skipBusinessConfirmation: boolean;
2813
+ skipSelectedPaymentOptionValidation: boolean;
2814
+ };
2815
+ };
2816
+ }[];
2817
+ bulkActionMetadata?: {
2818
+ totalSuccesses: number;
2819
+ totalFailures: number;
2820
+ undetailedFailures: number;
2821
+ };
2822
+ }