@connectedxm/admin 2.4.7 → 2.4.10

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.cjs CHANGED
@@ -35186,6 +35186,14 @@ var UpdatePayment = async ({
35186
35186
  );
35187
35187
  if (queryClient && data.status === "ok") {
35188
35188
  queryClient.invalidateQueries({ queryKey: PAYMENT_QUERY_KEY(paymentId) });
35189
+ if (typeof payment.registrationId !== "undefined") {
35190
+ queryClient.invalidateQueries({
35191
+ predicate: (query) => {
35192
+ const queryKey = query.queryKey;
35193
+ return Array.isArray(queryKey) && queryKey.length === 6 && queryKey[0] === "EVENTS" && queryKey[2] === "ATTENDEES" && queryKey[4] === "PAYMENTS";
35194
+ }
35195
+ });
35196
+ }
35189
35197
  SET_PAYMENT_QUERY_DATA(queryClient, [paymentId], data);
35190
35198
  }
35191
35199
  return data;
package/dist/index.d.cts CHANGED
@@ -209,6 +209,7 @@ interface BaseAccount {
209
209
  country: string | null;
210
210
  internalRefId: string | null;
211
211
  accountTiers: BaseTier[];
212
+ chatConnected: boolean;
212
213
  subscriptions: {
213
214
  subscriptionProduct: {
214
215
  tiers: BaseTier[];
@@ -5329,6 +5330,7 @@ interface EventSponsorshipTranslationUpdateInputs {
5329
5330
  }
5330
5331
  interface PaymentUpdateInputs {
5331
5332
  captured?: boolean;
5333
+ registrationId?: string | null;
5332
5334
  }
5333
5335
  interface CustomModuleCreateInputs {
5334
5336
  name: string;
package/dist/index.d.ts CHANGED
@@ -209,6 +209,7 @@ interface BaseAccount {
209
209
  country: string | null;
210
210
  internalRefId: string | null;
211
211
  accountTiers: BaseTier[];
212
+ chatConnected: boolean;
212
213
  subscriptions: {
213
214
  subscriptionProduct: {
214
215
  tiers: BaseTier[];
@@ -5329,6 +5330,7 @@ interface EventSponsorshipTranslationUpdateInputs {
5329
5330
  }
5330
5331
  interface PaymentUpdateInputs {
5331
5332
  captured?: boolean;
5333
+ registrationId?: string | null;
5332
5334
  }
5333
5335
  interface CustomModuleCreateInputs {
5334
5336
  name: string;
package/dist/index.js CHANGED
@@ -32237,6 +32237,14 @@ var UpdatePayment = async ({
32237
32237
  );
32238
32238
  if (queryClient && data.status === "ok") {
32239
32239
  queryClient.invalidateQueries({ queryKey: PAYMENT_QUERY_KEY(paymentId) });
32240
+ if (typeof payment.registrationId !== "undefined") {
32241
+ queryClient.invalidateQueries({
32242
+ predicate: (query) => {
32243
+ const queryKey = query.queryKey;
32244
+ return Array.isArray(queryKey) && queryKey.length === 6 && queryKey[0] === "EVENTS" && queryKey[2] === "ATTENDEES" && queryKey[4] === "PAYMENTS";
32245
+ }
32246
+ });
32247
+ }
32240
32248
  SET_PAYMENT_QUERY_DATA(queryClient, [paymentId], data);
32241
32249
  }
32242
32250
  return data;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "2.4.7",
3
+ "version": "2.4.10",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",