@connectedxm/admin 6.23.3 → 6.23.5
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 -3
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4 -3
- package/openapi.json +3 -2
- 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) => {
|
|
@@ -4156,7 +4158,6 @@ var EventSessionQuestionType = /* @__PURE__ */ ((EventSessionQuestionType2) => {
|
|
|
4156
4158
|
EventSessionQuestionType2["checkbox"] = "checkbox";
|
|
4157
4159
|
EventSessionQuestionType2["search"] = "search";
|
|
4158
4160
|
EventSessionQuestionType2["file"] = "file";
|
|
4159
|
-
EventSessionQuestionType2["quantity"] = "quantity";
|
|
4160
4161
|
EventSessionQuestionType2["location"] = "location";
|
|
4161
4162
|
return EventSessionQuestionType2;
|
|
4162
4163
|
})(EventSessionQuestionType || {});
|
|
@@ -4538,7 +4539,7 @@ var useConnectedSingleQuery = (queryKeys, queryFn, options = {}) => {
|
|
|
4538
4539
|
// src/queries/useConnectedInfiniteQuery.ts
|
|
4539
4540
|
var import_react_query3 = require("@tanstack/react-query");
|
|
4540
4541
|
var GetBaseInfiniteQueryKeys = (search = "") => {
|
|
4541
|
-
return [search];
|
|
4542
|
+
return [`SEARCH`, search];
|
|
4542
4543
|
};
|
|
4543
4544
|
var setFirstPageData = (response) => {
|
|
4544
4545
|
return {
|
|
@@ -4561,7 +4562,7 @@ var useConnectedInfiniteQuery = (queryKeys, queryFn, params = {}, options = {
|
|
|
4561
4562
|
queryClient
|
|
4562
4563
|
} = useConnectedXM();
|
|
4563
4564
|
const getNextPageParam = (lastPage, allPages) => {
|
|
4564
|
-
if (lastPage.data
|
|
4565
|
+
if (lastPage.data?.length === params.pageSize) {
|
|
4565
4566
|
return allPages.length + 1;
|
|
4566
4567
|
}
|
|
4567
4568
|
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;
|
|
@@ -2500,7 +2502,6 @@ declare enum EventSessionQuestionType {
|
|
|
2500
2502
|
checkbox = "checkbox",
|
|
2501
2503
|
search = "search",
|
|
2502
2504
|
file = "file",
|
|
2503
|
-
quantity = "quantity",
|
|
2504
2505
|
location = "location"
|
|
2505
2506
|
}
|
|
2506
2507
|
interface BaseEventSessionQuestionChoice {
|
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;
|
|
@@ -2500,7 +2502,6 @@ declare enum EventSessionQuestionType {
|
|
|
2500
2502
|
checkbox = "checkbox",
|
|
2501
2503
|
search = "search",
|
|
2502
2504
|
file = "file",
|
|
2503
|
-
quantity = "quantity",
|
|
2504
2505
|
location = "location"
|
|
2505
2506
|
}
|
|
2506
2507
|
interface BaseEventSessionQuestionChoice {
|
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) => {
|
|
@@ -599,7 +601,6 @@ var EventSessionQuestionType = /* @__PURE__ */ ((EventSessionQuestionType2) => {
|
|
|
599
601
|
EventSessionQuestionType2["checkbox"] = "checkbox";
|
|
600
602
|
EventSessionQuestionType2["search"] = "search";
|
|
601
603
|
EventSessionQuestionType2["file"] = "file";
|
|
602
|
-
EventSessionQuestionType2["quantity"] = "quantity";
|
|
603
604
|
EventSessionQuestionType2["location"] = "location";
|
|
604
605
|
return EventSessionQuestionType2;
|
|
605
606
|
})(EventSessionQuestionType || {});
|
|
@@ -983,7 +984,7 @@ import {
|
|
|
983
984
|
useInfiniteQuery
|
|
984
985
|
} from "@tanstack/react-query";
|
|
985
986
|
var GetBaseInfiniteQueryKeys = (search = "") => {
|
|
986
|
-
return [search];
|
|
987
|
+
return [`SEARCH`, search];
|
|
987
988
|
};
|
|
988
989
|
var setFirstPageData = (response) => {
|
|
989
990
|
return {
|
|
@@ -1006,7 +1007,7 @@ var useConnectedInfiniteQuery = (queryKeys, queryFn, params = {}, options = {
|
|
|
1006
1007
|
queryClient
|
|
1007
1008
|
} = useConnectedXM();
|
|
1008
1009
|
const getNextPageParam = (lastPage, allPages) => {
|
|
1009
|
-
if (lastPage.data
|
|
1010
|
+
if (lastPage.data?.length === params.pageSize) {
|
|
1010
1011
|
return allPages.length + 1;
|
|
1011
1012
|
}
|
|
1012
1013
|
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": {
|
|
@@ -101965,7 +101967,6 @@
|
|
|
101965
101967
|
"checkbox",
|
|
101966
101968
|
"search",
|
|
101967
101969
|
"file",
|
|
101968
|
-
"quantity",
|
|
101969
101970
|
"location"
|
|
101970
101971
|
]
|
|
101971
101972
|
},
|