@wix/auto_sdk_bookings_services 1.0.28 → 1.0.30

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 (37) hide show
  1. package/build/cjs/src/bookings-services-v2-service-services.context.d.ts +1 -1
  2. package/build/cjs/src/bookings-services-v2-service-services.meta.d.ts +20 -20
  3. package/build/cjs/src/bookings-services-v2-service-services.meta.js.map +1 -1
  4. package/build/cjs/src/bookings-services-v2-service-services.public.d.ts +21 -21
  5. package/build/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
  6. package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +171 -511
  7. package/build/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
  8. package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +208 -518
  9. package/build/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
  10. package/build/es/src/bookings-services-v2-service-services.context.d.ts +1 -1
  11. package/build/es/src/bookings-services-v2-service-services.meta.d.ts +20 -20
  12. package/build/es/src/bookings-services-v2-service-services.meta.js.map +1 -1
  13. package/build/es/src/bookings-services-v2-service-services.public.d.ts +21 -21
  14. package/build/es/src/bookings-services-v2-service-services.public.js.map +1 -1
  15. package/build/es/src/bookings-services-v2-service-services.types.d.ts +171 -511
  16. package/build/es/src/bookings-services-v2-service-services.types.js.map +1 -1
  17. package/build/es/src/bookings-services-v2-service-services.universal.d.ts +208 -518
  18. package/build/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
  19. package/build/internal/cjs/src/bookings-services-v2-service-services.context.d.ts +1 -1
  20. package/build/internal/cjs/src/bookings-services-v2-service-services.meta.d.ts +20 -20
  21. package/build/internal/cjs/src/bookings-services-v2-service-services.meta.js.map +1 -1
  22. package/build/internal/cjs/src/bookings-services-v2-service-services.public.d.ts +21 -21
  23. package/build/internal/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
  24. package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +171 -513
  25. package/build/internal/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
  26. package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +208 -520
  27. package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
  28. package/build/internal/es/src/bookings-services-v2-service-services.context.d.ts +1 -1
  29. package/build/internal/es/src/bookings-services-v2-service-services.meta.d.ts +20 -20
  30. package/build/internal/es/src/bookings-services-v2-service-services.meta.js.map +1 -1
  31. package/build/internal/es/src/bookings-services-v2-service-services.public.d.ts +21 -21
  32. package/build/internal/es/src/bookings-services-v2-service-services.public.js.map +1 -1
  33. package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +171 -513
  34. package/build/internal/es/src/bookings-services-v2-service-services.types.js.map +1 -1
  35. package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +208 -520
  36. package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
  37. package/package.json +3 -3
@@ -1201,12 +1201,183 @@ export interface AddOnDetails {
1201
1201
  */
1202
1202
  durationInMinutes?: number | null;
1203
1203
  }
1204
+ /**
1205
+ * Message for reindexing search data to a given search schema. Support both upsert and delete flows as well as
1206
+ * performs context manipulation with adding tenant, provided in message to callscope.
1207
+ */
1208
+ export interface ReindexMessage extends ReindexMessageActionOneOf {
1209
+ upsert?: Upsert;
1210
+ delete?: Delete;
1211
+ entityFqdn?: string;
1212
+ tenantId?: string;
1213
+ eventTime?: Date | null;
1214
+ entityEventSequence?: string | null;
1215
+ schema?: Schema;
1216
+ }
1217
+ /** @oneof */
1218
+ export interface ReindexMessageActionOneOf {
1219
+ upsert?: Upsert;
1220
+ delete?: Delete;
1221
+ }
1222
+ export interface Upsert {
1223
+ entityId?: string;
1224
+ entityAsJson?: string;
1225
+ }
1226
+ export interface Delete {
1227
+ entityId?: string;
1228
+ }
1229
+ export interface Schema {
1230
+ label?: string;
1231
+ clusterName?: string;
1232
+ }
1204
1233
  export interface SetCustomSlugEvent {
1205
1234
  /** The main slug for the service after the update */
1206
1235
  mainSlug?: Slug;
1207
1236
  }
1208
1237
  export interface ServicesUrlsChanged {
1209
1238
  }
