@wix/events 1.0.34 → 1.0.36
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/src/events-guests-v1-guest.public.d.ts +2 -2
- package/build/cjs/src/events-guests-v1-guest.public.js +4 -1
- package/build/cjs/src/events-guests-v1-guest.public.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.types.d.ts +202 -11
- package/build/cjs/src/events-guests-v1-guest.types.js +24 -1
- package/build/cjs/src/events-guests-v1-guest.types.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.universal.d.ts +202 -11
- package/build/cjs/src/events-guests-v1-guest.universal.js +24 -1
- package/build/cjs/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/cjs/src/events-v2-policy.universal.d.ts +1 -0
- package/build/cjs/src/events-v2-policy.universal.js +1 -0
- package/build/cjs/src/events-v2-policy.universal.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.public.d.ts +2 -2
- package/build/es/src/events-guests-v1-guest.public.js +1 -1
- package/build/es/src/events-guests-v1-guest.public.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.types.d.ts +202 -11
- package/build/es/src/events-guests-v1-guest.types.js +23 -0
- package/build/es/src/events-guests-v1-guest.types.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.universal.d.ts +202 -11
- package/build/es/src/events-guests-v1-guest.universal.js +23 -0
- package/build/es/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/es/src/events-v2-policy.universal.d.ts +1 -0
- package/build/es/src/events-v2-policy.universal.js +1 -0
- package/build/es/src/events-v2-policy.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
2
|
export declare function queryEventGuests(httpClient: HttpClient): () => import("./events-guests-v1-guest.universal").GuestsQueryBuilder;
|
|
3
|
-
export { SubdivisionType, AttendanceStatus, GuestType, SortOrder, RsvpStatus, OrderStatus, OrderType, } from './events-guests-v1-guest.universal';
|
|
4
|
-
export { EventGuest, GuestDetails, FormResponse, InputValue, FormattedAddress, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, OnlineConferencingLogin, QueryEventGuestsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryEventGuestsResponse, PagingMetadataV2, Cursors, StreamEventGuestsRequest, TaskContext, Empty, NotifyGuestAction, SecondaryLanguagesRequest, SecondaryLanguagesResponse, RsvpCreated, Guest, CheckIn, RsvpUpdated, RsvpDeleted,
|
|
3
|
+
export { SubdivisionType, AttendanceStatus, GuestType, SortOrder, RsvpStatus, OrderStatus, TaxType, FeeName, FeeType, OrderType, } from './events-guests-v1-guest.universal';
|
|
4
|
+
export { EventGuest, GuestDetails, FormResponse, InputValue, FormattedAddress, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, OnlineConferencingLogin, QueryEventGuestsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryEventGuestsResponse, PagingMetadataV2, Cursors, StreamEventGuestsRequest, TaskContext, Empty, NotifyGuestAction, SecondaryLanguagesRequest, SecondaryLanguagesResponse, RsvpCreated, Guest, CheckIn, RsvpUpdated, RsvpDeleted, OrderConfirmed, Ticket, Money, Invoice, Item, Discount, DiscountItem, DiscountItemDiscountOneOf, CouponDiscount, PaidPlanDiscount, PaidPlanDiscountDiscountOneOf, PercentDiscount, Tax, Fee, OrderUpdated, OrderDeleted, EventDeleted, Task, TaskKey, GuestsQueryResult, GuestsQueryBuilder, } from './events-guests-v1-guest.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestType = exports.AttendanceStatus = exports.SubdivisionType = exports.queryEventGuests = void 0;
|
|
3
|
+
exports.OrderType = exports.FeeType = exports.FeeName = exports.TaxType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestType = exports.AttendanceStatus = exports.SubdivisionType = exports.queryEventGuests = void 0;
|
|
4
4
|
const events_guests_v1_guest_universal_1 = require("./events-guests-v1-guest.universal");
|
|
5
5
|
function queryEventGuests(httpClient) {
|
|
6
6
|
return () => (0, events_guests_v1_guest_universal_1.queryEventGuests)(
|
|
@@ -15,5 +15,8 @@ Object.defineProperty(exports, "GuestType", { enumerable: true, get: function ()
|
|
|
15
15
|
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.SortOrder; } });
|
|
16
16
|
Object.defineProperty(exports, "RsvpStatus", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.RsvpStatus; } });
|
|
17
17
|
Object.defineProperty(exports, "OrderStatus", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.OrderStatus; } });
|
|
18
|
+
Object.defineProperty(exports, "TaxType", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.TaxType; } });
|
|
19
|
+
Object.defineProperty(exports, "FeeName", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.FeeName; } });
|
|
20
|
+
Object.defineProperty(exports, "FeeType", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.FeeType; } });
|
|
18
21
|
Object.defineProperty(exports, "OrderType", { enumerable: true, get: function () { return events_guests_v1_guest_universal_2.OrderType; } });
|
|
19
22
|
//# sourceMappingURL=events-guests-v1-guest.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-guests-v1-guest.public.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.public.ts"],"names":[],"mappings":";;;AACA,yFAAmG;AAEnG,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,GAAG,EAAE,CACV,IAAA,mDAAyB;IACvB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,4CAMC;AAED,
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest.public.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.public.ts"],"names":[],"mappings":";;;AACA,yFAAmG;AAEnG,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,GAAG,EAAE,CACV,IAAA,mDAAyB;IACvB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,4CAMC;AAED,uFAW4C;AAV1C,mIAAA,eAAe,OAAA;AACf,oIAAA,gBAAgB,OAAA;AAChB,6HAAA,SAAS,OAAA;AACT,6HAAA,SAAS,OAAA;AACT,8HAAA,UAAU,OAAA;AACV,+HAAA,WAAW,OAAA;AACX,2HAAA,OAAO,OAAA;AACP,2HAAA,OAAO,OAAA;AACP,2HAAA,OAAO,OAAA;AACP,6HAAA,SAAS,OAAA"}
|
|
@@ -341,11 +341,13 @@ export interface RsvpDeleted {
|
|
|
341
341
|
/** Whether RSVP was anonymized by GDPR delete. */
|
|
342
342
|
anonymized?: boolean;
|
|
343
343
|
}
|
|
344
|
-
export interface
|
|
345
|
-
/** Order
|
|
344
|
+
export interface OrderConfirmed {
|
|
345
|
+
/** Order confirmation timestamp in ISO UTC. */
|
|
346
346
|
timestamp?: Date;
|
|
347
347
|
/** Site language when Order initiated */
|
|
348
348
|
language?: string | null;
|
|
349
|
+
/** Notifications silenced for this domain event. */
|
|
350
|
+
silent?: boolean | null;
|
|
349
351
|
/** Event ID. */
|
|
350
352
|
eventId?: string;
|
|
351
353
|
/** Unique order number. */
|
|
@@ -355,7 +357,7 @@ export interface OrderUpdated {
|
|
|
355
357
|
/** Member ID associated with this order. */
|
|
356
358
|
memberId?: string | null;
|
|
357
359
|
/**
|
|
358
|
-
* Order created timestamp
|
|
360
|
+
* Order created timestamp
|
|
359
361
|
* @readonly
|
|
360
362
|
*/
|
|
361
363
|
created?: Date;
|
|
@@ -363,22 +365,20 @@ export interface OrderUpdated {
|
|
|
363
365
|
firstName?: string;
|
|
364
366
|
/** Buyer last name. */
|
|
365
367
|
lastName?: string;
|
|
366
|
-
/** Buyer email. */
|
|
368
|
+
/** Buyer email address. */
|
|
367
369
|
email?: string;
|
|
368
370
|
/** Checkout form response. */
|
|
369
371
|
checkoutForm?: FormResponse;
|
|
370
|
-
/** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
|
|
371
|
-
confirmed?: boolean;
|
|
372
372
|
/** Order status. */
|
|
373
373
|
status?: OrderStatus;
|
|
374
374
|
/** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
|
|
375
375
|
method?: string | null;
|
|
376
|
-
/** Tickets generated after payment. */
|
|
376
|
+
/** Tickets (generated after payment). */
|
|
377
377
|
tickets?: Ticket[];
|
|
378
|
-
/**
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
|
|
378
|
+
/** Invoice. */
|
|
379
|
+
invoice?: Invoice;
|
|
380
|
+
/** Reservation ID associated with this order. */
|
|
381
|
+
reservationId?: string;
|
|
382
382
|
}
|
|
383
383
|
export declare enum OrderStatus {
|
|
384
384
|
/** Order status not available for this request fieldset */
|
|
@@ -436,6 +436,197 @@ export interface Money {
|
|
|
436
436
|
/** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative. */
|
|
437
437
|
value?: string | null;
|
|
438
438
|
}
|
|
439
|
+
export interface Invoice {
|
|
440
|
+
items?: Item[];
|
|
441
|
+
/** Total cart amount. */
|
|
442
|
+
total?: Money;
|
|
443
|
+
/** Discount applied to cart. */
|
|
444
|
+
discount?: Discount;
|
|
445
|
+
/** Tax applied to cart. */
|
|
446
|
+
tax?: Tax;
|
|
447
|
+
/** Total cart amount before discount, tax, and fees. */
|
|
448
|
+
subTotal?: Money;
|
|
449
|
+
/**
|
|
450
|
+
* Total amount of cart after discount, tax, and fees.
|
|
451
|
+
* Grand total is calculated in the following order:
|
|
452
|
+
* 1. Total prices of all items in the cart are calculated.
|
|
453
|
+
* 2. Discount is subtracted from the cart (if applicable).
|
|
454
|
+
* 3. Tax is added (if applicable).
|
|
455
|
+
* 4. Wix service fee is added.
|
|
456
|
+
*/
|
|
457
|
+
grandTotal?: Money;
|
|
458
|
+
/**
|
|
459
|
+
* Fees applied to the cart.
|
|
460
|
+
* @readonly
|
|
461
|
+
*/
|
|
462
|
+
fees?: Fee[];
|
|
463
|
+
/** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
|
|
464
|
+
revenue?: Money;
|
|
465
|
+
/** URL to invoice preview. Returned only if order is paid. */
|
|
466
|
+
previewUrl?: string | null;
|
|
467
|
+
}
|
|
468
|
+
export interface Item {
|
|
469
|
+
/** Unique line item ID. */
|
|
470
|
+
id?: string;
|
|
471
|
+
/** Line item quantity. */
|
|
472
|
+
quantity?: number;
|
|
473
|
+
/** Line item mame. */
|
|
474
|
+
name?: string;
|
|
475
|
+
/** Line item price. */
|
|
476
|
+
price?: Money;
|
|
477
|
+
/** Total price for line items. Always equal to price * quantity. */
|
|
478
|
+
total?: Money;
|
|
479
|
+
/** Discount applied to the line item. */
|
|
480
|
+
discount?: Discount;
|
|
481
|
+
/** Tax applied to the item. */
|
|
482
|
+
tax?: Tax;
|
|
483
|
+
/**
|
|
484
|
+
* Fees applied to the item.
|
|
485
|
+
* @readonly
|
|
486
|
+
*/
|
|
487
|
+
fees?: Fee[];
|
|
488
|
+
}
|
|
489
|
+
export interface Discount {
|
|
490
|
+
/** Total discount amount. */
|
|
491
|
+
amount?: Money;
|
|
492
|
+
/** Total charge after applied discount. */
|
|
493
|
+
afterDiscount?: Money;
|
|
494
|
+
/** Discount coupon code. */
|
|
495
|
+
code?: string;
|
|
496
|
+
/** Discount coupon name. */
|
|
497
|
+
name?: string;
|
|
498
|
+
/** Discount coupon ID. */
|
|
499
|
+
couponId?: string;
|
|
500
|
+
/** Discount items. */
|
|
501
|
+
discounts?: DiscountItem[];
|
|
502
|
+
}
|
|
503
|
+
export interface DiscountItem extends DiscountItemDiscountOneOf {
|
|
504
|
+
/** Total discount amount. */
|
|
505
|
+
amount?: Money;
|
|
506
|
+
/** Coupon discount. */
|
|
507
|
+
coupon?: CouponDiscount;
|
|
508
|
+
/** Pricing plan discount. */
|
|
509
|
+
paidPlan?: PaidPlanDiscount;
|
|
510
|
+
}
|
|
511
|
+
/** @oneof */
|
|
512
|
+
export interface DiscountItemDiscountOneOf {
|
|
513
|
+
/** Coupon discount. */
|
|
514
|
+
coupon?: CouponDiscount;
|
|
515
|
+
/** Pricing plan discount. */
|
|
516
|
+
paidPlan?: PaidPlanDiscount;
|
|
517
|
+
}
|
|
518
|
+
export interface CouponDiscount {
|
|
519
|
+
/** Discount coupon name. */
|
|
520
|
+
name?: string;
|
|
521
|
+
/** Discount coupon code. */
|
|
522
|
+
code?: string;
|
|
523
|
+
/** Discount coupon ID. */
|
|
524
|
+
couponId?: string;
|
|
525
|
+
}
|
|
526
|
+
export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
|
|
527
|
+
/** Name of pricing plan. */
|
|
528
|
+
name?: string;
|
|
529
|
+
/** Discount by percentage applied to tickets. */
|
|
530
|
+
percentDiscount?: PercentDiscount;
|
|
531
|
+
}
|
|
532
|
+
/** @oneof */
|
|
533
|
+
export interface PaidPlanDiscountDiscountOneOf {
|
|
534
|
+
/** Discount by percentage applied to tickets. */
|
|
535
|
+
percentDiscount?: PercentDiscount;
|
|
536
|
+
}
|
|
537
|
+
export interface PercentDiscount {
|
|
538
|
+
/** Percent rate. */
|
|
539
|
+
rate?: string;
|
|
540
|
+
/** Number of discounted tickets. */
|
|
541
|
+
quantityDiscounted?: number;
|
|
542
|
+
}
|
|
543
|
+
export interface Tax {
|
|
544
|
+
/** Tax type. */
|
|
545
|
+
type?: TaxType;
|
|
546
|
+
/**
|
|
547
|
+
* Tax name.
|
|
548
|
+
* @readonly
|
|
549
|
+
*/
|
|
550
|
+
name?: string;
|
|
551
|
+
/** Tax rate. */
|
|
552
|
+
rate?: string;
|
|
553
|
+
/** Taxable amount. */
|
|
554
|
+
taxable?: Money;
|
|
555
|
+
/** Total tax amount. */
|
|
556
|
+
amount?: Money;
|
|
557
|
+
}
|
|
558
|
+
export declare enum TaxType {
|
|
559
|
+
/** Tax is included in the ticket price */
|
|
560
|
+
INCLUDED = "INCLUDED",
|
|
561
|
+
/** Tax is added to the order at the checkout */
|
|
562
|
+
ADDED = "ADDED",
|
|
563
|
+
/** Tax is added to the final total at the checkout */
|
|
564
|
+
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
|
|
565
|
+
}
|
|
566
|
+
export interface Fee {
|
|
567
|
+
/** Fee identifier. */
|
|
568
|
+
name?: FeeName;
|
|
569
|
+
/** How fee is calculated. */
|
|
570
|
+
type?: FeeType;
|
|
571
|
+
/**
|
|
572
|
+
* Fee rate.
|
|
573
|
+
* @readonly
|
|
574
|
+
*/
|
|
575
|
+
rate?: string;
|
|
576
|
+
/** Total amount of fee charges. */
|
|
577
|
+
amount?: Money;
|
|
578
|
+
}
|
|
579
|
+
export declare enum FeeName {
|
|
580
|
+
/** Wix service fee charges applied to the line item. */
|
|
581
|
+
WIX_FEE = "WIX_FEE"
|
|
582
|
+
}
|
|
583
|
+
export declare enum FeeType {
|
|
584
|
+
/** Fee is added to the ticket price at checkout */
|
|
585
|
+
FEE_ADDED = "FEE_ADDED",
|
|
586
|
+
/** Seller absorbs the fee. It is deducted from the ticket price */
|
|
587
|
+
FEE_INCLUDED = "FEE_INCLUDED",
|
|
588
|
+
/** Fee is added to the ticket price at checkout */
|
|
589
|
+
FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
|
|
590
|
+
}
|
|
591
|
+
export interface OrderUpdated {
|
|
592
|
+
/** Order updated timestamp in ISO UTC format. */
|
|
593
|
+
timestamp?: Date;
|
|
594
|
+
/** Site language when Order initiated */
|
|
595
|
+
language?: string | null;
|
|
596
|
+
/** Event ID. */
|
|
597
|
+
eventId?: string;
|
|
598
|
+
/** Unique order number. */
|
|
599
|
+
orderNumber?: string;
|
|
600
|
+
/** Contact ID associated with this order. */
|
|
601
|
+
contactId?: string;
|
|
602
|
+
/** Member ID associated with this order. */
|
|
603
|
+
memberId?: string | null;
|
|
604
|
+
/**
|
|
605
|
+
* Order created timestamp.
|
|
606
|
+
* @readonly
|
|
607
|
+
*/
|
|
608
|
+
created?: Date;
|
|
609
|
+
/** Buyer first name. */
|
|
610
|
+
firstName?: string;
|
|
611
|
+
/** Buyer last name. */
|
|
612
|
+
lastName?: string;
|
|
613
|
+
/** Buyer email. */
|
|
614
|
+
email?: string;
|
|
615
|
+
/** Checkout form response. */
|
|
616
|
+
checkoutForm?: FormResponse;
|
|
617
|
+
/** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
|
|
618
|
+
confirmed?: boolean;
|
|
619
|
+
/** Order status. */
|
|
620
|
+
status?: OrderStatus;
|
|
621
|
+
/** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
|
|
622
|
+
method?: string | null;
|
|
623
|
+
/** Tickets generated after payment. */
|
|
624
|
+
tickets?: Ticket[];
|
|
625
|
+
/** Whether order was archived and excluded from results. */
|
|
626
|
+
archived?: boolean;
|
|
627
|
+
/** Whether event was triggered by GDPR delete request. */
|
|
628
|
+
triggeredByAnonymizeRequest?: boolean;
|
|
629
|
+
}
|
|
439
630
|
export interface OrderDeleted {
|
|
440
631
|
/** Order deleted timestamp in ISO UTC format. */
|
|
441
632
|
timestamp?: Date;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestType = exports.AttendanceStatus = exports.SubdivisionType = void 0;
|
|
3
|
+
exports.OrderType = exports.FeeType = exports.FeeName = exports.TaxType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestType = exports.AttendanceStatus = exports.SubdivisionType = void 0;
|
|
4
4
|
var SubdivisionType;
|
|
5
5
|
(function (SubdivisionType) {
|
|
6
6
|
SubdivisionType["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
|
|
@@ -65,6 +65,29 @@ var OrderStatus;
|
|
|
65
65
|
/** Order payment was declined */
|
|
66
66
|
OrderStatus["DECLINED"] = "DECLINED";
|
|
67
67
|
})(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {}));
|
|
68
|
+
var TaxType;
|
|
69
|
+
(function (TaxType) {
|
|
70
|
+
/** Tax is included in the ticket price */
|
|
71
|
+
TaxType["INCLUDED"] = "INCLUDED";
|
|
72
|
+
/** Tax is added to the order at the checkout */
|
|
73
|
+
TaxType["ADDED"] = "ADDED";
|
|
74
|
+
/** Tax is added to the final total at the checkout */
|
|
75
|
+
TaxType["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
|
|
76
|
+
})(TaxType = exports.TaxType || (exports.TaxType = {}));
|
|
77
|
+
var FeeName;
|
|
78
|
+
(function (FeeName) {
|
|
79
|
+
/** Wix service fee charges applied to the line item. */
|
|
80
|
+
FeeName["WIX_FEE"] = "WIX_FEE";
|
|
81
|
+
})(FeeName = exports.FeeName || (exports.FeeName = {}));
|
|
82
|
+
var FeeType;
|
|
83
|
+
(function (FeeType) {
|
|
84
|
+
/** Fee is added to the ticket price at checkout */
|
|
85
|
+
FeeType["FEE_ADDED"] = "FEE_ADDED";
|
|
86
|
+
/** Seller absorbs the fee. It is deducted from the ticket price */
|
|
87
|
+
FeeType["FEE_INCLUDED"] = "FEE_INCLUDED";
|
|
88
|
+
/** Fee is added to the ticket price at checkout */
|
|
89
|
+
FeeType["FEE_ADDED_AT_CHECKOUT"] = "FEE_ADDED_AT_CHECKOUT";
|
|
90
|
+
})(FeeType = exports.FeeType || (exports.FeeType = {}));
|
|
68
91
|
var OrderType;
|
|
69
92
|
(function (OrderType) {
|
|
70
93
|
/** Buyer form is used for all tickets */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file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B,CAAA;IACnB,qCAAqC;IACrC,4BAAa,CAAA;IACb,iGAAiG;IACjG,kDAAmC,CAAA;IACnC,+CAA+C;IAC/C,sCAAuB,CAAA;IACvB,yBAAyB;IACzB,oCAAqB,CAAA;IACrB,iCAAiC;IACjC,oCAAqB,CAAA;AACvB,CAAC,EAjBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAiBtB;AA+DD,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,yCAAyC;IACzC,sDAAyC,CAAA;IACzC,yCAAyC;IACzC,kDAAqC,CAAA;AACvC,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB"}
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest.types.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.types.ts"],"names":[],"mappings":";;;AAoHA,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AAeD,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,qBAAqB;IACrB,mDAA+B,CAAA;IAC/B,iBAAiB;IACjB,2CAAuB,CAAA;IACvB,yBAAyB;IACzB,+CAA2B,CAAA;AAC7B,CAAC,EAPW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAO3B;AAED,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kBAAkB;IAClB,0BAAa,CAAA;IACb,mBAAmB;IACnB,4BAAe,CAAA;IACf,2BAA2B;IAC3B,4CAA+B,CAAA;AACjC,CAAC,EAPW,SAAS,GAAT,iBAAS,KAAT,iBAAS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yCAAyC;IACzC,sDAAyC,CAAA;IACzC,yCAAyC;IACzC,kDAAqC,CAAA;AACvC,CAAC,EALW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAKpB"}
|
|
@@ -347,11 +347,13 @@ export interface RsvpDeleted {
|
|
|
347
347
|
/** Whether RSVP was anonymized by GDPR delete. */
|
|
348
348
|
anonymized?: boolean;
|
|
349
349
|
}
|
|
350
|
-
export interface
|
|
351
|
-
/** Order
|
|
350
|
+
export interface OrderConfirmed {
|
|
351
|
+
/** Order confirmation timestamp in ISO UTC. */
|
|
352
352
|
timestamp?: Date;
|
|
353
353
|
/** Site language when Order initiated */
|
|
354
354
|
language?: string | null;
|
|
355
|
+
/** Notifications silenced for this domain event. */
|
|
356
|
+
silent?: boolean | null;
|
|
355
357
|
/** Event ID. */
|
|
356
358
|
eventId?: string;
|
|
357
359
|
/** Unique order number. */
|
|
@@ -361,7 +363,7 @@ export interface OrderUpdated {
|
|
|
361
363
|
/** Member ID associated with this order. */
|
|
362
364
|
memberId?: string | null;
|
|
363
365
|
/**
|
|
364
|
-
* Order created timestamp
|
|
366
|
+
* Order created timestamp
|
|
365
367
|
* @readonly
|
|
366
368
|
*/
|
|
367
369
|
created?: Date;
|
|
@@ -369,22 +371,20 @@ export interface OrderUpdated {
|
|
|
369
371
|
firstName?: string;
|
|
370
372
|
/** Buyer last name. */
|
|
371
373
|
lastName?: string;
|
|
372
|
-
/** Buyer email. */
|
|
374
|
+
/** Buyer email address. */
|
|
373
375
|
email?: string;
|
|
374
376
|
/** Checkout form response. */
|
|
375
377
|
checkoutForm?: FormResponse;
|
|
376
|
-
/** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
|
|
377
|
-
confirmed?: boolean;
|
|
378
378
|
/** Order status. */
|
|
379
379
|
status?: OrderStatus;
|
|
380
380
|
/** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
|
|
381
381
|
method?: string | null;
|
|
382
|
-
/** Tickets generated after payment. */
|
|
382
|
+
/** Tickets (generated after payment). */
|
|
383
383
|
tickets?: Ticket[];
|
|
384
|
-
/**
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
|
|
384
|
+
/** Invoice. */
|
|
385
|
+
invoice?: Invoice;
|
|
386
|
+
/** Reservation ID associated with this order. */
|
|
387
|
+
reservationId?: string;
|
|
388
388
|
}
|
|
389
389
|
export declare enum OrderStatus {
|
|
390
390
|
/** Order status not available for this request fieldset */
|
|
@@ -442,6 +442,197 @@ export interface Money {
|
|
|
442
442
|
/** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, a single (-), to indicate that the amount is negative. */
|
|
443
443
|
value?: string | null;
|
|
444
444
|
}
|
|
445
|
+
export interface Invoice {
|
|
446
|
+
items?: Item[];
|
|
447
|
+
/** Total cart amount. */
|
|
448
|
+
total?: Money;
|
|
449
|
+
/** Discount applied to cart. */
|
|
450
|
+
discount?: Discount;
|
|
451
|
+
/** Tax applied to cart. */
|
|
452
|
+
tax?: Tax;
|
|
453
|
+
/** Total cart amount before discount, tax, and fees. */
|
|
454
|
+
subTotal?: Money;
|
|
455
|
+
/**
|
|
456
|
+
* Total amount of cart after discount, tax, and fees.
|
|
457
|
+
* Grand total is calculated in the following order:
|
|
458
|
+
* 1. Total prices of all items in the cart are calculated.
|
|
459
|
+
* 2. Discount is subtracted from the cart (if applicable).
|
|
460
|
+
* 3. Tax is added (if applicable).
|
|
461
|
+
* 4. Wix service fee is added.
|
|
462
|
+
*/
|
|
463
|
+
grandTotal?: Money;
|
|
464
|
+
/**
|
|
465
|
+
* Fees applied to the cart.
|
|
466
|
+
* @readonly
|
|
467
|
+
*/
|
|
468
|
+
fees?: Fee[];
|
|
469
|
+
/** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
|
|
470
|
+
revenue?: Money;
|
|
471
|
+
/** URL to invoice preview. Returned only if order is paid. */
|
|
472
|
+
previewUrl?: string | null;
|
|
473
|
+
}
|
|
474
|
+
export interface Item {
|
|
475
|
+
/** Unique line item ID. */
|
|
476
|
+
_id?: string;
|
|
477
|
+
/** Line item quantity. */
|
|
478
|
+
quantity?: number;
|
|
479
|
+
/** Line item mame. */
|
|
480
|
+
name?: string;
|
|
481
|
+
/** Line item price. */
|
|
482
|
+
price?: Money;
|
|
483
|
+
/** Total price for line items. Always equal to price * quantity. */
|
|
484
|
+
total?: Money;
|
|
485
|
+
/** Discount applied to the line item. */
|
|
486
|
+
discount?: Discount;
|
|
487
|
+
/** Tax applied to the item. */
|
|
488
|
+
tax?: Tax;
|
|
489
|
+
/**
|
|
490
|
+
* Fees applied to the item.
|
|
491
|
+
* @readonly
|
|
492
|
+
*/
|
|
493
|
+
fees?: Fee[];
|
|
494
|
+
}
|
|
495
|
+
export interface Discount {
|
|
496
|
+
/** Total discount amount. */
|
|
497
|
+
amount?: Money;
|
|
498
|
+
/** Total charge after applied discount. */
|
|
499
|
+
afterDiscount?: Money;
|
|
500
|
+
/** Discount coupon code. */
|
|
501
|
+
code?: string;
|
|
502
|
+
/** Discount coupon name. */
|
|
503
|
+
name?: string;
|
|
504
|
+
/** Discount coupon ID. */
|
|
505
|
+
couponId?: string;
|
|
506
|
+
/** Discount items. */
|
|
507
|
+
discounts?: DiscountItem[];
|
|
508
|
+
}
|
|
509
|
+
export interface DiscountItem extends DiscountItemDiscountOneOf {
|
|
510
|
+
/** Total discount amount. */
|
|
511
|
+
amount?: Money;
|
|
512
|
+
/** Coupon discount. */
|
|
513
|
+
coupon?: CouponDiscount;
|
|
514
|
+
/** Pricing plan discount. */
|
|
515
|
+
paidPlan?: PaidPlanDiscount;
|
|
516
|
+
}
|
|
517
|
+
/** @oneof */
|
|
518
|
+
export interface DiscountItemDiscountOneOf {
|
|
519
|
+
/** Coupon discount. */
|
|
520
|
+
coupon?: CouponDiscount;
|
|
521
|
+
/** Pricing plan discount. */
|
|
522
|
+
paidPlan?: PaidPlanDiscount;
|
|
523
|
+
}
|
|
524
|
+
export interface CouponDiscount {
|
|
525
|
+
/** Discount coupon name. */
|
|
526
|
+
name?: string;
|
|
527
|
+
/** Discount coupon code. */
|
|
528
|
+
code?: string;
|
|
529
|
+
/** Discount coupon ID. */
|
|
530
|
+
couponId?: string;
|
|
531
|
+
}
|
|
532
|
+
export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
|
|
533
|
+
/** Name of pricing plan. */
|
|
534
|
+
name?: string;
|
|
535
|
+
/** Discount by percentage applied to tickets. */
|
|
536
|
+
percentDiscount?: PercentDiscount;
|
|
537
|
+
}
|
|
538
|
+
/** @oneof */
|
|
539
|
+
export interface PaidPlanDiscountDiscountOneOf {
|
|
540
|
+
/** Discount by percentage applied to tickets. */
|
|
541
|
+
percentDiscount?: PercentDiscount;
|
|
542
|
+
}
|
|
543
|
+
export interface PercentDiscount {
|
|
544
|
+
/** Percent rate. */
|
|
545
|
+
rate?: string;
|
|
546
|
+
/** Number of discounted tickets. */
|
|
547
|
+
quantityDiscounted?: number;
|
|
548
|
+
}
|
|
549
|
+
export interface Tax {
|
|
550
|
+
/** Tax type. */
|
|
551
|
+
type?: TaxType;
|
|
552
|
+
/**
|
|
553
|
+
* Tax name.
|
|
554
|
+
* @readonly
|
|
555
|
+
*/
|
|
556
|
+
name?: string;
|
|
557
|
+
/** Tax rate. */
|
|
558
|
+
rate?: string;
|
|
559
|
+
/** Taxable amount. */
|
|
560
|
+
taxable?: Money;
|
|
561
|
+
/** Total tax amount. */
|
|
562
|
+
amount?: Money;
|
|
563
|
+
}
|
|
564
|
+
export declare enum TaxType {
|
|
565
|
+
/** Tax is included in the ticket price */
|
|
566
|
+
INCLUDED = "INCLUDED",
|
|
567
|
+
/** Tax is added to the order at the checkout */
|
|
568
|
+
ADDED = "ADDED",
|
|
569
|
+
/** Tax is added to the final total at the checkout */
|
|
570
|
+
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
|
|
571
|
+
}
|
|
572
|
+
export interface Fee {
|
|
573
|
+
/** Fee identifier. */
|
|
574
|
+
name?: FeeName;
|
|
575
|
+
/** How fee is calculated. */
|
|
576
|
+
type?: FeeType;
|
|
577
|
+
/**
|
|
578
|
+
* Fee rate.
|
|
579
|
+
* @readonly
|
|
580
|
+
*/
|
|
581
|
+
rate?: string;
|
|
582
|
+
/** Total amount of fee charges. */
|
|
583
|
+
amount?: Money;
|
|
584
|
+
}
|
|
585
|
+
export declare enum FeeName {
|
|
586
|
+
/** Wix service fee charges applied to the line item. */
|
|
587
|
+
WIX_FEE = "WIX_FEE"
|
|
588
|
+
}
|
|
589
|
+
export declare enum FeeType {
|
|
590
|
+
/** Fee is added to the ticket price at checkout */
|
|
591
|
+
FEE_ADDED = "FEE_ADDED",
|
|
592
|
+
/** Seller absorbs the fee. It is deducted from the ticket price */
|
|
593
|
+
FEE_INCLUDED = "FEE_INCLUDED",
|
|
594
|
+
/** Fee is added to the ticket price at checkout */
|
|
595
|
+
FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
|
|
596
|
+
}
|
|
597
|
+
export interface OrderUpdated {
|
|
598
|
+
/** Order updated timestamp in ISO UTC format. */
|
|
599
|
+
timestamp?: Date;
|
|
600
|
+
/** Site language when Order initiated */
|
|
601
|
+
language?: string | null;
|
|
602
|
+
/** Event ID. */
|
|
603
|
+
eventId?: string;
|
|
604
|
+
/** Unique order number. */
|
|
605
|
+
orderNumber?: string;
|
|
606
|
+
/** Contact ID associated with this order. */
|
|
607
|
+
contactId?: string;
|
|
608
|
+
/** Member ID associated with this order. */
|
|
609
|
+
memberId?: string | null;
|
|
610
|
+
/**
|
|
611
|
+
* Order created timestamp.
|
|
612
|
+
* @readonly
|
|
613
|
+
*/
|
|
614
|
+
created?: Date;
|
|
615
|
+
/** Buyer first name. */
|
|
616
|
+
firstName?: string;
|
|
617
|
+
/** Buyer last name. */
|
|
618
|
+
lastName?: string;
|
|
619
|
+
/** Buyer email. */
|
|
620
|
+
email?: string;
|
|
621
|
+
/** Checkout form response. */
|
|
622
|
+
checkoutForm?: FormResponse;
|
|
623
|
+
/** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
|
|
624
|
+
confirmed?: boolean;
|
|
625
|
+
/** Order status. */
|
|
626
|
+
status?: OrderStatus;
|
|
627
|
+
/** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
|
|
628
|
+
method?: string | null;
|
|
629
|
+
/** Tickets generated after payment. */
|
|
630
|
+
tickets?: Ticket[];
|
|
631
|
+
/** Whether order was archived and excluded from results. */
|
|
632
|
+
archived?: boolean;
|
|
633
|
+
/** Whether event was triggered by GDPR delete request. */
|
|
634
|
+
triggeredByAnonymizeRequest?: boolean;
|
|
635
|
+
}
|
|
445
636
|
export interface OrderDeleted {
|
|
446
637
|
/** Order deleted timestamp in ISO UTC format. */
|
|
447
638
|
timestamp?: Date;
|
|
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.queryEventGuests = exports.OrderType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestType = exports.AttendanceStatus = exports.SubdivisionType = exports.__debug = void 0;
|
|
31
|
+
exports.queryEventGuests = exports.OrderType = exports.FeeType = exports.FeeName = exports.TaxType = exports.OrderStatus = exports.RsvpStatus = exports.SortOrder = exports.GuestType = exports.AttendanceStatus = exports.SubdivisionType = exports.__debug = void 0;
|
|
32
32
|
const velo_1 = require("@wix/metro-runtime/velo");
|
|
33
33
|
const ambassadorWixEventsGuestsV1Guest = __importStar(require("./events-guests-v1-guest.http"));
|
|
34
34
|
// @ts-ignore
|
|
@@ -106,6 +106,29 @@ var OrderStatus;
|
|
|
106
106
|
/** Order payment was declined */
|
|
107
107
|
OrderStatus["DECLINED"] = "DECLINED";
|
|
108
108
|
})(OrderStatus = exports.OrderStatus || (exports.OrderStatus = {}));
|
|
109
|
+
var TaxType;
|
|
110
|
+
(function (TaxType) {
|
|
111
|
+
/** Tax is included in the ticket price */
|
|
112
|
+
TaxType["INCLUDED"] = "INCLUDED";
|
|
113
|
+
/** Tax is added to the order at the checkout */
|
|
114
|
+
TaxType["ADDED"] = "ADDED";
|
|
115
|
+
/** Tax is added to the final total at the checkout */
|
|
116
|
+
TaxType["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
|
|
117
|
+
})(TaxType = exports.TaxType || (exports.TaxType = {}));
|
|
118
|
+
var FeeName;
|
|
119
|
+
(function (FeeName) {
|
|
120
|
+
/** Wix service fee charges applied to the line item. */
|
|
121
|
+
FeeName["WIX_FEE"] = "WIX_FEE";
|
|
122
|
+
})(FeeName = exports.FeeName || (exports.FeeName = {}));
|
|
123
|
+
var FeeType;
|
|
124
|
+
(function (FeeType) {
|
|
125
|
+
/** Fee is added to the ticket price at checkout */
|
|
126
|
+
FeeType["FEE_ADDED"] = "FEE_ADDED";
|
|
127
|
+
/** Seller absorbs the fee. It is deducted from the ticket price */
|
|
128
|
+
FeeType["FEE_INCLUDED"] = "FEE_INCLUDED";
|
|
129
|
+
/** Fee is added to the ticket price at checkout */
|
|
130
|
+
FeeType["FEE_ADDED_AT_CHECKOUT"] = "FEE_ADDED_AT_CHECKOUT";
|
|
131
|
+
})(FeeType = exports.FeeType || (exports.FeeType = {}));
|
|
109
132
|
var OrderType;
|
|
110
133
|
(function (OrderType) {
|
|
111
134
|
/** Buyer form is used for all tickets */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events-guests-v1-guest.universal.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,gGAAkF;AAClF,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAET,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,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B,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAhED,4CAgEC"}
|
|
1
|
+
{"version":3,"file":"events-guests-v1-guest.universal.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,gGAAkF;AAClF,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAET,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAsH5B,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wEAAqD,CAAA;IACrD,YAAY;IACZ,8EAA2D,CAAA;IAC3D,aAAa;IACb,8EAA2D,CAAA;IAC3D,gBAAgB;IAChB,8EAA2D,CAAA;IAC3D,2BAA2B;IAC3B,8EAA2D,CAAA;IAC3D,mBAAmB;IACnB,8EAA2D,CAAA;IAC3D,8IAA8I;IAC9I,sCAAmB,CAAA;AACrB,CAAC,EAdW,eAAe,G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CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAhED,4CAgEC"}
|
|
@@ -383,6 +383,7 @@ export declare function createPolicy(policy: Policy): Promise<CreatePolicyRespon
|
|
|
383
383
|
* @requiredField policy.body
|
|
384
384
|
* @requiredField policy.eventId
|
|
385
385
|
* @requiredField policy.name
|
|
386
|
+
* @requiredField policy.revision
|
|
386
387
|
* @param policy - Event policy to update.
|
|
387
388
|
* @param _id - Policy ID. (Generated automatically).
|
|
388
389
|
*/
|
|
@@ -179,6 +179,7 @@ exports.createPolicy = createPolicy;
|
|
|
179
179
|
* @requiredField policy.body
|
|
180
180
|
* @requiredField policy.eventId
|
|
181
181
|
* @requiredField policy.name
|
|
182
|
+
* @requiredField policy.revision
|
|
182
183
|
* @param policy - Event policy to update.
|
|
183
184
|
* @param _id - Policy ID. (Generated automatically).
|
|
184
185
|
*/
|