@wix/auto_sdk_bookings_bookings 1.0.23 → 1.0.25
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.
- package/build/cjs/src/bookings-v2-booking-bookings.types.d.ts +63 -45
- package/build/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking-bookings.universal.d.ts +75 -65
- package/build/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking-bookings.types.d.ts +63 -45
- package/build/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking-bookings.universal.d.ts +75 -65
- package/build/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-booking-bookings.types.d.ts +63 -45
- package/build/internal/cjs/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.d.ts +75 -65
- package/build/internal/cjs/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/build/internal/es/src/bookings-v2-booking-bookings.types.d.ts +63 -45
- package/build/internal/es/src/bookings-v2-booking-bookings.types.js.map +1 -1
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.d.ts +75 -65
- package/build/internal/es/src/bookings-v2-booking-bookings.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -41,14 +41,14 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
41
41
|
* double booking and the customer hasn't paid or is eligible for an automatic
|
|
42
42
|
* refund. Currently, only payments with pricing plans are automatically refundable.
|
|
43
43
|
*/
|
|
44
|
-
status?:
|
|
44
|
+
status?: BookingStatusWithLiterals;
|
|
45
45
|
/**
|
|
46
46
|
* The payment status of the booking corresponds to the `paymentStatus` of the
|
|
47
47
|
* related *eCommerce order*
|
|
48
48
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/orders/setup)| [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/introduction)),
|
|
49
49
|
* if one exists. All payment statuses are supported for every booking `status`.
|
|
50
50
|
*/
|
|
51
|
-
paymentStatus?:
|
|
51
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
52
52
|
/**
|
|
53
53
|
* Payment option selected by the customer. If the customer hasn't completed their
|
|
54
54
|
* checkout, they may still change the payment method. Must be one of the payment
|
|
@@ -58,7 +58,7 @@ export interface Booking extends BookingParticipantsInfoOneOf {
|
|
|
58
58
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/ecom/checkout/setup) | [REST](https://dev.wix.com/docs/rest/business-solutions/e-commerce/checkout/introduction)),
|
|
59
59
|
* Wix Bookings uses the service's default payment option
|
|
60
60
|
*/
|
|
61
|
-
selectedPaymentOption?:
|
|
61
|
+
selectedPaymentOption?: SelectedPaymentOptionWithLiterals;
|
|
62
62
|
/**
|
|
63
63
|
* Date and time the booking was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
64
64
|
* @readonly
|
|
@@ -135,6 +135,8 @@ export declare enum MultiServiceBookingType {
|
|
|
135
135
|
SEPARATE_BOOKINGS = "SEPARATE_BOOKINGS",
|
|
136
136
|
PARALLEL_BOOKINGS = "PARALLEL_BOOKINGS"
|
|
137
137
|
}
|
|
138
|
+
/** @enumType */
|
|
139
|
+
export type MultiServiceBookingTypeWithLiterals = MultiServiceBookingType | 'SEQUENTIAL_BOOKINGS' | 'SEPARATE_BOOKINGS' | 'PARALLEL_BOOKINGS';
|
|
138
140
|
export interface BookedEntity extends BookedEntityItemOneOf {
|
|
139
141
|
/**
|
|
140
142
|
* Booked *slot*
|
|
@@ -270,7 +272,7 @@ export interface Location {
|
|
|
270
272
|
* - `"OWNER_CUSTOM"`: The address as set when creating the service.
|
|
271
273
|
* - `"CUSTOM"`: The address as set for the individual session.
|
|
272
274
|
*/
|
|
273
|
-
locationType?:
|
|
275
|
+
locationType?: LocationTypeWithLiterals;
|
|
274
276
|
}
|
|
275
277
|
export declare enum LocationType {
|
|
276
278
|
UNDEFINED = "UNDEFINED",
|
|
@@ -278,6 +280,8 @@ export declare enum LocationType {
|
|
|
278
280
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
279
281
|
CUSTOM = "CUSTOM"
|
|
280
282
|
}
|
|
283
|
+
/** @enumType */
|
|
284
|
+
export type LocationTypeWithLiterals = LocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
281
285
|
export interface BookedSchedule {
|
|
282
286
|
/**
|
|
283
287
|
* _Schedule ID_
|
|
@@ -422,7 +426,7 @@ export interface CustomFormField {
|
|
|
422
426
|
* @readonly
|
|
423
427
|
*/
|
|
424
428
|
label?: string | null;
|
|
425
|
-
valueType?:
|
|
429
|
+
valueType?: ValueTypeWithLiterals;
|
|
426
430
|
}
|
|
427
431
|
export declare enum ValueType {
|
|
428
432
|
/** Short text. This is the default value type. */
|
|
@@ -432,6 +436,8 @@ export declare enum ValueType {
|
|
|
432
436
|
/** A text that represents the check box value. If selected the value is `true`, otherwise `false`. */
|
|
433
437
|
CHECK_BOX = "CHECK_BOX"
|
|
434
438
|
}
|
|
439
|
+
/** @enumType */
|
|
440
|
+
export type ValueTypeWithLiterals = ValueType | 'SHORT_TEXT' | 'LONG_TEXT' | 'CHECK_BOX';
|
|
435
441
|
/** Booking status. */
|
|
436
442
|
export declare enum BookingStatus {
|
|
437
443
|
/**
|
|
@@ -470,6 +476,8 @@ export declare enum BookingStatus {
|
|
|
470
476
|
*/
|
|
471
477
|
WAITING_LIST = "WAITING_LIST"
|
|
472
478
|
}
|
|
479
|
+
/** @enumType */
|
|
480
|
+
export type BookingStatusWithLiterals = BookingStatus | 'CREATED' | 'CONFIRMED' | 'CANCELED' | 'PENDING' | 'DECLINED' | 'WAITING_LIST';
|
|
473
481
|
/**
|
|
474
482
|
* Payment status.
|
|
475
483
|
* Automatically updated when using eCommerce checkout APIs.
|
|
@@ -488,6 +496,8 @@ export declare enum PaymentStatus {
|
|
|
488
496
|
/** The booking is free of charge. */
|
|
489
497
|
EXEMPT = "EXEMPT"
|
|
490
498
|
}
|
|
499
|
+
/** @enumType */
|
|
500
|
+
export type PaymentStatusWithLiterals = PaymentStatus | 'UNDEFINED' | 'NOT_PAID' | 'PAID' | 'PARTIALLY_PAID' | 'REFUNDED' | 'EXEMPT';
|
|
491
501
|
/**
|
|
492
502
|
* Selected payment option.
|
|
493
503
|
*
|
|
@@ -510,11 +520,13 @@ export declare enum SelectedPaymentOption {
|
|
|
510
520
|
*/
|
|
511
521
|
MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
|
|
512
522
|
}
|
|
523
|
+
/** @enumType */
|
|
524
|
+
export type SelectedPaymentOptionWithLiterals = SelectedPaymentOption | 'UNDEFINED' | 'OFFLINE' | 'ONLINE' | 'MEMBERSHIP' | 'MEMBERSHIP_OFFLINE';
|
|
513
525
|
export interface BookingSource {
|
|
514
526
|
/** Platform from which a booking was created. */
|
|
515
|
-
platform?:
|
|
527
|
+
platform?: PlatformWithLiterals;
|
|
516
528
|
/** Actor that created this booking. */
|
|
517
|
-
actor?:
|
|
529
|
+
actor?: ActorWithLiterals;
|
|
518
530
|
/**
|
|
519
531
|
* Wix site ID of the application that created the booking.
|
|
520
532
|
* @format GUID
|
|
@@ -532,11 +544,15 @@ export declare enum Platform {
|
|
|
532
544
|
WEB = "WEB",
|
|
533
545
|
MOBILE_APP = "MOBILE_APP"
|
|
534
546
|
}
|
|
547
|
+
/** @enumType */
|
|
548
|
+
export type PlatformWithLiterals = Platform | 'UNDEFINED_PLATFORM' | 'WEB' | 'MOBILE_APP';
|
|
535
549
|
export declare enum Actor {
|
|
536
550
|
UNDEFINED_ACTOR = "UNDEFINED_ACTOR",
|
|
537
551
|
BUSINESS = "BUSINESS",
|
|
538
552
|
CUSTOMER = "CUSTOMER"
|
|
539
553
|
}
|
|
554
|
+
/** @enumType */
|
|
555
|
+
export type ActorWithLiterals = Actor | 'UNDEFINED_ACTOR' | 'BUSINESS' | 'CUSTOMER';
|
|
540
556
|
export interface ParticipantNotification {
|
|
541
557
|
/**
|
|
542
558
|
* Whether to send the message about the changes to the customer.
|
|
@@ -604,6 +620,8 @@ export declare enum IdentificationDataIdentityType {
|
|
|
604
620
|
WIX_USER = "WIX_USER",
|
|
605
621
|
APP = "APP"
|
|
606
622
|
}
|
|
623
|
+
/** @enumType */
|
|
624
|
+
export type IdentificationDataIdentityTypeWithLiterals = IdentificationDataIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
607
625
|
export interface FlowControlSettings {
|
|
608
626
|
/** Whether availability is checked when creating or confirming the booking. */
|
|
609
627
|
skipAvailabilityValidation?: boolean;
|
|
@@ -709,7 +727,7 @@ export interface MultiServiceBookingInfo {
|
|
|
709
727
|
*/
|
|
710
728
|
id?: string | null;
|
|
711
729
|
/** Type of the multi-service booking. */
|
|
712
|
-
type?:
|
|
730
|
+
type?: MultiServiceBookingTypeWithLiterals;
|
|
713
731
|
}
|
|
714
732
|
export interface BookedAddOn {
|
|
715
733
|
/**
|
|
@@ -833,25 +851,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
833
851
|
updatedEvent?: EntityUpdatedEvent;
|
|
834
852
|
deletedEvent?: EntityDeletedEvent;
|
|
835
853
|
actionEvent?: ActionEvent;
|
|
836
|
-
/**
|
|
837
|
-
* Unique event ID.
|
|
838
|
-
* Allows clients to ignore duplicate webhooks.
|
|
839
|
-
*/
|
|
854
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
840
855
|
id?: string;
|
|
841
856
|
/**
|
|
842
|
-
*
|
|
843
|
-
*
|
|
857
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
858
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
844
859
|
*/
|
|
845
860
|
entityFqdn?: string;
|
|
846
861
|
/**
|
|
847
|
-
*
|
|
848
|
-
*
|
|
849
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
862
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
863
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
850
864
|
*/
|
|
851
865
|
slug?: string;
|
|
852
866
|
/** ID of the entity associated with the event. */
|
|
853
867
|
entityId?: string;
|
|
854
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
868
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
855
869
|
eventTime?: Date | null;
|
|
856
870
|
/**
|
|
857
871
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -861,12 +875,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
861
875
|
/** If present, indicates the action that triggered the event. */
|
|
862
876
|
originatedFrom?: string | null;
|
|
863
877
|
/**
|
|
864
|
-
* A sequence number
|
|
865
|
-
*
|
|
866
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
867
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
868
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
869
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
878
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
879
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
870
880
|
*/
|
|
871
881
|
entityEventSequence?: string | null;
|
|
872
882
|
}
|
|
@@ -894,7 +904,7 @@ export interface EntityUpdatedEvent {
|
|
|
894
904
|
currentEntityAsJson?: string;
|
|
895
905
|
}
|
|
896
906
|
export interface EntityDeletedEvent {
|
|
897
|
-
/** Entity that was deleted */
|
|
907
|
+
/** Entity that was deleted. */
|
|
898
908
|
deletedEntityAsJson?: string | null;
|
|
899
909
|
}
|
|
900
910
|
export interface ActionEvent {
|
|
@@ -938,7 +948,7 @@ export interface WebhooksIdentificationData extends WebhooksIdentificationDataId
|
|
|
938
948
|
*/
|
|
939
949
|
appId?: string;
|
|
940
950
|
/** @readonly */
|
|
941
|
-
identityType?:
|
|
951
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
942
952
|
}
|
|
943
953
|
/** @oneof */
|
|
944
954
|
export interface WebhooksIdentificationDataIdOneOf {
|
|
@@ -970,6 +980,8 @@ export declare enum WebhookIdentityType {
|
|
|
970
980
|
WIX_USER = "WIX_USER",
|
|
971
981
|
APP = "APP"
|
|
972
982
|
}
|
|
983
|
+
/** @enumType */
|
|
984
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
973
985
|
export interface V2CreateBookingRequest extends V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf {
|
|
974
986
|
/**
|
|
975
987
|
* Information about the slot to create a booking for.
|
|
@@ -1007,7 +1019,7 @@ export interface V2CreateBookingRequest extends V2CreateBookingRequestBookableIt
|
|
|
1007
1019
|
* + Invoking eCommerce checkout API and the order declined event has been sent.
|
|
1008
1020
|
* + Invoking eCommerce checkout API and order approved event has been sent, but the booking is offline and the booking causes a double booking.
|
|
1009
1021
|
*/
|
|
1010
|
-
status?:
|
|
1022
|
+
status?: BookingStatusWithLiterals;
|
|
1011
1023
|
/**
|
|
1012
1024
|
* Additional custom fields of the booking form. The customer must provide
|
|
1013
1025
|
* information for each field when booking the service. For example, that they
|
|
@@ -1035,7 +1047,7 @@ export interface V2CreateBookingRequest extends V2CreateBookingRequestBookableIt
|
|
|
1035
1047
|
* Must be one of the payment options defined for the service, unless
|
|
1036
1048
|
* you pass `flowControlSettings.skipSelectedPaymentOptionValidation` as `true`.
|
|
1037
1049
|
*/
|
|
1038
|
-
selectedPaymentOption?:
|
|
1050
|
+
selectedPaymentOption?: SelectedPaymentOptionWithLiterals;
|
|
1039
1051
|
/**
|
|
1040
1052
|
* Identifies the source (platform, actor and app) that created this booking.
|
|
1041
1053
|
* This property of the booking cannot be changed.
|
|
@@ -1363,7 +1375,7 @@ export interface ConfirmOrDeclineBookingRequest {
|
|
|
1363
1375
|
* The booking is declined if there is a double booking conflict and you provide
|
|
1364
1376
|
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
1365
1377
|
*/
|
|
1366
|
-
paymentStatus?:
|
|
1378
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
1367
1379
|
}
|
|
1368
1380
|
export interface ConfirmOrDeclineBookingResponse {
|
|
1369
1381
|
/** Updated booking. */
|
|
@@ -1393,7 +1405,7 @@ export interface BulkConfirmOrDeclineBookingRequestBookingDetails {
|
|
|
1393
1405
|
* The booking is declined if there is a double booking conflict and you provide
|
|
1394
1406
|
* one of these payment statuses: `UNDEFINED`, `NOT_PAID`, `REFUNDED`, or `EXEMPT`.
|
|
1395
1407
|
*/
|
|
1396
|
-
paymentStatus?:
|
|
1408
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
1397
1409
|
}
|
|
1398
1410
|
export interface BulkConfirmOrDeclineBookingResponse {
|
|
1399
1411
|
/** List of confirmed or declined bookings, including metadata. */
|
|
@@ -1662,6 +1674,8 @@ export declare enum LocationLocationType {
|
|
|
1662
1674
|
/** The address set for the individual session. */
|
|
1663
1675
|
CUSTOM = "CUSTOM"
|
|
1664
1676
|
}
|
|
1677
|
+
/** @enumType */
|
|
1678
|
+
export type LocationLocationTypeWithLiterals = LocationLocationType | 'UNDEFINED' | 'OWNER_BUSINESS' | 'OWNER_CUSTOM' | 'CUSTOM';
|
|
1665
1679
|
export interface SlotSlotResource {
|
|
1666
1680
|
/**
|
|
1667
1681
|
* Resource ID.
|
|
@@ -1686,7 +1700,7 @@ export interface SlotLocation {
|
|
|
1686
1700
|
/** A string containing the full address of this location. */
|
|
1687
1701
|
formattedAddress?: string | null;
|
|
1688
1702
|
/** Location type. */
|
|
1689
|
-
locationType?:
|
|
1703
|
+
locationType?: LocationLocationTypeWithLiterals;
|
|
1690
1704
|
}
|
|
1691
1705
|
export interface RescheduleBookingFlowControlSettings {
|
|
1692
1706
|
/**
|
|
@@ -1742,7 +1756,7 @@ export interface BookingRescheduled extends BookingRescheduledPreviousParticipan
|
|
|
1742
1756
|
/** ID of the rescheduling initiator. */
|
|
1743
1757
|
initiatedBy?: IdentificationData;
|
|
1744
1758
|
/** The previous status of the booking. */
|
|
1745
|
-
previousStatus?:
|
|
1759
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
1746
1760
|
/** An object describing the previous slot or schedule of the booking. */
|
|
1747
1761
|
previousBookedEntity?: BookedEntity;
|
|
1748
1762
|
/**
|
|
@@ -1829,6 +1843,8 @@ export declare enum IdentityType {
|
|
|
1829
1843
|
WIX_USER = "WIX_USER",
|
|
1830
1844
|
APP = "APP"
|
|
1831
1845
|
}
|
|
1846
|
+
/** @enumType */
|
|
1847
|
+
export type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1832
1848
|
export interface BulkRescheduleBookingRequest {
|
|
1833
1849
|
/**
|
|
1834
1850
|
* Reschedule multiple bookings to multiple slots.
|
|
@@ -1962,12 +1978,14 @@ export interface Sorting {
|
|
|
1962
1978
|
*/
|
|
1963
1979
|
fieldName?: string;
|
|
1964
1980
|
/** Sort order. */
|
|
1965
|
-
order?:
|
|
1981
|
+
order?: SortOrderWithLiterals;
|
|
1966
1982
|
}
|
|
1967
1983
|
export declare enum SortOrder {
|
|
1968
1984
|
ASC = "ASC",
|
|
1969
1985
|
DESC = "DESC"
|
|
1970
1986
|
}
|
|
1987
|
+
/** @enumType */
|
|
1988
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
1971
1989
|
export interface Paging {
|
|
1972
1990
|
/** Number of items to load. */
|
|
1973
1991
|
limit?: number | null;
|
|
@@ -2060,7 +2078,7 @@ export interface ConfirmBookingRequest {
|
|
|
2060
2078
|
*/
|
|
2061
2079
|
sendSmsReminder?: boolean | null;
|
|
2062
2080
|
/** Payment status to set for the booking. */
|
|
2063
|
-
paymentStatus?:
|
|
2081
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
2064
2082
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2065
2083
|
doubleBooked?: boolean | null;
|
|
2066
2084
|
/**
|
|
@@ -2097,9 +2115,9 @@ export interface BookingConfirmed {
|
|
|
2097
2115
|
/** ID of the confirmation initiator. */
|
|
2098
2116
|
initiatedBy?: IdentificationData;
|
|
2099
2117
|
/** The previous status of the booking. */
|
|
2100
|
-
previousStatus?:
|
|
2118
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
2101
2119
|
/** The previous payment status of the booking. */
|
|
2102
|
-
previousPaymentStatus?:
|
|
2120
|
+
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
2103
2121
|
}
|
|
2104
2122
|
export interface ConsistentQueryBookingsRequest {
|
|
2105
2123
|
/** Information about filters, paging, and sorting. */
|
|
@@ -2177,7 +2195,7 @@ export interface DeclineBookingRequest {
|
|
|
2177
2195
|
*/
|
|
2178
2196
|
participantNotification?: ParticipantNotification;
|
|
2179
2197
|
/** Payment status to set for the booking. */
|
|
2180
|
-
paymentStatus?:
|
|
2198
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
2181
2199
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2182
2200
|
doubleBooked?: boolean | null;
|
|
2183
2201
|
/**
|
|
@@ -2214,9 +2232,9 @@ export interface BookingDeclined {
|
|
|
2214
2232
|
/** ID of the decline initiator. */
|
|
2215
2233
|
initiatedBy?: IdentificationData;
|
|
2216
2234
|
/** The previous status of the booking. */
|
|
2217
|
-
previousStatus?:
|
|
2235
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
2218
2236
|
/** The previous payment status of the booking. */
|
|
2219
|
-
previousPaymentStatus?:
|
|
2237
|
+
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
2220
2238
|
/**
|
|
2221
2239
|
* Information about whether specific procedures of the standard Wix Bookings
|
|
2222
2240
|
* declining flow are changed. For example, whether to issue a refund.
|
|
@@ -2288,7 +2306,7 @@ export interface BookingCanceled {
|
|
|
2288
2306
|
/** ID of the cancellation initiator. */
|
|
2289
2307
|
initiatedBy?: IdentificationData;
|
|
2290
2308
|
/** The previous status of the booking. */
|
|
2291
|
-
previousStatus?:
|
|
2309
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
2292
2310
|
}
|
|
2293
2311
|
export interface UpdateNumberOfParticipantsRequest extends UpdateNumberOfParticipantsRequestParticipantsInfoOneOf {
|
|
2294
2312
|
/**
|
|
@@ -2495,7 +2513,7 @@ export interface MarkBookingAsPendingRequest {
|
|
|
2495
2513
|
*/
|
|
2496
2514
|
sendSmsReminder?: boolean | null;
|
|
2497
2515
|
/** Payment status to set for the booking. */
|
|
2498
|
-
paymentStatus?:
|
|
2516
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
2499
2517
|
/** Whether this booking has a conflict with at least 1 other confirmed booking. */
|
|
2500
2518
|
doubleBooked?: boolean | null;
|
|
2501
2519
|
/**
|
|
@@ -2539,9 +2557,9 @@ export interface BookingMarkedAsPending {
|
|
|
2539
2557
|
/** ID of the mark as pending initiator. */
|
|
2540
2558
|
initiatedBy?: IdentificationData;
|
|
2541
2559
|
/** The previous status of the booking. */
|
|
2542
|
-
previousStatus?:
|
|
2560
|
+
previousStatus?: BookingStatusWithLiterals;
|
|
2543
2561
|
/** The previous payment status of the booking. */
|
|
2544
|
-
previousPaymentStatus?:
|
|
2562
|
+
previousPaymentStatus?: PaymentStatusWithLiterals;
|
|
2545
2563
|
}
|
|
2546
2564
|
export interface MigrationCheckIfClashesWithBlockedTimeRequest {
|
|
2547
2565
|
msidAndBookingIds?: MsidAndBookingId[];
|
|
@@ -2602,7 +2620,7 @@ export interface CreateMultiServiceBookingRequest {
|
|
|
2602
2620
|
/** Whether to return the created single-service bookings. */
|
|
2603
2621
|
returnFullEntity?: boolean;
|
|
2604
2622
|
/** Multi service booking type. */
|
|
2605
|
-
multiServiceBookingType?:
|
|
2623
|
+
multiServiceBookingType?: MultiServiceBookingTypeWithLiterals;
|
|
2606
2624
|
}
|
|
2607
2625
|
export interface CreateMultiServiceBookingResponse {
|
|
2608
2626
|
/**
|
|
@@ -2793,7 +2811,7 @@ export interface BookingInfo {
|
|
|
2793
2811
|
*/
|
|
2794
2812
|
revision?: string | null;
|
|
2795
2813
|
/** Payment status to set for the single-service booking. */
|
|
2796
|
-
paymentStatus?:
|
|
2814
|
+
paymentStatus?: PaymentStatusWithLiterals;
|
|
2797
2815
|
}
|
|
2798
2816
|
export interface MarkMultiServiceBookingAsPendingResponse {
|
|
2799
2817
|
/** Updated multi-service booking. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-booking-bookings.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking-bookings.types.ts"],"names":[],"mappings":";;;AAgIA;;;;;GAKG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;IAC3C,kEAAuC,CAAA;IACvC,kEAAuC,CAAA;AACzC,CAAC,EAJW,uBAAuB,uCAAvB,uBAAuB,QAIlC;
|
|
1
|
+
{"version":3,"file":"bookings-v2-booking-bookings.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking-bookings.types.ts"],"names":[],"mappings":";;;AAgIA;;;;;GAKG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,sEAA2C,CAAA;IAC3C,kEAAuC,CAAA;IACvC,kEAAuC,CAAA;AACzC,C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