@wix/bookings 1.0.37 → 1.0.38
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/index.d.ts +1 -1
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.public.d.ts +1 -1
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +73 -2
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +73 -2
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.public.d.ts +1 -1
- package/build/es/src/bookings-services-v2-service.types.d.ts +73 -2
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +73 -2
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
2
|
-
export * as services from './src/bookings-services-v2-service.public';
|
|
3
2
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
|
|
4
3
|
export * as sessions from './src/bookings-calendar-v1-session.public';
|
|
5
4
|
export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
|
|
6
5
|
export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
|
|
7
6
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
7
|
+
export * as services from './src/bookings-services-v2-service.public';
|
|
8
8
|
export * as bookings from './src/bookings-v2-booking.public';
|
|
9
9
|
export * as bookingsPricing from './src/bookings-v2-price-info.public';
|
package/build/cjs/index.js
CHANGED
|
@@ -19,14 +19,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.bookingsPricing = exports.bookings = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsFeed = exports.sessions = exports.availabilityCalendar = exports.
|
|
22
|
+
exports.bookingsPricing = exports.bookings = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsFeed = exports.sessions = exports.availabilityCalendar = exports.resources = void 0;
|
|
23
23
|
exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.public"));
|
|
24
|
-
exports.services = __importStar(require("./src/bookings-services-v2-service.public"));
|
|
25
24
|
exports.availabilityCalendar = __importStar(require("./src/bookings-availability-v1-slot-availability.public"));
|
|
26
25
|
exports.sessions = __importStar(require("./src/bookings-calendar-v1-session.public"));
|
|
27
26
|
exports.sessionsFeed = __importStar(require("./src/bookings-calendar-v2-session-feed-event.public"));
|
|
28
27
|
exports.serviceOptionsAndVariants = __importStar(require("./src/bookings-catalog-v1-service-options-and-variants.public"));
|
|
29
28
|
exports.extendedBookings = __importStar(require("./src/bookings-reader-v2-extended-booking.public"));
|
|
29
|
+
exports.services = __importStar(require("./src/bookings-services-v2-service.public"));
|
|
30
30
|
exports.bookings = __importStar(require("./src/bookings-v2-booking.public"));
|
|
31
31
|
exports.bookingsPricing = __importStar(require("./src/bookings-v2-price-info.public"));
|
|
32
32
|
//# sourceMappingURL=index.js.map
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uFAAuE;AACvE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uFAAuE;AACvE,gHAAgG;AAChG,sFAAsE;AACtE,qGAAqF;AACrF,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,6EAA6D;AAC7D,uFAAuE"}
|
|
@@ -2,4 +2,4 @@ import { HttpClient } from '@wix/sdk-types';
|
|
|
2
2
|
export declare function getService(httpClient: HttpClient): (serviceId: string) => Promise<import("./bookings-services-v2-service.universal").Service>;
|
|
3
3
|
export declare function queryServices(httpClient: HttpClient): () => import("./bookings-services-v2-service.universal").ServicesQueryBuilder;
|
|
4
4
|
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
5
|
-
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryServicesResponse, CursorPagingMetadata, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
5
|
+
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryServicesResponse, CursorPagingMetadata, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
@@ -411,7 +411,7 @@ export interface CustomLocationOptions {
|
|
|
411
411
|
*/
|
|
412
412
|
export interface BookingPolicy {
|
|
413
413
|
/** The ID referencing the policy for the booking. */
|
|
414
|
-
id?: string
|
|
414
|
+
id?: string;
|
|
415
415
|
/**
|
|
416
416
|
* Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the existing revision must be used when updating a policy.
|
|
417
417
|
* @readonly
|
|
@@ -787,7 +787,7 @@ export interface CursorPaging {
|
|
|
787
787
|
export interface QueryServicesResponse {
|
|
788
788
|
/** The retrieved Services */
|
|
789
789
|
services?: Service[];
|
|
790
|
-
/** Paging metadata,
|
|
790
|
+
/** Paging metadata, count and [cursors](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
791
791
|
pagingMetadata?: CursorPagingMetadata;
|
|
792
792
|
}
|
|
793
793
|
export interface CursorPagingMetadata {
|
|
@@ -853,6 +853,77 @@ export declare enum Event {
|
|
|
853
853
|
}
|
|
854
854
|
export interface Empty {
|
|
855
855
|
}
|
|
856
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
857
|
+
/** random GUID so clients can tell if event was already handled */
|
|
858
|
+
id?: string;
|
|
859
|
+
/**
|
|
860
|
+
* Assumes actions are also always typed to an entity_type
|
|
861
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
862
|
+
*/
|
|
863
|
+
entityFqdn?: string;
|
|
864
|
+
/**
|
|
865
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
866
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
867
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
868
|
+
*/
|
|
869
|
+
slug?: string;
|
|
870
|
+
/**
|
|
871
|
+
* Assuming that all messages including Actions have id
|
|
872
|
+
* Example: The id of the specific order, the id of a specific campaign
|
|
873
|
+
*/
|
|
874
|
+
entityId?: string;
|
|
875
|
+
/** The time of the event. Useful if there was a delay in dispatching */
|
|
876
|
+
eventTime?: Date;
|
|
877
|
+
/**
|
|
878
|
+
* A field that should be set if this event was triggered by an anonymize request.
|
|
879
|
+
* For example you must set it to true when sending an event as a result of a GDPR right to be forgotten request.
|
|
880
|
+
* NOTE: This field is not relevant for `EntityCreatedEvent` but is located here for better ergonomics of consumers.
|
|
881
|
+
*/
|
|
882
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
883
|
+
/** If present, indicates the action that triggered the event. */
|
|
884
|
+
originatedFrom?: string | null;
|
|
885
|
+
/**
|
|
886
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
887
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
888
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
889
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
890
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
891
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
892
|
+
*/
|
|
893
|
+
entityEventSequence?: string | null;
|
|
894
|
+
createdEvent?: EntityCreatedEvent;
|
|
895
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
896
|
+
deletedEvent?: EntityDeletedEvent;
|
|
897
|
+
actionEvent?: ActionEvent;
|
|
898
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
899
|
+
}
|
|
900
|
+
/** @oneof */
|
|
901
|
+
export interface DomainEventBodyOneOf {
|
|
902
|
+
createdEvent?: EntityCreatedEvent;
|
|
903
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
904
|
+
deletedEvent?: EntityDeletedEvent;
|
|
905
|
+
actionEvent?: ActionEvent;
|
|
906
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
907
|
+
}
|
|
908
|
+
export interface EntityCreatedEvent {
|
|
909
|
+
entityAsJson?: string;
|
|
910
|
+
}
|
|
911
|
+
export interface EntityUpdatedEvent {
|
|
912
|
+
/**
|
|
913
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
914
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
915
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
916
|
+
*/
|
|
917
|
+
currentEntityAsJson?: string;
|
|
918
|
+
}
|
|
919
|
+
export interface EntityDeletedEvent {
|
|
920
|
+
}
|
|
921
|
+
export interface ActionEvent {
|
|
922
|
+
bodyAsJson?: string;
|
|
923
|
+
}
|
|
924
|
+
export interface ExtendedFieldsUpdatedEvent {
|
|
925
|
+
currentEntityAsJson?: string;
|
|
926
|
+
}
|
|
856
927
|
export interface AddStaffMembersToServiceRequest {
|
|
857
928
|
/** Id of the service to add the staff member to. */
|
|
858
929
|
serviceId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AAmID,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAiHD,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iGAAiG;IACjG,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AAudD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AA8ED,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":";;;AAsFA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AAmID,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAiHD,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iGAAiG;IACjG,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AAudD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AA8ED,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AA4LD,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B"}
|
|
@@ -392,7 +392,7 @@ export interface CustomLocationOptions {
|
|
|
392
392
|
*/
|
|
393
393
|
export interface BookingPolicy {
|
|
394
394
|
/** The ID referencing the policy for the booking. */
|
|
395
|
-
_id?: string
|
|
395
|
+
_id?: string;
|
|
396
396
|
/**
|
|
397
397
|
* Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the existing revision must be used when updating a policy.
|
|
398
398
|
* @readonly
|
|
@@ -762,7 +762,7 @@ export interface CursorPaging {
|
|
|
762
762
|
export interface QueryServicesResponse {
|
|
763
763
|
/** The retrieved Services */
|
|
764
764
|
services?: Service[];
|
|
765
|
-
/** Paging metadata,
|
|
765
|
+
/** Paging metadata, count and [cursors](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
766
766
|
pagingMetadata?: CursorPagingMetadata;
|
|
767
767
|
}
|
|
768
768
|
export interface CursorPagingMetadata {
|
|
@@ -828,6 +828,77 @@ export declare enum Event {
|
|
|
828
828
|
}
|
|
829
829
|
export interface Empty {
|
|
830
830
|
}
|
|
831
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
832
|
+
/** random GUID so clients can tell if event was already handled */
|
|
833
|
+
_id?: string;
|
|
834
|
+
/**
|
|
835
|
+
* Assumes actions are also always typed to an entity_type
|
|
836
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
837
|
+
*/
|
|
838
|
+
entityFqdn?: string;
|
|
839
|
+
/**
|
|
840
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
841
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
842
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
843
|
+
*/
|
|
844
|
+
slug?: string;
|
|
845
|
+
/**
|
|
846
|
+
* Assuming that all messages including Actions have id
|
|
847
|
+
* Example: The id of the specific order, the id of a specific campaign
|
|
848
|
+
*/
|
|
849
|
+
entityId?: string;
|
|
850
|
+
/** The time of the event. Useful if there was a delay in dispatching */
|
|
851
|
+
eventTime?: Date;
|
|
852
|
+
/**
|
|
853
|
+
* A field that should be set if this event was triggered by an anonymize request.
|
|
854
|
+
* For example you must set it to true when sending an event as a result of a GDPR right to be forgotten request.
|
|
855
|
+
* NOTE: This field is not relevant for `EntityCreatedEvent` but is located here for better ergonomics of consumers.
|
|
856
|
+
*/
|
|
857
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
858
|
+
/** If present, indicates the action that triggered the event. */
|
|
859
|
+
originatedFrom?: string | null;
|
|
860
|
+
/**
|
|
861
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
862
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
863
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
864
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
865
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
866
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
867
|
+
*/
|
|
868
|
+
entityEventSequence?: string | null;
|
|
869
|
+
createdEvent?: EntityCreatedEvent;
|
|
870
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
871
|
+
deletedEvent?: EntityDeletedEvent;
|
|
872
|
+
actionEvent?: ActionEvent;
|
|
873
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
874
|
+
}
|
|
875
|
+
/** @oneof */
|
|
876
|
+
export interface DomainEventBodyOneOf {
|
|
877
|
+
createdEvent?: EntityCreatedEvent;
|
|
878
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
879
|
+
deletedEvent?: EntityDeletedEvent;
|
|
880
|
+
actionEvent?: ActionEvent;
|
|
881
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
882
|
+
}
|
|
883
|
+
export interface EntityCreatedEvent {
|
|
884
|
+
entityAsJson?: string;
|
|
885
|
+
}
|
|
886
|
+
export interface EntityUpdatedEvent {
|
|
887
|
+
/**
|
|
888
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
889
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
890
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
891
|
+
*/
|
|
892
|
+
currentEntityAsJson?: string;
|
|
893
|
+
}
|
|
894
|
+
export interface EntityDeletedEvent {
|
|
895
|
+
}
|
|
896
|
+
export interface ActionEvent {
|
|
897
|
+
bodyAsJson?: string;
|
|
898
|
+
}
|
|
899
|
+
export interface ExtendedFieldsUpdatedEvent {
|
|
900
|
+
currentEntityAsJson?: string;
|
|
901
|
+
}
|
|
831
902
|
export interface AddStaffMembersToServiceRequest {
|
|
832
903
|
/** Id of the service to add the staff member to. */
|
|
833
904
|
serviceId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.universal.js","source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CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AA8cD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AA8ED,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAwF5B,IA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AAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;YAC5B,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAlED,sCAkEC"}
|
package/build/es/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
2
|
-
export * as services from './src/bookings-services-v2-service.public';
|
|
3
2
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
|
|
4
3
|
export * as sessions from './src/bookings-calendar-v1-session.public';
|
|
5
4
|
export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
|
|
6
5
|
export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
|
|
7
6
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
7
|
+
export * as services from './src/bookings-services-v2-service.public';
|
|
8
8
|
export * as bookings from './src/bookings-v2-booking.public';
|
|
9
9
|
export * as bookingsPricing from './src/bookings-v2-price-info.public';
|
package/build/es/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
2
|
-
export * as services from './src/bookings-services-v2-service.public';
|
|
3
2
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
|
|
4
3
|
export * as sessions from './src/bookings-calendar-v1-session.public';
|
|
5
4
|
export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
|
|
6
5
|
export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
|
|
7
6
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
7
|
+
export * as services from './src/bookings-services-v2-service.public';
|
|
8
8
|
export * as bookings from './src/bookings-v2-booking.public';
|
|
9
9
|
export * as bookingsPricing from './src/bookings-v2-price-info.public';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,oBAAoB,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,YAAY,MAAM,sDAAsD,CAAC;AACrF,OAAO,KAAK,yBAAyB,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,gBAAgB,MAAM,kDAAkD,CAAC;AACrF,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,eAAe,MAAM,qCAAqC,CAAC"}
|
|
@@ -2,4 +2,4 @@ import { HttpClient } from '@wix/sdk-types';
|
|
|
2
2
|
export declare function getService(httpClient: HttpClient): (serviceId: string) => Promise<import("./bookings-services-v2-service.universal").Service>;
|
|
3
3
|
export declare function queryServices(httpClient: HttpClient): () => import("./bookings-services-v2-service.universal").ServicesQueryBuilder;
|
|
4
4
|
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
5
|
-
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryServicesResponse, CursorPagingMetadata, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
5
|
+
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, CursorQuery, CursorQueryPagingMethodOneOf, Sorting, CursorPaging, QueryServicesResponse, CursorPagingMetadata, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
@@ -411,7 +411,7 @@ export interface CustomLocationOptions {
|
|
|
411
411
|
*/
|
|
412
412
|
export interface BookingPolicy {
|
|
413
413
|
/** The ID referencing the policy for the booking. */
|
|
414
|
-
id?: string
|
|
414
|
+
id?: string;
|
|
415
415
|
/**
|
|
416
416
|
* Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the existing revision must be used when updating a policy.
|
|
417
417
|
* @readonly
|
|
@@ -787,7 +787,7 @@ export interface CursorPaging {
|
|
|
787
787
|
export interface QueryServicesResponse {
|
|
788
788
|
/** The retrieved Services */
|
|
789
789
|
services?: Service[];
|
|
790
|
-
/** Paging metadata,
|
|
790
|
+
/** Paging metadata, count and [cursors](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
791
791
|
pagingMetadata?: CursorPagingMetadata;
|
|
792
792
|
}
|
|
793
793
|
export interface CursorPagingMetadata {
|
|
@@ -853,6 +853,77 @@ export declare enum Event {
|
|
|
853
853
|
}
|
|
854
854
|
export interface Empty {
|
|
855
855
|
}
|
|
856
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
857
|
+
/** random GUID so clients can tell if event was already handled */
|
|
858
|
+
id?: string;
|
|
859
|
+
/**
|
|
860
|
+
* Assumes actions are also always typed to an entity_type
|
|
861
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
862
|
+
*/
|
|
863
|
+
entityFqdn?: string;
|
|
864
|
+
/**
|
|
865
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
866
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
867
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
868
|
+
*/
|
|
869
|
+
slug?: string;
|
|
870
|
+
/**
|
|
871
|
+
* Assuming that all messages including Actions have id
|
|
872
|
+
* Example: The id of the specific order, the id of a specific campaign
|
|
873
|
+
*/
|
|
874
|
+
entityId?: string;
|
|
875
|
+
/** The time of the event. Useful if there was a delay in dispatching */
|
|
876
|
+
eventTime?: Date;
|
|
877
|
+
/**
|
|
878
|
+
* A field that should be set if this event was triggered by an anonymize request.
|
|
879
|
+
* For example you must set it to true when sending an event as a result of a GDPR right to be forgotten request.
|
|
880
|
+
* NOTE: This field is not relevant for `EntityCreatedEvent` but is located here for better ergonomics of consumers.
|
|
881
|
+
*/
|
|
882
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
883
|
+
/** If present, indicates the action that triggered the event. */
|
|
884
|
+
originatedFrom?: string | null;
|
|
885
|
+
/**
|
|
886
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
887
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
888
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
889
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
890
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
891
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
892
|
+
*/
|
|
893
|
+
entityEventSequence?: string | null;
|
|
894
|
+
createdEvent?: EntityCreatedEvent;
|
|
895
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
896
|
+
deletedEvent?: EntityDeletedEvent;
|
|
897
|
+
actionEvent?: ActionEvent;
|
|
898
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
899
|
+
}
|
|
900
|
+
/** @oneof */
|
|
901
|
+
export interface DomainEventBodyOneOf {
|
|
902
|
+
createdEvent?: EntityCreatedEvent;
|
|
903
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
904
|
+
deletedEvent?: EntityDeletedEvent;
|
|
905
|
+
actionEvent?: ActionEvent;
|
|
906
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
907
|
+
}
|
|
908
|
+
export interface EntityCreatedEvent {
|
|
909
|
+
entityAsJson?: string;
|
|
910
|
+
}
|
|
911
|
+
export interface EntityUpdatedEvent {
|
|
912
|
+
/**
|
|
913
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
914
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
915
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
916
|
+
*/
|
|
917
|
+
currentEntityAsJson?: string;
|
|
918
|
+
}
|
|
919
|
+
export interface EntityDeletedEvent {
|
|
920
|
+
}
|
|
921
|
+
export interface ActionEvent {
|
|
922
|
+
bodyAsJson?: string;
|
|
923
|
+
}
|
|
924
|
+
export interface ExtendedFieldsUpdatedEvent {
|
|
925
|
+
currentEntityAsJson?: string;
|
|
926
|
+
}
|
|
856
927
|
export interface AddStaffMembersToServiceRequest {
|
|
857
928
|
/** Id of the service to add the staff member to. */
|
|
858
929
|
serviceId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AAmID,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,KAAR,QAAQ,QAUnB;AAiHD,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iGAAiG;IACjG,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAudD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"AAsFA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AAmID,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,KAAR,QAAQ,QAUnB;AAiHD,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iGAAiG;IACjG,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AAudD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AA4LD,MAAM,CAAN,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,KAAhB,gBAAgB,QAQ3B"}
|
|
@@ -392,7 +392,7 @@ export interface CustomLocationOptions {
|
|
|
392
392
|
*/
|
|
393
393
|
export interface BookingPolicy {
|
|
394
394
|
/** The ID referencing the policy for the booking. */
|
|
395
|
-
_id?: string
|
|
395
|
+
_id?: string;
|
|
396
396
|
/**
|
|
397
397
|
* Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the existing revision must be used when updating a policy.
|
|
398
398
|
* @readonly
|
|
@@ -762,7 +762,7 @@ export interface CursorPaging {
|
|
|
762
762
|
export interface QueryServicesResponse {
|
|
763
763
|
/** The retrieved Services */
|
|
764
764
|
services?: Service[];
|
|
765
|
-
/** Paging metadata,
|
|
765
|
+
/** Paging metadata, count and [cursors](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_cursor-paging). */
|
|
766
766
|
pagingMetadata?: CursorPagingMetadata;
|
|
767
767
|
}
|
|
768
768
|
export interface CursorPagingMetadata {
|
|
@@ -828,6 +828,77 @@ export declare enum Event {
|
|
|
828
828
|
}
|
|
829
829
|
export interface Empty {
|
|
830
830
|
}
|
|
831
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
832
|
+
/** random GUID so clients can tell if event was already handled */
|
|
833
|
+
_id?: string;
|
|
834
|
+
/**
|
|
835
|
+
* Assumes actions are also always typed to an entity_type
|
|
836
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
837
|
+
*/
|
|
838
|
+
entityFqdn?: string;
|
|
839
|
+
/**
|
|
840
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
841
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
842
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
843
|
+
*/
|
|
844
|
+
slug?: string;
|
|
845
|
+
/**
|
|
846
|
+
* Assuming that all messages including Actions have id
|
|
847
|
+
* Example: The id of the specific order, the id of a specific campaign
|
|
848
|
+
*/
|
|
849
|
+
entityId?: string;
|
|
850
|
+
/** The time of the event. Useful if there was a delay in dispatching */
|
|
851
|
+
eventTime?: Date;
|
|
852
|
+
/**
|
|
853
|
+
* A field that should be set if this event was triggered by an anonymize request.
|
|
854
|
+
* For example you must set it to true when sending an event as a result of a GDPR right to be forgotten request.
|
|
855
|
+
* NOTE: This field is not relevant for `EntityCreatedEvent` but is located here for better ergonomics of consumers.
|
|
856
|
+
*/
|
|
857
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
858
|
+
/** If present, indicates the action that triggered the event. */
|
|
859
|
+
originatedFrom?: string | null;
|
|
860
|
+
/**
|
|
861
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
862
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
863
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
864
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
865
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
866
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
867
|
+
*/
|
|
868
|
+
entityEventSequence?: string | null;
|
|
869
|
+
createdEvent?: EntityCreatedEvent;
|
|
870
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
871
|
+
deletedEvent?: EntityDeletedEvent;
|
|
872
|
+
actionEvent?: ActionEvent;
|
|
873
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
874
|
+
}
|
|
875
|
+
/** @oneof */
|
|
876
|
+
export interface DomainEventBodyOneOf {
|
|
877
|
+
createdEvent?: EntityCreatedEvent;
|
|
878
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
879
|
+
deletedEvent?: EntityDeletedEvent;
|
|
880
|
+
actionEvent?: ActionEvent;
|
|
881
|
+
extendedFieldsUpdatedEvent?: ExtendedFieldsUpdatedEvent;
|
|
882
|
+
}
|
|
883
|
+
export interface EntityCreatedEvent {
|
|
884
|
+
entityAsJson?: string;
|
|
885
|
+
}
|
|
886
|
+
export interface EntityUpdatedEvent {
|
|
887
|
+
/**
|
|
888
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
889
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
890
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
891
|
+
*/
|
|
892
|
+
currentEntityAsJson?: string;
|
|
893
|
+
}
|
|
894
|
+
export interface EntityDeletedEvent {
|
|
895
|
+
}
|
|
896
|
+
export interface ActionEvent {
|
|
897
|
+
bodyAsJson?: string;
|
|
898
|
+
}
|
|
899
|
+
export interface ExtendedFieldsUpdatedEvent {
|
|
900
|
+
currentEntityAsJson?: string;
|
|
901
|
+
}
|
|
831
902
|
export interface AddStaffMembersToServiceRequest {
|
|
832
903
|
/** Id of the service to add the staff member to. */
|
|
833
904
|
serviceId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAwF5B,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AA2GD,MAAM,CAAN,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,KAAR,QAAQ,QAUnB;AAiHD,MAAM,CAAN,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iGAAiG;IACjG,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,KAAZ,YAAY,QAQvB;AA8cD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA8ED,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAA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
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.38",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "ca673dc3db80a2bb44a44b8109eb28ab7308300104e54f889a5cb142"
|
|
37
37
|
}
|