@connectedxm/admin 0.0.20 → 0.0.21

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
@@ -3046,23 +3046,11 @@ interface InterestCreateInputs {
3046
3046
  name: string;
3047
3047
  imageId?: string | null;
3048
3048
  featured?: boolean | null;
3049
- accountId?: string | null;
3050
- groupId?: string | null;
3051
- eventId?: string | null;
3052
- activityId?: string | null;
3053
- channelId?: string | null;
3054
- contentId?: string | null;
3055
3049
  }
3056
3050
  interface InterestUpdateInputs {
3057
3051
  name?: string | null;
3058
3052
  imageId?: string | null;
3059
3053
  featured?: boolean | null;
3060
- accountId?: string | null;
3061
- groupId?: string | null;
3062
- eventId?: string | null;
3063
- activityId?: string | null;
3064
- channelId?: string | null;
3065
- contentId?: string | null;
3066
3054
  }
3067
3055
  interface InvoiceCreateInputs {
3068
3056
  title: string;
package/dist/index.d.ts CHANGED
@@ -3046,23 +3046,11 @@ interface InterestCreateInputs {
3046
3046
  name: string;
3047
3047
  imageId?: string | null;
3048
3048
  featured?: boolean | null;
3049
- accountId?: string | null;
3050
- groupId?: string | null;
3051
- eventId?: string | null;
3052
- activityId?: string | null;
3053
- channelId?: string | null;
3054
- contentId?: string | null;
3055
3049
  }
3056
3050
  interface InterestUpdateInputs {
3057
3051
  name?: string | null;
3058
3052
  imageId?: string | null;
3059
3053
  featured?: boolean | null;
3060
- accountId?: string | null;
3061
- groupId?: string | null;
3062
- eventId?: string | null;
3063
- activityId?: string | null;
3064
- channelId?: string | null;
3065
- contentId?: string | null;
3066
3054
  }
3067
3055
  interface InvoiceCreateInputs {
3068
3056
  title: string;
package/dist/index.js CHANGED
@@ -21125,21 +21125,6 @@ var CreateInterest = async ({
21125
21125
  if (queryClient && data.status === "ok") {
21126
21126
  queryClient.invalidateQueries({ queryKey: INTERESTS_QUERY_KEY() });
21127
21127
  SET_INTEREST_QUERY_DATA(queryClient, [data.data.id], data);
21128
- if (interest.accountId) {
21129
- queryClient.invalidateQueries({
21130
- queryKey: ACCOUNT_INTERESTS_QUERY_KEY(interest.accountId)
21131
- });
21132
- }
21133
- if (interest.activityId) {
21134
- queryClient.invalidateQueries({
21135
- queryKey: ACTIVITY_INTERESTS_QUERY_KEY(interest.activityId)
21136
- });
21137
- }
21138
- if (interest.groupId) {
21139
- queryClient.invalidateQueries({
21140
- queryKey: GROUP_INTERESTS_QUERY_KEY(interest.groupId)
21141
- });
21142
- }
21143
21128
  }
21144
21129
  return data;
21145
21130
  };
package/dist/index.mjs CHANGED
@@ -19271,21 +19271,6 @@ var CreateInterest = async ({
19271
19271
  if (queryClient && data.status === "ok") {
19272
19272
  queryClient.invalidateQueries({ queryKey: INTERESTS_QUERY_KEY() });
19273
19273
  SET_INTEREST_QUERY_DATA(queryClient, [data.data.id], data);
19274
- if (interest.accountId) {
19275
- queryClient.invalidateQueries({
19276
- queryKey: ACCOUNT_INTERESTS_QUERY_KEY(interest.accountId)
19277
- });
19278
- }
19279
- if (interest.activityId) {
19280
- queryClient.invalidateQueries({
19281
- queryKey: ACTIVITY_INTERESTS_QUERY_KEY(interest.activityId)
19282
- });
19283
- }
19284
- if (interest.groupId) {
19285
- queryClient.invalidateQueries({
19286
- queryKey: GROUP_INTERESTS_QUERY_KEY(interest.groupId)
19287
- });
19288
- }
19289
19274
  }
19290
19275
  return data;
19291
19276
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {