@connectedxm/admin 6.9.6 → 6.9.8
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 +13 -5
- package/dist/index.d.cts +27 -5
- package/dist/index.d.ts +27 -5
- package/dist/index.js +12 -5
- package/openapi.json +37 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -323,6 +323,16 @@ var SessionAccess = /* @__PURE__ */ ((SessionAccess2) => {
|
|
|
323
323
|
SessionAccess2["private"] = "PRIVATE";
|
|
324
324
|
return SessionAccess2;
|
|
325
325
|
})(SessionAccess || {});
|
|
326
|
+
var AccountAttributeType = /* @__PURE__ */ ((AccountAttributeType2) => {
|
|
327
|
+
AccountAttributeType2["text"] = "text";
|
|
328
|
+
AccountAttributeType2["number"] = "number";
|
|
329
|
+
AccountAttributeType2["date"] = "date";
|
|
330
|
+
AccountAttributeType2["boolean"] = "boolean";
|
|
331
|
+
AccountAttributeType2["search"] = "search";
|
|
332
|
+
AccountAttributeType2["select"] = "select";
|
|
333
|
+
AccountAttributeType2["location"] = "location";
|
|
334
|
+
return AccountAttributeType2;
|
|
335
|
+
})(AccountAttributeType || {});
|
|
326
336
|
var EventActivationType = /* @__PURE__ */ ((EventActivationType2) => {
|
|
327
337
|
EventActivationType2["public"] = "public";
|
|
328
338
|
EventActivationType2["private"] = "private";
|
|
@@ -30002,15 +30012,11 @@ var CloneEventSession = async ({
|
|
|
30002
30012
|
queryClient
|
|
30003
30013
|
}) => {
|
|
30004
30014
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
30005
|
-
const { data } = await connectedXM.post(
|
|
30006
|
-
`/events/${eventId}/sessions/${sessionId}/clone`,
|
|
30007
|
-
options
|
|
30008
|
-
);
|
|
30015
|
+
const { data } = await connectedXM.post(`/events/${eventId}/sessions/${sessionId}/clone`, options);
|
|
30009
30016
|
if (queryClient && data.status === "ok") {
|
|
30010
30017
|
queryClient.invalidateQueries({
|
|
30011
30018
|
queryKey: EVENT_SESSIONS_QUERY_KEY(eventId)
|
|
30012
30019
|
});
|
|
30013
|
-
SET_EVENT_SESSION_QUERY_DATA(queryClient, [eventId, data.data.id], data);
|
|
30014
30020
|
}
|
|
30015
30021
|
return data;
|
|
30016
30022
|
};
|
|
@@ -36974,6 +36980,7 @@ export {
|
|
|
36974
36980
|
AUTH_SESSION_QUERY_KEY,
|
|
36975
36981
|
AcceptGroupRequest,
|
|
36976
36982
|
AccountAccess,
|
|
36983
|
+
AccountAttributeType,
|
|
36977
36984
|
ActivityEntityType,
|
|
36978
36985
|
ActivityPreference,
|
|
36979
36986
|
ActivityStatus,
|
package/openapi.json
CHANGED
|
@@ -35371,7 +35371,7 @@
|
|
|
35371
35371
|
"example": "Success message."
|
|
35372
35372
|
},
|
|
35373
35373
|
"data": {
|
|
35374
|
-
"
|
|
35374
|
+
"type": "object"
|
|
35375
35375
|
}
|
|
35376
35376
|
},
|
|
35377
35377
|
"required": [
|
|
@@ -72593,6 +72593,18 @@
|
|
|
72593
72593
|
"PRIVATE"
|
|
72594
72594
|
]
|
|
72595
72595
|
},
|
|
72596
|
+
"AccountAttributeType": {
|
|
72597
|
+
"type": "string",
|
|
72598
|
+
"enum": [
|
|
72599
|
+
"text",
|
|
72600
|
+
"number",
|
|
72601
|
+
"date",
|
|
72602
|
+
"boolean",
|
|
72603
|
+
"search",
|
|
72604
|
+
"select",
|
|
72605
|
+
"location"
|
|
72606
|
+
]
|
|
72607
|
+
},
|
|
72596
72608
|
"BaseAccountAttribute": {
|
|
72597
72609
|
"type": "object",
|
|
72598
72610
|
"properties": {
|
|
@@ -72606,13 +72618,7 @@
|
|
|
72606
72618
|
"type": "string"
|
|
72607
72619
|
},
|
|
72608
72620
|
"type": {
|
|
72609
|
-
"
|
|
72610
|
-
"enum": [
|
|
72611
|
-
"text",
|
|
72612
|
-
"number",
|
|
72613
|
-
"date",
|
|
72614
|
-
"boolean"
|
|
72615
|
-
]
|
|
72621
|
+
"$ref": "#/components/schemas/AccountAttributeType"
|
|
72616
72622
|
},
|
|
72617
72623
|
"description": {
|
|
72618
72624
|
"type": "string",
|
|
@@ -99719,13 +99725,7 @@
|
|
|
99719
99725
|
"type": "string"
|
|
99720
99726
|
},
|
|
99721
99727
|
"type": {
|
|
99722
|
-
"
|
|
99723
|
-
"enum": [
|
|
99724
|
-
"text",
|
|
99725
|
-
"number",
|
|
99726
|
-
"date",
|
|
99727
|
-
"boolean"
|
|
99728
|
-
]
|
|
99728
|
+
"$ref": "#/components/schemas/AccountAttributeType"
|
|
99729
99729
|
},
|
|
99730
99730
|
"description": {
|
|
99731
99731
|
"type": "string",
|
|
@@ -99756,6 +99756,17 @@
|
|
|
99756
99756
|
}
|
|
99757
99757
|
],
|
|
99758
99758
|
"nullable": true
|
|
99759
|
+
},
|
|
99760
|
+
"searchListId": {
|
|
99761
|
+
"type": "string",
|
|
99762
|
+
"nullable": true
|
|
99763
|
+
},
|
|
99764
|
+
"options": {
|
|
99765
|
+
"type": "array",
|
|
99766
|
+
"items": {
|
|
99767
|
+
"type": "string"
|
|
99768
|
+
},
|
|
99769
|
+
"nullable": true
|
|
99759
99770
|
}
|
|
99760
99771
|
},
|
|
99761
99772
|
"required": [
|
|
@@ -99800,6 +99811,17 @@
|
|
|
99800
99811
|
}
|
|
99801
99812
|
],
|
|
99802
99813
|
"nullable": true
|
|
99814
|
+
},
|
|
99815
|
+
"searchListId": {
|
|
99816
|
+
"type": "string",
|
|
99817
|
+
"nullable": true
|
|
99818
|
+
},
|
|
99819
|
+
"options": {
|
|
99820
|
+
"type": "array",
|
|
99821
|
+
"items": {
|
|
99822
|
+
"type": "string"
|
|
99823
|
+
},
|
|
99824
|
+
"nullable": true
|
|
99803
99825
|
}
|
|
99804
99826
|
}
|
|
99805
99827
|
},
|