1239
+ export interface DomainEvent extends DomainEventBodyOneOf {
1240
+ createdEvent?: EntityCreatedEvent;
1241
+ updatedEvent?: EntityUpdatedEvent;
1242
+ deletedEvent?: EntityDeletedEvent;
1243
+ actionEvent?: ActionEvent;
1244
+ /**
1245
+ * Unique event ID.
1246
+ * Allows clients to ignore duplicate webhooks.
1247
+ */
1248
+ id?: string;
1249
+ /**
1250
+ * Assumes actions are also always typed to an entity_type
1251
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1252
+ */
1253
+ entityFqdn?: string;
1254
+ /**
1255
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1256
+ * This is although the created/updated/deleted notion is duplication of the oneof types
1257
+ * Example: created/updated/deleted/started/completed/email_opened
1258
+ */
1259
+ slug?: string;
1260
+ /** ID of the entity associated with the event. */
1261
+ entityId?: string;
1262
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1263
+ eventTime?: Date | null;
1264
+ /**
1265
+ * Whether the event was triggered as a result of a privacy regulation application
1266
+ * (for example, GDPR).
1267
+ */
1268
+ triggeredByAnonymizeRequest?: boolean | null;
1269
+ /** If present, indicates the action that triggered the event. */
1270
+ originatedFrom?: string | null;
1271
+ /**
1272
+ * A sequence number defining the order of updates to the underlying entity.
1273
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
1274
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1275
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1276
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
1277
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1278
+ */
1279
+ entityEventSequence?: string | null;
1280
+ }
1281
+ /** @oneof */
1282
+ export interface DomainEventBodyOneOf {
1283
+ createdEvent?: EntityCreatedEvent;
1284
+ updatedEvent?: EntityUpdatedEvent;
1285
+ deletedEvent?: EntityDeletedEvent;
1286
+ actionEvent?: ActionEvent;
1287
+ }
1288
+ export interface EntityCreatedEvent {
1289
+ entityAsJson?: string;
1290
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1291
+ restoreInfo?: RestoreInfo;
1292
+ }
1293
+ export interface RestoreInfo {
1294
+ deletedDate?: Date | null;
1295
+ }
1296
+ export interface EntityUpdatedEvent {
1297
+ /**
1298
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1299
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1300
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1301
+ */
1302
+ currentEntityAsJson?: string;
1303
+ }
1304
+ export interface EntityDeletedEvent {
1305
+ /** Entity that was deleted */
1306
+ deletedEntityAsJson?: string | null;
1307
+ }
1308
+ export interface ActionEvent {
1309
+ bodyAsJson?: string;
1310
+ }
1311
+ export interface MessageEnvelope {
1312
+ /**
1313
+ * App instance ID.
1314
+ * @format GUID
1315
+ */
1316
+ instanceId?: string | null;
1317
+ /**
1318
+ * Event type.
1319
+ * @maxLength 150
1320
+ */
1321
+ eventType?: string;
1322
+ /** The identification type and identity data. */
1323
+ identity?: IdentificationData;
1324
+ /** Stringify payload. */
1325
+ data?: string;
1326
+ }
1327
+ export interface IdentificationData extends IdentificationDataIdOneOf {
1328
+ /**
1329
+ * ID of a site visitor that has not logged in to the site.
1330
+ * @format GUID
1331
+ */
1332
+ anonymousVisitorId?: string;
1333
+ /**
1334
+ * ID of a site visitor that has logged in to the site.
1335
+ * @format GUID
1336
+ */
1337
+ memberId?: string;
1338
+ /**
1339
+ * ID of a Wix user (site owner, contributor, etc.).
1340
+ * @format GUID
1341
+ */
1342
+ wixUserId?: string;
1343
+ /**
1344
+ * ID of an app.
1345
+ * @format GUID
1346
+ */
1347
+ appId?: string;
1348
+ /** @readonly */
1349
+ identityType?: WebhookIdentityType;
1350
+ }
1351
+ /** @oneof */
1352
+ export interface IdentificationDataIdOneOf {
1353
+ /**
1354
+ * ID of a site visitor that has not logged in to the site.
1355
+ * @format GUID
1356
+ */
1357
+ anonymousVisitorId?: string;
1358
+ /**
1359
+ * ID of a site visitor that has logged in to the site.
1360
+ * @format GUID
1361
+ */
1362
+ memberId?: string;
1363
+ /**
1364
+ * ID of a Wix user (site owner, contributor, etc.).
1365
+ * @format GUID
1366
+ */
1367
+ wixUserId?: string;
1368
+ /**
1369
+ * ID of an app.
1370
+ * @format GUID
1371
+ */
1372
+ appId?: string;
1373
+ }
1374
+ export declare enum WebhookIdentityType {
1375
+ UNKNOWN = "UNKNOWN",
1376
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1377
+ MEMBER = "MEMBER",
1378
+ WIX_USER = "WIX_USER",
1379
+ APP = "APP"
1380
+ }
1210
1381
  export interface CreateAddOnGroupRequest {
1211
1382
  /** AddOnGroup to create. */
1212
1383
  addOnGroup?: AddOnGroup;
@@ -1368,148 +1539,6 @@ export interface ValidationResult {
1368
1539
  */
1369
1540
  message?: string | null;
1370
1541
  }
1371
- export interface DomainEvent extends DomainEventBodyOneOf {
1372
- createdEvent?: EntityCreatedEvent;
1373
- updatedEvent?: EntityUpdatedEvent;
1374
- deletedEvent?: EntityDeletedEvent;
1375
- actionEvent?: ActionEvent;
1376
- /**
1377
- * Unique event ID.
1378
- * Allows clients to ignore duplicate webhooks.
1379
- */
1380
- id?: string;
1381
- /**
1382
- * Assumes actions are also always typed to an entity_type
1383
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1384
- */
1385
- entityFqdn?: string;
1386
- /**
1387
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1388
- * This is although the created/updated/deleted notion is duplication of the oneof types
1389
- * Example: created/updated/deleted/started/completed/email_opened
1390
- */
1391
- slug?: string;
1392
- /** ID of the entity associated with the event. */
1393
- entityId?: string;
1394
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1395
- eventTime?: Date | null;
1396
- /**
1397
- * Whether the event was triggered as a result of a privacy regulation application
1398
- * (for example, GDPR).
1399
- */
1400
- triggeredByAnonymizeRequest?: boolean | null;
1401
- /** If present, indicates the action that triggered the event. */
1402
- originatedFrom?: string | null;
1403
- /**
1404
- * A sequence number defining the order of updates to the underlying entity.
1405
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1406
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1407
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1408
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1409
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1410
- */
1411
- entityEventSequence?: string | null;
1412
- }
1413
- /** @oneof */
1414
- export interface DomainEventBodyOneOf {
1415
- createdEvent?: EntityCreatedEvent;
1416
- updatedEvent?: EntityUpdatedEvent;
1417
- deletedEvent?: EntityDeletedEvent;
1418
- actionEvent?: ActionEvent;
1419
- }
1420
- export interface EntityCreatedEvent {
1421
- entityAsJson?: string;
1422
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
1423
- restoreInfo?: RestoreInfo;
1424
- }
1425
- export interface RestoreInfo {
1426
- deletedDate?: Date | null;
1427
- }
1428
- export interface EntityUpdatedEvent {
1429
- /**
1430
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1431
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1432
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1433
- */
1434
- currentEntityAsJson?: string;
1435
- }
1436
- export interface EntityDeletedEvent {
1437
- /** Entity that was deleted */
1438
- deletedEntityAsJson?: string | null;
1439
- }
1440
- export interface ActionEvent {
1441
- bodyAsJson?: string;
1442
- }
1443
- export interface MessageEnvelope {
1444
- /**
1445
- * App instance ID.
1446
- * @format GUID
1447
- */
1448
- instanceId?: string | null;
1449
- /**
1450
- * Event type.
1451
- * @maxLength 150
1452
- */
1453
- eventType?: string;
1454
- /** The identification type and identity data. */
1455
- identity?: IdentificationData;
1456
- /** Stringify payload. */
1457
- data?: string;
1458
- }
1459
- export interface IdentificationData extends IdentificationDataIdOneOf {
1460
- /**
1461
- * ID of a site visitor that has not logged in to the site.
1462
- * @format GUID
1463
- */
1464
- anonymousVisitorId?: string;
1465
- /**
1466
- * ID of a site visitor that has logged in to the site.
1467
- * @format GUID
1468
- */
1469
- memberId?: string;
1470
- /**
1471
- * ID of a Wix user (site owner, contributor, etc.).
1472
- * @format GUID
1473
- */
1474
- wixUserId?: string;
1475
- /**
1476
- * ID of an app.
1477
- * @format GUID
1478
- */
1479
- appId?: string;
1480
- /** @readonly */
1481
- identityType?: WebhookIdentityType;
1482
- }
1483
- /** @oneof */
1484
- export interface IdentificationDataIdOneOf {
1485
- /**
1486
- * ID of a site visitor that has not logged in to the site.
1487
- * @format GUID
1488
- */
1489
- anonymousVisitorId?: string;
1490
- /**
1491
- * ID of a site visitor that has logged in to the site.
1492
- * @format GUID
1493
- */
1494
- memberId?: string;
1495
- /**
1496
- * ID of a Wix user (site owner, contributor, etc.).
1497
- * @format GUID
1498
- */
1499
- wixUserId?: string;
1500
- /**
1501
- * ID of an app.
1502
- * @format GUID
1503
- */
1504
- appId?: string;
1505
- }
1506
- export declare enum WebhookIdentityType {
1507
- UNKNOWN = "UNKNOWN",
1508
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1509
- MEMBER = "MEMBER",
1510
- WIX_USER = "WIX_USER",
1511
- APP = "APP"
1512
- }
1513
1542
  export interface CreateServiceRequest {
1514
1543
  /** Service to create. */
1515
1544
  service: Service;
@@ -4015,372 +4044,3 @@ export interface SiteCloned {
4015
4044
  /** Origin site id. */
4016
4045
  originMetaSiteId?: string;
4017
4046
  }
4018
- interface ImageNonNullableFields {
4019
- id: string;
4020
- url: string;
4021
- height: number;
4022
- width: number;
4023
- }
4024
- interface MediaItemNonNullableFields {
4025
- image?: ImageNonNullableFields;
4026
- }
4027
- interface MediaNonNullableFields {
4028
- items: MediaItemNonNullableFields[];
4029
- mainMedia?: MediaItemNonNullableFields;
4030
- coverMedia?: MediaItemNonNullableFields;
4031
- }
4032
- interface V2CategoryNonNullableFields {
4033
- id: string;
4034
- }
4035
- interface FormNonNullableFields {
4036
- id: string;
4037
- }
4038
- interface MoneyNonNullableFields {
4039
- value: string;
4040
- currency: string;
4041
- }
4042
- interface FixedPaymentNonNullableFields {
4043
- price?: MoneyNonNullableFields;
4044
- deposit?: MoneyNonNullableFields;
4045
- }
4046
- interface VariedPaymentNonNullableFields {
4047
- defaultPrice?: MoneyNonNullableFields;
4048
- deposit?: MoneyNonNullableFields;
4049
- minPrice?: MoneyNonNullableFields;
4050
- maxPrice?: MoneyNonNullableFields;
4051
- }
4052
- interface PaymentNonNullableFields {
4053
- fixed?: FixedPaymentNonNullableFields;
4054
- varied?: VariedPaymentNonNullableFields;
4055
- rateType: RateType;
4056
- pricingPlanIds: string[];
4057
- }
4058
- interface CommonStreetAddressNonNullableFields {
4059
- number: string;
4060
- name: string;
4061
- apt: string;
4062
- }
4063
- interface CommonAddressNonNullableFields {
4064
- streetAddress?: CommonStreetAddressNonNullableFields;
4065
- }
4066
- interface BusinessLocationOptionsNonNullableFields {
4067
- id: string;
4068
- name: string;
4069
- address?: CommonAddressNonNullableFields;
4070
- }
4071
- interface CustomLocationOptionsNonNullableFields {
4072
- id: string;
4073
- address?: CommonAddressNonNullableFields;
4074
- }
4075
- interface V2LocationNonNullableFields {
4076
- business?: BusinessLocationOptionsNonNullableFields;
4077
- custom?: CustomLocationOptionsNonNullableFields;
4078
- id: string;
4079
- type: LocationTypeEnumLocationType;
4080
- calculatedAddress?: CommonAddressNonNullableFields;
4081
- }
4082
- interface PolicyDescriptionNonNullableFields {
4083
- enabled: boolean;
4084
- description: string;
4085
- }
4086
- interface LimitEarlyBookingPolicyNonNullableFields {
4087
- enabled: boolean;
4088
- earliestBookingInMinutes: number;
4089
- }
4090
- interface LimitLateBookingPolicyNonNullableFields {
4091
- enabled: boolean;
4092
- latestBookingInMinutes: number;
4093
- }
4094
- interface BookAfterStartPolicyNonNullableFields {
4095
- enabled: boolean;
4096
- }
4097
- interface CancellationPolicyNonNullableFields {
4098
- enabled: boolean;
4099
- limitLatestCancellation: boolean;
4100
- latestCancellationInMinutes: number;
4101
- }
4102
- interface ReschedulePolicyNonNullableFields {
4103
- enabled: boolean;
4104
- limitLatestReschedule: boolean;
4105
- latestRescheduleInMinutes: number;
4106
- }
4107
- interface WaitlistPolicyNonNullableFields {
4108
- enabled: boolean;
4109
- capacity: number;
4110
- reservationTimeInMinutes: number;
4111
- }
4112
- interface ParticipantsPolicyNonNullableFields {
4113
- enabled: boolean;
4114
- maxParticipantsPerBooking: number;
4115
- }
4116
- interface ResourcesPolicyNonNullableFields {
4117
- enabled: boolean;
4118
- autoAssignAllowed: boolean;
4119
- }
4120
- interface CancellationWindowNonNullableFields {
4121
- amount?: MoneyNonNullableFields;
4122
- percentage: string;
4123
- }
4124
- interface CancellationFeePolicyNonNullableFields {
4125
- enabled: boolean;
4126
- cancellationWindows: CancellationWindowNonNullableFields[];
4127
- }
4128
- interface SaveCreditCardPolicyNonNullableFields {
4129
- enabled: boolean;
4130
- }
4131
- interface BookingPolicyNonNullableFields {
4132
- id: string;
4133
- customPolicyDescription?: PolicyDescriptionNonNullableFields;
4134
- limitEarlyBookingPolicy?: LimitEarlyBookingPolicyNonNullableFields;
4135
- limitLateBookingPolicy?: LimitLateBookingPolicyNonNullableFields;
4136
- bookAfterStartPolicy?: BookAfterStartPolicyNonNullableFields;
4137
- cancellationPolicy?: CancellationPolicyNonNullableFields;
4138
- reschedulePolicy?: ReschedulePolicyNonNullableFields;
4139
- waitlistPolicy?: WaitlistPolicyNonNullableFields;
4140
- participantsPolicy?: ParticipantsPolicyNonNullableFields;
4141
- resourcesPolicy?: ResourcesPolicyNonNullableFields;
4142
- cancellationFeePolicy?: CancellationFeePolicyNonNullableFields;
4143
- saveCreditCardPolicy?: SaveCreditCardPolicyNonNullableFields;
4144
- }
4145
- interface DurationNonNullableFields {
4146
- minutes: number;
4147
- }
4148
- interface V2AvailabilityConstraintsNonNullableFields {
4149
- durations: DurationNonNullableFields[];
4150
- sessionDurations: number[];
4151
- timeBetweenSessions: number;
4152
- }
4153
- interface V2ScheduleNonNullableFields {
4154
- availabilityConstraints?: V2AvailabilityConstraintsNonNullableFields;
4155
- }
4156
- interface StaffMediaItemNonNullableFields {
4157
- image?: ImageNonNullableFields;
4158
- }
4159
- interface StaffMemberNonNullableFields {
4160
- staffMemberId: string;
4161
- workingHoursScheduleIds: string[];
4162
- mainMedia?: StaffMediaItemNonNullableFields;
4163
- }
4164
- interface StaffMemberDetailsNonNullableFields {
4165
- staffMembers: StaffMemberNonNullableFields[];
4166
- }
4167
- interface ResourceIdsNonNullableFields {
4168
- values: string[];
4169
- }
4170
- interface ResourceGroupNonNullableFields {
4171
- resourceIds?: ResourceIdsNonNullableFields;
4172
- }
4173
- interface ServiceResourceNonNullableFields {
4174
- }
4175
- interface SlugNonNullableFields {
4176
- name: string;
4177
- }
4178
- interface PageUrlV2NonNullableFields {
4179
- relativePath: string;
4180
- }
4181
- interface URLsNonNullableFields {
4182
- servicePage?: PageUrlV2NonNullableFields;
4183
- bookingPage?: PageUrlV2NonNullableFields;
4184
- calendarPage?: PageUrlV2NonNullableFields;
4185
- }
4186
- interface TagNonNullableFields {
4187
- type: string;
4188
- children: string;
4189
- custom: boolean;
4190
- disabled: boolean;
4191
- }
4192
- interface KeywordNonNullableFields {
4193
- term: string;
4194
- isMain: boolean;
4195
- }
4196
- interface SettingsNonNullableFields {
4197
- preventAutoRedirect: boolean;
4198
- keywords: KeywordNonNullableFields[];
4199
- }
4200
- interface SeoSchemaNonNullableFields {
4201
- tags: TagNonNullableFields[];
4202
- settings?: SettingsNonNullableFields;
4203
- }
4204
- interface ServiceNonNullableFields {
4205
- type: ServiceType;
4206
- media?: MediaNonNullableFields;
4207
- category?: V2CategoryNonNullableFields;
4208
- form?: FormNonNullableFields;
4209
- payment?: PaymentNonNullableFields;
4210
- locations: V2LocationNonNullableFields[];
4211
- bookingPolicy?: BookingPolicyNonNullableFields;
4212
- schedule?: V2ScheduleNonNullableFields;
4213
- staffMemberIds: string[];
4214
- staffMembers: StaffMemberNonNullableFields[];
4215
- staffMemberDetails?: StaffMemberDetailsNonNullableFields;
4216
- resourceGroups: ResourceGroupNonNullableFields[];
4217
- serviceResources: ServiceResourceNonNullableFields[];
4218
- supportedSlugs: SlugNonNullableFields[];
4219
- mainSlug?: SlugNonNullableFields;
4220
- urls?: URLsNonNullableFields;
4221
- seoData?: SeoSchemaNonNullableFields;
4222
- }
4223
- export interface CreateServiceResponseNonNullableFields {
4224
- service?: ServiceNonNullableFields;
4225
- }
4226
- export interface GetServiceResponseNonNullableFields {
4227
- service?: ServiceNonNullableFields;
4228
- }
4229
- export interface UpdateServiceResponseNonNullableFields {
4230
- service?: ServiceNonNullableFields;
4231
- }
4232
- interface ApplicationErrorNonNullableFields {
4233
- code: string;
4234
- description: string;
4235
- }
4236
- interface ItemMetadataNonNullableFields {
4237
- originalIndex: number;
4238
- success: boolean;
4239
- error?: ApplicationErrorNonNullableFields;
4240
- }
4241
- interface BulkServiceResultNonNullableFields {
4242
- itemMetadata?: ItemMetadataNonNullableFields;
4243
- item?: ServiceNonNullableFields;
4244
- }
4245
- interface BulkActionMetadataNonNullableFields {
4246
- totalSuccesses: number;
4247
- totalFailures: number;
4248
- undetailedFailures: number;
4249
- }
4250
- export interface BulkUpdateServicesResponseNonNullableFields {
4251
- results: BulkServiceResultNonNullableFields[];
4252
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
4253
- }
4254
- export interface BulkUpdateServicesByFilterResponseNonNullableFields {
4255
- jobId: string;
4256
- }
4257
- export interface BulkDeleteServicesResponseNonNullableFields {
4258
- results: BulkServiceResultNonNullableFields[];
4259
- bulkActionMetadata?: BulkActionMetadataNonNullableFields;
4260
- }
4261
- export interface BulkDeleteServicesByFilterResponseNonNullableFields {
4262
- jobId: string;
4263
- }
4264
- export interface QueryServicesResponseNonNullableFields {
4265
- services: ServiceNonNullableFields[];
4266
- }
4267
- interface ValueAggregationResultNonNullableFields {
4268
- value: string;
4269
- count: number;
4270
- }
4271
- interface ValueResultsNonNullableFields {
4272
- results: ValueAggregationResultNonNullableFields[];
4273
- }
4274
- interface RangeAggregationResultNonNullableFields {
4275
- count: number;
4276
- }
4277
- interface RangeResultsNonNullableFields {
4278
- results: RangeAggregationResultNonNullableFields[];
4279
- }
4280
- interface AggregationResultsScalarResultNonNullableFields {
4281
- type: ScalarType;
4282
- value: number;
4283
- }
4284
- interface NestedAggregationResultsNonNullableFields {
4285
- values?: ValueResultsNonNullableFields;
4286
- ranges?: RangeResultsNonNullableFields;
4287
- scalar?: AggregationResultsScalarResultNonNullableFields;
4288
- name: string;
4289
- type: AggregationType;
4290
- fieldPath: string;
4291
- }
4292
- interface NestedValueAggregationResultNonNullableFields {
4293
- value: string;
4294
- nestedResults?: NestedAggregationResultsNonNullableFields;
4295
- }
4296
- interface GroupByValueResultsNonNullableFields {
4297
- results: NestedValueAggregationResultNonNullableFields[];
4298
- }
4299
- interface DateHistogramResultNonNullableFields {
4300
- value: string;
4301
- count: number;
4302
- }
4303
- interface DateHistogramResultsNonNullableFields {
4304
- results: DateHistogramResultNonNullableFields[];
4305
- }
4306
- interface AggregationResultsNonNullableFields {
4307
- values?: ValueResultsNonNullableFields;
4308
- ranges?: RangeResultsNonNullableFields;
4309
- scalar?: AggregationResultsScalarResultNonNullableFields;
4310
- groupedByValue?: GroupByValueResultsNonNullableFields;
4311
- dateHistogram?: DateHistogramResultsNonNullableFields;
4312
- name: string;
4313
- type: AggregationType;
4314
- fieldPath: string;
4315
- }
4316
- interface AggregationDataNonNullableFields {
4317
- results: AggregationResultsNonNullableFields[];
4318
- }
4319
- export interface SearchServicesResponseNonNullableFields {
4320
- services: ServiceNonNullableFields[];
4321
- aggregationData?: AggregationDataNonNullableFields;
4322
- }
4323
- interface BookingPolicyWithServicesNonNullableFields {
4324
- bookingPolicy?: BookingPolicyNonNullableFields;
4325
- services: ServiceNonNullableFields[];
4326
- countOfServices: number;
4327
- connectedServices: ServiceNonNullableFields[];
4328
- totalServiceCount: number;
4329
- }
4330
- export interface QueryPoliciesResponseNonNullableFields {
4331
- bookingPolicies: BookingPolicyWithServicesNonNullableFields[];
4332
- }
4333
- interface FormDetailsNonNullableFields {
4334
- formId: string;
4335
- }
4336
- interface BookingFormNonNullableFields {
4337
- formDetails?: FormDetailsNonNullableFields;
4338
- totalServiceCount: number;
4339
- }
4340
- export interface QueryBookingFormsResponseNonNullableFields {
4341
- bookingForms: BookingFormNonNullableFields[];
4342
- defaultBookingForm?: BookingFormNonNullableFields;
4343
- }
4344
- export interface CountServicesResponseNonNullableFields {
4345
- count: number;
4346
- }
4347
- interface BusinessLocationsNonNullableFields {
4348
- exists: boolean;
4349
- locations: V2LocationNonNullableFields[];
4350
- }
4351
- interface CustomLocationsNonNullableFields {
4352
- exists: boolean;
4353
- }
4354
- interface CustomerLocationsNonNullableFields {
4355
- exists: boolean;
4356
- }
4357
- export interface QueryLocationsResponseNonNullableFields {
4358
- businessLocations?: BusinessLocationsNonNullableFields;
4359
- customLocations?: CustomLocationsNonNullableFields;
4360
- customerLocations?: CustomerLocationsNonNullableFields;
4361
- }
4362
- export interface QueryCategoriesResponseNonNullableFields {
4363
- categories: V2CategoryNonNullableFields[];
4364
- }
4365
- export interface SetServiceLocationsResponseNonNullableFields {
4366
- service?: ServiceNonNullableFields;
4367
- }
4368
- export interface EnablePricingPlansForServiceResponseNonNullableFields {
4369
- service?: ServiceNonNullableFields;
4370
- }
4371
- export interface DisablePricingPlansForServiceResponseNonNullableFields {
4372
- service?: ServiceNonNullableFields;
4373
- }
4374
- export interface SetCustomSlugResponseNonNullableFields {
4375
- slug?: SlugNonNullableFields;
4376
- service?: ServiceNonNullableFields;
4377
- }
4378
- export interface ValidateSlugResponseNonNullableFields {
4379
- valid: boolean;
4380
- errors: InvalidSlugError[];
4381
- }
4382
- export interface CloneServiceResponseNonNullableFields {
4383
- service?: ServiceNonNullableFields;
4384
- errors: CloneErrors[];
4385
- }
4386
- export {};