@connectedxm/admin 6.32.2 → 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 +50 -0
- package/dist/index.d.cts +72 -1
- package/dist/index.d.ts +72 -1
- package/dist/index.js +44 -0
- package/openapi.json +148 -0
- 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,
|
|
@@ -26138,6 +26144,31 @@ var useImpersonateAccount = (options = {}) => {
|
|
|
26138
26144
|
return useConnectedMutation(ImpersonateAccount, options);
|
|
26139
26145
|
};
|
|
26140
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
|
+
|
|
26141
26172
|
// src/mutations/accounts/useUpdateAccount.ts
|
|
26142
26173
|
var UpdateAccount = async ({
|
|
26143
26174
|
accountId,
|
|
@@ -29291,6 +29322,19 @@ var useResendRegistrationConfirmationEmail = (options = {}) => {
|
|
|
29291
29322
|
return useConnectedMutation(ResendRegistrationConfirmationEmail, options);
|
|
29292
29323
|
};
|
|
29293
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
|
+
|
|
29294
29338
|
// src/mutations/events/attendees/useUpdateEventAttendee.ts
|
|
29295
29339
|
var UpdateEventAttendee = async ({
|
|
29296
29340
|
eventId,
|
|
@@ -45655,6 +45699,9 @@ var useUpdateTier = (options = {}) => {
|
|
|
45655
45699
|
SurveyQuestionType,
|
|
45656
45700
|
SurveyStatus,
|
|
45657
45701
|
SwitchImage,
|
|
45702
|
+
SyncAccount,
|
|
45703
|
+
SyncAccounts,
|
|
45704
|
+
SyncEventAttendees,
|
|
45658
45705
|
SyncEventCouponToVariants,
|
|
45659
45706
|
SystemEventLogStatus,
|
|
45660
45707
|
TAX_CODES_QUERY_KEY,
|
|
@@ -46918,6 +46965,9 @@ var useUpdateTier = (options = {}) => {
|
|
|
46918
46965
|
useStartEventRoundMatchmaking,
|
|
46919
46966
|
useStartEventSessionRoundMatchmaking,
|
|
46920
46967
|
useSwitchImage,
|
|
46968
|
+
useSyncAccount,
|
|
46969
|
+
useSyncAccounts,
|
|
46970
|
+
useSyncEventAttendees,
|
|
46921
46971
|
useSyncEventCouponToVariants,
|
|
46922
46972
|
useTestTaxIntegration,
|
|
46923
46973
|
useToggleOrganizationPaymentIntegration,
|