@wix/events 1.0.345 → 1.0.347

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/events",
3
- "version": "1.0.345",
3
+ "version": "1.0.347",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -25,9 +25,9 @@
25
25
  "@wix/events_forms": "1.0.54",
26
26
  "@wix/events_guests": "1.0.79",
27
27
  "@wix/events_notifications": "1.0.43",
28
- "@wix/events_orders": "1.0.61",
28
+ "@wix/events_orders": "1.0.62",
29
29
  "@wix/events_policies": "1.0.49",
30
- "@wix/events_ricos": "1.0.21",
30
+ "@wix/events_ricos": "1.0.22",
31
31
  "@wix/events_rsvp": "1.0.53",
32
32
  "@wix/events_rsvp-v-2": "1.0.24",
33
33
  "@wix/events_schedule": "1.0.47",
@@ -61,5 +61,5 @@
61
61
  "fqdn": ""
62
62
  }
63
63
  },
64
- "falconPackageHash": "925ad21c8aa494a4352ac0cc347b900be00e22a00f5f8c3f1900d37a"
64
+ "falconPackageHash": "6f0695d23d7f9d22e40fb43233b452fe339e71c648437cd04a0041d9"
65
65
  }
@@ -9444,6 +9444,8 @@ interface GetCheckoutOptionsResponse {
9444
9444
  premiumServices?: boolean;
9445
9445
  /** Whether there are any paid tickets available for sale. */
9446
9446
  paidTickets?: boolean;
9447
+ /** Whether gift cards are accepted at checkout. */
9448
+ acceptGiftCards?: boolean;
9447
9449
  }
