@connectedxm/admin 6.32.1 → 6.33.0
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 +51 -0
- package/dist/index.d.cts +75 -2
- package/dist/index.d.ts +75 -2
- package/dist/index.js +45 -0
- package/openapi.json +154 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -208,6 +208,7 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
|
208
208
|
NotificationType2["GROUP_REQUEST_ACCEPTED"] = "GROUP_REQUEST_ACCEPTED";
|
|
209
209
|
NotificationType2["CONTENT"] = "CONTENT";
|
|
210
210
|
NotificationType2["SUPPORT_TICKET_MESSAGE"] = "SUPPORT_TICKET_MESSAGE";
|
|
211
|
+
NotificationType2["MENTION"] = "MENTION";
|
|
211
212
|
return NotificationType2;
|
|
212
213
|
})(NotificationType || {});
|
|
213
214
|
var AdminNotificationType = /* @__PURE__ */ ((AdminNotificationType2) => {
|
|
@@ -22547,6 +22548,31 @@ var useImpersonateAccount = (options = {}) => {
|
|
|
22547
22548
|
return useConnectedMutation(ImpersonateAccount, options);
|
|
22548
22549
|
};
|
|
22549
22550
|
|
|
22551
|
+
// src/mutations/accounts/useSyncAccount.ts
|
|
22552
|
+
var SyncAccount = async ({
|
|
22553
|
+
accountId,
|
|
22554
|
+
adminApiParams
|
|
22555
|
+
}) => {
|
|
22556
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
22557
|
+
const { data } = await connectedXM.post(`/accounts/${accountId}/sync`);
|
|
22558
|
+
return data;
|
|
22559
|
+
};
|
|
22560
|
+
var useSyncAccount = (options = {}) => {
|
|
22561
|
+
return useConnectedMutation(SyncAccount, options);
|
|
22562
|
+
};
|
|
22563
|
+
|
|
22564
|
+
// src/mutations/accounts/useSyncAccounts.ts
|
|
22565
|
+
var SyncAccounts = async ({
|
|
22566
|
+
adminApiParams
|
|
22567
|
+
}) => {
|
|
22568
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
22569
|
+
const { data } = await connectedXM.post(`/accounts/sync`);
|
|
22570
|
+
return data;
|
|
22571
|
+
};
|
|
22572
|
+
var useSyncAccounts = (options = {}) => {
|
|
22573
|
+
return useConnectedMutation(SyncAccounts, options);
|
|
22574
|
+
};
|
|
22575
|
+
|
|
22550
22576
|
// src/mutations/accounts/useUpdateAccount.ts
|
|
22551
22577
|
var UpdateAccount = async ({
|
|
22552
22578
|
accountId,
|
|
@@ -25700,6 +25726,19 @@ var useResendRegistrationConfirmationEmail = (options = {}) => {
|
|
|
25700
25726
|
return useConnectedMutation(ResendRegistrationConfirmationEmail, options);
|
|
25701
25727
|
};
|
|
25702
25728
|
|
|
25729
|
+
// src/mutations/events/attendees/useSyncEventAttendees.ts
|
|
25730
|
+
var SyncEventAttendees = async ({
|
|
25731
|
+
eventId,
|
|
25732
|
+
adminApiParams
|
|
25733
|
+
}) => {
|
|
25734
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
25735
|
+
const { data } = await connectedXM.post(`/events/${eventId}/attendees/sync`);
|
|
25736
|
+
return data;
|
|
25737
|
+
};
|
|
25738
|
+
var useSyncEventAttendees = (options = {}) => {
|
|
25739
|
+
return useConnectedMutation(SyncEventAttendees, options);
|
|
25740
|
+
};
|
|
25741
|
+
|
|
25703
25742
|
// src/mutations/events/attendees/useUpdateEventAttendee.ts
|
|
25704
25743
|
var UpdateEventAttendee = async ({
|
|
25705
25744
|
eventId,
|
|
@@ -42063,6 +42102,9 @@ export {
|
|
|
42063
42102
|
SurveyQuestionType,
|
|
42064
42103
|
SurveyStatus,
|
|
42065
42104
|
SwitchImage,
|
|
42105
|
+
SyncAccount,
|
|
42106
|
+
SyncAccounts,
|
|
42107
|
+
SyncEventAttendees,
|
|
42066
42108
|
SyncEventCouponToVariants,
|
|
42067
42109
|
SystemEventLogStatus,
|
|
42068
42110
|
TAX_CODES_QUERY_KEY,
|
|
@@ -43326,6 +43368,9 @@ export {
|
|
|
43326
43368
|
useStartEventRoundMatchmaking,
|
|
43327
43369
|
useStartEventSessionRoundMatchmaking,
|
|
43328
43370
|
useSwitchImage,
|
|
43371
|
+
useSyncAccount,
|
|
43372
|
+
useSyncAccounts,
|
|
43373
|
+
useSyncEventAttendees,
|
|
43329
43374
|
useSyncEventCouponToVariants,
|
|
43330
43375
|
useTestTaxIntegration,
|
|
43331
43376
|
useToggleOrganizationPaymentIntegration,
|
package/openapi.json
CHANGED
|
@@ -1208,6 +1208,48 @@
|
|
|
1208
1208
|
]
|
|
1209
1209
|
}
|
|
1210
1210
|
},
|
|
1211
|
+
"/accounts/sync": {
|
|
1212
|
+
"post": {
|
|
1213
|
+
"operationId": "SyncAccounts",
|
|
1214
|
+
"summary": "Sync Accounts",
|
|
1215
|
+
"description": "Sync Accounts endpoint",
|
|
1216
|
+
"responses": {
|
|
1217
|
+
"200": {
|
|
1218
|
+
"description": "Successful response",
|
|
1219
|
+
"content": {
|
|
1220
|
+
"application/json": {
|
|
1221
|
+
"schema": {
|
|
1222
|
+
"type": "object",
|
|
1223
|
+
"properties": {
|
|
1224
|
+
"status": {
|
|
1225
|
+
"type": "string",
|
|
1226
|
+
"enum": [
|
|
1227
|
+
"ok"
|
|
1228
|
+
]
|
|
1229
|
+
},
|
|
1230
|
+
"message": {
|
|
1231
|
+
"type": "string",
|
|
1232
|
+
"example": "Success message."
|
|
1233
|
+
},
|
|
1234
|
+
"data": {
|
|
1235
|
+
"type": "object"
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"required": [
|
|
1239
|
+
"status",
|
|
1240
|
+
"message",
|
|
1241
|
+
"data"
|
|
1242
|
+
]
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
"tags": [
|
|
1249
|
+
"Accounts"
|
|
1250
|
+
]
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1211
1253
|
"/accounts/{accountId}": {
|
|
1212
1254
|
"get": {
|
|
1213
1255
|
"operationId": "GetAccount",
|
|
@@ -3933,6 +3975,59 @@
|
|
|
3933
3975
|
]
|
|
3934
3976
|
}
|
|
3935
3977
|
},
|
|
3978
|
+
"/accounts/{accountId}/sync": {
|
|
3979
|
+
"post": {
|
|
3980
|
+
"operationId": "SyncAccount",
|
|
3981
|
+
"summary": "Sync Account",
|
|
3982
|
+
"description": "Sync Account endpoint",
|
|
3983
|
+
"parameters": [
|
|
3984
|
+
{
|
|
3985
|
+
"in": "path",
|
|
3986
|
+
"name": "accountId",
|
|
3987
|
+
"schema": {
|
|
3988
|
+
"type": "string"
|
|
3989
|
+
},
|
|
3990
|
+
"description": "The account identifier",
|
|
3991
|
+
"required": true
|
|
3992
|
+
}
|
|
3993
|
+
],
|
|
3994
|
+
"responses": {
|
|
3995
|
+
"200": {
|
|
3996
|
+
"description": "Successful response",
|
|
3997
|
+
"content": {
|
|
3998
|
+
"application/json": {
|
|
3999
|
+
"schema": {
|
|
4000
|
+
"type": "object",
|
|
4001
|
+
"properties": {
|
|
4002
|
+
"status": {
|
|
4003
|
+
"type": "string",
|
|
4004
|
+
"enum": [
|
|
4005
|
+
"ok"
|
|
4006
|
+
]
|
|
4007
|
+
},
|
|
4008
|
+
"message": {
|
|
4009
|
+
"type": "string",
|
|
4010
|
+
"example": "Success message."
|
|
4011
|
+
},
|
|
4012
|
+
"data": {
|
|
4013
|
+
"type": "object"
|
|
4014
|
+
}
|
|
4015
|
+
},
|
|
4016
|
+
"required": [
|
|
4017
|
+
"status",
|
|
4018
|
+
"message",
|
|
4019
|
+
"data"
|
|
4020
|
+
]
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
},
|
|
4026
|
+
"tags": [
|
|
4027
|
+
"Accounts"
|
|
4028
|
+
]
|
|
4029
|
+
}
|
|
4030
|
+
},
|
|
3936
4031
|
"/accounts/{accountId}/threads": {
|
|
3937
4032
|
"get": {
|
|
3938
4033
|
"operationId": "GetAccountThreads",
|
|
@@ -19591,6 +19686,59 @@
|
|
|
19591
19686
|
]
|
|
19592
19687
|
}
|
|
19593
19688
|
},
|
|
19689
|
+
"/events/{eventId}/attendees/sync": {
|
|
19690
|
+
"post": {
|
|
19691
|
+
"operationId": "SyncEventAttendees",
|
|
19692
|
+
"summary": "Sync Event Attendees",
|
|
19693
|
+
"description": "Sync Event Attendees endpoint",
|
|
19694
|
+
"parameters": [
|
|
19695
|
+
{
|
|
19696
|
+
"in": "path",
|
|
19697
|
+
"name": "eventId",
|
|
19698
|
+
"schema": {
|
|
19699
|
+
"type": "string"
|
|
19700
|
+
},
|
|
19701
|
+
"description": "The event identifier",
|
|
19702
|
+
"required": true
|
|
19703
|
+
}
|
|
19704
|
+
],
|
|
19705
|
+
"responses": {
|
|
19706
|
+
"200": {
|
|
19707
|
+
"description": "Successful response",
|
|
19708
|
+
"content": {
|
|
19709
|
+
"application/json": {
|
|
19710
|
+
"schema": {
|
|
19711
|
+
"type": "object",
|
|
19712
|
+
"properties": {
|
|
19713
|
+
"status": {
|
|
19714
|
+
"type": "string",
|
|
19715
|
+
"enum": [
|
|
19716
|
+
"ok"
|
|
19717
|
+
]
|
|
19718
|
+
},
|
|
19719
|
+
"message": {
|
|
19720
|
+
"type": "string",
|
|
19721
|
+
"example": "Success message."
|
|
19722
|
+
},
|
|
19723
|
+
"data": {
|
|
19724
|
+
"type": "object"
|
|
19725
|
+
}
|
|
19726
|
+
},
|
|
19727
|
+
"required": [
|
|
19728
|
+
"status",
|
|
19729
|
+
"message",
|
|
19730
|
+
"data"
|
|
19731
|
+
]
|
|
19732
|
+
}
|
|
19733
|
+
}
|
|
19734
|
+
}
|
|
19735
|
+
}
|
|
19736
|
+
},
|
|
19737
|
+
"tags": [
|
|
19738
|
+
"Events::Attendees"
|
|
19739
|
+
]
|
|
19740
|
+
}
|
|
19741
|
+
},
|
|
19594
19742
|
"/events/{eventId}/attendees/{accountId}": {
|
|
19595
19743
|
"get": {
|
|
19596
19744
|
"operationId": "GetEventAttendee",
|
|
@@ -93059,7 +93207,8 @@
|
|
|
93059
93207
|
"GROUP_INVITATION",
|
|
93060
93208
|
"GROUP_REQUEST_ACCEPTED",
|
|
93061
93209
|
"CONTENT",
|
|
93062
|
-
"SUPPORT_TICKET_MESSAGE"
|
|
93210
|
+
"SUPPORT_TICKET_MESSAGE",
|
|
93211
|
+
"MENTION"
|
|
93063
93212
|
]
|
|
93064
93213
|
},
|
|
93065
93214
|
"AdminNotificationType": {
|
|
@@ -98565,6 +98714,9 @@
|
|
|
98565
98714
|
"chatUnreadPush": {
|
|
98566
98715
|
"type": "boolean"
|
|
98567
98716
|
},
|
|
98717
|
+
"activityMentionPush": {
|
|
98718
|
+
"type": "boolean"
|
|
98719
|
+
},
|
|
98568
98720
|
"organizationAnnouncementEmail": {
|
|
98569
98721
|
"type": "boolean"
|
|
98570
98722
|
},
|
|
@@ -98594,6 +98746,7 @@
|
|
|
98594
98746
|
"chatPush",
|
|
98595
98747
|
"chatUnreadEmail",
|
|
98596
98748
|
"chatUnreadPush",
|
|
98749
|
+
"activityMentionPush",
|
|
98597
98750
|
"organizationAnnouncementEmail",
|
|
98598
98751
|
"organizationAnnouncementPush",
|
|
98599
98752
|
"groupInvitationEmail",
|