@connectedxm/client 8.0.9 → 8.0.11

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/dist/index.d.ts CHANGED
@@ -3001,11 +3001,14 @@ interface EventConfig {
3001
3001
  name: string;
3002
3002
  description: string;
3003
3003
  price: number;
3004
- prices: SessionPrice[];
3005
3004
  startTime: string;
3006
3005
  soldout: boolean;
3007
3006
  allowedPassTypes: string[];
3008
3007
  allowedTiers: string[];
3008
+ prices: {
3009
+ passTypeId: string;
3010
+ price: number;
3011
+ }[];
3009
3012
  image: {
3010
3013
  id: string;
3011
3014
  uri: string;
@@ -3048,7 +3051,7 @@ interface EventConfig {
3048
3051
  value: string;
3049
3052
  description?: string;
3050
3053
  subQuestionIds?: string[];
3051
- soldout: boolean;
3054
+ supply: number | null;
3052
3055
  }[];
3053
3056
  }[];
3054
3057
  HAS_ADD_ONS_STEP: boolean;
package/dist/index.js CHANGED
@@ -10054,7 +10054,7 @@ var ApplyEventRegistrationCoupon = async ({
10054
10054
  clientApiParams
10055
10055
  }) => {
10056
10056
  const clientApi = await GetClientAPI(clientApiParams);
10057
- const { data } = await clientApi.post(
10057
+ const { data } = await clientApi.put(
10058
10058
  `/events/${eventId}/registration/coupon`,
10059
10059
  { draft, code }
10060
10060
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "8.0.9",
3
+ "version": "8.0.11",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",