@connectedxm/admin 1.4.21 → 1.4.23

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
@@ -3763,6 +3763,7 @@ interface ReportCreateInputs {
3763
3763
  parentId: string | number;
3764
3764
  eventId?: string | null;
3765
3765
  placeId?: string | null;
3766
+ groupId?: string | null;
3766
3767
  description?: string | null;
3767
3768
  filters?: string | null;
3768
3769
  columns?: string | null;
package/dist/index.d.ts CHANGED
@@ -3763,6 +3763,7 @@ interface ReportCreateInputs {
3763
3763
  parentId: string | number;
3764
3764
  eventId?: string | null;
3765
3765
  placeId?: string | null;
3766
+ groupId?: string | null;
3766
3767
  description?: string | null;
3767
3768
  filters?: string | null;
3768
3769
  columns?: string | null;
package/dist/index.js CHANGED
@@ -14263,7 +14263,7 @@ var useGetReports = (type, filters, params = {}, options = {}) => {
14263
14263
  params,
14264
14264
  {
14265
14265
  ...options,
14266
- enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId) && (options.enabled ?? true)
14266
+ enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId || type === "group" && !!filters?.groupId) && (options.enabled ?? true)
14267
14267
  },
14268
14268
  "reports"
14269
14269
  );
package/dist/index.mjs CHANGED
@@ -11996,7 +11996,7 @@ var useGetReports = (type, filters, params = {}, options = {}) => {
11996
11996
  params,
11997
11997
  {
11998
11998
  ...options,
11999
- enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId) && (options.enabled ?? true)
11999
+ enabled: (type === "organization" || type === "event" && !!filters?.eventId || type === "booking" && !!filters?.placeId || type === "group" && !!filters?.groupId) && (options.enabled ?? true)
12000
12000
  },
12001
12001
  "reports"
12002
12002
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "1.4.21",
3
+ "version": "1.4.23",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {