@wix/auto_sdk_events_orders 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ interface Order {
22
22
  */
23
23
  eventId?: string;
24
24
  /**
25
- * Contact ID of buyer, resolved using the email address provided. See the Contacts API for additional information.
25
+ * Contact ID of buyer, resolved using the email address specified. See the Contacts API for additional information.
26
26
  * @format GUID
27
27
  */
28
28
  contactId?: string;
@@ -32,7 +32,7 @@ interface Order {
32
32
  */
33
33
  memberId?: string;
34
34
  /**
35
- * Date and time the RSVP was created.
35
+ * Date and time the order was created.
36
36
  * @readonly
37
37
  */
38
38
  created?: Date | null;
@@ -41,7 +41,7 @@ interface Order {
41
41
  /** Guest last name. */
42
42
  lastName?: string;
43
43
  /**
44
- * Guest email.
44
+ * Guest email address.
45
45
  * @format EMAIL
46
46
  */
47
47
  email?: string;
@@ -51,7 +51,7 @@ interface Order {
51
51
  confirmed?: boolean;
52
52
  /** Order status. */
53
53
  status?: OrderStatusWithLiterals;
54
- /** Payment method used for purchase, e.g., "payPal", "creditCard", etc. */
54
+ /** Payment method used for purchase, for example, "payPal", "creditCard", etc. */
55
55
  method?: string;
56
56
  /** Amount of tickets ordered. */
57
57
  ticketsQuantity?: number;
@@ -69,14 +69,14 @@ interface Order {
69
69
  fullName?: string;
70
70
  /** Order invoice. */
71
71
  invoice?: Invoice;
72
- /** Whether all tickets in an order are checked-in. */
72
+ /** Whether all tickets in an order are checked in. */
73
73
  fullyCheckedIn?: boolean;
74
- /** Internal order payment details */
74
+ /** Internal order payment details. */
75
75
  paymentDetails?: PaymentDetails;
76
76
  /** Checkout channel type. */
77
77
  channel?: ChannelTypeWithLiterals;
78
78
  /**
79
- * Date and time the order was updated.
79
+ * Date and time the order was last updated.
80
80
  * @readonly
81
81
  */
82
82
  updated?: Date | null;
@@ -85,31 +85,31 @@ interface Order {
85
85
  }
86
86
  interface FormResponse {
87
87
  /**
88
- * Input values entered when filling the form.
88
+ * Form field inputs.
89
89
  * @maxSize 200
90
90
  */
91
91
  inputValues?: InputValue[];
92
92
  }
93
93
  interface InputValue {
94
94
  /**
95
- * Input field name.
95
+ * Form field input name.
96
96
  * @maxLength 100
97
97
  */
98
98
  inputName?: string;
99
99
  /**
100
- * Text entered into the input field.
100
+ * Form field value.
101
101
  * @maxLength 5000
102
102
  */
103
103
  value?: string;
104
104
  /**
105
- * Multiple input values. For example, the array is filled if several checkboxes are ticked.
105
+ * Form field values.
106
106
  * @maxSize 100
107
107
  * @maxLength 5000
108
108
  */
109
109
  values?: string[];
110
110
  }
111
111
  declare enum OrderStatus {
112
- /** Order status is not available for this request fieldset. */
112
+ /** Order status isn't available for this request fieldset. */
113
113
  NA_ORDER_STATUS = "NA_ORDER_STATUS",
114
114
  /** Order is confirmed, no payment is required. */
115
115
  FREE = "FREE",
@@ -117,9 +117,9 @@ declare enum OrderStatus {
117
117
  PENDING = "PENDING",
118
118
  /** Order is paid. */
119
119
  PAID = "PAID",
120
- /** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
120
+ /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
121
121
  OFFLINE_PENDING = "OFFLINE_PENDING",
122
- /** Order is awaiting for payment at the cashier. */
122
+ /** Order is waiting for payment at the cashier. */
123
123
  INITIATED = "INITIATED",
124
124
  /** Order is canceled. */
125
125
  CANCELED = "CANCELED",
@@ -142,7 +142,7 @@ interface Money {
142
142
  */
143
143
  amount?: string;
144
144
  /**
145
- * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
145
+ * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
146
146
  * @format CURRENCY
147
147
  */
148
148
  currency?: string;
@@ -153,7 +153,7 @@ interface Money {
153
153
  value?: string | null;
154
154
  }
155
155
  interface TicketingTicket {
156
- /** Unique ticket number (issued automatically). */
156
+ /** Unique ticket number which is assigned automatically when creating a ticket. */
157
157
  ticketNumber?: string;
158
158
  /** Associated order number. */
159
159
  orderNumber?: string;
@@ -171,20 +171,15 @@ interface TicketingTicket {
171
171
  * @readonly
172
172
  */
173
173
  free?: boolean;
174
- /** Event and ticket policies. */
174
+ /** Ticket and event policies. */
175
175
  policy?: string;
176
- /**
177
- * *Deprecated:** Use `tickets.checkInUrl` instead.
178
- * @deprecated
179
- */
180
- qrCode?: string;
181
176
  /** Ticket check-in. */
182
177
  checkIn?: CheckIn;
183
178
  /** Associated order status. */
184
179
  orderStatus?: OrderStatusWithLiterals;
185
180
  /**
186
181
  * Whether the order and ticket are archived.
187
- * If set to `true`, they are not visible in the order list.
182
+ * If set to `true`, they aren't visible in the order list.
188
183
  */
189
184
  orderArchived?: boolean;
190
185
  /** Buyer full name. */
@@ -193,13 +188,8 @@ interface TicketingTicket {
193
188
  guestFullName?: string | null;
194
189
  /** Guest personal details. */
195
190
  guestDetails?: GuestDetails;
196
- /** Whether ticket is visible in guest list. */
191
+ /** Whether the ticket is visible in an order. */
197
192
  archived?: boolean;
198
- /**
199
- * *Deprecated:** Use `tickets.ticketPdfUrl` instead.
200
- * @deprecated
201
- */
202
- ticketPdf?: string;
203
193
  /**
204
194
  * Ticket owner member ID.
205
195
  * @format GUID
@@ -223,7 +213,7 @@ interface TicketingTicket {
223
213
  /** Associated order checkout channel type. */
224
214
  channel?: ChannelTypeWithLiterals;
225
215
  /**
226
- * URL to download ticket in `.pkpass` format for Apple Wallet.
216
+ * URL to download a ticket in `.pkpass` format for Apple Wallet.
227
217
  * @format WEB_URL
228
218
  * @readonly
229
219
  */
@@ -235,7 +225,7 @@ interface TicketingTicket {
235
225
  canceled?: boolean | null;
236
226
  }
237
227
  interface CheckIn {
238
- /** Time of check-in. */
228
+ /** Time of a ticket's check-in. */
239
229
  created?: Date | null;
240
230
  }
241
231
  interface GuestDetails {
@@ -264,7 +254,7 @@ interface GuestDetails {
264
254
  phone?: string | null;
265
255
  }
266
256
  declare enum ChannelType {
267
- /** Buyer created the order via an online channel, such as a website or a mobile app. */
257
+ /** Buyer created the order via an online channel, such as a website or mobile app. */
268
258
  ONLINE = "ONLINE",
269
259
  /** Sales person created the order and collected the money. */
270
260
  OFFLINE_POS = "OFFLINE_POS"
@@ -344,8 +334,8 @@ interface Invoice {
344
334
  * Total amount of a cart after discount, tax, and fees.
345
335
  * Grand total is calculated in the following order:
346
336
  * 1. Total prices of all items in the cart are calculated.
347
- * 2. Discount is subtracted from the cart (if applicable).
348
- * 3. Tax is added (if applicable).
337
+ * 2. Discount is subtracted from the cart, if applicable.
338
+ * 3. Tax is added, if applicable.
349
339
  * 4. Wix ticket service fee is added.
350
340
  */
351
341
  grandTotal?: Money;
@@ -354,7 +344,7 @@ interface Invoice {
354
344
  * @readonly
355
345
  */
356
346
  fees?: Fee[];
357
- /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
347
+ /** Total revenue, excluding fees. Taxes and payment provider fees aren't deducted. */
358
348
  revenue?: Money;
359
349
  /** Invoice preview URL. Only returned if the order is paid. */
360
350
  previewUrl?: string | null;
@@ -512,7 +502,7 @@ declare enum FeeType {
512
502
  /** @enumType */
513
503
  type FeeTypeWithLiterals = FeeType | 'FEE_ADDED' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT';
514
504
  interface PaymentDetails {
515
- /** Wix Payments transaction */
505
+ /** Wix Payments transaction. */
516
506
  transaction?: PaymentTransaction;
517
507
  }
518
508
  interface PaymentTransaction {
@@ -523,7 +513,7 @@ interface PaymentTransaction {
523
513
  */
524
514
  transactionId?: string;
525
515
  /**
526
- * Transaction Payment method e.g., "payPal", "creditCard", etc.
516
+ * Transaction payment method, for example, "payPal", "creditCard", etc.
527
517
  * @readonly
528
518
  */
529
519
  method?: string;
@@ -809,9 +799,9 @@ interface VoidAuthorizedPaymentRequest {
809
799
  interface VoidAuthorizedPaymentResponse {
810
800
  }
811
801
  declare enum ReservationStatus {
812
- /** The Reservation is pending confirmation. It will expire after a certain amount of time. */
802
+ /** The reservation is pending confirmation. It will expire after a certain amount of time. */
813
803
  RESERVATION_PENDING = "RESERVATION_PENDING",
814
- /** The reservation is confirmed and will not expire. */
804
+ /** The reservation is confirmed and won't expire. */
815
805
  RESERVATION_CONFIRMED = "RESERVATION_CONFIRMED",
816
806
  /** The reservation is canceled because it's not paid. */
817
807
  RESERVATION_CANCELED = "RESERVATION_CANCELED",
@@ -829,7 +819,7 @@ interface GetCheckoutOptionsResponse {
829
819
  paymentMethodConfigured?: boolean;
830
820
  /** Whether coupons are accepted at checkout. */
831
821
  acceptCoupons?: boolean;
832
- /** Whether premium services are enabled. Enabled for free if site does not sell any paid tickets. Selling tickets for a fee requires a premium feature `"events_sell_tickets"`. */
822
+ /** Whether premium services are enabled. Enabled for free if site doesn't sell any paid tickets. Selling tickets for a fee requires a premium feature `"events_sell_tickets"`. */
833
823
  premiumServices?: boolean;
834
824
  /** Whether there are any paid tickets available for sale. */
835
825
  paidTickets?: boolean;
@@ -838,7 +828,7 @@ interface GetCheckoutOptionsResponse {
838
828
  }
839
829
  interface ListAvailableTicketsRequest {
840
830
  /**
841
- * Event ID to list tickets for. If not provided, available tickets for all events in the site will be returned.
831
+ * Event ID to list tickets for. If not specified, available tickets for all events on a site will be returned.
842
832
  * @format GUID
843
833
  */
844
834
  eventId?: string;
@@ -953,7 +943,7 @@ interface TicketSalePeriod {
953
943
  startDate?: Date | null;
954
944
  /** Ticket sale end timestamp. */
955
945
  endDate?: Date | null;
956
- /** Whether to hide this ticket if it's not on sale */
946
+ /** Whether to hide this ticket if it isn't on sale. */
957
947
  hideNotOnSale?: boolean;
958
948
  }
959
949
  declare enum TicketSaleStatus {
@@ -1085,7 +1075,7 @@ interface TicketReservationQuantity {
1085
1075
  * @format DECIMAL_VALUE
1086
1076
  */
1087
1077
  priceOverride?: string | null;
1088
- /** Optional ticket details */
1078
+ /** Optional ticket details. */
1089
1079
  ticketDetails?: TicketDetails[];
1090
1080
  }
1091
1081
  interface CreateReservationResponse {
@@ -1195,7 +1185,7 @@ interface CheckoutRequest {
1195
1185
  * @format GUID
1196
1186
  */
1197
1187
  reservationId?: string;
1198
- /** Member ID (if empty - no site member is associated to this order). */
1188
+ /** Member ID. If empty, no site member is associated with this order. */
1199
1189
  memberId?: string;
1200
1190
  /** Discount to apply on the invoice. */
1201
1191
  discount?: DiscountRequest;
@@ -1211,7 +1201,7 @@ interface CheckoutRequest {
1211
1201
  paidPlanBenefit?: PaidPlanBenefit;
1212
1202
  /** Options controlling the checkout process. */
1213
1203
  options?: CheckoutOptions;
1214
- /** Whether marketing consent was given */
1204
+ /** Whether marketing consent was given. */
1215
1205
  marketingConsent?: boolean | null;
1216
1206
  }
1217
1207
  interface Buyer {
@@ -1242,7 +1232,7 @@ interface Guest {
1242
1232
  interface CheckoutOptions {
1243
1233
  /** Whether to ignore settings to notify contacts. */
1244
1234
  silent?: boolean;
1245
- /** Whether the payment is to be done in person between the buyer and the merchant. When true, the completed order is created with status OFFLINE_PENDING and inPerson payment method. */
1235
+ /** Whether the payment is to be done in person between the buyer and the merchant. When true, the completed order is created with status `OFFLINE_PENDING` and `inPerson` payment method. */
1246
1236
  payInPerson?: boolean;
1247
1237
  /** Whether to ignore form validation. */
1248
1238
  ignoreFormValidation?: boolean;
@@ -1281,7 +1271,7 @@ interface UpdateCheckoutRequest {
1281
1271
  /**
1282
1272
  * Member ID.
1283
1273
  *
1284
- * If empty, no site member is associated to this order.
1274
+ * If empty, no site member is associated with this order.
1285
1275
  */
1286
1276
  memberId?: string | null;
1287
1277
  /** Discount to apply on the invoice. */
@@ -1308,7 +1298,7 @@ interface PosCheckoutRequest {
1308
1298
  reservationId: string;
1309
1299
  /**
1310
1300
  * Payment details ID.
1311
- * Not required if reservation total is 0. In this case the order will be created with status Free and no payment.
1301
+ * Not required if reservation total is 0. In this case the order will be created with status `FREE` and no payment.
1312
1302
  * @format GUID
1313
1303
  */
1314
1304
  paymentDetailsId?: string | null;
@@ -1316,7 +1306,7 @@ interface PosCheckoutRequest {
1316
1306
  interface PosCheckoutResponse {
1317
1307
  /** Created order. */
1318
1308
  order?: Order;
1319
- /** Time when the order expires, applies to orders with status = INITIATED. */
1309
+ /** Time when the order expires, applies to orders with status is `INITIATED`. */
1320
1310
  expires?: Date | null;
1321
1311
  /** Ticket reservations. */
1322
1312
  reservations?: TicketReservation[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_events_orders",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -49,5 +49,5 @@
49
49
  "fqdn": "wix.events.v1.order"
50
50
  }
51
51
  },
52
- "falconPackageHash": "9f43d411af56e167a5df12706f2aaab51cb62d4afdb3fb4ba96eb443"
52
+ "falconPackageHash": "ac79a35c8fb9276a0f1e0d80960f880093ee18f3fc97381e1ce357fa"
53
53
  }