@wix/events 1.0.15 → 1.0.17

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.
Files changed (59) hide show
  1. package/build/cjs/src/events-guests-v1-guest.http.d.ts +20 -1
  2. package/build/cjs/src/events-guests-v1-guest.http.js +20 -1
  3. package/build/cjs/src/events-guests-v1-guest.http.js.map +1 -1
  4. package/build/cjs/src/events-guests-v1-guest.public.d.ts +2 -3
  5. package/build/cjs/src/events-guests-v1-guest.public.js +1 -1
  6. package/build/cjs/src/events-guests-v1-guest.public.js.map +1 -1
  7. package/build/cjs/src/events-guests-v1-guest.types.d.ts +19 -5
  8. package/build/cjs/src/events-guests-v1-guest.types.js +1 -1
  9. package/build/cjs/src/events-guests-v1-guest.types.js.map +1 -1
  10. package/build/cjs/src/events-guests-v1-guest.universal.d.ts +92 -9
  11. package/build/cjs/src/events-guests-v1-guest.universal.js +76 -57
  12. package/build/cjs/src/events-guests-v1-guest.universal.js.map +1 -1
  13. package/build/cjs/src/events-v1-order-checkout.public.d.ts +1 -1
  14. package/build/cjs/src/events-v1-order-checkout.types.d.ts +16 -0
  15. package/build/cjs/src/events-v1-order-checkout.types.js.map +1 -1
  16. package/build/cjs/src/events-v1-order-checkout.universal.d.ts +16 -0
  17. package/build/cjs/src/events-v1-order-checkout.universal.js.map +1 -1
  18. package/build/cjs/src/events-v1-order-orders.public.d.ts +1 -1
  19. package/build/cjs/src/events-v1-order-orders.types.d.ts +16 -0
  20. package/build/cjs/src/events-v1-order-orders.types.js.map +1 -1
  21. package/build/cjs/src/events-v1-order-orders.universal.d.ts +16 -0
  22. package/build/cjs/src/events-v1-order-orders.universal.js.map +1 -1
  23. package/build/cjs/src/events-v1-ticket.public.d.ts +1 -1
  24. package/build/cjs/src/events-v1-ticket.types.d.ts +19 -1
  25. package/build/cjs/src/events-v1-ticket.types.js +2 -0
  26. package/build/cjs/src/events-v1-ticket.types.js.map +1 -1
  27. package/build/cjs/src/events-v1-ticket.universal.d.ts +19 -1
  28. package/build/cjs/src/events-v1-ticket.universal.js +2 -0
  29. package/build/cjs/src/events-v1-ticket.universal.js.map +1 -1
  30. package/build/es/src/events-guests-v1-guest.http.d.ts +20 -1
  31. package/build/es/src/events-guests-v1-guest.http.js +20 -1
  32. package/build/es/src/events-guests-v1-guest.http.js.map +1 -1
  33. package/build/es/src/events-guests-v1-guest.public.d.ts +2 -3
  34. package/build/es/src/events-guests-v1-guest.public.js +2 -2
  35. package/build/es/src/events-guests-v1-guest.public.js.map +1 -1
  36. package/build/es/src/events-guests-v1-guest.types.d.ts +19 -5
  37. package/build/es/src/events-guests-v1-guest.types.js +1 -1
  38. package/build/es/src/events-guests-v1-guest.types.js.map +1 -1
  39. package/build/es/src/events-guests-v1-guest.universal.d.ts +92 -9
  40. package/build/es/src/events-guests-v1-guest.universal.js +77 -58
  41. package/build/es/src/events-guests-v1-guest.universal.js.map +1 -1
  42. package/build/es/src/events-v1-order-checkout.public.d.ts +1 -1
  43. package/build/es/src/events-v1-order-checkout.types.d.ts +16 -0
  44. package/build/es/src/events-v1-order-checkout.types.js.map +1 -1
  45. package/build/es/src/events-v1-order-checkout.universal.d.ts +16 -0
  46. package/build/es/src/events-v1-order-checkout.universal.js.map +1 -1
  47. package/build/es/src/events-v1-order-orders.public.d.ts +1 -1
  48. package/build/es/src/events-v1-order-orders.types.d.ts +16 -0
  49. package/build/es/src/events-v1-order-orders.types.js.map +1 -1
  50. package/build/es/src/events-v1-order-orders.universal.d.ts +16 -0
  51. package/build/es/src/events-v1-order-orders.universal.js.map +1 -1
  52. package/build/es/src/events-v1-ticket.public.d.ts +1 -1
  53. package/build/es/src/events-v1-ticket.types.d.ts +19 -1
  54. package/build/es/src/events-v1-ticket.types.js +2 -0
  55. package/build/es/src/events-v1-ticket.types.js.map +1 -1
  56. package/build/es/src/events-v1-ticket.universal.d.ts +19 -1
  57. package/build/es/src/events-v1-ticket.universal.js +2 -0
  58. package/build/es/src/events-v1-ticket.universal.js.map +1 -1
  59. package/package.json +2 -2
@@ -1,4 +1,23 @@
1
1
  import { RequestOptionsFactory } from '@wix/sdk-types';
2
2
  import { QueryEventGuestsRequest, QueryEventGuestsResponse } from './events-guests-v1-guest.types';