9448
9450
  interface ListAvailableTicketsRequest {
9449
9451
  /** Event ID. If not provided, available tickets for all events in the site will be returned. */
@@ -10064,6 +10066,7 @@ interface GetCheckoutOptionsResponseNonNullableFields {
10064
10066
  acceptCoupons: boolean;
10065
10067
  premiumServices: boolean;
10066
10068
  paidTickets: boolean;
10069
+ acceptGiftCards: boolean;
10067
10070
  }
10068
10071
  interface ResponseMetaDataNonNullableFields$1 {
10069
10072
  count: number;
@@ -10182,6 +10185,10 @@ interface OrderConfirmedEnvelope {
10182
10185
  data: OrderConfirmed;
10183
10186
  metadata: BaseEventMetadata$7;
10184
10187
  }
10188
+ interface OrderInitiatedEnvelope {
10189
+ data: OrderInitiated;
10190
+ metadata: BaseEventMetadata$7;
10191
+ }
10185
10192
  interface OrderReservationCreatedEnvelope {
10186
10193
  data: ReservationCreated$1;
10187
10194
  metadata: BaseEventMetadata$7;
@@ -10190,10 +10197,6 @@ interface OrderReservationUpdatedEnvelope {
10190
10197
  data: ReservationUpdated$1;
10191
10198
  metadata: BaseEventMetadata$7;
10192
10199
  }
10193
- interface OrderInitiatedEnvelope {
10194
- data: OrderInitiated;
10195
- metadata: BaseEventMetadata$7;
10196
- }
10197
10200
  interface ListOrdersOptions {
10198
10201
  /** Offset. */
10199
10202
  offset?: number;
@@ -10567,9 +10570,9 @@ interface PosCheckoutSignature {
10567
10570
  declare const onOrderDeleted$1: EventDefinition<OrderDeletedEnvelope, "wix.events.ticketing.events.OrderDeleted">;
10568
10571
  declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.events.ticketing.events.OrderUpdated">;
10569
10572
  declare const onOrderConfirmed$1: EventDefinition<OrderConfirmedEnvelope, "wix.events.ticketing.events.OrderConfirmed">;
10573
+ declare const onOrderInitiated$1: EventDefinition<OrderInitiatedEnvelope, "wix.events.ticketing.events.OrderInitiated">;
10570
10574
  declare const onOrderReservationCreated$1: EventDefinition<OrderReservationCreatedEnvelope, "wix.events.ticketing.events.ReservationCreated">;
10571
10575
  declare const onOrderReservationUpdated$1: EventDefinition<OrderReservationUpdatedEnvelope, "wix.events.ticketing.events.ReservationUpdated">;
10572
- declare const onOrderInitiated$1: EventDefinition<OrderInitiatedEnvelope, "wix.events.ticketing.events.OrderInitiated">;
10573
10576
 
10574
10577
  declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
10575
10578
 
@@ -10605,6 +10608,10 @@ type _publicOnOrderConfirmedType = typeof onOrderConfirmed$1;
10605
10608
  /** */
10606
10609
  declare const onOrderConfirmed: ReturnType<typeof createEventModule$7<_publicOnOrderConfirmedType>>;
10607
10610
 
10611
+ type _publicOnOrderInitiatedType = typeof onOrderInitiated$1;
10612
+ /** */
10613
+ declare const onOrderInitiated: ReturnType<typeof createEventModule$7<_publicOnOrderInitiatedType>>;
10614
+
10608
10615
  type _publicOnOrderReservationCreatedType = typeof onOrderReservationCreated$1;
10609
10616
  /** */
10610
10617
  declare const onOrderReservationCreated: ReturnType<typeof createEventModule$7<_publicOnOrderReservationCreatedType>>;
@@ -10613,10 +10620,6 @@ type _publicOnOrderReservationUpdatedType = typeof onOrderReservationUpdated$1;
10613
10620
  /** */
10614
10621
  declare const onOrderReservationUpdated: ReturnType<typeof createEventModule$7<_publicOnOrderReservationUpdatedType>>;
10615
10622
 
10616
- type _publicOnOrderInitiatedType = typeof onOrderInitiated$1;
10617
- /** */
10618
- declare const onOrderInitiated: ReturnType<typeof createEventModule$7<_publicOnOrderInitiatedType>>;
10619
-
10620
10623
  type context$8_Action = Action;
10621
10624
  declare const context$8_Action: typeof Action;
10622
10625
  type context$8_BalanceSummary = BalanceSummary;
@@ -13005,15 +13008,20 @@ interface QueryRichContentsSignature {
13005
13008
  declare function queryRichContent$1(httpClient: HttpClient): QueryRichContentSignature;
13006
13009
  interface QueryRichContentSignature {
13007
13010
  /**
13008
- * Retrieves a list of rich content entities, given the provided paging, filtering, and sorting.
13011
+ * Creates a query to retrieve a list of rich content entities.
13009
13012
  *
13010
- * Query Rich Content runs with these defaults, which you can override:
13011
- * - `createdDate` is sorted in `ASC` order
13012
- * - `paging.limit` is `100`
13013
- * - `paging.offset` is `0`
13013
+ * The `queryRichContent()` function builds a query to retrieve a list of events and returns a `RichContentQueryBuilder` object.
13014
+ *
13015
+ * The returned object contains the query definition, which is typically used to run the query using the `find()` function.
13016
+ *
13017
+ * You can refine the query by chaining `RichContentQueryBuilder` functions onto the query. `RichContentQueryBuilder` functions enable you to sort, filter, and control the results `queryRichContent()` returns.
13018
+ *
13019
+ * `queryRichContent()` runs with these `RichContentQueryBuilder` defaults, which you can override:
13014
13020
  *
13015
- * For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/rich-content/filter-and-sort).
13016
- * To learn about working with _Query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination), and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
13021
+ * - `skip(0)`
13022
+ * - `limit(50)`
13023
+ * - `descending("_createdDate")`
13024
+ * The functions that are chained to `queryRichContent()` are applied in the order they're called. For example, if you apply ascending('eventId') and then descending('id'), the results are sorted first by the event ID, and then, if there are multiple results with the same event ID, the items are sorted by ID.
13017
13025
  */
13018
13026
  (): RichContentQueryBuilder;
13019
13027
  }
@@ -9444,6 +9444,8 @@ interface GetCheckoutOptionsResponse {
9444
9444
  premiumServices?: boolean;
9445
9445
  /** Whether there are any paid tickets available for sale. */
9446
9446
  paidTickets?: boolean;
9447
+ /** Whether gift cards are accepted at checkout. */
9448
+ acceptGiftCards?: boolean;
9447
9449
  }
9448
9450
  interface ListAvailableTicketsRequest {
9449
9451
  /** Event ID. If not provided, available tickets for all events in the site will be returned. */
@@ -10064,6 +10066,7 @@ interface GetCheckoutOptionsResponseNonNullableFields {
10064
10066
  acceptCoupons: boolean;
10065
10067
  premiumServices: boolean;
10066
10068
  paidTickets: boolean;
10069
+ acceptGiftCards: boolean;
10067
10070
  }
10068
10071
  interface ResponseMetaDataNonNullableFields$1 {
10069
10072
  count: number;
@@ -10182,6 +10185,10 @@ interface OrderConfirmedEnvelope {
10182
10185
  data: OrderConfirmed;
10183
10186
  metadata: BaseEventMetadata$7;
10184
10187
  }
10188
+ interface OrderInitiatedEnvelope {
10189
+ data: OrderInitiated;
10190
+ metadata: BaseEventMetadata$7;
10191
+ }
10185
10192
  interface OrderReservationCreatedEnvelope {
10186
10193
  data: ReservationCreated$1;
10187
10194
  metadata: BaseEventMetadata$7;
@@ -10190,10 +10197,6 @@ interface OrderReservationUpdatedEnvelope {
10190
10197
  data: ReservationUpdated$1;
10191
10198
  metadata: BaseEventMetadata$7;
10192
10199
  }
10193
- interface OrderInitiatedEnvelope {
10194
- data: OrderInitiated;
10195
- metadata: BaseEventMetadata$7;
10196
- }
10197
10200
  interface ListOrdersOptions {
10198
10201
  /** Offset. */
10199
10202
  offset?: number;
@@ -10567,9 +10570,9 @@ interface PosCheckoutSignature {
10567
10570
  declare const onOrderDeleted$1: EventDefinition<OrderDeletedEnvelope, "wix.events.ticketing.events.OrderDeleted">;
10568
10571
  declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.events.ticketing.events.OrderUpdated">;
10569
10572
  declare const onOrderConfirmed$1: EventDefinition<OrderConfirmedEnvelope, "wix.events.ticketing.events.OrderConfirmed">;
10573
+ declare const onOrderInitiated$1: EventDefinition<OrderInitiatedEnvelope, "wix.events.ticketing.events.OrderInitiated">;
10570
10574
  declare const onOrderReservationCreated$1: EventDefinition<OrderReservationCreatedEnvelope, "wix.events.ticketing.events.ReservationCreated">;
10571
10575
  declare const onOrderReservationUpdated$1: EventDefinition<OrderReservationUpdatedEnvelope, "wix.events.ticketing.events.ReservationUpdated">;
10572
- declare const onOrderInitiated$1: EventDefinition<OrderInitiatedEnvelope, "wix.events.ticketing.events.OrderInitiated">;
10573
10576
 
10574
10577
  declare function createEventModule$7<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
10575
10578
 
@@ -10605,6 +10608,10 @@ type _publicOnOrderConfirmedType = typeof onOrderConfirmed$1;
10605
10608
  /** */
10606
10609
  declare const onOrderConfirmed: ReturnType<typeof createEventModule$7<_publicOnOrderConfirmedType>>;
10607
10610
 
10611
+ type _publicOnOrderInitiatedType = typeof onOrderInitiated$1;
10612
+ /** */
10613
+ declare const onOrderInitiated: ReturnType<typeof createEventModule$7<_publicOnOrderInitiatedType>>;
10614
+
10608
10615
  type _publicOnOrderReservationCreatedType = typeof onOrderReservationCreated$1;
10609
10616
  /** */
10610
10617
  declare const onOrderReservationCreated: ReturnType<typeof createEventModule$7<_publicOnOrderReservationCreatedType>>;
@@ -10613,10 +10620,6 @@ type _publicOnOrderReservationUpdatedType = typeof onOrderReservationUpdated$1;
10613
10620
  /** */
10614
10621
  declare const onOrderReservationUpdated: ReturnType<typeof createEventModule$7<_publicOnOrderReservationUpdatedType>>;
10615
10622
 
10616
- type _publicOnOrderInitiatedType = typeof onOrderInitiated$1;
10617
- /** */
10618
- declare const onOrderInitiated: ReturnType<typeof createEventModule$7<_publicOnOrderInitiatedType>>;
10619
-
10620
10623
  type index_d$8_Action = Action;
10621
10624
  declare const index_d$8_Action: typeof Action;
10622
10625
  type index_d$8_BalanceSummary = BalanceSummary;
@@ -13005,15 +13008,20 @@ interface QueryRichContentsSignature {
13005
13008
  declare function queryRichContent$1(httpClient: HttpClient): QueryRichContentSignature;
13006
13009
  interface QueryRichContentSignature {
13007
13010
  /**
13008
- * Retrieves a list of rich content entities, given the provided paging, filtering, and sorting.
13011
+ * Creates a query to retrieve a list of rich content entities.
13009
13012
  *
13010
- * Query Rich Content runs with these defaults, which you can override:
13011
- * - `createdDate` is sorted in `ASC` order
13012
- * - `paging.limit` is `100`
13013
- * - `paging.offset` is `0`
13013
+ * The `queryRichContent()` function builds a query to retrieve a list of events and returns a `RichContentQueryBuilder` object.
13014
+ *
13015
+ * The returned object contains the query definition, which is typically used to run the query using the `find()` function.
13016
+ *
13017
+ * You can refine the query by chaining `RichContentQueryBuilder` functions onto the query. `RichContentQueryBuilder` functions enable you to sort, filter, and control the results `queryRichContent()` returns.
13018
+ *
13019
+ * `queryRichContent()` runs with these `RichContentQueryBuilder` defaults, which you can override:
13014
13020
  *
13015
- * For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/rich-content/filter-and-sort).
13016
- * To learn about working with _Query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination), and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
13021
+ * - `skip(0)`
13022
+ * - `limit(50)`
13023
+ * - `descending("_createdDate")`
13024
+ * The functions that are chained to `queryRichContent()` are applied in the order they're called. For example, if you apply ascending('eventId') and then descending('id'), the results are sorted first by the event ID, and then, if there are multiple results with the same event ID, the items are sorted by ID.
13017
13025
  */
13018
13026
  (): RichContentQueryBuilder;
13019
13027
  }
@@ -5159,6 +5159,8 @@ interface GetCheckoutOptionsResponse$1 {
5159
5159
  premiumServices?: boolean;
5160
5160
  /** Whether there are any paid tickets available for sale. */
5161
5161
  paidTickets?: boolean;
5162
+ /** Whether gift cards are accepted at checkout. */
5163
+ acceptGiftCards?: boolean;
5162
5164
  }
5163
5165
  interface ListAvailableTicketsRequest$1 {
5164
5166
  /** Event ID. If not provided, available tickets for all events in the site will be returned. */
@@ -5711,6 +5713,7 @@ interface GetCheckoutOptionsResponseNonNullableFields$1 {
5711
5713
  acceptCoupons: boolean;
5712
5714
  premiumServices: boolean;
5713
5715
  paidTickets: boolean;
5716
+ acceptGiftCards: boolean;
5714
5717
  }
5715
5718
  interface ResponseMetaDataNonNullableFields$3 {
5716
5719
  count: number;
@@ -6492,6 +6495,8 @@ interface GetCheckoutOptionsResponse {
6492
6495
  premiumServices?: boolean;
6493
6496
  /** Whether there are any paid tickets available for sale. */
6494
6497
  paidTickets?: boolean;
6498
+ /** Whether gift cards are accepted at checkout. */
6499
+ acceptGiftCards?: boolean;
6495
6500
  }
6496
6501
  interface ListAvailableTicketsRequest {
6497
6502
  /** Event ID. If not provided, available tickets for all events in the site will be returned. */
@@ -7044,6 +7049,7 @@ interface GetCheckoutOptionsResponseNonNullableFields {
7044
7049
  acceptCoupons: boolean;
7045
7050
  premiumServices: boolean;
7046
7051
  paidTickets: boolean;
7052
+ acceptGiftCards: boolean;
7047
7053
  }
7048
7054
  interface ResponseMetaDataNonNullableFields$2 {
7049
7055
  count: number;