@wix/events 1.0.351 → 1.0.352
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 +391 -359
- package/type-bundles/index.bundle.d.ts +391 -359
|
@@ -1858,6 +1858,10 @@ interface GuestCreatedEnvelope {
|
|
|
1858
1858
|
entity: EventGuest;
|
|
1859
1859
|
metadata: EventMetadata$6;
|
|
1860
1860
|
}
|
|
1861
|
+
interface GuestUpdatedEnvelope {
|
|
1862
|
+
entity: EventGuest;
|
|
1863
|
+
metadata: EventMetadata$6;
|
|
1864
|
+
}
|
|
1861
1865
|
interface GuestDeletedEnvelope {
|
|
1862
1866
|
entity: EventGuest;
|
|
1863
1867
|
metadata: EventMetadata$6;
|
|
@@ -1878,10 +1882,6 @@ interface GuestOrderCanceledEnvelope {
|
|
|
1878
1882
|
data: GuestOrderCanceled;
|
|
1879
1883
|
metadata: EventMetadata$6;
|
|
1880
1884
|
}
|
|
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">;
|
|
1965
1966
|
declare const onGuestDeleted$1: EventDefinition<GuestDeletedEnvelope, "wix.events.guests.v1.guest_deleted">;
|
|
1966
1967
|
declare const onGuestCheckedIn$1: EventDefinition<GuestCheckedInEnvelope, "wix.events.guests.v1.guest_guest_checked_in">;
|
|
1967
1968
|
declare const onGuestEventCanceled$1: EventDefinition<GuestEventCanceledEnvelope, "wix.events.guests.v1.guest_guest_event_canceled">;
|
|
1968
1969
|
declare const onGuestEventStarts$1: EventDefinition<GuestEventStartsEnvelope, "wix.events.guests.v1.guest_guest_event_starts">;
|
|
1969
1970
|
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,6 +1979,12 @@ 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
|
+
|
|
1982
1988
|
type _publicOnGuestDeletedType = typeof onGuestDeleted$1;
|
|
1983
1989
|
/**
|
|
1984
1990
|
* Triggered when a guest is deleted.
|
|
@@ -2003,12 +2009,6 @@ type _publicOnGuestOrderCanceledType = typeof onGuestOrderCanceled$1;
|
|
|
2003
2009
|
/** */
|
|
2004
2010
|
declare const onGuestOrderCanceled: ReturnType<typeof createEventModule$b<_publicOnGuestOrderCanceledType>>;
|
|
2005
2011
|
|
|
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,13 +5637,13 @@ interface StaffMemberCreatedEnvelope {
|
|
|
5637
5637
|
entity: StaffMember;
|
|
5638
5638
|
metadata: EventMetadata$4;
|
|
5639
5639
|
}
|
|
5640
|
-
interface StaffMemberDeletedEnvelope {
|
|
5641
|
-
metadata: EventMetadata$4;
|
|
5642
|
-
}
|
|
5643
5640
|
interface StaffMemberUpdatedEnvelope {
|
|
5644
5641
|
entity: StaffMember;
|
|
5645
5642
|
metadata: EventMetadata$4;
|
|
5646
5643
|
}
|
|
5644
|
+
interface StaffMemberDeletedEnvelope {
|
|
5645
|
+
metadata: EventMetadata$4;
|
|
5646
|
+
}
|
|
5647
5647
|
interface GetStaffMemberOptions {
|
|
5648
5648
|
/**
|
|
5649
5649
|
* List of additional staff member fields to include in the response. For example, use the `JOIN_LINK` fieldset to retrieve the join link field in
|
|
@@ -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 onStaffMemberDeleted$1: EventDefinition<StaffMemberDeletedEnvelope, "wix.events.staffmembers.v1.staff_member_deleted">;
|
|
5839
5838
|
declare const onStaffMemberUpdated$1: EventDefinition<StaffMemberUpdatedEnvelope, "wix.events.staffmembers.v1.staff_member_updated">;
|
|
5839
|
+
declare const onStaffMemberDeleted$1: EventDefinition<StaffMemberDeletedEnvelope, "wix.events.staffmembers.v1.staff_member_deleted">;
|
|
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 _publicOnStaffMemberDeletedType = typeof onStaffMemberDeleted$1;
|
|
5857
|
-
/** */
|
|
5858
|
-
declare const onStaffMemberDeleted: ReturnType<typeof createEventModule$9<_publicOnStaffMemberDeletedType>>;
|
|
5859
|
-
|
|
5860
5856
|
type _publicOnStaffMemberUpdatedType = typeof onStaffMemberUpdated$1;
|
|
5861
5857
|
/** */
|
|
5862
5858
|
declare const onStaffMemberUpdated: ReturnType<typeof createEventModule$9<_publicOnStaffMemberUpdatedType>>;
|
|
5863
5859
|
|
|
5860
|
+
type _publicOnStaffMemberDeletedType = typeof onStaffMemberDeleted$1;
|
|
5861
|
+
/** */
|
|
5862
|
+
declare const onStaffMemberDeleted: ReturnType<typeof createEventModule$9<_publicOnStaffMemberDeletedType>>;
|
|
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,6 +12909,38 @@ 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;
|
|
12912
12944
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
12913
12945
|
* @documentationMaturity preview
|
|
12914
12946
|
*/
|
|
@@ -13889,14 +13921,14 @@ interface RsvpCreatedEnvelope {
|
|
|
13889
13921
|
data: RsvpCreated;
|
|
13890
13922
|
metadata: BaseEventMetadata$5;
|
|
13891
13923
|
}
|
|
13892
|
-
interface RsvpDeletedEnvelope {
|
|
13893
|
-
data: RsvpDeleted;
|
|
13894
|
-
metadata: BaseEventMetadata$5;
|
|
13895
|
-
}
|
|
13896
13924
|
interface RsvpUpdatedEnvelope {
|
|
13897
13925
|
data: RsvpUpdated;
|
|
13898
13926
|
metadata: BaseEventMetadata$5;
|
|
13899
13927
|
}
|
|
13928
|
+
interface RsvpDeletedEnvelope {
|
|
13929
|
+
data: RsvpDeleted;
|
|
13930
|
+
metadata: BaseEventMetadata$5;
|
|
13931
|
+
}
|
|
13900
13932
|
interface ListRsvpOptions {
|
|
13901
13933
|
/** Number of items to skip. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
13902
13934
|
offset?: number;
|
|
@@ -14132,8 +14164,8 @@ interface DeleteRsvpCheckInSignature {
|
|
|
14132
14164
|
(eventId: string, options?: DeleteRsvpCheckInOptions | undefined): Promise<DeleteRsvpCheckInResponse & DeleteRsvpCheckInResponseNonNullableFields>;
|
|
14133
14165
|
}
|
|
14134
14166
|
declare const onRsvpCreated$1: EventDefinition<RsvpCreatedEnvelope, "wix.events.rsvp.events.RsvpCreated">;
|
|
14135
|
-
declare const onRsvpDeleted$1: EventDefinition<RsvpDeletedEnvelope, "wix.events.rsvp.events.RsvpDeleted">;
|
|
14136
14167
|
declare const onRsvpUpdated$1: EventDefinition<RsvpUpdatedEnvelope, "wix.events.rsvp.events.RsvpUpdated">;
|
|
14168
|
+
declare const onRsvpDeleted$1: EventDefinition<RsvpDeletedEnvelope, "wix.events.rsvp.events.RsvpDeleted">;
|
|
14137
14169
|
|
|
14138
14170
|
declare function createEventModule$5<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
14139
14171
|
|
|
@@ -14151,14 +14183,14 @@ type _publicOnRsvpCreatedType = typeof onRsvpCreated$1;
|
|
|
14151
14183
|
/** */
|
|
14152
14184
|
declare const onRsvpCreated: ReturnType<typeof createEventModule$5<_publicOnRsvpCreatedType>>;
|
|
14153
14185
|
|
|
14154
|
-
type _publicOnRsvpDeletedType = typeof onRsvpDeleted$1;
|
|
14155
|
-
/** */
|
|
14156
|
-
declare const onRsvpDeleted: ReturnType<typeof createEventModule$5<_publicOnRsvpDeletedType>>;
|
|
14157
|
-
|
|
14158
14186
|
type _publicOnRsvpUpdatedType = typeof onRsvpUpdated$1;
|
|
14159
14187
|
/** */
|
|
14160
14188
|
declare const onRsvpUpdated: ReturnType<typeof createEventModule$5<_publicOnRsvpUpdatedType>>;
|
|
14161
14189
|
|
|
14190
|
+
type _publicOnRsvpDeletedType = typeof onRsvpDeleted$1;
|
|
14191
|
+
/** */
|
|
14192
|
+
declare const onRsvpDeleted: ReturnType<typeof createEventModule$5<_publicOnRsvpDeletedType>>;
|
|
14193
|
+
|
|
14162
14194
|
type index_d$6_CheckInRsvpOptions = CheckInRsvpOptions;
|
|
14163
14195
|
type index_d$6_CheckInRsvpRequest = CheckInRsvpRequest;
|
|
14164
14196
|
type index_d$6_CheckInRsvpResponse = CheckInRsvpResponse;
|
|
@@ -15720,14 +15752,14 @@ interface TicketDefinitionCreatedEnvelope$1 {
|
|
|
15720
15752
|
data: TicketDefinitionCreated;
|
|
15721
15753
|
metadata: BaseEventMetadata$3;
|
|
15722
15754
|
}
|
|
15723
|
-
interface TicketDefinitionDeletedEnvelope$1 {
|
|
15724
|
-
data: TicketDefinitionDeleted;
|
|
15725
|
-
metadata: BaseEventMetadata$3;
|
|
15726
|
-
}
|
|
15727
15755
|
interface TicketDefinitionUpdatedEnvelope$1 {
|
|
15728
15756
|
data: TicketDefinitionUpdated;
|
|
15729
15757
|
metadata: BaseEventMetadata$3;
|
|
15730
15758
|
}
|
|
15759
|
+
interface TicketDefinitionDeletedEnvelope$1 {
|
|
15760
|
+
data: TicketDefinitionDeleted;
|
|
15761
|
+
metadata: BaseEventMetadata$3;
|
|
15762
|
+
}
|
|
15731
15763
|
interface QueryTicketDefinitionsOptions$1 {
|
|
15732
15764
|
/** Offset. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
15733
15765
|
offset?: number;
|
|
@@ -16005,8 +16037,8 @@ interface ChangeCurrencySignature$1 {
|
|
|
16005
16037
|
(options?: ChangeCurrencyOptions$1 | undefined): Promise<void>;
|
|
16006
16038
|
}
|
|
16007
16039
|
declare const onTicketDefinitionCreated$3: EventDefinition<TicketDefinitionCreatedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionCreated">;
|
|
16008
|
-
declare const onTicketDefinitionDeleted$3: EventDefinition<TicketDefinitionDeletedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionDeleted">;
|
|
16009
16040
|
declare const onTicketDefinitionUpdated$3: EventDefinition<TicketDefinitionUpdatedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionUpdated">;
|
|
16041
|
+
declare const onTicketDefinitionDeleted$3: EventDefinition<TicketDefinitionDeletedEnvelope$1, "wix.events.ticketing.events.TicketDefinitionDeleted">;
|
|
16010
16042
|
|
|
16011
16043
|
declare function createEventModule$3<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
16012
16044
|
|
|
@@ -16023,14 +16055,14 @@ type _publicOnTicketDefinitionCreatedType$1 = typeof onTicketDefinitionCreated$3
|
|
|
16023
16055
|
/** */
|
|
16024
16056
|
declare const onTicketDefinitionCreated$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionCreatedType>>;
|
|
16025
16057
|
|
|
16026
|
-
type _publicOnTicketDefinitionDeletedType$1 = typeof onTicketDefinitionDeleted$3;
|
|
16027
|
-
/** */
|
|
16028
|
-
declare const onTicketDefinitionDeleted$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionDeletedType>>;
|
|
16029
|
-
|
|
16030
16058
|
type _publicOnTicketDefinitionUpdatedType$1 = typeof onTicketDefinitionUpdated$3;
|
|
16031
16059
|
/** */
|
|
16032
16060
|
declare const onTicketDefinitionUpdated$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionUpdatedType>>;
|
|
16033
16061
|
|
|
16062
|
+
type _publicOnTicketDefinitionDeletedType$1 = typeof onTicketDefinitionDeleted$3;
|
|
16063
|
+
/** */
|
|
16064
|
+
declare const onTicketDefinitionDeleted$2: ReturnType<typeof createEventModule$3<_publicOnTicketDefinitionDeletedType>>;
|
|
16065
|
+
|
|
16034
16066
|
type index_d$4_ById = ById;
|
|
16035
16067
|
type index_d$4_DefinitionsQueryBuilder = DefinitionsQueryBuilder;
|
|
16036
16068
|
type index_d$4_DefinitionsQueryResult = DefinitionsQueryResult;
|
|
@@ -16631,13 +16663,13 @@ interface PolicyCreatedEnvelope {
|
|
|
16631
16663
|
entity: Policy;
|
|
16632
16664
|
metadata: EventMetadata$2;
|
|
16633
16665
|
}
|
|
16634
|
-
interface PolicyDeletedEnvelope {
|
|
16635
|
-
metadata: EventMetadata$2;
|
|
16636
|
-
}
|
|
16637
16666
|
interface PolicyUpdatedEnvelope {
|
|
16638
16667
|
entity: Policy;
|
|
16639
16668
|
metadata: EventMetadata$2;
|
|
16640
16669
|
}
|
|
16670
|
+
interface PolicyDeletedEnvelope {
|
|
16671
|
+
metadata: EventMetadata$2;
|
|
16672
|
+
}
|
|
16641
16673
|
interface UpdatePolicy {
|
|
16642
16674
|
/**
|
|
16643
16675
|
* Policy ID.
|
|
@@ -16846,8 +16878,8 @@ interface GetPolicySignature {
|
|
|
16846
16878
|
(policyId: string): Promise<Policy & PolicyNonNullableFields>;
|
|
16847
16879
|
}
|
|
16848
16880
|
declare const onPolicyCreated$1: EventDefinition<PolicyCreatedEnvelope, "wix.events.v2.policy_created">;
|
|
16849
|
-
declare const onPolicyDeleted$1: EventDefinition<PolicyDeletedEnvelope, "wix.events.v2.policy_deleted">;
|
|
16850
16881
|
declare const onPolicyUpdated$1: EventDefinition<PolicyUpdatedEnvelope, "wix.events.v2.policy_updated">;
|
|
16882
|
+
declare const onPolicyDeleted$1: EventDefinition<PolicyDeletedEnvelope, "wix.events.v2.policy_deleted">;
|
|
16851
16883
|
|
|
16852
16884
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
16853
16885
|
|
|
@@ -16864,18 +16896,18 @@ type _publicOnPolicyCreatedType = typeof onPolicyCreated$1;
|
|
|
16864
16896
|
*/
|
|
16865
16897
|
declare const onPolicyCreated: ReturnType<typeof createEventModule$2<_publicOnPolicyCreatedType>>;
|
|
16866
16898
|
|
|
16867
|
-
type _publicOnPolicyDeletedType = typeof onPolicyDeleted$1;
|
|
16868
|
-
/**
|
|
16869
|
-
* Triggered when a policy is deleted.
|
|
16870
|
-
*/
|
|
16871
|
-
declare const onPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnPolicyDeletedType>>;
|
|
16872
|
-
|
|
16873
16899
|
type _publicOnPolicyUpdatedType = typeof onPolicyUpdated$1;
|
|
16874
16900
|
/**
|
|
16875
16901
|
* Triggered when a policy is updated.
|
|
16876
16902
|
*/
|
|
16877
16903
|
declare const onPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnPolicyUpdatedType>>;
|
|
16878
16904
|
|
|
16905
|
+
type _publicOnPolicyDeletedType = typeof onPolicyDeleted$1;
|
|
16906
|
+
/**
|
|
16907
|
+
* Triggered when a policy is deleted.
|
|
16908
|
+
*/
|
|
16909
|
+
declare const onPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnPolicyDeletedType>>;
|
|
16910
|
+
|
|
16879
16911
|
type index_d$3_CreatePolicyRequest = CreatePolicyRequest;
|
|
16880
16912
|
type index_d$3_CreatePolicyResponse = CreatePolicyResponse;
|
|
16881
16913
|
type index_d$3_CreatePolicyResponseNonNullableFields = CreatePolicyResponseNonNullableFields;
|
|
@@ -23221,6 +23253,128 @@ declare enum Status {
|
|
|
23221
23253
|
/** Event is not public. */
|
|
23222
23254
|
DRAFT = "DRAFT"
|
|
23223
23255
|
}
|
|
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
|
+
}
|
|
23224
23378
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
23225
23379
|
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
23226
23380
|
metaSiteId?: string;
|
|
@@ -23279,17 +23433,181 @@ interface File {
|
|
|
23279
23433
|
/** Invalidate by filename (for media files such as PDFs) */
|
|
23280
23434
|
fileName?: string;
|
|
23281
23435
|
}
|
|
23282
|
-
interface
|
|
23283
|
-
/** Ticket definition
|
|
23284
|
-
|
|
23285
|
-
}
|
|
23286
|
-
interface TicketDefinitionSaleStarted {
|
|
23287
|
-
/** Ticket definition. */
|
|
23288
|
-
ticketDefinition?: TicketDefinition;
|
|
23436
|
+
interface GetTicketDefinitionSummaryRequest {
|
|
23437
|
+
/** Ticket definition id. */
|
|
23438
|
+
ticketDefinitionId?: string | null;
|
|
23289
23439
|
}
|
|
23290
|
-
interface
|
|
23291
|
-
/**
|
|
23292
|
-
|
|
23440
|
+
interface GetTicketDefinitionSummaryResponse {
|
|
23441
|
+
/** Summary. */
|
|
23442
|
+
summary?: TicketDefinitionSummary;
|
|
23443
|
+
}
|
|
23444
|
+
interface TicketDefinitionSummary {
|
|
23445
|
+
/**
|
|
23446
|
+
* Ticket definition ID.
|
|
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;
|
|
23293
23611
|
}
|
|
23294
23612
|
interface CreateTicketDefinitionRequest {
|
|
23295
23613
|
/** Ticket definition info. */
|
|
@@ -23514,18 +23832,6 @@ interface CopiedTicketDefinition {
|
|
|
23514
23832
|
/** Ticket definition ID. */
|
|
23515
23833
|
ticketDefinitionId?: string;
|
|
23516
23834
|
}
|
|
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
|
-
}
|
|
23529
23835
|
interface EventCanceled {
|
|
23530
23836
|
/** Event canceled timestamp in ISO UTC format. */
|
|
23531
23837
|
timestamp?: Date | null;
|
|
@@ -24499,76 +24805,6 @@ interface CategoryDetails {
|
|
|
24499
24805
|
*/
|
|
24500
24806
|
reserved?: number | null;
|
|
24501
24807
|
}
|
|
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
|
-
}
|
|
24572
24808
|
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
24573
24809
|
/** Emitted on a meta site creation. */
|
|
24574
24810
|
siteCreated?: SiteCreated;
|
|
@@ -24866,210 +25102,6 @@ interface ScheduleLegacyTimeCapsuleTaskRequest {
|
|
|
24866
25102
|
/** Definition ID. */
|
|
24867
25103
|
ticketDefinitionId?: string;
|
|
24868
25104
|
}
|
|
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
|
-
}
|
|
25073
25105
|
interface CommonMoneyNonNullableFields {
|
|
25074
25106
|
value: string;
|
|
25075
25107
|
currency: string;
|
|
@@ -25193,11 +25225,11 @@ interface TicketDefinitionCreatedEnvelope {
|
|
|
25193
25225
|
entity: TicketDefinition;
|
|
25194
25226
|
metadata: EventMetadata;
|
|
25195
25227
|
}
|
|
25196
|
-
interface
|
|
25228
|
+
interface TicketDefinitionUpdatedEnvelope {
|
|
25229
|
+
entity: TicketDefinition;
|
|
25197
25230
|
metadata: EventMetadata;
|
|
25198
25231
|
}
|
|
25199
|
-
interface
|
|
25200
|
-
data: TicketDefinitionSaleEnded;
|
|
25232
|
+
interface TicketDefinitionDeletedEnvelope {
|
|
25201
25233
|
metadata: EventMetadata;
|
|
25202
25234
|
}
|
|
25203
25235
|
interface TicketDefinitionSalePeriodUpdatedEnvelope {
|
|
@@ -25208,8 +25240,8 @@ interface TicketDefinitionSaleStartedEnvelope {
|
|
|
25208
25240
|
data: TicketDefinitionSaleStarted;
|
|
25209
25241
|
metadata: EventMetadata;
|
|
25210
25242
|
}
|
|
25211
|
-
interface
|
|
25212
|
-
|
|
25243
|
+
interface TicketDefinitionSaleEndedEnvelope {
|
|
25244
|
+
data: TicketDefinitionSaleEnded;
|
|
25213
25245
|
metadata: EventMetadata;
|
|
25214
25246
|
}
|
|
25215
25247
|
interface CreateTicketDefinitionOptions {
|
|
@@ -25519,11 +25551,11 @@ interface ChangeCurrencySignature {
|
|
|
25519
25551
|
(eventId: string, options: ChangeCurrencyOptions): Promise<void>;
|
|
25520
25552
|
}
|
|
25521
25553
|
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">;
|
|
25522
25555
|
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">;
|
|
25524
25556
|
declare const onTicketDefinitionSalePeriodUpdated$1: EventDefinition<TicketDefinitionSalePeriodUpdatedEnvelope, "wix.events.v3.ticket_definition_sale_period_updated">;
|
|
25525
25557
|
declare const onTicketDefinitionSaleStarted$1: EventDefinition<TicketDefinitionSaleStartedEnvelope, "wix.events.v3.ticket_definition_sale_started">;
|
|
25526
|
-
declare const
|
|
25558
|
+
declare const onTicketDefinitionSaleEnded$1: EventDefinition<TicketDefinitionSaleEndedEnvelope, "wix.events.v3.ticket_definition_sale_ended">;
|
|
25527
25559
|
|
|
25528
25560
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
25529
25561
|
|
|
@@ -25545,17 +25577,17 @@ type _publicOnTicketDefinitionCreatedType = typeof onTicketDefinitionCreated$1;
|
|
|
25545
25577
|
*/
|
|
25546
25578
|
declare const onTicketDefinitionCreated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionCreatedType>>;
|
|
25547
25579
|
|
|
25548
|
-
type
|
|
25580
|
+
type _publicOnTicketDefinitionUpdatedType = typeof onTicketDefinitionUpdated$1;
|
|
25549
25581
|
/**
|
|
25550
|
-
* Triggered when a ticket definition is
|
|
25582
|
+
* Triggered when a ticket definition is updated.
|
|
25551
25583
|
*/
|
|
25552
|
-
declare const
|
|
25584
|
+
declare const onTicketDefinitionUpdated: ReturnType<typeof createEventModule<_publicOnTicketDefinitionUpdatedType>>;
|
|
25553
25585
|
|
|
25554
|
-
type
|
|
25586
|
+
type _publicOnTicketDefinitionDeletedType = typeof onTicketDefinitionDeleted$1;
|
|
25555
25587
|
/**
|
|
25556
|
-
* Triggered when a ticket
|
|
25588
|
+
* Triggered when a ticket definition is deleted.
|
|
25557
25589
|
*/
|
|
25558
|
-
declare const
|
|
25590
|
+
declare const onTicketDefinitionDeleted: ReturnType<typeof createEventModule<_publicOnTicketDefinitionDeletedType>>;
|
|
25559
25591
|
|
|
25560
25592
|
type _publicOnTicketDefinitionSalePeriodUpdatedType = typeof onTicketDefinitionSalePeriodUpdated$1;
|
|
25561
25593
|
/**
|
|
@@ -25569,11 +25601,11 @@ type _publicOnTicketDefinitionSaleStartedType = typeof onTicketDefinitionSaleSta
|
|
|
25569
25601
|
*/
|
|
25570
25602
|
declare const onTicketDefinitionSaleStarted: ReturnType<typeof createEventModule<_publicOnTicketDefinitionSaleStartedType>>;
|
|
25571
25603
|
|
|
25572
|
-
type
|
|
25604
|
+
type _publicOnTicketDefinitionSaleEndedType = typeof onTicketDefinitionSaleEnded$1;
|
|
25573
25605
|
/**
|
|
25574
|
-
* Triggered when a ticket
|
|
25606
|
+
* Triggered when a ticket sale ends. Sales details are not included in the payload.
|
|
25575
25607
|
*/
|
|
25576
|
-
declare const
|
|
25608
|
+
declare const onTicketDefinitionSaleEnded: ReturnType<typeof createEventModule<_publicOnTicketDefinitionSaleEndedType>>;
|
|
25577
25609
|
|
|
25578
25610
|
type index_d_ActionEvent = ActionEvent;
|
|
25579
25611
|
type index_d_Address = Address;
|