3
- /** Retrieves a list of guests according to the provided filters and paging. */
3
+ /**
4
+ * Creates a query to retrieve a list of guests.
5
+ *
6
+ *
7
+ * The `queryEventsGuests()` function builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder) object.
8
+ *
9
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
10
+ *
11
+ * You can refine the query by chaining `GuestsQueryBuilder` functions onto the query. GuestsQueryBuilder functions enable you to sort, filter, and control the results that `queryEventGuests.find()` returns.
12
+ *
13
+ * The query runs with the following `GuestsQueryBuilder` defaults that you can override:
14
+ *
15
+ * - [`limit`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/limit): 50
16
+ * - [`descending`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/descending): _createdDate
17
+ *
18
+ * The functions that are chained to `queryEventGuests()` are applied in the order they are called. For example, if you sort the `_createdDate` property in ascending order and then the `_updatedDate` property in descending order, the results are sorted by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.
19
+ *
20
+ * The following GuestsQueryBuilder functions are supported for queryEventGuests():
21
+ *
22
+ */
4
23
  export declare function queryEventGuests(payload: QueryEventGuestsRequest): RequestOptionsFactory<QueryEventGuestsResponse>;
@@ -53,7 +53,26 @@ function resolveWixEventsGuestsV1EventGuestsServiceUrl(opts) {
53
53
  };
54
54
  return metro_runtime_1.resolveUrl(Object.assign(opts, { domainToMappings }));
55
55
  }
56
- /** Retrieves a list of guests according to the provided filters and paging. */
56
+ /**
57
+ * Creates a query to retrieve a list of guests.
58
+ *
59
+ *
60
+ * The `queryEventsGuests()` function builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder) object.
61
+ *
62
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
63
+ *
64
+ * You can refine the query by chaining `GuestsQueryBuilder` functions onto the query. GuestsQueryBuilder functions enable you to sort, filter, and control the results that `queryEventGuests.find()` returns.
65
+ *
66
+ * The query runs with the following `GuestsQueryBuilder` defaults that you can override:
67
+ *
68
+ * - [`limit`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/limit): 50
69
+ * - [`descending`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/descending): _createdDate
70
+ *
71
+ * The functions that are chained to `queryEventGuests()` are applied in the order they are called. For example, if you sort the `_createdDate` property in ascending order and then the `_updatedDate` property in descending order, the results are sorted by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.
72
+ *
73
+ * The following GuestsQueryBuilder functions are supported for queryEventGuests():
74
+ *
75
+ */
57
76
  function queryEventGuests(payload) {
58
77
  const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_queryEventGuestsRequest, {});
