@wix/auto_sdk_events_notifications 1.0.76 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +29 -217
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +29 -217
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +29 -217
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +29 -217
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +36 -218
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +29 -217
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +36 -218
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +29 -217
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -441,7 +441,13 @@ declare enum EventStatus {
|
|
|
441
441
|
/** Event has ended */
|
|
442
442
|
ENDED = "ENDED",
|
|
443
443
|
/** Event was canceled */
|
|
444
|
-
CANCELED = "CANCELED"
|
|
444
|
+
CANCELED = "CANCELED",
|
|
445
|
+
/**
|
|
446
|
+
* Event is not public and needs to be published
|
|
447
|
+
* @documentationMaturity preview
|
|
448
|
+
* @internal
|
|
449
|
+
*/
|
|
450
|
+
DRAFT = "DRAFT"
|
|
445
451
|
}
|
|
446
452
|
/** @enumType */
|
|
447
453
|
type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
|
|
@@ -698,9 +704,9 @@ interface TicketGuest {
|
|
|
698
704
|
}
|
|
699
705
|
interface TriggerNotificationResponse {
|
|
700
706
|
}
|
|
701
|
-
/** Triggered when an order is
|
|
702
|
-
interface
|
|
703
|
-
/** Date and time the order was
|
|
707
|
+
/** Triggered when an order is paid. */
|
|
708
|
+
interface OrderPaid {
|
|
709
|
+
/** Date and time the order was paid. */
|
|
704
710
|
timestamp?: Date | null;
|
|
705
711
|
/**
|
|
706
712
|
* Site language when the order was initiated.
|
|
@@ -721,10 +727,15 @@ interface OrderConfirmed {
|
|
|
721
727
|
eventId?: string;
|
|
722
728
|
/** Unique order number. */
|
|
723
729
|
orderNumber?: string;
|
|
724
|
-
/**
|
|
730
|
+
/** Reservation ID associated with this order. */
|
|
731
|
+
reservationId?: string;
|
|
732
|
+
/**
|
|
733
|
+
* Contact ID associated with this order.
|
|
734
|
+
* @maxLength 36
|
|
735
|
+
*/
|
|
725
736
|
contactId?: string;
|
|
726
737
|
/**
|
|
727
|
-
* Member ID associated with
|
|
738
|
+
* Member ID associated with this order.
|
|
728
739
|
* @format GUID
|
|
729
740
|
*/
|
|
730
741
|
memberId?: string | null;
|
|
@@ -734,28 +745,36 @@ interface OrderConfirmed {
|
|
|
734
745
|
*/
|
|
735
746
|
created?: Date | null;
|
|
736
747
|
/**
|
|
737
|
-
*
|
|
738
|
-
* @
|
|
748
|
+
* Buyer first name.
|
|
749
|
+
* @maxLength 255
|
|
739
750
|
*/
|
|
740
|
-
updated?: Date | null;
|
|
741
|
-
/** Buyer first name. */
|
|
742
751
|
firstName?: string;
|
|
743
|
-
/**
|
|
752
|
+
/**
|
|
753
|
+
* Buyer last name.
|
|
754
|
+
* @maxLength 255
|
|
755
|
+
*/
|
|
744
756
|
lastName?: string;
|
|
745
|
-
/**
|
|
757
|
+
/**
|
|
758
|
+
* Buyer email address.
|
|
759
|
+
* @maxLength 255
|
|
760
|
+
*/
|
|
746
761
|
email?: string;
|
|
747
762
|
/** Checkout form response. */
|
|
748
763
|
checkoutForm?: FormResponse;
|
|
749
764
|
/** Order status. */
|
|
750
765
|
status?: OrderStatusWithLiterals;
|
|
751
|
-
/**
|
|
766
|
+
/**
|
|
767
|
+
* Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
|
|
768
|
+
* @maxLength 255
|
|
769
|
+
*/
|
|
752
770
|
method?: string | null;
|
|
753
|
-
/**
|
|
771
|
+
/**
|
|
772
|
+
* Tickets (generated after payment).
|
|
773
|
+
* @maxSize 50
|
|
774
|
+
*/
|
|
754
775
|
tickets?: Ticket[];
|
|
755
776
|
/** Invoice. */
|
|
756
777
|
invoice?: Invoice;
|
|
757
|
-
/** Reservation ID associated with the order. */
|
|
758
|
-
reservationId?: string;
|
|
759
778
|
}
|
|
760
779
|
interface FormResponse {
|
|
761
780
|
/**
|
|
@@ -1137,165 +1156,6 @@ declare enum FeeType {
|
|
|
1137
1156
|
}
|
|
1138
1157
|
/** @enumType */
|
|
1139
1158
|
type FeeTypeWithLiterals = FeeType | 'FEE_ADDED' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT';
|
|
1140
|
-
/** Produced if a buyer email was added to the existing order */
|
|
1141
|
-
interface OrderEmailAdded {
|
|
1142
|
-
/** Order updated timestamp in ISO UTC format. */
|
|
1143
|
-
timestamp?: Date | null;
|
|
1144
|
-
/**
|
|
1145
|
-
* Site language when Order initiated
|
|
1146
|
-
* @format LANGUAGE
|
|
1147
|
-
*/
|
|
1148
|
-
language?: string | null;
|
|
1149
|
-
/**
|
|
1150
|
-
* Locale in which Order was created.
|
|
1151
|
-
* @format LANGUAGE_TAG
|
|
1152
|
-
*/
|
|
1153
|
-
locale?: string | null;
|
|
1154
|
-
/** Notifications silenced for this domain event. */
|
|
1155
|
-
silent?: boolean | null;
|
|
1156
|
-
/**
|
|
1157
|
-
* Event ID.
|
|
1158
|
-
* @format GUID
|
|
1159
|
-
*/
|
|
1160
|
-
eventId?: string;
|
|
1161
|
-
/**
|
|
1162
|
-
* Unique order number.
|
|
1163
|
-
* @maxLength 36
|
|
1164
|
-
*/
|
|
1165
|
-
orderNumber?: string;
|
|
1166
|
-
/**
|
|
1167
|
-
* Contact ID associated with this order.
|
|
1168
|
-
* @format GUID
|
|
1169
|
-
*/
|
|
1170
|
-
contactId?: string | null;
|
|
1171
|
-
/**
|
|
1172
|
-
* Member ID associated with this order.
|
|
1173
|
-
* @format GUID
|
|
1174
|
-
*/
|
|
1175
|
-
memberId?: string | null;
|
|
1176
|
-
/**
|
|
1177
|
-
* Order created timestamp.
|
|
1178
|
-
* @readonly
|
|
1179
|
-
*/
|
|
1180
|
-
created?: Date | null;
|
|
1181
|
-
/**
|
|
1182
|
-
* Order updated timestamp.
|
|
1183
|
-
* @readonly
|
|
1184
|
-
*/
|
|
1185
|
-
updated?: Date | null;
|
|
1186
|
-
/**
|
|
1187
|
-
* Buyer first name.
|
|
1188
|
-
* @maxLength 255
|
|
1189
|
-
*/
|
|
1190
|
-
firstName?: string | null;
|
|
1191
|
-
/**
|
|
1192
|
-
* Buyer last name.
|
|
1193
|
-
* @maxLength 255
|
|
1194
|
-
*/
|
|
1195
|
-
lastName?: string | null;
|
|
1196
|
-
/**
|
|
1197
|
-
* Buyer email.
|
|
1198
|
-
* @format EMAIL
|
|
1199
|
-
*/
|
|
1200
|
-
email?: string | null;
|
|
1201
|
-
/** Checkout form response. */
|
|
1202
|
-
checkoutForm?: FormResponse;
|
|
1203
|
-
/** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
|
|
1204
|
-
confirmed?: boolean;
|
|
1205
|
-
/** Order status. */
|
|
1206
|
-
status?: OrderStatusWithLiterals;
|
|
1207
|
-
/**
|
|
1208
|
-
* Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
|
|
1209
|
-
* @maxLength 100
|
|
1210
|
-
*/
|
|
1211
|
-
method?: string | null;
|
|
1212
|
-
/**
|
|
1213
|
-
* Tickets generated after payment.
|
|
1214
|
-
* @maxSize 50
|
|
1215
|
-
*/
|
|
1216
|
-
tickets?: Ticket[];
|
|
1217
|
-
/** Whether order was archived and excluded from results. */
|
|
1218
|
-
archived?: boolean;
|
|
1219
|
-
/**
|
|
1220
|
-
* Reservation ID associated with this order.
|
|
1221
|
-
* @format GUID
|
|
1222
|
-
*/
|
|
1223
|
-
reservationId?: string;
|
|
1224
|
-
/** Whether marketing consent was given. */
|
|
1225
|
-
marketingConsent?: boolean | null;
|
|
1226
|
-
}
|
|
1227
|
-
/** Triggered when an order is paid. */
|
|
1228
|
-
interface OrderPaid {
|
|
1229
|
-
/** Date and time the order was paid. */
|
|
1230
|
-
timestamp?: Date | null;
|
|
1231
|
-
/**
|
|
1232
|
-
* Site language when the order was initiated.
|
|
1233
|
-
* @format LANGUAGE
|
|
1234
|
-
*/
|
|
1235
|
-
language?: string | null;
|
|
1236
|
-
/** Notifications silenced for this domain event. */
|
|
1237
|
-
silent?: boolean | null;
|
|
1238
|
-
/**
|
|
1239
|
-
* Locale in which the order was created.
|
|
1240
|
-
* @format LANGUAGE_TAG
|
|
1241
|
-
*/
|
|
1242
|
-
locale?: string | null;
|
|
1243
|
-
/**
|
|
1244
|
-
* Event ID to which the order belongs.
|
|
1245
|
-
* @format GUID
|
|
1246
|
-
*/
|
|
1247
|
-
eventId?: string;
|
|
1248
|
-
/** Unique order number. */
|
|
1249
|
-
orderNumber?: string;
|
|
1250
|
-
/** Reservation ID associated with this order. */
|
|
1251
|
-
reservationId?: string;
|
|
1252
|
-
/**
|
|
1253
|
-
* Contact ID associated with this order.
|
|
1254
|
-
* @maxLength 36
|
|
1255
|
-
*/
|
|
1256
|
-
contactId?: string;
|
|
1257
|
-
/**
|
|
1258
|
-
* Member ID associated with this order.
|
|
1259
|
-
* @format GUID
|
|
1260
|
-
*/
|
|
1261
|
-
memberId?: string | null;
|
|
1262
|
-
/**
|
|
1263
|
-
* Date and time the order was created.
|
|
1264
|
-
* @readonly
|
|
1265
|
-
*/
|
|
1266
|
-
created?: Date | null;
|
|
1267
|
-
/**
|
|
1268
|
-
* Buyer first name.
|
|
1269
|
-
* @maxLength 255
|
|
1270
|
-
*/
|
|
1271
|
-
firstName?: string;
|
|
1272
|
-
/**
|
|
1273
|
-
* Buyer last name.
|
|
1274
|
-
* @maxLength 255
|
|
1275
|
-
*/
|
|
1276
|
-
lastName?: string;
|
|
1277
|
-
/**
|
|
1278
|
-
* Buyer email address.
|
|
1279
|
-
* @maxLength 255
|
|
1280
|
-
*/
|
|
1281
|
-
email?: string;
|
|
1282
|
-
/** Checkout form response. */
|
|
1283
|
-
checkoutForm?: FormResponse;
|
|
1284
|
-
/** Order status. */
|
|
1285
|
-
status?: OrderStatusWithLiterals;
|
|
1286
|
-
/**
|
|
1287
|
-
* Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
|
|
1288
|
-
* @maxLength 255
|
|
1289
|
-
*/
|
|
1290
|
-
method?: string | null;
|
|
1291
|
-
/**
|
|
1292
|
-
* Tickets (generated after payment).
|
|
1293
|
-
* @maxSize 50
|
|
1294
|
-
*/
|
|
1295
|
-
tickets?: Ticket[];
|
|
1296
|
-
/** Invoice. */
|
|
1297
|
-
invoice?: Invoice;
|
|
1298
|
-
}
|
|
1299
1159
|
interface TicketPdfResolved {
|
|
1300
1160
|
/**
|
|
1301
1161
|
* Optional order number
|
|
@@ -1337,48 +1197,6 @@ interface TicketPdfResolveDelayed {
|
|
|
1337
1197
|
*/
|
|
1338
1198
|
documentId?: string | null;
|
|
1339
1199
|
}
|
|
1340
|
-
/** Triggered when an order is canceled. */
|
|
1341
|
-
interface OrderCanceled {
|
|
1342
|
-
/**
|
|
1343
|
-
* Event ID to which the order belongs.
|
|
1344
|
-
* @format GUID
|
|
1345
|
-
*/
|
|
1346
|
-
eventId?: string;
|
|
1347
|
-
/**
|
|
1348
|
-
* Unique order number.
|
|
1349
|
-
* @maxLength 36
|
|
1350
|
-
*/
|
|
1351
|
-
orderNumber?: string;
|
|
1352
|
-
/**
|
|
1353
|
-
* Reservation ID associated with the order.
|
|
1354
|
-
* @format GUID
|
|
1355
|
-
*/
|
|
1356
|
-
reservationId?: string;
|
|
1357
|
-
/**
|
|
1358
|
-
* Contact ID associated with the order.
|
|
1359
|
-
* @maxLength 36
|
|
1360
|
-
*/
|
|
1361
|
-
contactId?: string;
|
|
1362
|
-
/**
|
|
1363
|
-
* Buyer first name.
|
|
1364
|
-
* @maxLength 50
|
|
1365
|
-
*/
|
|
1366
|
-
firstName?: string | null;
|
|
1367
|
-
/**
|
|
1368
|
-
* Buyer last name.
|
|
1369
|
-
* @maxLength 50
|
|
1370
|
-
*/
|
|
1371
|
-
lastName?: string | null;
|
|
1372
|
-
/**
|
|
1373
|
-
* Buyer email address.
|
|
1374
|
-
* @maxLength 255
|
|
1375
|
-
*/
|
|
1376
|
-
email?: string | null;
|
|
1377
|
-
/** Checkout form response. */
|
|
1378
|
-
checkoutForm?: FormResponse;
|
|
1379
|
-
/** Invoice. */
|
|
1380
|
-
invoice?: Invoice;
|
|
1381
|
-
}
|
|
1382
1200
|
interface BaseEventMetadata {
|
|
1383
1201
|
/**
|
|
1384
1202
|
* App instance ID.
|
|
@@ -1591,4 +1409,4 @@ interface TriggerNotificationOptionsGuestsOneOf {
|
|
|
1591
1409
|
ticketGuest?: TicketGuest;
|
|
1592
1410
|
}
|
|
1593
1411
|
|
|
1594
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, type BaseEventMetadata, type CheckIn, type CommonAddress, type CommonAddressLocation, type CommonAddressStreetOneOf, type CommonStreetAddress, type CommonSubdivision, type CouponDiscount, type Discount, type DiscountItem, type DiscountItemDiscountOneOf, type DomainEvent, type DomainEventBodyOneOf, type EmailNotificationConfig, EmailNotificationReminderTime, type EmailNotificationReminderTimeWithLiterals, EmailNotificationType, type EmailNotificationTypeWithLiterals, type EmailTemplate, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventCanceled, type EventCopied, type EventDeleted, type EventGuests, type EventMetadata, EventStatus, type EventStatusWithLiterals, type Fee, FeeName, type FeeNameWithLiterals, FeeType, type FeeTypeWithLiterals, type FormResponse, type FormattedAddress, type IdentificationData, type IdentificationDataIdOneOf, type InputValue, type Invoice, type Item, type Link, type Location, LocationType, type LocationTypeWithLiterals, type MapCoordinates, type MessageEnvelope, type Money, type NotificationConfig, type NotificationConfigCreatedEnvelope, type NotificationConfigUpdatedEnvelope, type Occurrence, type OnlineConferencingLogin, type
|
|
1412
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, type BaseEventMetadata, type CheckIn, type CommonAddress, type CommonAddressLocation, type CommonAddressStreetOneOf, type CommonStreetAddress, type CommonSubdivision, type CouponDiscount, type Discount, type DiscountItem, type DiscountItemDiscountOneOf, type DomainEvent, type DomainEventBodyOneOf, type EmailNotificationConfig, EmailNotificationReminderTime, type EmailNotificationReminderTimeWithLiterals, EmailNotificationType, type EmailNotificationTypeWithLiterals, type EmailTemplate, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventCanceled, type EventCopied, type EventDeleted, type EventGuests, type EventMetadata, EventStatus, type EventStatusWithLiterals, type Fee, FeeName, type FeeNameWithLiterals, FeeType, type FeeTypeWithLiterals, type FormResponse, type FormattedAddress, type IdentificationData, type IdentificationDataIdOneOf, type InputValue, type Invoice, type Item, type Link, type Location, LocationType, type LocationTypeWithLiterals, type MapCoordinates, type MessageEnvelope, type Money, type NotificationConfig, type NotificationConfigCreatedEnvelope, type NotificationConfigUpdatedEnvelope, type Occurrence, type OnlineConferencingLogin, type OrderGuest, type OrderPaid, OrderStatus, type OrderStatusWithLiterals, type PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf, type PercentDiscount, PushNotificationType, type PushNotificationTypeWithLiterals, type Recurrences, type ResolveEmailNotificationConfigRequest, type ResolveEmailNotificationConfigResponse, type ResolveNotificationConfigRequest, type ResolveNotificationConfigResponse, type RestoreInfo, type RsvpGuest, type ScheduleConfig, type StandardDetails, Status, type StatusWithLiterals, type StreetAddress, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type Tax, TaxType, type TaxTypeWithLiterals, type Ticket, type TicketGuest, type TicketPdfResolveDelayed, type TicketPdfResolved, type TriggerNotificationOptions, type TriggerNotificationOptionsGuestsOneOf, type TriggerNotificationOptionsNotificationOneOf, type TriggerNotificationRequest, type TriggerNotificationRequestGuestsOneOf, type TriggerNotificationRequestNotificationOneOf, type TriggerNotificationResponse, type UpsertNotificationConfig, type UpsertNotificationConfigRequest, type UpsertNotificationConfigResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, onNotificationConfigCreated, onNotificationConfigUpdated, resolveNotificationConfig, triggerNotification, upsertNotificationConfig };
|
|
@@ -259,6 +259,7 @@ var EventStatus = /* @__PURE__ */ ((EventStatus2) => {
|
|
|
259
259
|
EventStatus2["STARTED"] = "STARTED";
|
|
260
260
|
EventStatus2["ENDED"] = "ENDED";
|
|
261
261
|
EventStatus2["CANCELED"] = "CANCELED";
|
|
262
|
+
EventStatus2["DRAFT"] = "DRAFT";
|
|
262
263
|
return EventStatus2;
|
|
263
264
|
})(EventStatus || {});
|
|
264
265
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|