@wix/events 1.0.350 → 1.0.351
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/package.json +11 -11
- package/type-bundles/context.bundle.d.ts +358 -390
- package/type-bundles/index.bundle.d.ts +358 -390
|
@@ -1858,10 +1858,6 @@ interface GuestCreatedEnvelope {
|
|
|
1858
1858
|
entity: EventGuest;
|
|
1859
1859
|
metadata: EventMetadata$6;
|
|
1860
1860
|
}
|
|
1861
|
-
interface GuestUpdatedEnvelope {
|
|
1862
|
-
entity: EventGuest;
|
|
1863
|
-
metadata: EventMetadata$6;
|
|
1864
|
-
}
|
|
1865
1861
|
interface GuestDeletedEnvelope {
|
|
1866
1862
|
entity: EventGuest;
|
|
1867
1863
|
metadata: EventMetadata$6;
|
|
@@ -1882,6 +1878,10 @@ interface GuestOrderCanceledEnvelope {
|
|
|
1882
1878
|
data: GuestOrderCanceled;
|
|
1883
1879
|
metadata: EventMetadata$6;
|
|
1884
1880
|
}
|
|
1881
|
+
interface GuestUpdatedEnvelope {
|
|
1882
|
+
entity: EventGuest;
|
|
1883
|
+
metadata: EventMetadata$6;
|
|
1884
|
+
}
|
|
1885
1885
|
interface QueryEventGuestsOptions {
|
|
1886
1886
|
/** Predefined sets of fields to return. */
|
|
1887
1887
|
fields?: RequestedFieldsEnumRequestedFields[] | undefined;
|
|
@@ -1962,12 +1962,12 @@ interface QueryGuestsSignature {
|
|
|
1962
1962
|
(options?: QueryEventGuestsOptions | undefined): GuestsQueryBuilder;
|
|
1963
1963
|
}
|
|
1964
1964
|
declare const onGuestCreated$1: EventDefinition<GuestCreatedEnvelope, "wix.events.guests.v1.guest_created">;
|
|
1965
|
-
declare const onGuestUpdated$1: EventDefinition<GuestUpdatedEnvelope, "wix.events.guests.v1.guest_updated">;
|
|
1966
1965
|
declare const onGuestDeleted$1: EventDefinition<GuestDeletedEnvelope, "wix.events.guests.v1.guest_deleted">;
|
|
1967
1966
|
declare const onGuestCheckedIn$1: EventDefinition<GuestCheckedInEnvelope, "wix.events.guests.v1.guest_guest_checked_in">;
|
|
1968
1967
|
declare const onGuestEventCanceled$1: EventDefinition<GuestEventCanceledEnvelope, "wix.events.guests.v1.guest_guest_event_canceled">;
|
|
1969
1968
|
declare const onGuestEventStarts$1: EventDefinition<GuestEventStartsEnvelope, "wix.events.guests.v1.guest_guest_event_starts">;
|
|
1970
1969
|
declare const onGuestOrderCanceled$1: EventDefinition<GuestOrderCanceledEnvelope, "wix.events.guests.v1.guest_guest_order_canceled">;
|
|
1970
|
+
declare const onGuestUpdated$1: EventDefinition<GuestUpdatedEnvelope, "wix.events.guests.v1.guest_updated">;
|
|
1971
1971
|
|
|
1972
1972
|
declare function createEventModule$b<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
1973
1973
|
|
|
@@ -1979,12 +1979,6 @@ type _publicOnGuestCreatedType = typeof onGuestCreated$1;
|
|
|
1979
1979
|
*/
|
|
1980
1980
|
declare const onGuestCreated: ReturnType<typeof createEventModule$b<_publicOnGuestCreatedType>>;
|
|
1981
1981
|
|
|
1982
|
-
type _publicOnGuestUpdatedType = typeof onGuestUpdated$1;
|
|
1983
|
-
/**
|
|
1984
|
-
* Triggered when a guest is updated. This webhook always fires together with [Event Guest Created](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-created) and [Event Guest Deleted](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-deleted) webhooks. When calling it, it might be triggered twice - make sure to explicitly add code to make sure parts of your code only run once.
|
|
1985
|
-
*/
|
|
1986
|
-
declare const onGuestUpdated: ReturnType<typeof createEventModule$b<_publicOnGuestUpdatedType>>;
|
|
1987
|
-
|
|
1988
1982
|
type _publicOnGuestDeletedType = typeof onGuestDeleted$1;
|
|
1989
1983
|
/**
|
|
1990
1984
|
* Triggered when a guest is deleted.
|
|
@@ -2009,6 +2003,12 @@ type _publicOnGuestOrderCanceledType = typeof onGuestOrderCanceled$1;
|
|
|
2009
2003
|
/** */
|
|
2010
2004
|
declare const onGuestOrderCanceled: ReturnType<typeof createEventModule$b<_publicOnGuestOrderCanceledType>>;
|
|
2011
2005
|
|
|
2006
|
+
type _publicOnGuestUpdatedType = typeof onGuestUpdated$1;
|
|
2007
|
+
/**
|
|
2008
|
+
* Triggered when a guest is updated. This webhook always fires together with [Event Guest Created](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-created) and [Event Guest Deleted](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/event-guest-deleted) webhooks. When calling it, it might be triggered twice - make sure to explicitly add code to make sure parts of your code only run once.
|
|
2009
|
+
*/
|
|
2010
|
+
declare const onGuestUpdated: ReturnType<typeof createEventModule$b<_publicOnGuestUpdatedType>>;
|
|
2011
|
+
|
|
2012
2012
|
type index_d$f_AttendanceStatus = AttendanceStatus;
|
|
2013
2013
|
declare const index_d$f_AttendanceStatus: typeof AttendanceStatus;
|
|
2014
2014
|
type index_d$f_ContactEventStatusUpdated = ContactEventStatusUpdated;
|
|
@@ -5637,11 +5637,11 @@ interface StaffMemberCreatedEnvelope {
|
|
|
5637
5637
|
entity: StaffMember;
|
|
5638
5638
|
metadata: EventMetadata$4;
|
|
5639
5639
|
}
|
|
5640
|
-
interface
|
|
5641
|
-
entity: StaffMember;
|
|
5640
|
+
interface StaffMemberDeletedEnvelope {
|
|
5642
5641
|
metadata: EventMetadata$4;
|
|
5643
5642
|
}
|
|
5644
|
-
interface
|
|
5643
|
+
interface StaffMemberUpdatedEnvelope {
|
|
5644
|
+
entity: StaffMember;
|
|
5645
5645
|
metadata: EventMetadata$4;
|
|
5646
5646
|
}
|
|
5647
5647
|
interface GetStaffMemberOptions {
|
|
@@ -5835,8 +5835,8 @@ interface AccessStaffMemberSignature {
|
|
|
5835
5835
|
(accessToken: string): Promise<AccessStaffMemberResponse & AccessStaffMemberResponseNonNullableFields>;
|
|
5836
5836
|
}
|
|
5837
5837
|
declare const onStaffMemberCreated$1: EventDefinition<StaffMemberCreatedEnvelope, "wix.events.staffmembers.v1.staff_member_created">;
|
|
5838
|
-
declare const onStaffMemberUpdated$1: EventDefinition<StaffMemberUpdatedEnvelope, "wix.events.staffmembers.v1.staff_member_updated">;
|
|
5839
5838
|
declare const onStaffMemberDeleted$1: EventDefinition<StaffMemberDeletedEnvelope, "wix.events.staffmembers.v1.staff_member_deleted">;
|
|
5839
|
+
declare const onStaffMemberUpdated$1: EventDefinition<StaffMemberUpdatedEnvelope, "wix.events.staffmembers.v1.staff_member_updated">;
|
|
5840
5840
|
|
|
5841
5841
|
declare function createEventModule$9<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
5842
5842
|
|
|
@@ -5853,14 +5853,14 @@ type _publicOnStaffMemberCreatedType = typeof onStaffMemberCreated$1;
|
|
|
5853
5853
|
/** */
|
|
5854
5854
|
declare const onStaffMemberCreated: ReturnType<typeof createEventModule$9<_publicOnStaffMemberCreatedType>>;
|
|
5855
5855
|
|
|
5856
|
-
type _publicOnStaffMemberUpdatedType = typeof onStaffMemberUpdated$1;
|
|
5857
|
-
/** */
|
|
5858
|
-
declare const onStaffMemberUpdated: ReturnType<typeof createEventModule$9<_publicOnStaffMemberUpdatedType>>;
|
|
5859
|
-
|
|
5860
5856
|
type _publicOnStaffMemberDeletedType = typeof onStaffMemberDeleted$1;
|
|
5861
5857
|
/** */
|
|
5862
5858
|
declare const onStaffMemberDeleted: ReturnType<typeof createEventModule$9<_publicOnStaffMemberDeletedType>>;
|
|
5863
5859
|
|
|
5860
|
+
type _publicOnStaffMemberUpdatedType = typeof onStaffMemberUpdated$1;
|
|
5861
|
+
/** */
|
|
5862
|
+
declare const onStaffMemberUpdated: ReturnType<typeof createEventModule$9<_publicOnStaffMemberUpdatedType>>;
|
|
5863
|
+
|
|
5864
5864
|
type index_d$b_AccessStaffMemberRequest = AccessStaffMemberRequest;
|
|
5865
5865
|
type index_d$b_AccessStaffMemberResponse = AccessStaffMemberResponse;
|
|
5866
5866
|
type index_d$b_AccessStaffMemberResponseNonNullableFields = AccessStaffMemberResponseNonNullableFields;
|
|
@@ -12909,38 +12909,6 @@ interface RichContentQueryResult extends QueryCursorResult$4 {
|
|
|
12909
12909
|
prev: () => Promise<RichContentQueryResult>;
|
|
12910
12910
|
}
|
|
12911
12911
|
interface RichContentQueryBuilder {
|
|
12912
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
12913
|
-
* @param value - Value to compare against.
|
|
12914
|
-
* @documentationMaturity preview
|
|
12915
|
-
*/
|
|
12916
|
-
eq: (propertyName: '_id' | 'eventId' | 'fieldName', value: any) => RichContentQueryBuilder;
|
|
12917
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
12918
|
-
* @param value - Value to compare against.
|
|
12919
|
-
* @documentationMaturity preview
|
|
12920
|
-
*/
|
|
12921
|
-
ne: (propertyName: '_id' | 'eventId' | 'fieldName', value: any) => RichContentQueryBuilder;
|
|
12922
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
12923
|
-
* @param string - String to compare against. Case-insensitive.
|
|
12924
|
-
* @documentationMaturity preview
|
|
12925
|
-
*/
|
|
12926
|
-
startsWith: (propertyName: '_id' | 'eventId' | 'fieldName', value: string) => RichContentQueryBuilder;
|
|
12927
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
12928
|
-
* @param values - List of values to compare against.
|
|
12929
|
-
* @documentationMaturity preview
|
|
12930
|
-
*/
|
|
12931
|
-
hasSome: (propertyName: '_id' | 'eventId' | 'fieldName', value: any[]) => RichContentQueryBuilder;
|
|
12932
|
-
/** @documentationMaturity preview */
|
|
12933
|
-
in: (propertyName: '_id' | 'eventId' | 'fieldName', value: any) => RichContentQueryBuilder;
|
|
12934
|
-
/** @documentationMaturity preview */
|
|
12935
|
-
exists: (propertyName: '_id' | 'eventId' | 'fieldName', value: boolean) => RichContentQueryBuilder;
|
|
12936
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
12937
|
-
* @documentationMaturity preview
|
|
12938
|
-
*/
|
|
12939
|
-
ascending: (...propertyNames: Array<'_id' | 'eventId' | 'fieldName'>) => RichContentQueryBuilder;
|
|
12940
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
12941
|
-
* @documentationMaturity preview
|
|
12942
|
-
*/
|
|
12943
|
-
descending: (...propertyNames: Array<'_id' | 'eventId' | 'fieldName'>) => RichContentQueryBuilder;
|
|
12944
12912
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
12945
12913
|
* @documentationMaturity preview
|
|
12946
12914
|
*/
|
|
@@ -13921,14 +13889,14 @@ interface RsvpCreatedEnvelope {
|
|
|
13921
13889
|
data: RsvpCreated;
|
|
13922
13890
|
metadata: BaseEventMetadata$5;
|
|
13923
13891
|
}
|
|
13924
|
-
interface RsvpUpdatedEnvelope {
|
|
13925
|
-
data: RsvpUpdated;
|
|
13926
|
-
metadata: BaseEventMetadata$5;
|
|
13927
|
-
}
|
|
13928
13892
|
interface RsvpDeletedEnvelope {
|
|
13929
13893
|
data: RsvpDeleted;
|
|
13930
13894
|
metadata: BaseEventMetadata$5;
|
|
13931
13895
|
}
|
|
13896
|
+
interface RsvpUpdatedEnvelope {
|
|
13897
|
+
data: RsvpUpdated;
|
|
13898
|
+
metadata: BaseEventMetadata$5;
|
|
13899
|
+
}
|
|
13932
13900
|
interface ListRsvpOptions {
|
|
13933
13901
|
/** Number of items to skip. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
13934
13902
|
offset?: number;
|
|
@@ -14164,8 +14132,8 @@ interface DeleteRsvpCheckInSignature {
|
|
|
14164
14132
|
(eventId: string, options?: DeleteRsvpCheckInOptions | undefined): Promise<DeleteRsvpCheckInResponse & DeleteRsvpCheckInResponseNonNullableFields>;
|
|
14165
14133
|
}
|
|
14166
14134
|
declare const onRsvpCreated$1: EventDefinition<RsvpCreatedEnvelope, "wix.events.rsvp.events.RsvpCreated">;
|
|
14167
|
-
declare const onRsvpUpdated$1: EventDefinition<RsvpUpdatedEnvelope, "wix.events.rsvp.events.RsvpUpdated">;
|
|
14168
14135
|
declare const onRsvpDeleted$1: EventDefinition<RsvpDeletedEnvelope, "wix.events.rsvp.events.RsvpDeleted">;
|
|
14136
|
+
declare const onRsvpUpdated$1: EventDefinition<RsvpUpdatedEnvelope, "wix.events.rsvp.events.RsvpUpdated">;
|
|
14169
14137
|
|
|
14170
14138
|
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14171
14139
|
|
|
@@ -14183,14 +14151,14 @@ type _publicOnRsvpCreatedType = typeof onRsvpCreated$1;
|
|
|
14183
14151
|
/** */
|
|
14184
14152
|
declare const onRsvpCreated: ReturnType<typeof createEventModule$5<_publicOnRsvpCreatedType>>;
|
|
14185
14153
|
|
|
14186
|
-
type _publicOnRsvpUpdatedType = typeof onRsvpUpdated$1;
|
|
14187
|
-
/** */
|
|
14188
|
-
declare const onRsvpUpdated: ReturnType<typeof createEventModule$5<_publicOnRsvpUpdatedType>>;
|
|
14189
|
-
|
|
14190
14154
|
type _publicOnRsvpDeletedType = typeof onRsvpDeleted$1;
|
|
14191
14155
|
/** */
|
|
14192
14156
|
declare const onRsvpDeleted: ReturnType<typeof createEventModule$5<_publicOnRsvpDeletedType>>;
|
|
14193
14157
|
|
|
14158
|
+
type _publicOnRsvpUpdatedType = typeof onRsvpUpdated$1;
|
|
14159
|
+
/** */
|
|
14160
|
+
declare const onRsvpUpdated: ReturnType<typeof createEventModule$5<_publicOnRsvpUpdatedType>>;
|
|
14161
|
+
|
|
14194
14162
|
type index_d$6_CheckInRsvpOptions = CheckInRsvpOptions;
|
|
14195
14163
|
type index_d$6_CheckInRsvpRequest = CheckInRsvpRequest;
|
|
14196
14164
|
type index_d$6_CheckInRsvpResponse = CheckInRsvpResponse;
|
|
@@ -15752,14 +15720,14 @@ interface TicketDefinitionCreatedEnvelope$1 {
|
|
|
15752
15720
|
data: TicketDefinitionCreated;
|
|
15753
15721
|
metadata: BaseEventMetadata$3;
|
|
15754
15722
|
}
|
|
15755
|
-
interface TicketDefinitionUpdatedEnvelope$1 {
|
|
15756
|
-
data: TicketDefinitionUpdated;
|
|
15757
|
-
metadata: BaseEventMetadata$3;
|
|
15758
|
-
}
|
|
15759
15723
|
interface TicketDefinitionDeletedEnvelope$1 {
|
|
15760
15724
|
data: TicketDefinitionDeleted;
|
|
15761
15725
|
metadata: BaseEventMetadata$3;
|
|
15762
15726
|
}
|
|
15727
|
+
interface TicketDefinitionUpdatedEnvelope$1 {
|
|
15728
|
+
data: TicketDefinitionUpdated;
|
|
15729
|
+
metadata: BaseEventMetadata$3;
|
|
15730
|
+
}
|
|
15763
15731
|
interface QueryTicketDefinitionsOptions$1 {
|
|
15764
15732
|
/** Offset. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
15765
15733
|
offset?: number;
|
|
@@ -16037,8 +16005,8 @@ interface ChangeCurrencySignature$1 {
|
|
|
16037
16005
|
(options?: ChangeCurrencyOptions$1 | undefined): Promise<void>;
|
|
16038
16006
|
}
|
|
16039
16007
|
declare const onTicketDefinitionCreated$3: EventDefinition<TicketDefinitionCreatedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionCreated">;
|
|
16040
|
-
declare const onTicketDefinitionUpdated$3: EventDefinition<TicketDefinitionUpdatedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionUpdated">;
|
|
16041
16008
|
declare const onTicketDefinitionDeleted$3: EventDefinition<TicketDefinitionDeletedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionDeleted">;
|
|
16009
|
+
declare const onTicketDefinitionUpdated$3: EventDefinition<TicketDefinitionUpdatedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionUpdated">;
|
|
16042
16010
|
|
|
16043
16011
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
16044
16012
|
|
|
@@ -16055,14 +16023,14 @@ type _publicOnTicketDefinitionCreatedType$1 = typeof onTicketDefinitionCreated$3
|
|
|
16055
16023
|
/** */
|
|
16056
16024
|
declare const onTicketDefinitionCreated$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionCreatedType>>;
|
|
16057
16025
|
|
|
16058
|
-
type _publicOnTicketDefinitionUpdatedType$1 = typeof onTicketDefinitionUpdated$3;
|
|
16059
|
-
/** */
|
|
16060
|
-
declare const onTicketDefinitionUpdated$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionUpdatedType>>;
|
|
16061
|
-
|
|
16062
16026
|
type _publicOnTicketDefinitionDeletedType$1 = typeof onTicketDefinitionDeleted$3;
|
|
16063
16027
|
/** */
|
|
16064
16028
|
declare const onTicketDefinitionDeleted$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionDeletedType>>;
|
|
16065
16029
|
|
|
16030
|
+
type _publicOnTicketDefinitionUpdatedType$1 = typeof onTicketDefinitionUpdated$3;
|
|
16031
|
+
/** */
|
|
16032
|
+
declare const onTicketDefinitionUpdated$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionUpdatedType>>;
|
|
16033
|
+
|
|
16066
16034
|
type index_d$4_ById = ById;
|
|
16067
16035
|
type index_d$4_DefinitionsQueryBuilder = DefinitionsQueryBuilder;
|
|
16068
16036
|
type index_d$4_DefinitionsQueryResult = DefinitionsQueryResult;
|
|
@@ -16663,11 +16631,11 @@ interface PolicyCreatedEnvelope {
|
|
|
16663
16631
|
entity: Policy;
|
|
16664
16632
|
metadata: EventMetadata$2;
|
|
16665
16633
|
}
|
|
16666
|
-
interface
|
|
16667
|
-
entity: Policy;
|
|
16634
|
+
interface PolicyDeletedEnvelope {
|
|
16668
16635
|
metadata: EventMetadata$2;
|
|
16669
16636
|
}
|
|
16670
|
-
interface
|
|
16637
|
+
interface PolicyUpdatedEnvelope {
|
|
16638
|
+
entity: Policy;
|
|
16671
16639
|
metadata: EventMetadata$2;
|
|
16672
16640
|
}
|
|
16673
16641
|
interface UpdatePolicy {
|
|
@@ -16878,8 +16846,8 @@ interface GetPolicySignature {
|
|
|
16878
16846
|
(policyId: string): Promise<Policy & PolicyNonNullableFields>;
|
|
16879
16847
|
}
|
|
16880
16848
|
declare const onPolicyCreated$1: EventDefinition<PolicyCreatedEnvelope, "wix.events.v2.policy_created">;
|
|
16881
|
-
declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
|
|
16882
16849
|
declare const onPolicyDeleted$1: EventDefinition<PolicyDeletedEnvelope, "wix.events.v2.policy_deleted">;
|
|
16850
|
+
declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
|
|
16883
16851
|
|
|
16884
16852
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
16885
16853
|
|
|
@@ -16896,18 +16864,18 @@ type _publicOnPolicyCreatedType = typeof onPolicyCreated$1;
|
|
|
16896
16864
|
*/
|
|
16897
16865
|
declare const onPolicyCreated: ReturnType<typeof createEventModule$2<_publicOnPolicyCreatedType>>;
|
|
16898
16866
|
|
|
16899
|
-
type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
|
|
16900
|
-
/**
|
|
16901
|
-
* Triggered when a policy is updated.
|
|
16902
|
-
*/
|
|
16903
|
-
declare const onPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnPolicyUpdatedType>>;
|
|
16904
|
-
|
|
16905
16867
|
type _publicOnPolicyDeletedType = typeof onPolicyDeleted$1;
|
|
16906
16868
|
/**
|
|
16907
16869
|
* Triggered when a policy is deleted.
|
|
16908
16870
|
*/
|
|
16909
16871
|
declare const onPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnPolicyDeletedType>>;
|
|
16910
16872
|
|
|
16873
|
+
type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
|
|
16874
|
+
/**
|
|
16875
|
+
* Triggered when a policy is updated.
|
|
16876
|
+
*/
|
|
16877
|
+
declare const onPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnPolicyUpdatedType>>;
|
|
16878
|
+
|
|
16911
16879
|
type index_d$3_CreatePolicyRequest = CreatePolicyRequest;
|
|
16912
16880
|
type index_d$3_CreatePolicyResponse = CreatePolicyResponse;
|
|
16913
16881
|
type index_d$3_CreatePolicyResponseNonNullableFields = CreatePolicyResponseNonNullableFields;
|
|
@@ -23253,128 +23221,6 @@ declare enum Status {
|
|
|
23253
23221
|
/** Event is not public. */
|
|
23254
23222
|
DRAFT = "DRAFT"
|
|
23255
23223
|
}
|
|
23256
|
-
interface SalePeriodUpdated {
|
|
23257
|
-
/** Ticket definition sale period after update. */
|
|
23258
|
-
afterUpdate?: SalePeriod;
|
|
23259
|
-
}
|
|
23260
|
-
interface TicketDefinitionSaleStarted {
|
|
23261
|
-
/** Ticket definition. */
|
|
23262
|
-
ticketDefinition?: TicketDefinition;
|
|
23263
|
-
}
|
|
23264
|
-
interface TicketDefinitionSaleEnded {
|
|
23265
|
-
/** Ticket definition. */
|
|
23266
|
-
ticketDefinition?: TicketDefinition;
|
|
23267
|
-
}
|
|
23268
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
|
23269
|
-
createdEvent?: EntityCreatedEvent;
|
|
23270
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
23271
|
-
deletedEvent?: EntityDeletedEvent;
|
|
23272
|
-
actionEvent?: ActionEvent;
|
|
23273
|
-
/**
|
|
23274
|
-
* Unique event ID.
|
|
23275
|
-
* Allows clients to ignore duplicate webhooks.
|
|
23276
|
-
*/
|
|
23277
|
-
_id?: string;
|
|
23278
|
-
/**
|
|
23279
|
-
* Assumes actions are also always typed to an entity_type
|
|
23280
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
23281
|
-
*/
|
|
23282
|
-
entityFqdn?: string;
|
|
23283
|
-
/**
|
|
23284
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
23285
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
23286
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
23287
|
-
*/
|
|
23288
|
-
slug?: string;
|
|
23289
|
-
/** ID of the entity associated with the event. */
|
|
23290
|
-
entityId?: string;
|
|
23291
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
23292
|
-
eventTime?: Date | null;
|
|
23293
|
-
/**
|
|
23294
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
23295
|
-
* (for example, GDPR).
|
|
23296
|
-
*/
|
|
23297
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
23298
|
-
/** If present, indicates the action that triggered the event. */
|
|
23299
|
-
originatedFrom?: string | null;
|
|
23300
|
-
/**
|
|
23301
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
23302
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
23303
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
23304
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
23305
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
23306
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
23307
|
-
*/
|
|
23308
|
-
entityEventSequence?: string | null;
|
|
23309
|
-
}
|
|
23310
|
-
/** @oneof */
|
|
23311
|
-
interface DomainEventBodyOneOf {
|
|
23312
|
-
createdEvent?: EntityCreatedEvent;
|
|
23313
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
23314
|
-
deletedEvent?: EntityDeletedEvent;
|
|
23315
|
-
actionEvent?: ActionEvent;
|
|
23316
|
-
}
|
|
23317
|
-
interface EntityCreatedEvent {
|
|
23318
|
-
entity?: string;
|
|
23319
|
-
}
|
|
23320
|
-
interface RestoreInfo {
|
|
23321
|
-
deletedDate?: Date | null;
|
|
23322
|
-
}
|
|
23323
|
-
interface EntityUpdatedEvent {
|
|
23324
|
-
/**
|
|
23325
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
23326
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
23327
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
23328
|
-
*/
|
|
23329
|
-
currentEntity?: string;
|
|
23330
|
-
}
|
|
23331
|
-
interface EntityDeletedEvent {
|
|
23332
|
-
/** Entity that was deleted */
|
|
23333
|
-
deletedEntity?: string | null;
|
|
23334
|
-
}
|
|
23335
|
-
interface ActionEvent {
|
|
23336
|
-
body?: string;
|
|
23337
|
-
}
|
|
23338
|
-
interface MessageEnvelope {
|
|
23339
|
-
/** App instance ID. */
|
|
23340
|
-
instanceId?: string | null;
|
|
23341
|
-
/** Event type. */
|
|
23342
|
-
eventType?: string;
|
|
23343
|
-
/** The identification type and identity data. */
|
|
23344
|
-
identity?: IdentificationData;
|
|
23345
|
-
/** Stringify payload. */
|
|
23346
|
-
data?: string;
|
|
23347
|
-
}
|
|
23348
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
23349
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
23350
|
-
anonymousVisitorId?: string;
|
|
23351
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
23352
|
-
memberId?: string;
|
|
23353
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
23354
|
-
wixUserId?: string;
|
|
23355
|
-
/** ID of an app. */
|
|
23356
|
-
appId?: string;
|
|
23357
|
-
/** @readonly */
|
|
23358
|
-
identityType?: WebhookIdentityType;
|
|
23359
|
-
}
|
|
23360
|
-
/** @oneof */
|
|
23361
|
-
interface IdentificationDataIdOneOf {
|
|
23362
|
-
/** ID of a site visitor that has not logged in to the site. */
|
|
23363
|
-
anonymousVisitorId?: string;
|
|
23364
|
-
/** ID of a site visitor that has logged in to the site. */
|
|
23365
|
-
memberId?: string;
|
|
23366
|
-
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
23367
|
-
wixUserId?: string;
|
|
23368
|
-
/** ID of an app. */
|
|
23369
|
-
appId?: string;
|
|
23370
|
-
}
|
|
23371
|
-
declare enum WebhookIdentityType {
|
|
23372
|
-
UNKNOWN = "UNKNOWN",
|
|
23373
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
23374
|
-
MEMBER = "MEMBER",
|
|
23375
|
-
WIX_USER = "WIX_USER",
|
|
23376
|
-
APP = "APP"
|
|
23377
|
-
}
|
|
23378
23224
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
23379
23225
|
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
23380
23226
|
metaSiteId?: string;
|
|
@@ -23433,181 +23279,17 @@ interface File {
|
|
|
23433
23279
|
/** Invalidate by filename (for media files such as PDFs) */
|
|
23434
23280
|
fileName?: string;
|
|
23435
23281
|
}
|
|
23436
|
-
interface
|
|
23437
|
-
/** Ticket definition
|
|
23438
|
-
|
|
23282
|
+
interface SalePeriodUpdated {
|
|
23283
|
+
/** Ticket definition sale period after update. */
|
|
23284
|
+
afterUpdate?: SalePeriod;
|
|
23439
23285
|
}
|
|
23440
|
-
interface
|
|
23441
|
-
/**
|
|
23442
|
-
|
|
23286
|
+
interface TicketDefinitionSaleStarted {
|
|
23287
|
+
/** Ticket definition. */
|
|
23288
|
+
ticketDefinition?: TicketDefinition;
|
|
23443
23289
|
}
|
|
23444
|
-
interface
|
|
23445
|
-
/**
|
|
23446
|
-
|
|
23447
|
-
* @readonly
|
|
23448
|
-
*/
|
|
23449
|
-
definitionId?: string | null;
|
|
23450
|
-
/**
|
|
23451
|
-
* Event ID to which the ticket definition summary belongs.
|
|
23452
|
-
* @readonly
|
|
23453
|
-
*/
|
|
23454
|
-
eventId?: string | null;
|
|
23455
|
-
/**
|
|
23456
|
-
* Date and time of the ticket definition summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.
|
|
23457
|
-
* @readonly
|
|
23458
|
-
*/
|
|
23459
|
-
_updatedDate?: Date | null;
|
|
23460
|
-
/**
|
|
23461
|
-
* Reserved count.
|
|
23462
|
-
* @readonly
|
|
23463
|
-
*/
|
|
23464
|
-
reservedCount?: number;
|
|
23465
|
-
/**
|
|
23466
|
-
* Sold count.
|
|
23467
|
-
* @readonly
|
|
23468
|
-
*/
|
|
23469
|
-
soldCount?: number;
|
|
23470
|
-
/**
|
|
23471
|
-
* Paid exists.
|
|
23472
|
-
* @readonly
|
|
23473
|
-
*/
|
|
23474
|
-
paidExists?: boolean;
|
|
23475
|
-
}
|
|
23476
|
-
interface ListEventTicketingSummaryRequest {
|
|
23477
|
-
/** Event ID. */
|
|
23478
|
-
eventId?: string[];
|
|
23479
|
-
}
|
|
23480
|
-
interface ListEventTicketingSummaryResponse {
|
|
23481
|
-
/** Ticketing summaries. */
|
|
23482
|
-
summaries?: EventTicketingSummary[];
|
|
23483
|
-
}
|
|
23484
|
-
interface EventTicketingSummary {
|
|
23485
|
-
/**
|
|
23486
|
-
* Event ID to which the ticketing summary belongs.
|
|
23487
|
-
* @readonly
|
|
23488
|
-
*/
|
|
23489
|
-
eventId?: string | null;
|
|
23490
|
-
/**
|
|
23491
|
-
* Date and time of the ticketing summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.
|
|
23492
|
-
* @readonly
|
|
23493
|
-
*/
|
|
23494
|
-
_updatedDate?: Date | null;
|
|
23495
|
-
/**
|
|
23496
|
-
* Whether all tickets are sold for this event.
|
|
23497
|
-
* @readonly
|
|
23498
|
-
*/
|
|
23499
|
-
soldOut?: boolean | null;
|
|
23500
|
-
/**
|
|
23501
|
-
* Price of lowest priced ticket.
|
|
23502
|
-
* @readonly
|
|
23503
|
-
*/
|
|
23504
|
-
lowestTicketPrice?: CommonMoney;
|
|
23505
|
-
/**
|
|
23506
|
-
* Price of highest priced ticket.
|
|
23507
|
-
* @readonly
|
|
23508
|
-
*/
|
|
23509
|
-
highestTicketPrice?: CommonMoney;
|
|
23510
|
-
/**
|
|
23511
|
-
* Currency used in event transactions.
|
|
23512
|
-
* @readonly
|
|
23513
|
-
*/
|
|
23514
|
-
currency?: string | null;
|
|
23515
|
-
/**
|
|
23516
|
-
* Formatted price of lowest priced ticket.
|
|
23517
|
-
* @readonly
|
|
23518
|
-
*/
|
|
23519
|
-
lowestTicketPriceFormatted?: string | null;
|
|
23520
|
-
/**
|
|
23521
|
-
* Formatted price of highest priced ticket.
|
|
23522
|
-
* @readonly
|
|
23523
|
-
*/
|
|
23524
|
-
highestTicketPriceFormatted?: string | null;
|
|
23525
|
-
}
|
|
23526
|
-
interface Empty {
|
|
23527
|
-
}
|
|
23528
|
-
interface ReservationCreated {
|
|
23529
|
-
/** Reservation created timestamp in ISO UTC format. */
|
|
23530
|
-
timestamp?: Date | null;
|
|
23531
|
-
/** Event ID. */
|
|
23532
|
-
eventId?: string;
|
|
23533
|
-
/**
|
|
23534
|
-
* Reservation ID.
|
|
23535
|
-
* Can be used to retrieve a reservation invoice.
|
|
23536
|
-
*/
|
|
23537
|
-
reservationId?: string;
|
|
23538
|
-
/** Reservation expiration timestamp. */
|
|
23539
|
-
expires?: Date | null;
|
|
23540
|
-
/** Reservation status. */
|
|
23541
|
-
status?: ReservationStatus;
|
|
23542
|
-
/** Reservation ticket quantities. */
|
|
23543
|
-
quantities?: TicketQuantity[];
|
|
23544
|
-
/** Reservation update timestamp. */
|
|
23545
|
-
_updatedDate?: Date | null;
|
|
23546
|
-
/** Reservation counts. */
|
|
23547
|
-
counts?: ReservationCount[];
|
|
23548
|
-
}
|
|
23549
|
-
declare enum ReservationStatus {
|
|
23550
|
-
/** The Reservation is pending confirmation and will expire after the expiration due time. */
|
|
23551
|
-
RESERVATION_PENDING = "RESERVATION_PENDING",
|
|
23552
|
-
/** The reservation is confirmed and will not expire. */
|
|
23553
|
-
RESERVATION_CONFIRMED = "RESERVATION_CONFIRMED",
|
|
23554
|
-
/** The reservation is canceled because of non payment. */
|
|
23555
|
-
RESERVATION_CANCELED = "RESERVATION_CANCELED",
|
|
23556
|
-
/** The reservation is canceled manually by the buyer. */
|
|
23557
|
-
RESERVATION_CANCELED_MANUALLY = "RESERVATION_CANCELED_MANUALLY",
|
|
23558
|
-
/** The reservation is expired. */
|
|
23559
|
-
RESERVATION_EXPIRED = "RESERVATION_EXPIRED"
|
|
23560
|
-
}
|
|
23561
|
-
interface TicketQuantity {
|
|
23562
|
-
/** Ticket definition ID. */
|
|
23563
|
-
ticketDefinitionId?: string | null;
|
|
23564
|
-
/** Quantity. */
|
|
23565
|
-
quantity?: number | null;
|
|
23566
|
-
/** Quantity update timestamp. */
|
|
23567
|
-
_updatedDate?: Date | null;
|
|
23568
|
-
}
|
|
23569
|
-
interface ReservationCount {
|
|
23570
|
-
/** Reservation Count snapshot timestamp. */
|
|
23571
|
-
timestamp?: Date | null;
|
|
23572
|
-
/** Ticket Definition ID. */
|
|
23573
|
-
ticketDefinitionId?: string;
|
|
23574
|
-
/** Confirmed reservation count. */
|
|
23575
|
-
confirmedCount?: number;
|
|
23576
|
-
/** Pending reservation count. */
|
|
23577
|
-
pendingCount?: number;
|
|
23578
|
-
/** True if paid ticket reservation exist. */
|
|
23579
|
-
paidExists?: boolean;
|
|
23580
|
-
}
|
|
23581
|
-
interface ReservationUpdated {
|
|
23582
|
-
/** Reservation updated timestamp. */
|
|
23583
|
-
timestamp?: Date | null;
|
|
23584
|
-
/** Event ID. */
|
|
23585
|
-
eventId?: string;
|
|
23586
|
-
/**
|
|
23587
|
-
* Reservation ID.
|
|
23588
|
-
* Can be used to retrieve a reservation invoice.
|
|
23589
|
-
*/
|
|
23590
|
-
reservationId?: string;
|
|
23591
|
-
/** Reservation status. */
|
|
23592
|
-
status?: ReservationStatus;
|
|
23593
|
-
/** Reservation expiration timestamp. */
|
|
23594
|
-
expires?: Date | null;
|
|
23595
|
-
/** Reservation ticket quantities. */
|
|
23596
|
-
quantities?: TicketQuantity[];
|
|
23597
|
-
/** Reservation update timestamp. */
|
|
23598
|
-
_updatedDate?: Date | null;
|
|
23599
|
-
/** Reservation counts. */
|
|
23600
|
-
counts?: ReservationCount[];
|
|
23601
|
-
}
|
|
23602
|
-
interface EventDeleted {
|
|
23603
|
-
/** Event deleted timestamp in ISO UTC format. */
|
|
23604
|
-
timestamp?: Date | null;
|
|
23605
|
-
/** Event ID. */
|
|
23606
|
-
eventId?: string;
|
|
23607
|
-
/** Event title. */
|
|
23608
|
-
title?: string;
|
|
23609
|
-
/** Event creator user ID. */
|
|
23610
|
-
userId?: string | null;
|
|
23290
|
+
interface TicketDefinitionSaleEnded {
|
|
23291
|
+
/** Ticket definition. */
|
|
23292
|
+
ticketDefinition?: TicketDefinition;
|
|
23611
23293
|
}
|
|
23612
23294
|
interface CreateTicketDefinitionRequest {
|
|
23613
23295
|
/** Ticket definition info. */
|
|
@@ -23832,6 +23514,18 @@ interface CopiedTicketDefinition {
|
|
|
23832
23514
|
/** Ticket definition ID. */
|
|
23833
23515
|
ticketDefinitionId?: string;
|
|
23834
23516
|
}
|
|
23517
|
+
interface EventDeleted {
|
|
23518
|
+
/** Event deleted timestamp in ISO UTC format. */
|
|
23519
|
+
timestamp?: Date | null;
|
|
23520
|
+
/** Event ID. */
|
|
23521
|
+
eventId?: string;
|
|
23522
|
+
/** Event title. */
|
|
23523
|
+
title?: string;
|
|
23524
|
+
/** Event creator user ID. */
|
|
23525
|
+
userId?: string | null;
|
|
23526
|
+
}
|
|
23527
|
+
interface Empty {
|
|
23528
|
+
}
|
|
23835
23529
|
interface EventCanceled {
|
|
23836
23530
|
/** Event canceled timestamp in ISO UTC format. */
|
|
23837
23531
|
timestamp?: Date | null;
|
|
@@ -24805,6 +24499,76 @@ interface CategoryDetails {
|
|
|
24805
24499
|
*/
|
|
24806
24500
|
reserved?: number | null;
|
|
24807
24501
|
}
|
|
24502
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
24503
|
+
createdEvent?: EntityCreatedEvent;
|
|
24504
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
24505
|
+
deletedEvent?: EntityDeletedEvent;
|
|
24506
|
+
actionEvent?: ActionEvent;
|
|
24507
|
+
/**
|
|
24508
|
+
* Unique event ID.
|
|
24509
|
+
* Allows clients to ignore duplicate webhooks.
|
|
24510
|
+
*/
|
|
24511
|
+
_id?: string;
|
|
24512
|
+
/**
|
|
24513
|
+
* Assumes actions are also always typed to an entity_type
|
|
24514
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
24515
|
+
*/
|
|
24516
|
+
entityFqdn?: string;
|
|
24517
|
+
/**
|
|
24518
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
24519
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
24520
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
24521
|
+
*/
|
|
24522
|
+
slug?: string;
|
|
24523
|
+
/** ID of the entity associated with the event. */
|
|
24524
|
+
entityId?: string;
|
|
24525
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
24526
|
+
eventTime?: Date | null;
|
|
24527
|
+
/**
|
|
24528
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
24529
|
+
* (for example, GDPR).
|
|
24530
|
+
*/
|
|
24531
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
24532
|
+
/** If present, indicates the action that triggered the event. */
|
|
24533
|
+
originatedFrom?: string | null;
|
|
24534
|
+
/**
|
|
24535
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
24536
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
24537
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
24538
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
24539
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
24540
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
24541
|
+
*/
|
|
24542
|
+
entityEventSequence?: string | null;
|
|
24543
|
+
}
|
|
24544
|
+
/** @oneof */
|
|
24545
|
+
interface DomainEventBodyOneOf {
|
|
24546
|
+
createdEvent?: EntityCreatedEvent;
|
|
24547
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
24548
|
+
deletedEvent?: EntityDeletedEvent;
|
|
24549
|
+
actionEvent?: ActionEvent;
|
|
24550
|
+
}
|
|
24551
|
+
interface EntityCreatedEvent {
|
|
24552
|
+
entity?: string;
|
|
24553
|
+
}
|
|
24554
|
+
interface RestoreInfo {
|
|
24555
|
+
deletedDate?: Date | null;
|
|
24556
|
+
}
|
|
24557
|
+
interface EntityUpdatedEvent {
|
|
24558
|
+
/**
|
|
24559
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
24560
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
24561
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
24562
|
+
*/
|
|
24563
|
+
currentEntity?: string;
|
|
24564
|
+
}
|
|
24565
|
+
interface EntityDeletedEvent {
|
|
24566
|
+
/** Entity that was deleted */
|
|
24567
|
+
deletedEntity?: string | null;
|
|
24568
|
+
}
|
|
24569
|
+
interface ActionEvent {
|
|
24570
|
+
body?: string;
|
|
24571
|
+
}
|
|
24808
24572
|
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
24809
24573
|
/** Emitted on a meta site creation. */
|
|
24810
24574
|
siteCreated?: SiteCreated;
|
|
@@ -25102,6 +24866,210 @@ interface ScheduleLegacyTimeCapsuleTaskRequest {
|
|
|
25102
24866
|
/** Definition ID. */
|
|
25103
24867
|
ticketDefinitionId?: string;
|
|
25104
24868
|
}
|
|
24869
|
+
interface MessageEnvelope {
|
|
24870
|
+
/** App instance ID. */
|
|
24871
|
+
instanceId?: string | null;
|
|
24872
|
+
/** Event type. */
|
|
24873
|
+
eventType?: string;
|
|
24874
|
+
/** The identification type and identity data. */
|
|
24875
|
+
identity?: IdentificationData;
|
|
24876
|
+
/** Stringify payload. */
|
|
24877
|
+
data?: string;
|
|
24878
|
+
}
|
|
24879
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
24880
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
24881
|
+
anonymousVisitorId?: string;
|
|
24882
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
24883
|
+
memberId?: string;
|
|
24884
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
24885
|
+
wixUserId?: string;
|
|
24886
|
+
/** ID of an app. */
|
|
24887
|
+
appId?: string;
|
|
24888
|
+
/** @readonly */
|
|
24889
|
+
identityType?: WebhookIdentityType;
|
|
24890
|
+
}
|
|
24891
|
+
/** @oneof */
|
|
24892
|
+
interface IdentificationDataIdOneOf {
|
|
24893
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
24894
|
+
anonymousVisitorId?: string;
|
|
24895
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
24896
|
+
memberId?: string;
|
|
24897
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
24898
|
+
wixUserId?: string;
|
|
24899
|
+
/** ID of an app. */
|
|
24900
|
+
appId?: string;
|
|
24901
|
+
}
|
|
24902
|
+
declare enum WebhookIdentityType {
|
|
24903
|
+
UNKNOWN = "UNKNOWN",
|
|
24904
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
24905
|
+
MEMBER = "MEMBER",
|
|
24906
|
+
WIX_USER = "WIX_USER",
|
|
24907
|
+
APP = "APP"
|
|
24908
|
+
}
|
|
24909
|
+
interface GetTicketDefinitionSummaryRequest {
|
|
24910
|
+
/** Ticket definition id. */
|
|
24911
|
+
ticketDefinitionId?: string | null;
|
|
24912
|
+
}
|
|
24913
|
+
interface GetTicketDefinitionSummaryResponse {
|
|
24914
|
+
/** Summary. */
|
|
24915
|
+
summary?: TicketDefinitionSummary;
|
|
24916
|
+
}
|
|
24917
|
+
interface TicketDefinitionSummary {
|
|
24918
|
+
/**
|
|
24919
|
+
* Ticket definition ID.
|
|
24920
|
+
* @readonly
|
|
24921
|
+
*/
|
|
24922
|
+
definitionId?: string | null;
|
|
24923
|
+
/**
|
|
24924
|
+
* Event ID to which the ticket definition summary belongs.
|
|
24925
|
+
* @readonly
|
|
24926
|
+
*/
|
|
24927
|
+
eventId?: string | null;
|
|
24928
|
+
/**
|
|
24929
|
+
* Date and time of the ticket definition summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.
|
|
24930
|
+
* @readonly
|
|
24931
|
+
*/
|
|
24932
|
+
_updatedDate?: Date | null;
|
|
24933
|
+
/**
|
|
24934
|
+
* Reserved count.
|
|
24935
|
+
* @readonly
|
|
24936
|
+
*/
|
|
24937
|
+
reservedCount?: number;
|
|
24938
|
+
/**
|
|
24939
|
+
* Sold count.
|
|
24940
|
+
* @readonly
|
|
24941
|
+
*/
|
|
24942
|
+
soldCount?: number;
|
|
24943
|
+
/**
|
|
24944
|
+
* Paid exists.
|
|
24945
|
+
* @readonly
|
|
24946
|
+
*/
|
|
24947
|
+
paidExists?: boolean;
|
|
24948
|
+
}
|
|
24949
|
+
interface ListEventTicketingSummaryRequest {
|
|
24950
|
+
/** Event ID. */
|
|
24951
|
+
eventId?: string[];
|
|
24952
|
+
}
|
|
24953
|
+
interface ListEventTicketingSummaryResponse {
|
|
24954
|
+
/** Ticketing summaries. */
|
|
24955
|
+
summaries?: EventTicketingSummary[];
|
|
24956
|
+
}
|
|
24957
|
+
interface EventTicketingSummary {
|
|
24958
|
+
/**
|
|
24959
|
+
* Event ID to which the ticketing summary belongs.
|
|
24960
|
+
* @readonly
|
|
24961
|
+
*/
|
|
24962
|
+
eventId?: string | null;
|
|
24963
|
+
/**
|
|
24964
|
+
* Date and time of the ticketing summary latest update in `yyyy-mm-ddThh:mm:sssZ` format.
|
|
24965
|
+
* @readonly
|
|
24966
|
+
*/
|
|
24967
|
+
_updatedDate?: Date | null;
|
|
24968
|
+
/**
|
|
24969
|
+
* Whether all tickets are sold for this event.
|
|
24970
|
+
* @readonly
|
|
24971
|
+
*/
|
|
24972
|
+
soldOut?: boolean | null;
|
|
24973
|
+
/**
|
|
24974
|
+
* Price of lowest priced ticket.
|
|
24975
|
+
* @readonly
|
|
24976
|
+
*/
|
|
24977
|
+
lowestTicketPrice?: CommonMoney;
|
|
24978
|
+
/**
|
|
24979
|
+
* Price of highest priced ticket.
|
|
24980
|
+
* @readonly
|
|
24981
|
+
*/
|
|
24982
|
+
highestTicketPrice?: CommonMoney;
|
|
24983
|
+
/**
|
|
24984
|
+
* Currency used in event transactions.
|
|
24985
|
+
* @readonly
|
|
24986
|
+
*/
|
|
24987
|
+
currency?: string | null;
|
|
24988
|
+
/**
|
|
24989
|
+
* Formatted price of lowest priced ticket.
|
|
24990
|
+
* @readonly
|
|
24991
|
+
*/
|
|
24992
|
+
lowestTicketPriceFormatted?: string | null;
|
|
24993
|
+
/**
|
|
24994
|
+
* Formatted price of highest priced ticket.
|
|
24995
|
+
* @readonly
|
|
24996
|
+
*/
|
|
24997
|
+
highestTicketPriceFormatted?: string | null;
|
|
24998
|
+
}
|
|
24999
|
+
interface ReservationCreated {
|
|
25000
|
+
/** Reservation created timestamp in ISO UTC format. */
|
|
25001
|
+
timestamp?: Date | null;
|
|
25002
|
+
/** Event ID. */
|
|
25003
|
+
eventId?: string;
|
|
25004
|
+
/**
|
|
25005
|
+
* Reservation ID.
|
|
25006
|
+
* Can be used to retrieve a reservation invoice.
|
|
25007
|
+
*/
|
|
25008
|
+
reservationId?: string;
|
|
25009
|
+
/** Reservation expiration timestamp. */
|
|
25010
|
+
expires?: Date | null;
|
|
25011
|
+
/** Reservation status. */
|
|
25012
|
+
status?: ReservationStatus;
|
|
25013
|
+
/** Reservation ticket quantities. */
|
|
25014
|
+
quantities?: TicketQuantity[];
|
|
25015
|
+
/** Reservation update timestamp. */
|
|
25016
|
+
_updatedDate?: Date | null;
|
|
25017
|
+
/** Reservation counts. */
|
|
25018
|
+
counts?: ReservationCount[];
|
|
25019
|
+
}
|
|
25020
|
+
declare enum ReservationStatus {
|
|
25021
|
+
/** The Reservation is pending confirmation and will expire after the expiration due time. */
|
|
25022
|
+
RESERVATION_PENDING = "RESERVATION_PENDING",
|
|
25023
|
+
/** The reservation is confirmed and will not expire. */
|
|
25024
|
+
RESERVATION_CONFIRMED = "RESERVATION_CONFIRMED",
|
|
25025
|
+
/** The reservation is canceled because of non payment. */
|
|
25026
|
+
RESERVATION_CANCELED = "RESERVATION_CANCELED",
|
|
25027
|
+
/** The reservation is canceled manually by the buyer. */
|
|
25028
|
+
RESERVATION_CANCELED_MANUALLY = "RESERVATION_CANCELED_MANUALLY",
|
|
25029
|
+
/** The reservation is expired. */
|
|
25030
|
+
RESERVATION_EXPIRED = "RESERVATION_EXPIRED"
|
|
25031
|
+
}
|
|
25032
|
+
interface TicketQuantity {
|
|
25033
|
+
/** Ticket definition ID. */
|
|
25034
|
+
ticketDefinitionId?: string | null;
|
|
25035
|
+
/** Quantity. */
|
|
25036
|
+
quantity?: number | null;
|
|
25037
|
+
/** Quantity update timestamp. */
|
|
25038
|
+
_updatedDate?: Date | null;
|
|
25039
|
+
}
|
|
25040
|
+
interface ReservationCount {
|
|
25041
|
+
/** Reservation Count snapshot timestamp. */
|
|
25042
|
+
timestamp?: Date | null;
|
|
25043
|
+
/** Ticket Definition ID. */
|
|
25044
|
+
ticketDefinitionId?: string;
|
|
25045
|
+
/** Confirmed reservation count. */
|
|
25046
|
+
confirmedCount?: number;
|
|
25047
|
+
/** Pending reservation count. */
|
|
25048
|
+
pendingCount?: number;
|
|
25049
|
+
/** True if paid ticket reservation exist. */
|
|
25050
|
+
paidExists?: boolean;
|
|
25051
|
+
}
|
|
25052
|
+
interface ReservationUpdated {
|
|
25053
|
+
/** Reservation updated timestamp. */
|
|
25054
|
+
timestamp?: Date | null;
|
|
25055
|
+
/** Event ID. */
|
|
25056
|
+
eventId?: string;
|
|
25057
|
+
/**
|
|
25058
|
+
* Reservation ID.
|
|
25059
|
+
* Can be used to retrieve a reservation invoice.
|
|
25060
|
+
*/
|
|
25061
|
+
reservationId?: string;
|
|
25062
|
+
/** Reservation status. */
|
|
25063
|
+
status?: ReservationStatus;
|
|
25064
|
+
/** Reservation expiration timestamp. */
|
|
25065
|
+
expires?: Date | null;
|
|
25066
|
+
/** Reservation ticket quantities. */
|
|
25067
|
+
quantities?: TicketQuantity[];
|
|
25068
|
+
/** Reservation update timestamp. */
|
|
25069
|
+
_updatedDate?: Date | null;
|
|
25070
|
+
/** Reservation counts. */
|
|
25071
|
+
counts?: ReservationCount[];
|
|
25072
|
+
}
|
|
25105
25073
|
interface CommonMoneyNonNullableFields {
|
|
25106
25074
|
value: string;
|
|
25107
25075
|
currency: string;
|
|
@@ -25225,11 +25193,11 @@ interface TicketDefinitionCreatedEnvelope {
|
|
|
25225
25193
|
entity: TicketDefinition;
|
|
25226
25194
|
metadata: EventMetadata;
|
|
25227
25195
|
}
|
|
25228
|
-
interface
|
|
25229
|
-
entity: TicketDefinition;
|
|
25196
|
+
interface TicketDefinitionDeletedEnvelope {
|
|
25230
25197
|
metadata: EventMetadata;
|
|
25231
25198
|
}
|
|
25232
|
-
interface
|
|
25199
|
+
interface TicketDefinitionSaleEndedEnvelope {
|
|
25200
|
+
data: TicketDefinitionSaleEnded;
|
|
25233
25201
|
metadata: EventMetadata;
|
|
25234
25202
|
}
|
|
25235
25203
|
interface TicketDefinitionSalePeriodUpdatedEnvelope {
|
|
@@ -25240,8 +25208,8 @@ interface TicketDefinitionSaleStartedEnvelope {
|
|
|
25240
25208
|
data: TicketDefinitionSaleStarted;
|
|
25241
25209
|
metadata: EventMetadata;
|
|
25242
25210
|
}
|
|
25243
|
-
interface
|
|
25244
|
-
|
|
25211
|
+
interface TicketDefinitionUpdatedEnvelope {
|
|
25212
|
+
entity: TicketDefinition;
|
|
25245
25213
|
metadata: EventMetadata;
|
|
25246
25214
|
}
|
|
25247
25215
|
interface CreateTicketDefinitionOptions {
|
|
@@ -25551,11 +25519,11 @@ interface ChangeCurrencySignature {
|
|
|
25551
25519
|
(eventId: string, options: ChangeCurrencyOptions): Promise<void>;
|
|
25552
25520
|
}
|
|
25553
25521
|
declare const onTicketDefinitionCreated$1: EventDefinition<TicketDefinitionCreatedEnvelope, "wix.events.v3.ticket_definition_created">;
|
|
25554
|
-
declare const onTicketDefinitionUpdated$1: EventDefinition<TicketDefinitionUpdatedEnvelope, "wix.events.v3.ticket_definition_updated">;
|
|
25555
25522
|
declare const onTicketDefinitionDeleted$1: EventDefinition<TicketDefinitionDeletedEnvelope, "wix.events.v3.ticket_definition_deleted">;
|
|
25523
|
+
declare const onTicketDefinitionSaleEnded$1: EventDefinition<TicketDefinitionSaleEndedEnvelope, "wix.events.v3.ticket_definition_sale_ended">;
|
|
25556
25524
|
declare const onTicketDefinitionSalePeriodUpdated$1: EventDefinition<TicketDefinitionSalePeriodUpdatedEnvelope, "wix.events.v3.ticket_definition_sale_period_updated">;
|
|
25557
25525
|
declare const onTicketDefinitionSaleStarted$1: EventDefinition<TicketDefinitionSaleStartedEnvelope, "wix.events.v3.ticket_definition_sale_started">;
|
|
25558
|
-
declare const
|
|
25526
|
+
declare const onTicketDefinitionUpdated$1: EventDefinition<TicketDefinitionUpdatedEnvelope, "wix.events.v3.ticket_definition_updated">;
|
|
25559
25527
|
|
|
25560
25528
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
25561
25529
|
|
|
@@ -25577,18 +25545,18 @@ type _publicOnTicketDefinitionCreatedType = typeof onTicketDefinitionCreated$1;
|
|
|
25577
25545
|
*/
|
|
25578
25546
|
declare const onTicketDefinitionCreated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionCreatedType>>;
|
|
25579
25547
|
|
|
25580
|
-
type _publicOnTicketDefinitionUpdatedType = typeof onTicketDefinitionUpdated$1;
|
|
25581
|
-
/**
|
|
25582
|
-
* Triggered when a ticket definition is updated.
|
|
25583
|
-
*/
|
|
25584
|
-
declare const onTicketDefinitionUpdated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionUpdatedType>>;
|
|
25585
|
-
|
|
25586
25548
|
type _publicOnTicketDefinitionDeletedType = typeof onTicketDefinitionDeleted$1;
|
|
25587
25549
|
/**
|
|
25588
25550
|
* Triggered when a ticket definition is deleted.
|
|
25589
25551
|
*/
|
|
25590
25552
|
declare const onTicketDefinitionDeleted: ReturnType<typeof createEventModule<_publicOnTicketDefinitionDeletedType>>;
|
|
25591
25553
|
|
|
25554
|
+
type _publicOnTicketDefinitionSaleEndedType = typeof onTicketDefinitionSaleEnded$1;
|
|
25555
|
+
/**
|
|
25556
|
+
* Triggered when a ticket sale ends. Sales details are not included in the payload.
|
|
25557
|
+
*/
|
|
25558
|
+
declare const onTicketDefinitionSaleEnded: ReturnType<typeof createEventModule<_publicOnTicketDefinitionSaleEndedType>>;
|
|
25559
|
+
|
|
25592
25560
|
type _publicOnTicketDefinitionSalePeriodUpdatedType = typeof onTicketDefinitionSalePeriodUpdated$1;
|
|
25593
25561
|
/**
|
|
25594
25562
|
* Triggered when a sale period is updated.
|
|
@@ -25601,11 +25569,11 @@ type _publicOnTicketDefinitionSaleStartedType = typeof onTicketDefinitionSaleSta
|
|
|
25601
25569
|
*/
|
|
25602
25570
|
declare const onTicketDefinitionSaleStarted: ReturnType<typeof createEventModule<_publicOnTicketDefinitionSaleStartedType>>;
|
|
25603
25571
|
|
|
25604
|
-
type
|
|
25572
|
+
type _publicOnTicketDefinitionUpdatedType = typeof onTicketDefinitionUpdated$1;
|
|
25605
25573
|
/**
|
|
25606
|
-
* Triggered when a ticket
|
|
25574
|
+
* Triggered when a ticket definition is updated.
|
|
25607
25575
|
*/
|
|
25608
|
-
declare const
|
|
25576
|
+
declare const onTicketDefinitionUpdated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionUpdatedType>>;
|
|
25609
25577
|
|
|
25610
25578
|
type index_d_ActionEvent = ActionEvent;
|
|
25611
25579
|
type index_d_Address = Address;
|