@connectedxm/admin 6.32.2 → 6.33.1
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 +82 -0
- package/dist/index.d.cts +98 -1
- package/dist/index.d.ts +98 -1
- package/dist/index.js +73 -0
- package/openapi.json +225 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -752,6 +752,7 @@ __export(index_exports, {
|
|
|
752
752
|
EmailReceiptStatus: () => EmailReceiptStatus,
|
|
753
753
|
EnableEventBuildMode: () => EnableEventBuildMode,
|
|
754
754
|
EnableLivestream: () => EnableLivestream,
|
|
755
|
+
EventActivationRewardType: () => EventActivationRewardType,
|
|
755
756
|
EventActivationType: () => EventActivationType,
|
|
756
757
|
EventAgendaVisibility: () => EventAgendaVisibility,
|
|
757
758
|
EventEmailType: () => EventEmailType,
|
|
@@ -1461,6 +1462,7 @@ __export(index_exports, {
|
|
|
1461
1462
|
RemoveCustomReportUser: () => RemoveCustomReportUser,
|
|
1462
1463
|
RemoveEventAccessUser: () => RemoveEventAccessUser,
|
|
1463
1464
|
RemoveEventActivationSession: () => RemoveEventActivationSession,
|
|
1465
|
+
RemoveEventActivationSessions: () => RemoveEventActivationSessions,
|
|
1464
1466
|
RemoveEventAddOnPassType: () => RemoveEventAddOnPassType,
|
|
1465
1467
|
RemoveEventAddOnTier: () => RemoveEventAddOnTier,
|
|
1466
1468
|
RemoveEventBenefit: () => RemoveEventBenefit,
|
|
@@ -2135,6 +2137,9 @@ __export(index_exports, {
|
|
|
2135
2137
|
SurveyQuestionType: () => SurveyQuestionType,
|
|
2136
2138
|
SurveyStatus: () => SurveyStatus,
|
|
2137
2139
|
SwitchImage: () => SwitchImage,
|
|
2140
|
+
SyncAccount: () => SyncAccount,
|
|
2141
|
+
SyncAccounts: () => SyncAccounts,
|
|
2142
|
+
SyncEventAttendees: () => SyncEventAttendees,
|
|
2138
2143
|
SyncEventCouponToVariants: () => SyncEventCouponToVariants,
|
|
2139
2144
|
SystemEventLogStatus: () => SystemEventLogStatus,
|
|
2140
2145
|
TAX_CODES_QUERY_KEY: () => TAX_CODES_QUERY_KEY,
|
|
@@ -3315,6 +3320,7 @@ __export(index_exports, {
|
|
|
3315
3320
|
useRemoveCustomReportUser: () => useRemoveCustomReportUser,
|
|
3316
3321
|
useRemoveEventAccessUser: () => useRemoveEventAccessUser,
|
|
3317
3322
|
useRemoveEventActivationSession: () => useRemoveEventActivationSession,
|
|
3323
|
+
useRemoveEventActivationSessions: () => useRemoveEventActivationSessions,
|
|
3318
3324
|
useRemoveEventAddOnPassType: () => useRemoveEventAddOnPassType,
|
|
3319
3325
|
useRemoveEventAddOnTier: () => useRemoveEventAddOnTier,
|
|
3320
3326
|
useRemoveEventBenefit: () => useRemoveEventBenefit,
|
|
@@ -3398,6 +3404,9 @@ __export(index_exports, {
|
|
|
3398
3404
|
useStartEventRoundMatchmaking: () => useStartEventRoundMatchmaking,
|
|
3399
3405
|
useStartEventSessionRoundMatchmaking: () => useStartEventSessionRoundMatchmaking,
|
|
3400
3406
|
useSwitchImage: () => useSwitchImage,
|
|
3407
|
+
useSyncAccount: () => useSyncAccount,
|
|
3408
|
+
useSyncAccounts: () => useSyncAccounts,
|
|
3409
|
+
useSyncEventAttendees: () => useSyncEventAttendees,
|
|
3401
3410
|
useSyncEventCouponToVariants: () => useSyncEventCouponToVariants,
|
|
3402
3411
|
useTestTaxIntegration: () => useTestTaxIntegration,
|
|
3403
3412
|
useToggleOrganizationPaymentIntegration: () => useToggleOrganizationPaymentIntegration,
|
|
@@ -3939,6 +3948,11 @@ var EventActivationType = /* @__PURE__ */ ((EventActivationType2) => {
|
|
|
3939
3948
|
EventActivationType2["protected"] = "protected";
|
|
3940
3949
|
return EventActivationType2;
|
|
3941
3950
|
})(EventActivationType || {});
|
|
3951
|
+
var EventActivationRewardType = /* @__PURE__ */ ((EventActivationRewardType2) => {
|
|
3952
|
+
EventActivationRewardType2["max"] = "max";
|
|
3953
|
+
EventActivationRewardType2["input"] = "input";
|
|
3954
|
+
return EventActivationRewardType2;
|
|
3955
|
+
})(EventActivationRewardType || {});
|
|
3942
3956
|
var ModerationStatus = /* @__PURE__ */ ((ModerationStatus2) => {
|
|
3943
3957
|
ModerationStatus2["none"] = "none";
|
|
3944
3958
|
ModerationStatus2["reported"] = "reported";
|
|
@@ -26138,6 +26152,31 @@ var useImpersonateAccount = (options = {}) => {
|
|
|
26138
26152
|
return useConnectedMutation(ImpersonateAccount, options);
|
|
26139
26153
|
};
|
|
26140
26154
|
|
|
26155
|
+
// src/mutations/accounts/useSyncAccount.ts
|
|
26156
|
+
var SyncAccount = async ({
|
|
26157
|
+
accountId,
|
|
26158
|
+
adminApiParams
|
|
26159
|
+
}) => {
|
|
26160
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26161
|
+
const { data } = await connectedXM.post(`/accounts/${accountId}/sync`);
|
|
26162
|
+
return data;
|
|
26163
|
+
};
|
|
26164
|
+
var useSyncAccount = (options = {}) => {
|
|
26165
|
+
return useConnectedMutation(SyncAccount, options);
|
|
26166
|
+
};
|
|
26167
|
+
|
|
26168
|
+
// src/mutations/accounts/useSyncAccounts.ts
|
|
26169
|
+
var SyncAccounts = async ({
|
|
26170
|
+
adminApiParams
|
|
26171
|
+
}) => {
|
|
26172
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26173
|
+
const { data } = await connectedXM.post(`/accounts/sync`);
|
|
26174
|
+
return data;
|
|
26175
|
+
};
|
|
26176
|
+
var useSyncAccounts = (options = {}) => {
|
|
26177
|
+
return useConnectedMutation(SyncAccounts, options);
|
|
26178
|
+
};
|
|
26179
|
+
|
|
26141
26180
|
// src/mutations/accounts/useUpdateAccount.ts
|
|
26142
26181
|
var UpdateAccount = async ({
|
|
26143
26182
|
accountId,
|
|
@@ -28496,6 +28535,27 @@ var useAddEventActivationSession = (options = {}) => {
|
|
|
28496
28535
|
return useConnectedMutation(AddEventActivationSession, options);
|
|
28497
28536
|
};
|
|
28498
28537
|
|
|
28538
|
+
// src/mutations/events/activations/sessions/useRemoveEventActivationSessions.ts
|
|
28539
|
+
var RemoveEventActivationSessions = async ({
|
|
28540
|
+
eventId,
|
|
28541
|
+
activationId,
|
|
28542
|
+
adminApiParams,
|
|
28543
|
+
queryClient
|
|
28544
|
+
}) => {
|
|
28545
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
28546
|
+
const { data } = await connectedXM.delete(`/events/${eventId}/activations/${activationId}/sessions`);
|
|
28547
|
+
if (queryClient && data.status === "ok") {
|
|
28548
|
+
queryClient.invalidateQueries({
|
|
28549
|
+
queryKey: EVENT_ACTIVATION_SESSIONS_QUERY_KEY(eventId, activationId)
|
|
28550
|
+
});
|
|
28551
|
+
SET_EVENT_ACTIVATION_QUERY_DATA(queryClient, [eventId, activationId], data);
|
|
28552
|
+
}
|
|
28553
|
+
return data;
|
|
28554
|
+
};
|
|
28555
|
+
var useRemoveEventActivationSessions = (options = {}) => {
|
|
28556
|
+
return useConnectedMutation(RemoveEventActivationSessions, options);
|
|
28557
|
+
};
|
|
28558
|
+
|
|
28499
28559
|
// src/mutations/events/activations/sessions/useRemoveEventActivationSession.ts
|
|
28500
28560
|
var RemoveEventActivationSession = async ({
|
|
28501
28561
|
eventId,
|
|
@@ -29291,6 +29351,19 @@ var useResendRegistrationConfirmationEmail = (options = {}) => {
|
|
|
29291
29351
|
return useConnectedMutation(ResendRegistrationConfirmationEmail, options);
|
|
29292
29352
|
};
|
|
29293
29353
|
|
|
29354
|
+
// src/mutations/events/attendees/useSyncEventAttendees.ts
|
|
29355
|
+
var SyncEventAttendees = async ({
|
|
29356
|
+
eventId,
|
|
29357
|
+
adminApiParams
|
|
29358
|
+
}) => {
|
|
29359
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
29360
|
+
const { data } = await connectedXM.post(`/events/${eventId}/attendees/sync`);
|
|
29361
|
+
return data;
|
|
29362
|
+
};
|
|
29363
|
+
var useSyncEventAttendees = (options = {}) => {
|
|
29364
|
+
return useConnectedMutation(SyncEventAttendees, options);
|
|
29365
|
+
};
|
|
29366
|
+
|
|
29294
29367
|
// src/mutations/events/attendees/useUpdateEventAttendee.ts
|
|
29295
29368
|
var UpdateEventAttendee = async ({
|
|
29296
29369
|
eventId,
|
|
@@ -44272,6 +44345,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
44272
44345
|
EmailReceiptStatus,
|
|
44273
44346
|
EnableEventBuildMode,
|
|
44274
44347
|
EnableLivestream,
|
|
44348
|
+
EventActivationRewardType,
|
|
44275
44349
|
EventActivationType,
|
|
44276
44350
|
EventAgendaVisibility,
|
|
44277
44351
|
EventEmailType,
|
|
@@ -44981,6 +45055,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
44981
45055
|
RemoveCustomReportUser,
|
|
44982
45056
|
RemoveEventAccessUser,
|
|
44983
45057
|
RemoveEventActivationSession,
|
|
45058
|
+
RemoveEventActivationSessions,
|
|
44984
45059
|
RemoveEventAddOnPassType,
|
|
44985
45060
|
RemoveEventAddOnTier,
|
|
44986
45061
|
RemoveEventBenefit,
|
|
@@ -45655,6 +45730,9 @@ var useUpdateTier = (options = {}) => {
|
|
|
45655
45730
|
SurveyQuestionType,
|
|
45656
45731
|
SurveyStatus,
|
|
45657
45732
|
SwitchImage,
|
|
45733
|
+
SyncAccount,
|
|
45734
|
+
SyncAccounts,
|
|
45735
|
+
SyncEventAttendees,
|
|
45658
45736
|
SyncEventCouponToVariants,
|
|
45659
45737
|
SystemEventLogStatus,
|
|
45660
45738
|
TAX_CODES_QUERY_KEY,
|
|
@@ -46835,6 +46913,7 @@ var useUpdateTier = (options = {}) => {
|
|
|
46835
46913
|
useRemoveCustomReportUser,
|
|
46836
46914
|
useRemoveEventAccessUser,
|
|
46837
46915
|
useRemoveEventActivationSession,
|
|
46916
|
+
useRemoveEventActivationSessions,
|
|
46838
46917
|
useRemoveEventAddOnPassType,
|
|
46839
46918
|
useRemoveEventAddOnTier,
|
|
46840
46919
|
useRemoveEventBenefit,
|
|
@@ -46918,6 +46997,9 @@ var useUpdateTier = (options = {}) => {
|
|
|
46918
46997
|
useStartEventRoundMatchmaking,
|
|
46919
46998
|
useStartEventSessionRoundMatchmaking,
|
|
46920
46999
|
useSwitchImage,
|
|
47000
|
+
useSyncAccount,
|
|
47001
|
+
useSyncAccounts,
|
|
47002
|
+
useSyncEventAttendees,
|
|
46921
47003
|
useSyncEventCouponToVariants,
|
|
46922
47004
|
useTestTaxIntegration,
|
|
46923
47005
|
useToggleOrganizationPaymentIntegration,
|