@connectedxm/client 8.0.0 → 8.0.2

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 (2) hide show
  1. package/dist/index.d.ts +22 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -742,6 +742,7 @@ interface BaseCoupon {
742
742
  applyToPassType: boolean;
743
743
  applyToAddOns: boolean;
744
744
  applyToReservation: boolean;
745
+ applyToSessions: boolean;
745
746
  createdAt: string;
746
747
  updatedAt: string;
747
748
  }
@@ -1350,11 +1351,16 @@ interface RegistrationDraftPass {
1350
1351
  alternateId?: number;
1351
1352
  passTypeId: string;
1352
1353
  addOnIds: string[];
1354
+ sessionIds: string[];
1353
1355
  coupon: {
1354
1356
  id: string;
1355
1357
  code: string;
1356
1358
  discountPercent: number | null;
1357
1359
  discountAmount: number | null;
1360
+ applyToPassType: boolean;
1361
+ applyToAddOns: boolean;
1362
+ applyToReservation: boolean;
1363
+ applyToSessions: boolean;
1358
1364
  } | null;
1359
1365
  packageId: string | null;
1360
1366
  responses: {
@@ -2849,7 +2855,6 @@ interface EventConfig {
2849
2855
  visibility: TicketVisibility;
2850
2856
  limitPerAccount: number | null;
2851
2857
  countryCodes: string | null;
2852
- groupPassDescription: string | null;
2853
2858
  minQuantityPerSale: number;
2854
2859
  maxQuantityPerSale: number;
2855
2860
  requiresApproval: boolean;
@@ -2861,6 +2866,10 @@ interface EventConfig {
2861
2866
  startDate: string;
2862
2867
  endDate: string;
2863
2868
  }[];
2869
+ enableCoupons: boolean;
2870
+ maxCouponQuantity: number | null;
2871
+ minCouponQuantity: number;
2872
+ groupPassDescription: string | null;
2864
2873
  allowedGroupPassTiersIds: string[];
2865
2874
  allowedTiersIds: string[];
2866
2875
  disallowedTiersIds: string[];
@@ -2949,6 +2958,17 @@ interface EventConfig {
2949
2958
  disallowedTiersIds: string[];
2950
2959
  soldout: boolean;
2951
2960
  }[];
2961
+ HAS_SESSIONS_STEP: boolean;
2962
+ SESSIONS: {
2963
+ id: string;
2964
+ name: string;
2965
+ description: string;
2966
+ price: number;
2967
+ startTime: string;
2968
+ soldout: boolean;
2969
+ allowedPassTypes: string[];
2970
+ allowedTiers: string[];
2971
+ }[];
2952
2972
  SECTIONS: {
2953
2973
  id: string;
2954
2974
  name: string;
@@ -2976,6 +2996,7 @@ interface EventConfig {
2976
2996
  required: boolean;
2977
2997
  validation?: string;
2978
2998
  validationMessage?: string;
2999
+ searchListId: string | null;
2979
3000
  choices?: {
2980
3001
  id: string;
2981
3002
  text?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",