@connectedxm/admin 6.23.3 → 6.23.4
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 +4 -2
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -2
- package/openapi.json +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3929,6 +3929,8 @@ var EventEmailType = /* @__PURE__ */ ((EventEmailType2) => {
|
|
|
3929
3929
|
EventEmailType2["confirmation"] = "confirmation";
|
|
3930
3930
|
EventEmailType2["cancellation"] = "cancellation";
|
|
3931
3931
|
EventEmailType2["reminder"] = "reminder";
|
|
3932
|
+
EventEmailType2["approval"] = "approval";
|
|
3933
|
+
EventEmailType2["denial"] = "denial";
|
|
3932
3934
|
return EventEmailType2;
|
|
3933
3935
|
})(EventEmailType || {});
|
|
3934
3936
|
var SupportedLocale = /* @__PURE__ */ ((SupportedLocale2) => {
|
|
@@ -4538,7 +4540,7 @@ var useConnectedSingleQuery = (queryKeys, queryFn, options = {}) => {
|
|
|
4538
4540
|
// src/queries/useConnectedInfiniteQuery.ts
|
|
4539
4541
|
var import_react_query3 = require("@tanstack/react-query");
|
|
4540
4542
|
var GetBaseInfiniteQueryKeys = (search = "") => {
|
|
4541
|
-
return [search];
|
|
4543
|
+
return [`SEARCH`, search];
|
|
4542
4544
|
};
|
|
4543
4545
|
var setFirstPageData = (response) => {
|
|
4544
4546
|
return {
|
|
@@ -4561,7 +4563,7 @@ var useConnectedInfiniteQuery = (queryKeys, queryFn, params = {}, options = {
|
|
|
4561
4563
|
queryClient
|
|
4562
4564
|
} = useConnectedXM();
|
|
4563
4565
|
const getNextPageParam = (lastPage, allPages) => {
|
|
4564
|
-
if (lastPage.data
|
|
4566
|
+
if (lastPage.data?.length === params.pageSize) {
|
|
4565
4567
|
return allPages.length + 1;
|
|
4566
4568
|
}
|
|
4567
4569
|
return void 0;
|
package/dist/index.d.cts
CHANGED
|
@@ -909,7 +909,9 @@ interface EventActivationTranslation {
|
|
|
909
909
|
declare enum EventEmailType {
|
|
910
910
|
confirmation = "confirmation",
|
|
911
911
|
cancellation = "cancellation",
|
|
912
|
-
reminder = "reminder"
|
|
912
|
+
reminder = "reminder",
|
|
913
|
+
approval = "approval",
|
|
914
|
+
denial = "denial"
|
|
913
915
|
}
|
|
914
916
|
interface BaseEventEmail {
|
|
915
917
|
type: EventEmailType;
|
package/dist/index.d.ts
CHANGED
|
@@ -909,7 +909,9 @@ interface EventActivationTranslation {
|
|
|
909
909
|
declare enum EventEmailType {
|
|
910
910
|
confirmation = "confirmation",
|
|
911
911
|
cancellation = "cancellation",
|
|
912
|
-
reminder = "reminder"
|
|
912
|
+
reminder = "reminder",
|
|
913
|
+
approval = "approval",
|
|
914
|
+
denial = "denial"
|
|
913
915
|
}
|
|
914
916
|
interface BaseEventEmail {
|
|
915
917
|
type: EventEmailType;
|
package/dist/index.js
CHANGED
|
@@ -372,6 +372,8 @@ var EventEmailType = /* @__PURE__ */ ((EventEmailType2) => {
|
|
|
372
372
|
EventEmailType2["confirmation"] = "confirmation";
|
|
373
373
|
EventEmailType2["cancellation"] = "cancellation";
|
|
374
374
|
EventEmailType2["reminder"] = "reminder";
|
|
375
|
+
EventEmailType2["approval"] = "approval";
|
|
376
|
+
EventEmailType2["denial"] = "denial";
|
|
375
377
|
return EventEmailType2;
|
|
376
378
|
})(EventEmailType || {});
|
|
377
379
|
var SupportedLocale = /* @__PURE__ */ ((SupportedLocale2) => {
|
|
@@ -983,7 +985,7 @@ import {
|
|
|
983
985
|
useInfiniteQuery
|
|
984
986
|
} from "@tanstack/react-query";
|
|
985
987
|
var GetBaseInfiniteQueryKeys = (search = "") => {
|
|
986
|
-
return [search];
|
|
988
|
+
return [`SEARCH`, search];
|
|
987
989
|
};
|
|
988
990
|
var setFirstPageData = (response) => {
|
|
989
991
|
return {
|
|
@@ -1006,7 +1008,7 @@ var useConnectedInfiniteQuery = (queryKeys, queryFn, params = {}, options = {
|
|
|
1006
1008
|
queryClient
|
|
1007
1009
|
} = useConnectedXM();
|
|
1008
1010
|
const getNextPageParam = (lastPage, allPages) => {
|
|
1009
|
-
if (lastPage.data
|
|
1011
|
+
if (lastPage.data?.length === params.pageSize) {
|
|
1010
1012
|
return allPages.length + 1;
|
|
1011
1013
|
}
|
|
1012
1014
|
return void 0;
|
package/openapi.json
CHANGED
|
@@ -95169,7 +95169,9 @@
|
|
|
95169
95169
|
"enum": [
|
|
95170
95170
|
"confirmation",
|
|
95171
95171
|
"cancellation",
|
|
95172
|
-
"reminder"
|
|
95172
|
+
"reminder",
|
|
95173
|
+
"approval",
|
|
95174
|
+
"denial"
|
|
95173
95175
|
]
|
|
95174
95176
|
},
|
|
95175
95177
|
"BaseEventEmail": {
|