59
78
  const { fromJSON: fromRes } = ambassador_1.serializer(_queryEventGuestsResponse, {
@@ -1 +1 @@
1
- {"version":3,"file":"events-guests-v1-guest.http.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,WAAW,GAAG;IAClB,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,2BAA2B,EAAE,2BAA2B;IACxD,YAAY,EAAE,eAAe;CAC9B,CAAC;AACF,MAAM,iBAAiB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAClD,MAAM,aAAa,GAAG,EAAE,WA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AAO;QACvC,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG;YACf,MAAM,EAAE,MAAa;YACrB,GAAG,EAAE,6CAA6C,CAAC;gBACjD,SAAS,EAAE,kBAAkB;gBAC7B,IAAI,EAAE,cAAc;gBACpB,IAAI;aACL,CAAC;YACF,IAAI,EAAE,cAAc;YACpB,iBAAiB,EAAE,OAAO;SAC3B,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AApCD,4CAoCC"}
1
+ {"version":3,"file":"events-guests-v1-guest.http.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,WAAW,GAAG;IAClB,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,2BAA2B;IACxC,2BAA2B,EAAE,2BAA2B;IACxD,YAAY,EAAE,eAAe;CAC9B,CAAC;AACF,MAAM,iBAAiB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAClD,MAAM,aAAa,GAAG,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;AACrD,MAAM,aAAa,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AACxD,MAAM,WAAW,GAAG;IAClB,MAAM,EAAE,6BAA6B;IACrC,QAAQ,EAAE,2BAA2B;IACrC,OAAO,EAAE,mBAAmB;CAC7B,CAAC;AACF,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,yBAAyB,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE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QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,kBAAkB,CAAC,OAAO,GAAG,OAAO,CAAC;IAErC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AApCD,4CAoCC"}
@@ -1,5 +1,4 @@
1
1
  import { HttpClient } from '@wix/sdk-types';
2
- import { QueryV2 } from './events-guests-v1-guest.universal';
3
- export declare function queryEventGuests(httpClient: HttpClient): (query: QueryV2) => Promise<import("./events-guests-v1-guest.universal").QueryEventGuestsResponse>;
2
+ export declare function queryEventGuests(httpClient: HttpClient): () => import("./events-guests-v1-guest.universal").GuestsQueryBuilder;
4
3
  export { SubdivisionType, AttendanceStatus, GuestType, SortOrder, RsvpStatus, OrderStatus, OrderType, } from './events-guests-v1-guest.universal';
5
- export { EventGuest, GuestDetails, FormResponse, InputValue, FormattedAddress, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, QueryEventGuestsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryEventGuestsResponse, PagingMetadataV2, Cursors, StreamEventGuestsRequest, TaskContext, Empty, NotifyGuestAction, SecondaryLanguagesRequest, SecondaryLanguagesResponse, RsvpCreated, Guest, CheckIn, RsvpUpdated, RsvpDeleted, OrderUpdated, Ticket, Money, OrderDeleted, EventDeleted, Task, TaskKey, } from './events-guests-v1-guest.universal';
4
+ export { EventGuest, GuestDetails, FormResponse, InputValue, FormattedAddress, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, QueryEventGuestsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryEventGuestsResponse, PagingMetadataV2, Cursors, StreamEventGuestsRequest, TaskContext, Empty, NotifyGuestAction, SecondaryLanguagesRequest, SecondaryLanguagesResponse, RsvpCreated, Guest, CheckIn, RsvpUpdated, RsvpDeleted, OrderUpdated, Ticket, Money, OnlineConferencingLogin, OrderDeleted, EventDeleted, Task, TaskKey, GuestsQueryResult, GuestsQueryBuilder, } from './events-guests-v1-guest.universal';
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OrderType = 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
- return (query) => events_guests_v1_guest_universal_1.queryEventGuests(query,
6
+ return () => events_guests_v1_guest_universal_1.queryEventGuests(
7
7
  // @ts-ignore
8
8
  { httpClient });
9
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"events-guests-v1-guest.public.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.public.ts"],"names":[],"mappings":";;;AACA,yFAG4C;AAE5C,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,CAAC,KAAc,EAAE,EAAE,CACxB,mDAAyB,CACvB,KAAK;IACL,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,4CAOC;AAED,uFAQ4C;AAP1C,mIAAA,eAAe,OAAA;AACf,oIAAA,gBAAgB,OAAA;AAChB,6HAAA,SAAS,OAAA;AACT,6HAAA,SAAS,OAAA;AACT,8HAAA,UAAU,OAAA;AACV,+HAAA,WAAW,OAAA;AACX,6HAAA,SAAS,OAAA"}
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,mDAAyB;IACvB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,4CAMC;AAED,uFAQ4C;AAP1C,mIAAA,eAAe,OAAA;AACf,oIAAA,gBAAgB,OAAA;AAChB,6HAAA,SAAS,OAAA;AACT,6HAAA,SAAS,OAAA;AACT,8HAAA,UAAU,OAAA;AACV,+HAAA,WAAW,OAAA;AACX,6HAAA,SAAS,OAAA"}
@@ -5,9 +5,9 @@ export interface EventGuest {
5
5
  eventId?: string | null;
6
6
  /** RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `RSVP`. */
7
7
  rsvpId?: string | null;
8
- /** Order number. <br/> <br/> **Note:** Only applicable when **guestType** is `BUYER` or `TICKET_HOLDER`. */
8
+ /** Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `BUYER` or `TICKET_HOLDER`. */
9
9
  orderNumber?: string | null;
10
- /** Ticket number. <br/> <br/> **Note:** Only applicable when **guestType** is `TICKET_HOLDER`. */
10
+ /** Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `TICKET_HOLDER`. */
11
11
  ticketNumber?: string | null;
12
12
  /** List of ticket numbers for one order. */
13
13
  tickets?: string[];
@@ -15,7 +15,7 @@ export interface EventGuest {
15
15
  contactId?: string | null;
16
16
  /** Guest details. <br/> <br/> **Note:** Will not appear in the response unless the `guestDetails` fieldset will be sent in the request. */
17
17
  guestDetails?: GuestDetails;
18
- /** Attendance status. <br/> <br/> **Note:** For **guestType** `BUYER` or `TICKET_HOLDER` the `IN_WAITLIST` value is not applicable. */
18
+ /** Attendance status. <br/> <br/> **Note:** For `guestType` `BUYER` or `TICKET_HOLDER` the `IN_WAITLIST` value is not applicable. */
19
19
  attendanceStatus?: AttendanceStatus;
20
20
  /** Secondary language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. Used when the event ticket should be translated into another language. */
21
21
  secondaryLanguageCode?: string | null;
@@ -128,7 +128,7 @@ export declare enum AttendanceStatus {
128
128
  export declare enum GuestType {
129
129
  /** Rsvp guest. */
130
130
  RSVP = "RSVP",
131
- /** Buyer. */
131
+ /** Buyer guest. */
132
132
  BUYER = "BUYER",
133
133
  /** Ticket holder guest. */
134
134
  TICKET_HOLDER = "TICKET_HOLDER"
@@ -140,7 +140,7 @@ export interface QueryEventGuestsRequest {
140
140
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
141
141
  /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "eventId": "sd3f-jhds-4fs77", "ticketNumber": {"$startsWith":"478"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/all-apis/eventguestsservice/filter-and-sort) for more information. */
142
142
  filter?: Record<string, any> | null;
143
- /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"ticketNumber","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/all-apis/eventguestsservice/filter-and-sort) for more information. */
143
+ /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"createdDate","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/all-apis/eventguestsservice/filter-and-sort) for more information. */
144
144
  sort?: Sorting[];
145
145
  /** Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information. */
146
146
  fieldsets?: string[];
@@ -407,6 +407,8 @@ export interface Ticket {
407
407
  form?: FormResponse;
408
408
  /** Anonymized tickets no longer contain personally identifiable information (PII). */
409
409
  anonymized?: boolean;
410
+ /** URL and password to online conference */
411
+ onlineConferencingLogin?: OnlineConferencingLogin;
410
412
  }
411
413
  export interface Money {
412
414
  /** *Deprecated:** Use `value` instead. */
@@ -416,6 +418,18 @@ export interface Money {
416
418
  /** 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. */
417
419
  value?: string | null;
418
420
  }
421
+ export interface OnlineConferencingLogin {
422
+ /**
423
+ * URL to online conference
424
+ * @readonly
425
+ */
426
+ link?: string;
427
+ /**
428
+ * Password for online conference
429
+ * @readonly
430
+ */
431
+ password?: string | null;
432
+ }
419
433
  export interface OrderDeleted {
420
434
  /** Order deleted timestamp in ISO UTC format. */
421
435
  timestamp?: Date;
@@ -30,7 +30,7 @@ var GuestType;
30
30
  (function (GuestType) {
31
31
  /** Rsvp guest. */
32
32
  GuestType["RSVP"] = "RSVP";
33
- /** Buyer. */
33
+ /** Buyer guest. */
34
34
  GuestType["BUYER"] = "BUYER";
35
35
  /** Ticket holder guest. */
36
36
  GuestType["TICKET_HOLDER"] = "TICKET_HOLDER";
@@ -1 +1 @@
1
- {"version":3,"file":"events-guests-v1-guest.types.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.types.ts"],"names":[],"mappings":";;;AAkHA,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,aAAa;IACb,4BAAe,CAAA;IACf,2BAA2B;IAC3B,4CAA+B,CAAA;AACjC,CAAC,EAPW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOpB;AAmCD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AA6GD,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,uBAAS,CAAA;IACT,iCAAmB,CAAA;AACrB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAsGD,IAAY,WAiBX;AAjBD,WAAY,WAAW;IACrB,2DAA2D;IAC3D,kDAAmC,CAAA;IACnC,8CAA8C;IAC9C,4BAAa,CAAA;IACb,2FAA2F;IAC3F,kCAAmB,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;AA6DD,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":";;;AAkHA,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,IA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9 +11,9 @@ export interface EventGuest {
11
11
  eventId?: string | null;
12
12
  /** RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `RSVP`. */
13
13
  rsvpId?: string | null;
14
- /** Order number. <br/> <br/> **Note:** Only applicable when **guestType** is `BUYER` or `TICKET_HOLDER`. */
14
+ /** Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `BUYER` or `TICKET_HOLDER`. */
15
15
  orderNumber?: string | null;
16
- /** Ticket number. <br/> <br/> **Note:** Only applicable when **guestType** is `TICKET_HOLDER`. */
16
+ /** Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `TICKET_HOLDER`. */
17
17
  ticketNumber?: string | null;
18
18
  /** List of ticket numbers for one order. */
19
19
  tickets?: string[];
@@ -21,7 +21,7 @@ export interface EventGuest {
21
21
  contactId?: string | null;
22
22
  /** Guest details. <br/> <br/> **Note:** Will not appear in the response unless the `guestDetails` fieldset will be sent in the request. */
23
23
  guestDetails?: GuestDetails;
24
- /** Attendance status. <br/> <br/> **Note:** For **guestType** `BUYER` or `TICKET_HOLDER` the `IN_WAITLIST` value is not applicable. */
24
+ /** Attendance status. <br/> <br/> **Note:** For `guestType` `BUYER` or `TICKET_HOLDER` the `IN_WAITLIST` value is not applicable. */
25
25
  attendanceStatus?: AttendanceStatus;
26
26
  /** Secondary language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. Used when the event ticket should be translated into another language. */
27
27
  secondaryLanguageCode?: string | null;
@@ -134,7 +134,7 @@ export declare enum AttendanceStatus {
134
134
  export declare enum GuestType {
135
135
  /** Rsvp guest. */
136
136
  RSVP = "RSVP",
137
- /** Buyer. */
137
+ /** Buyer guest. */
138
138
  BUYER = "BUYER",
139
139
  /** Ticket holder guest. */
140
140
  TICKET_HOLDER = "TICKET_HOLDER"
@@ -146,7 +146,7 @@ export interface QueryEventGuestsRequest {
146
146
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
147
147
  /** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1", "fieldName2":{"$operator":"value2"} }`. <br/> <br/> **Example:** <br/> `"filter" : { "eventId": "sd3f-jhds-4fs77", "ticketNumber": {"$startsWith":"478"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/all-apis/eventguestsservice/filter-and-sort) for more information. */
148
148
  filter?: Record<string, any> | null;
149
- /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"ticketNumber","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/all-apis/eventguestsservice/filter-and-sort) for more information. */
149
+ /** Sort object in the following format: <br/> `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]` <br/> <br/> **Example:** <br/> `[{"fieldName":"createdDate","direction":"DESC"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/all-apis/eventguestsservice/filter-and-sort) for more information. */
150
150
  sort?: Sorting[];
151
151
  /** Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information. */
152
152
  fieldsets?: string[];
@@ -413,6 +413,8 @@ export interface Ticket {
413
413
  form?: FormResponse;
414
414
  /** Anonymized tickets no longer contain personally identifiable information (PII). */
415
415
  anonymized?: boolean;
416
+ /** URL and password to online conference */
417
+ onlineConferencingLogin?: OnlineConferencingLogin;
416
418
  }
417
419
  export interface Money {
418
420
  /** *Deprecated:** Use `value` instead. */
@@ -422,6 +424,18 @@ export interface Money {
422
424
  /** 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. */
423
425
  value?: string | null;
424
426
  }
427
+ export interface OnlineConferencingLogin {
428
+ /**
429
+ * URL to online conference
430
+ * @readonly
431
+ */
432
+ link?: string;
433
+ /**
434
+ * Password for online conference
435
+ * @readonly
436
+ */
437
+ password?: string | null;
438
+ }
425
439
  export interface OrderDeleted {
426
440
  /** Order deleted timestamp in ISO UTC format. */
427
441
  timestamp?: Date;
@@ -469,10 +483,79 @@ export interface TaskKey {
469
483
  subjectId?: string | null;
470
484
  }
471
485
  /**
472
- * Retrieves a list of guests according to the provided filters and paging.
473
- * @param query - Query options. See [API Query Langauge](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details.
486
+ * Creates a query to retrieve a list of guests.
487
+ *
488
+ *
489
+ * The `queryEventsGuests()` function builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder) object.
490
+ *
491
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
492
+ *
493
+ * You can refine the query by chaining `GuestsQueryBuilder` functions onto the query. GuestsQueryBuilder functions enable you to sort, filter, and control the results that `queryEventGuests.find()` returns.
494
+ *
495
+ * The query runs with the following `GuestsQueryBuilder` defaults that you can override:
496
+ *
497
+ * - [`limit`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/limit): 50
498
+ * - [`descending`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/descending): _createdDate
499
+ *
500
+ * The functions that are chained to `queryEventGuests()` are applied in the order they are called. For example, if you sort the `_createdDate` property in ascending order and then the `_updatedDate` property in descending order, the results are sorted by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.
501
+ *
502
+ * The following GuestsQueryBuilder functions are supported for queryEventGuests():
503
+ *
474
504
  * @public
475
505
  * @documentationMaturity preview
476
- * @requiredField query
477
506
  */
478
- export declare function queryEventGuests(query: QueryV2): Promise<QueryEventGuestsResponse>;
507
+ export declare function queryEventGuests(): GuestsQueryBuilder;
508
+ interface QueryCursorResult {
509
+ hasNext: () => boolean;
510
+ hasPrev: () => boolean;
511
+ length: number;
512
+ pageSize: number;
513
+ }
514
+ export interface GuestsQueryResult extends QueryCursorResult {
515
+ items: EventGuest[];
516
+ query: GuestsQueryBuilder;
517
+ next: () => Promise<GuestsQueryResult>;
518
+ prev: () => Promise<GuestsQueryResult>;
519
+ }
520
+ export interface GuestsQueryBuilder {
521
+ /** @param propertyName - Property whose value is compared with `value`.
522
+ * @param value - Value to compare against.
523
+ * @documentationMaturity preview
524
+ */
525
+ eq: (propertyName: string, value: any) => GuestsQueryBuilder;
526
+ /** @param propertyName - Property whose value is compared with `value`.
527
+ * @param value - Value to compare against.
528
+ * @documentationMaturity preview
529
+ */
530
+ ne: (propertyName: string, value: any) => GuestsQueryBuilder;
531
+ /** @param propertyName - Property whose value is compared with `value`.
532
+ * @param value - Value to compare against.
533
+ * @documentationMaturity preview
534
+ */
535
+ gt: (propertyName: string, value: any) => GuestsQueryBuilder;
536
+ /** @param propertyName - Property whose value is compared with `value`.
537
+ * @param value - Value to compare against.
538
+ * @documentationMaturity preview
539
+ */
540
+ le: (propertyName: string, value: any) => GuestsQueryBuilder;
541
+ /** @param propertyName - Property whose value is compared with `value`.
542
+ * @param value - Value to compare against.
543
+ * @documentationMaturity preview
544
+ */
545
+ lt: (propertyName: string, value: any) => GuestsQueryBuilder;
546
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
547
+ * @documentationMaturity preview
548
+ */
549
+ ascending: (...propertyNames: string[]) => GuestsQueryBuilder;
550
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
551
+ * @documentationMaturity preview
552
+ */
553
+ descending: (...propertyNames: string[]) => GuestsQueryBuilder;
554
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
555
+ * @documentationMaturity preview
556
+ */
557
+ limit: (limit: number) => GuestsQueryBuilder;
558
+ /** @documentationMaturity preview */
559
+ find: () => Promise<GuestsQueryResult>;
560
+ }
561
+ export {};
@@ -31,13 +31,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
31
31
  exports.queryEventGuests = exports.OrderType = 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
+ // @ts-ignore
35
+ const motion_edm_autogen_query_wrapper_1 = require("@wix/motion-edm-autogen-query-wrapper");
34
36
  let __verbose = false;
35
- function __log(...args) {
36
- __verbose && console.log(...args);
37
- }
38
- function __inspect(obj) {
39
- return obj;
40
- }
41
37
  exports.__debug = {
42
38
  verboseLogging: {
43
39
  on: () => (__verbose = true),
@@ -75,7 +71,7 @@ var GuestType;
75
71
  (function (GuestType) {
76
72
  /** Rsvp guest. */
77
73
  GuestType["RSVP"] = "RSVP";
78
- /** Buyer. */
74
+ /** Buyer guest. */
79
75
  GuestType["BUYER"] = "BUYER";
80
76
  /** Ticket holder guest. */
81
77
  GuestType["TICKET_HOLDER"] = "TICKET_HOLDER";
@@ -125,60 +121,83 @@ const _inputValue = { address: '_formattedAddress' };
125
121
  const _queryEventGuestsRequest = {};
126
122
  const _queryEventGuestsResponse = { guests: '_eventGuest' };
127
123
  /**
128
- * Retrieves a list of guests according to the provided filters and paging.
129
- * @param query - Query options. See [API Query Langauge](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details.
124
+ * Creates a query to retrieve a list of guests.
125
+ *
126
+ *
127
+ * The `queryEventsGuests()` function builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder) object.
128
+ *
129
+ * The returned object contains the query definition which is typically used to run the query using the `find()` function.
130
+ *
131
+ * You can refine the query by chaining `GuestsQueryBuilder` functions onto the query. GuestsQueryBuilder functions enable you to sort, filter, and control the results that `queryEventGuests.find()` returns.
132
+ *
133
+ * The query runs with the following `GuestsQueryBuilder` defaults that you can override:
134
+ *
135
+ * - [`limit`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/limit): 50
136
+ * - [`descending`](https://www.wix.com/velo/reference/wix-events-v2/guests/guestsquerybuilder/descending): _createdDate
137
+ *
138
+ * The functions that are chained to `queryEventGuests()` are applied in the order they are called. For example, if you sort the `_createdDate` property in ascending order and then the `_updatedDate` property in descending order, the results are sorted by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.
139
+ *
140
+ * The following GuestsQueryBuilder functions are supported for queryEventGuests():
141
+ *
130
142
  * @public
131
143
  * @documentationMaturity preview
132
- * @requiredField query
133
144
  */
134
- function queryEventGuests(query) {
135
- var _a, _b, _c;
136
- return __awaiter(this, arguments, void 0, function* () {
137
- const requestTransformation = { query: '$[0]' };
138
- const responseTransformation = '$';
139
- // @ts-ignore
140
- const { httpClient, sideEffects } = arguments[1];
141
- const { toAmbassadorRequest } = velo_1.serializer({
142
- rootSchema: _queryEventGuestsRequest,
143
- depSchemas: {},
144
- fqdnTransformation: {
145
- paths: [],
146
- transformation: _fromVeloEntity,
147
- },
148
- customTransformation: requestTransformation,
149
- });
150
- const { fromJSON } = velo_1.serializer({
151
- rootSchema: _queryEventGuestsResponse,
152
- depSchemas: {
153
- _eventGuest,
154
- _formResponse,
155
- _formattedAddress,
156
- _guestDetails,
157
- _inputValue,
158
- },
159
- fqdnTransformation: {
160
- paths: [...['Array#guests']],
161
- transformation: _toVeloEntity,
162
- },
163
- customTransformation: responseTransformation,
164
- });
165
- const payload = toAmbassadorRequest([query]);
166
- const reqOpts = ambassadorWixEventsGuestsV1Guest.queryEventGuests(payload);
167
- __log(`"QueryEventGuests" sending request with: ${__inspect(reqOpts)}`);
168
- (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
169
- try {
170
- const result = yield httpClient.request(reqOpts);
171
- (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
172
- return fromJSON(result.data);
173
- }
174
- catch (err) {
175
- const transformedError = velo_1.transformError(err, requestTransformation, [
176
- 'query',
177
- ]);
178
- (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
179
- throw transformedError;
180
- }
145
+ function queryEventGuests() {
146
+ const requestTransformation = { '*': '$[1]', query: '$[0]' };
147
+ const responseTransformation = {
148
+ items: '$.guests',
149
+ pagingMetadata: '$.pagingMetadata',
150
+ };
151
+ // @ts-ignore
152
+ const { httpClient, sideEffects } = arguments[0];
153
+ const { toAmbassadorRequest } = velo_1.serializer({
154
+ rootSchema: _queryEventGuestsRequest,
155
+ depSchemas: {},
156
+ fqdnTransformation: {
157
+ paths: [],
158
+ transformation: _fromVeloEntity,
159
+ },
160
+ customTransformation: requestTransformation,
181
161
  });
162
+ const { fromJSON } = velo_1.serializer({
163
+ rootSchema: _queryEventGuestsResponse,
164
+ depSchemas: {
165
+ _eventGuest,
166
+ _formResponse,
167
+ _formattedAddress,
168
+ _guestDetails,
169
+ _inputValue,
170
+ },
171
+ fqdnTransformation: {
172
+ paths: [...['Array#guests']],
173
+ transformation: _toVeloEntity,
174
+ },
175
+ customTransformation: responseTransformation,
176
+ });
177
+ return motion_edm_autogen_query_wrapper_1.wrapWithQueryBuilder({
178
+ func: (payload) => __awaiter(this, void 0, void 0, function* () {
179
+ var _a, _b, _c;
180
+ const reqOpts = ambassadorWixEventsGuestsV1Guest.queryEventGuests(payload);
181
+ (_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
182
+ try {
183
+ const result = yield httpClient.request(reqOpts);
184
+ (_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
185
+ return result;
186
+ }
187
+ catch (err) {
188
+ (_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
189
+ throw err;
190
+ }
191
+ }),
192
+ requestTransformer: (...args) => toAmbassadorRequest(args),
193
+ responseTransformer: ({ data }) => fromJSON(data),
194
+ errorTransformer: (err) => {
195
+ const transformedError = velo_1.transformError(err, requestTransformation);
196
+ throw transformedError;
197
+ },
198
+ pagingMethod: 'CURSOR',
199
+ transformationPaths: velo_1.resolveQueryFieldsTransformationPaths(_toVeloEntity),
200
+ })({ cursorWithEmptyFilterAndSort: true });
182
201
  }
183
202
  exports.queryEventGuests = queryEventGuests;
184
203
  //# sourceMappingURL=events-guests-v1-guest.universal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"events-guests-v1-guest.universal.js","sourceRoot":"","sources":["../../../src/events-guests-v1-guest.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,gGAAkF;AAElF,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,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;AAoH5B,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;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IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,qBAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,4CAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAhED,4CAgEC"}
@@ -9,4 +9,4 @@ export declare function getInvoice(httpClient: HttpClient): (identifiers: GetInv
9
9
  export declare function checkout(httpClient: HttpClient): (eventId: string, options?: CheckoutOptionsForRequest | undefined) => Promise<import("./events-v1-order-checkout.universal").CheckoutResponse>;
10
10
  export declare function updateCheckout(httpClient: HttpClient): (identifiers: UpdateCheckoutIdentifiers, options?: UpdateCheckoutOptions | undefined) => Promise<import("./events-v1-order-checkout.universal").UpdateCheckoutResponse>;
11
11
  export { SubdivisionType, OrderStatus, ChannelType, TaxType, FeeName, FeeType, OrderType, OrderFieldset, OrderTag, ReservationStatus, State, TicketSaleStatus, Type, TicketDefinitionFieldset, } from './events-v1-order-checkout.universal';
12
- export { Order, FormResponse, InputValue, FormattedAddress, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, Money, TicketingTicket, CheckIn, GuestDetails, TicketDetails, Invoice, Item, Discount, DiscountItem, DiscountItemDiscountOneOf, CouponDiscount, PaidPlanDiscount, PaidPlanDiscountDiscountOneOf, PercentDiscount, Tax, Fee, PaymentDetails, PaymentTransaction, OrderDeleted, Ticket, ListOrdersRequest, ListOrdersResponse, FacetCounts, SearchMetaData, Result, OrderFacets, OrderFacetCounts, Counts, GetOrderRequest, GetOrderResponse, CalendarLinks, UpdateOrderRequest, UpdateOrderResponse, OrderUpdated, BulkUpdateOrdersRequest, BulkUpdateOrdersResponse, ConfirmOrderRequest, ConfirmOrderResponse, GetSummaryRequest, GetSummaryResponse, TicketSales, GetInvoicePreviewRequest, RawHttpResponse, HeadersEntry, GetPaymentInfoRequest, GetPaymentInfoResponse, PaymentTransactionSummary, PaymentTransactionEvent, OrderConfirmed, OrderPaid, ReservationCreated, ReservationUpdated, GetCheckoutOptionsRequest, GetCheckoutOptionsResponse, ListAvailableTicketsRequest, ListAvailableTicketsResponse, ResponseMetaData, TicketDefinition, Dashboard, WixFeeConfig, TicketSalePeriod, TicketPricing, TicketPricingPriceOneOf, PricingOptions, PricingOption, QueryAvailableTicketsRequest, QueryAvailableTicketsResponse, CreateReservationRequest, TicketReservationQuantity, CreateReservationResponse, TicketReservation, CancelReservationRequest, CancelReservationResponse, GetInvoiceRequest, DiscountRequest, PaidPlanBenefit, GetInvoiceResponse, DiscountErrors, Error, CheckoutRequest, Buyer, Guest, CheckoutOptions, CheckoutResponse, OrderInitiated, UpdateCheckoutRequest, UpdateCheckoutResponse, PosCheckoutRequest, PosCheckoutResponse, ListAvailableTicketsOptions, QueryAvailableTicketsOptions, CreateReservationOptions, CancelReservationIdentifiers, GetInvoiceIdentifiers, GetInvoiceOptions, CheckoutOptionsForRequest, UpdateCheckoutIdentifiers, UpdateCheckoutOptions, } from './events-v1-order-checkout.universal';
12
+ export { Order, FormResponse, InputValue, FormattedAddress, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, Money, TicketingTicket, CheckIn, GuestDetails, TicketDetails, OnlineConferencingLogin, Invoice, Item, Discount, DiscountItem, DiscountItemDiscountOneOf, CouponDiscount, PaidPlanDiscount, PaidPlanDiscountDiscountOneOf, PercentDiscount, Tax, Fee, PaymentDetails, PaymentTransaction, OrderDeleted, Ticket, ListOrdersRequest, ListOrdersResponse, FacetCounts, SearchMetaData, Result, OrderFacets, OrderFacetCounts, Counts, GetOrderRequest, GetOrderResponse, CalendarLinks, UpdateOrderRequest, UpdateOrderResponse, OrderUpdated, BulkUpdateOrdersRequest, BulkUpdateOrdersResponse, ConfirmOrderRequest, ConfirmOrderResponse, GetSummaryRequest, GetSummaryResponse, TicketSales, GetInvoicePreviewRequest, RawHttpResponse, HeadersEntry, GetPaymentInfoRequest, GetPaymentInfoResponse, PaymentTransactionSummary, PaymentTransactionEvent, OrderConfirmed, OrderPaid, ReservationCreated, ReservationUpdated, GetCheckoutOptionsRequest, GetCheckoutOptionsResponse, ListAvailableTicketsRequest, ListAvailableTicketsResponse, ResponseMetaData, TicketDefinition, Dashboard, WixFeeConfig, TicketSalePeriod, TicketPricing, TicketPricingPriceOneOf, PricingOptions, PricingOption, QueryAvailableTicketsRequest, QueryAvailableTicketsResponse, CreateReservationRequest, TicketReservationQuantity, CreateReservationResponse, TicketReservation, CancelReservationRequest, CancelReservationResponse, GetInvoiceRequest, DiscountRequest, PaidPlanBenefit, GetInvoiceResponse, DiscountErrors, Error, CheckoutRequest, Buyer, Guest, CheckoutOptions, CheckoutResponse, OrderInitiated, UpdateCheckoutRequest, UpdateCheckoutResponse, PosCheckoutRequest, PosCheckoutResponse, ListAvailableTicketsOptions, QueryAvailableTicketsOptions, CreateReservationOptions, CancelReservationIdentifiers, GetInvoiceIdentifiers, GetInvoiceOptions, CheckoutOptionsForRequest, UpdateCheckoutIdentifiers, UpdateCheckoutOptions, } from './events-v1-order-checkout.universal';
@@ -217,6 +217,8 @@ export interface TicketingTicket {
217
217
  * @readonly
218
218
  */
219
219
  walletPassUrl?: string;
220
+ /** URL and password to online conference */
221
+ onlineConferencingLogin?: OnlineConferencingLogin;
220
222
  }
221
223
  export interface CheckIn {
222
224
  /** Time of check-in */
@@ -277,6 +279,18 @@ export interface TicketDetails {
277
279
  /** Pricing option id. */
278
280
  pricingOptionId?: string | null;
279
281
  }
282
+ export interface OnlineConferencingLogin {
283
+ /**
284
+ * URL to online conference
285
+ * @readonly
286
+ */
287
+ link?: string;
288
+ /**
289
+ * Password for online conference
290
+ * @readonly
291
+ */
292
+ password?: string | null;
293
+ }
280
294
  export interface Invoice {
281
295
  items?: Item[];
282
296
  /** Total cart amount. */
@@ -498,6 +512,8 @@ export interface Ticket {
498
512
  form?: FormResponse;
499
513
  /** Anonymized tickets no longer contain personally identifiable information (PII). */
500
514
  anonymized?: boolean;
515
+ /** URL and password to online conference */
516
+ onlineConferencingLogin?: OnlineConferencingLogin;
501
517
  }
502
518
  export interface ListOrdersRequest {
503
519
  /** Offset. */
@@ -1 +1 @@
1
- {"version":3,"file":"events-v1-order-checkout.types.js","sourceRoot":"","sources":["../../../src/events-v1-order-checkout.types.ts"],"names":[],"mappings":";;;AAgIA,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,WAiBX;AAjBD,WAAY,WAAW;IACrB,2DAA2D;IAC3D,kDAAmC,CAAA;IACnC,8CAA8C;IAC9C,4BAAa,CAAA;IACb,2FAA2F;IAC3F,kCAAmB,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;AA4FD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,qFAAqF;IACrF,gCAAiB,CAAA;IACjB,4DAA4D;IAC5D,0CAA2B,CAAA;AAC7B,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAuKD,IAAY,OAOX;AAPD,WAAY,OAAO;IACjB,0CAA0C;IA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iBAAiB;IAC3B;;;OAGG;IACH,gEAA2C,CAAA;IAC3C,yDAAyD;IACzD,oEAA+C,CAAA;IAC/C,2DAA2D;IAC3D,kEAA6C,CAAA;IAC7C,0DAA0D;IAC1D,oFAA+D,CAAA;IAC/D,mCAAmC;IACnC,gEAA2C,CAAA;AAC7C,CAAC,EAdW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAc5B;AA8CD,IAAY,KAEX;AAFD,WAAY,KAAK;IACf,kEAAyD,CAAA;AAC3D,CAAC,EAFW,KAAK,GAAL,aAAK,KAAL,aAAK,QAEhB;AAyFD,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,wCAAwC;IACxC,qDAAiC,CAAA;IACjC,8BAA8B;IAC9B,iDAA6B,CAAA;IAC7B,4BAA4B;IAC5B,6CAAyB,CAAA;AAC3B,CAAC,EAPW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAO3B;AAmCD,IAAY,IAGX;AAHD,WAAY,IAAI;IACd,6BAAqB,CAAA;IACrB,6BAAqB,CAAA;AACvB,CAAC,EAHW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAGf;AAoBD,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,sCAAsC;IACtC,6CAAiB,CAAA;IACjB,yCAAyC;IACzC,mDAAuB,CAAA;AACzB,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC"}
1
+ {"version":3,"file":"events-v1-order-checkout.types.js","sourceRoot":"","sources":["../../../src/events-v1-order-checkout.types.ts"],"names":[],"mappings":";;;AAgIA,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,8IAA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,wBAAgB,KAAhB,wBAAgB,QAO3B;AAmCD,IAAY,IAGX;AAHD,WAAY,IAAI;IACd,6BAAqB,CAAA;IACrB,6BAAqB,CAAA;AACvB,CAAC,EAHW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAGf;AAoBD,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,sCAAsC;IACtC,6CAAiB,CAAA;IACjB,yCAAyC;IACzC,mDAAuB,CAAA;AACzB,CAAC,EALW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAKnC"}
@@ -223,6 +223,8 @@ export interface TicketingTicket {
223
223
  * @readonly
224
224
  */
225
225
  walletPassUrl?: string;
226
+ /** URL and password to online conference */
227
+ onlineConferencingLogin?: OnlineConferencingLogin;
226
228
  }
227
229
  export interface CheckIn {
228
230
  /** Time of check-in */
@@ -283,6 +285,18 @@ export interface TicketDetails {
283
285
  /** Pricing option id. */
284
286
  pricingOptionId?: string | null;
285
287
  }
288
+ export interface OnlineConferencingLogin {
289
+ /**
290
+ * URL to online conference
291
+ * @readonly
292
+ */
293
+ link?: string;
294
+ /**
295
+ * Password for online conference
296
+ * @readonly
297
+ */
298
+ password?: string | null;
299
+ }
286
300
  export interface Invoice {
287
301
  /** Items listed in the invoice. */
288
302
  items?: Item[];
@@ -505,6 +519,8 @@ export interface Ticket {
505
519
  form?: FormResponse;
506
520
  /** Anonymized tickets no longer contain personally identifiable information (PII). */
507
521
  anonymized?: boolean;
522
+ /** URL and password to online conference */
523
+ onlineConferencingLogin?: OnlineConferencingLogin;
508
524
  }
509
525
  export interface ListOrdersRequest {
510
526
  /** Offset. */