@connectedxm/admin 0.0.14 → 0.0.15

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.mts CHANGED
@@ -173,6 +173,7 @@ interface BaseAccount {
173
173
  featured: boolean;
174
174
  timezone: string | null;
175
175
  internalRefId: string | null;
176
+ accountTiers: BaseTier[];
176
177
  createdAt: string;
177
178
  }
178
179
  interface Account extends BaseAccount {
@@ -196,7 +197,6 @@ interface Account extends BaseAccount {
196
197
  state: string | null;
197
198
  country: string | null;
198
199
  zip: string | null;
199
- accountTiers: BaseTier[];
200
200
  updatedAt: string;
201
201
  }
202
202
  interface APILog {
@@ -1194,8 +1194,8 @@ interface BasePurchase {
1194
1194
  }
1195
1195
  interface Purchase extends BasePurchase {
1196
1196
  addOns: BaseEventAddOn[];
1197
- registrationId: string | null;
1198
- registration: BaseRegistration | null;
1197
+ registrationId: string;
1198
+ registration: BaseRegistration;
1199
1199
  }
1200
1200
  interface PushDevice {
1201
1201
  id: string;
package/dist/index.d.ts CHANGED
@@ -173,6 +173,7 @@ interface BaseAccount {
173
173
  featured: boolean;
174
174
  timezone: string | null;
175
175
  internalRefId: string | null;
176
+ accountTiers: BaseTier[];
176
177
  createdAt: string;
177
178
  }
178
179
  interface Account extends BaseAccount {
@@ -196,7 +197,6 @@ interface Account extends BaseAccount {
196
197
  state: string | null;
197
198
  country: string | null;
198
199
  zip: string | null;
199
- accountTiers: BaseTier[];
200
200
  updatedAt: string;
201
201
  }
202
202
  interface APILog {
@@ -1194,8 +1194,8 @@ interface BasePurchase {
1194
1194
  }
1195
1195
  interface Purchase extends BasePurchase {
1196
1196
  addOns: BaseEventAddOn[];
1197
- registrationId: string | null;
1198
- registration: BaseRegistration | null;
1197
+ registrationId: string;
1198
+ registration: BaseRegistration;
1199
1199
  }
1200
1200
  interface PushDevice {
1201
1201
  id: string;
package/dist/index.js CHANGED
@@ -14812,6 +14812,9 @@ var UpdateEventZplTemplate = async ({
14812
14812
  });
14813
14813
  if (queryClient && data.status === "ok") {
14814
14814
  SET_EVENT_ON_SITE_QUERY_DATA(queryClient, [eventId], data);
14815
+ queryClient.invalidateQueries({
14816
+ queryKey: EVENT_ZPL_TEMPLATE_BADGE_FIELDS_QUERY_KEY(eventId)
14817
+ });
14815
14818
  }
14816
14819
  return data;
14817
14820
  };
@@ -14845,6 +14848,9 @@ var UpdateEventZplTemplateBadgeField = async ({
14845
14848
  queryClient.invalidateQueries({
14846
14849
  queryKey: EVENT_ZPL_TEMPLATE_BADGE_FIELDS_QUERY_KEY(eventId)
14847
14850
  });
14851
+ queryClient.invalidateQueries({
14852
+ queryKey: EVENT_ON_SITE_QUERY_KEY(eventId)
14853
+ });
14848
14854
  }
14849
14855
  return data;
14850
14856
  };
package/dist/index.mjs CHANGED
@@ -13049,6 +13049,9 @@ var UpdateEventZplTemplate = async ({
13049
13049
  });
13050
13050
  if (queryClient && data.status === "ok") {
13051
13051
  SET_EVENT_ON_SITE_QUERY_DATA(queryClient, [eventId], data);
13052
+ queryClient.invalidateQueries({
13053
+ queryKey: EVENT_ZPL_TEMPLATE_BADGE_FIELDS_QUERY_KEY(eventId)
13054
+ });
13052
13055
  }
13053
13056
  return data;
13054
13057
  };
@@ -13082,6 +13085,9 @@ var UpdateEventZplTemplateBadgeField = async ({
13082
13085
  queryClient.invalidateQueries({
13083
13086
  queryKey: EVENT_ZPL_TEMPLATE_BADGE_FIELDS_QUERY_KEY(eventId)
13084
13087
  });
13088
+ queryClient.invalidateQueries({
13089
+ queryKey: EVENT_ON_SITE_QUERY_KEY(eventId)
13090
+ });
13085
13091
  }
13086
13092
  return data;
13087
13093
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {