@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.cjs
CHANGED
|
@@ -2135,6 +2135,9 @@ __export(index_exports, {
|
|
|
2135
2135
|
SurveyQuestionType: () => SurveyQuestionType,
|
|
2136
2136
|
SurveyStatus: () => SurveyStatus,
|
|
2137
2137
|
SwitchImage: () => SwitchImage,
|
|
2138
|
+
SyncAccount: () => SyncAccount,
|
|
2139
|
+
SyncAccounts: () => SyncAccounts,
|
|
2140
|
+
SyncEventAttendees: () => SyncEventAttendees,
|
|
2138
2141
|
SyncEventCouponToVariants: () => SyncEventCouponToVariants,
|
|
2139
2142
|
SystemEventLogStatus: () => SystemEventLogStatus,
|
|
2140
2143
|
TAX_CODES_QUERY_KEY: () => TAX_CODES_QUERY_KEY,
|
|
@@ -3398,6 +3401,9 @@ __export(index_exports, {
|
|
|
3398
3401
|
useStartEventRoundMatchmaking: () => useStartEventRoundMatchmaking,
|
|
3399
3402
|
useStartEventSessionRoundMatchmaking: () => useStartEventSessionRoundMatchmaking,
|
|
3400
3403
|
useSwitchImage: () => useSwitchImage,
|
|
3404
|
+
useSyncAccount: () => useSyncAccount,
|
|
3405
|
+
useSyncAccounts: () => useSyncAccounts,
|
|
3406
|
+
useSyncEventAttendees: () => useSyncEventAttendees,
|
|
3401
3407
|
useSyncEventCouponToVariants: () => useSyncEventCouponToVariants,
|
|
3402
3408
|
useTestTaxIntegration: () => useTestTaxIntegration,
|
|
3403
3409
|
useToggleOrganizationPaymentIntegration: () => useToggleOrganizationPaymentIntegration,
|
|
@@ -3805,6 +3811,7 @@ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
|
|
|
3805
3811
|
NotificationType2["GROUP_REQUEST_ACCEPTED"] = "GROUP_REQUEST_ACCEPTED";
|
|
3806
3812
|
NotificationType2["CONTENT"] = "CONTENT";
|
|
3807
3813
|
NotificationType2["SUPPORT_TICKET_MESSAGE"] = "SUPPORT_TICKET_MESSAGE";
|
|
3814
|
+
NotificationType2["MENTION"] = "MENTION";
|
|
3808
3815
|
return NotificationType2;
|
|
3809
3816
|
})(NotificationType || {});
|
|
3810
3817
|
var AdminNotificationType = /* @__PURE__ */ ((AdminNotificationType2) => {
|
|
@@ -26137,6 +26144,31 @@ var useImpersonateAccount = (options = {}) => {
|
|
|
26137
26144
|
return useConnectedMutation(ImpersonateAccount, options);
|
|
26138
26145
|
};
|
|
26139
26146
|
|
|
26147
|
+
// src/mutations/accounts/useSyncAccount.ts
|
|
26148
|
+
var SyncAccount = async ({
|
|
26149
|
+
accountId,
|
|
26150
|
+
adminApiParams
|
|
26151
|
+
}) => {
|
|
26152
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26153
|
+
const { data } = await connectedXM.post(`/accounts/${accountId}/sync`);
|
|
26154
|
+
return data;
|
|
26155
|
+
};
|
|
26156
|
+
var useSyncAccount = (options = {}) => {
|
|
26157
|
+
return useConnectedMutation(SyncAccount, options);
|
|
26158
|
+
};
|
|
26159
|
+
|
|
26160
|
+
// src/mutations/accounts/useSyncAccounts.ts
|
|
26161
|
+
var SyncAccounts = async ({
|
|
26162
|
+
adminApiParams
|
|
26163
|
+
}) => {
|
|
26164
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
26165
|
+
const { data } = await connectedXM.post(`/accounts/sync`);
|
|
26166
|
+
return data;
|
|
26167
|
+
};
|
|
26168
|
+
var useSyncAccounts = (options = {}) => {
|
|
26169
|
+
return useConnectedMutation(SyncAccounts, options);
|
|
26170
|
+
};
|
|
26171
|
+
|
|
26140
26172
|
// src/mutations/accounts/useUpdateAccount.ts
|
|
26141
26173
|
var UpdateAccount = async ({
|
|
26142
26174
|
accountId,
|
|
@@ -29290,6 +29322,19 @@ var useResendRegistrationConfirmationEmail = (options = {}) => {
|
|
|
29290
29322
|
return useConnectedMutation(ResendRegistrationConfirmationEmail, options);
|
|
29291
29323
|
};
|
|
29292
29324
|
|
|
29325
|
+
// src/mutations/events/attendees/useSyncEventAttendees.ts
|
|
29326
|
+
var SyncEventAttendees = async ({
|
|
29327
|
+
eventId,
|
|
29328
|
+
adminApiParams
|
|
29329
|
+
}) => {
|
|
29330
|
+
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
29331
|
+
const { data } = await connectedXM.post(`/events/${eventId}/attendees/sync`);
|
|
29332
|
+
return data;
|
|
29333
|
+
};
|
|
29334
|
+
var useSyncEventAttendees = (options = {}) => {
|
|
29335
|
+
return useConnectedMutation(SyncEventAttendees, options);
|
|
29336
|
+
};
|
|
29337
|
+
|
|
29293
29338
|
// src/mutations/events/attendees/useUpdateEventAttendee.ts
|
|
29294
29339
|
var UpdateEventAttendee = async ({
|
|
29295
29340
|
eventId,
|
|
@@ -45654,6 +45699,9 @@ var useUpdateTier = (options = {}) => {
|
|
|
45654
45699
|
SurveyQuestionType,
|
|
45655
45700
|
SurveyStatus,
|
|
45656
45701
|
SwitchImage,
|
|
45702
|
+
SyncAccount,
|
|
45703
|
+
SyncAccounts,
|
|
45704
|
+
SyncEventAttendees,
|
|
45657
45705
|
SyncEventCouponToVariants,
|
|
45658
45706
|
SystemEventLogStatus,
|
|
45659
45707
|
TAX_CODES_QUERY_KEY,
|
|
@@ -46917,6 +46965,9 @@ var useUpdateTier = (options = {}) => {
|
|
|
46917
46965
|
useStartEventRoundMatchmaking,
|
|
46918
46966
|
useStartEventSessionRoundMatchmaking,
|
|
46919
46967
|
useSwitchImage,
|
|
46968
|
+
useSyncAccount,
|
|
46969
|
+
useSyncAccounts,
|
|
46970
|
+
useSyncEventAttendees,
|
|
46920
46971
|
useSyncEventCouponToVariants,
|
|
46921
46972
|
useTestTaxIntegration,
|
|
46922
46973
|
useToggleOrganizationPaymentIntegration,
|