@connectedxm/admin 3.0.3 → 3.0.4
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 +1 -4
- package/dist/index.d.cts +1 -4
- package/dist/index.d.ts +1 -4
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -28917,16 +28917,13 @@ var CancelEventPass = async ({
|
|
|
28917
28917
|
eventId,
|
|
28918
28918
|
passId,
|
|
28919
28919
|
sendEmail,
|
|
28920
|
-
issueRefund,
|
|
28921
|
-
adminRefundAmt,
|
|
28922
|
-
removeReservation,
|
|
28923
28920
|
adminApiParams,
|
|
28924
28921
|
queryClient
|
|
28925
28922
|
}) => {
|
|
28926
28923
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
28927
28924
|
const { data } = await connectedXM.put(
|
|
28928
28925
|
`/events/${eventId}/passes/${passId}/cancel`,
|
|
28929
|
-
{ sendEmail
|
|
28926
|
+
{ sendEmail }
|
|
28930
28927
|
);
|
|
28931
28928
|
if (queryClient && data.status === "ok") {
|
|
28932
28929
|
if (data.data.ticketId) {
|
package/dist/index.d.cts
CHANGED
|
@@ -21340,15 +21340,12 @@ interface CancelEventPassParams extends MutationParams {
|
|
|
21340
21340
|
eventId: string;
|
|
21341
21341
|
passId: string;
|
|
21342
21342
|
sendEmail?: boolean;
|
|
21343
|
-
issueRefund?: boolean;
|
|
21344
|
-
adminRefundAmt?: number;
|
|
21345
|
-
removeReservation?: boolean;
|
|
21346
21343
|
}
|
|
21347
21344
|
/**
|
|
21348
21345
|
* @category Methods
|
|
21349
21346
|
* @group Event-Attendee-Passes
|
|
21350
21347
|
*/
|
|
21351
|
-
declare const CancelEventPass: ({ eventId, passId, sendEmail,
|
|
21348
|
+
declare const CancelEventPass: ({ eventId, passId, sendEmail, adminApiParams, queryClient, }: CancelEventPassParams) => Promise<ConnectedXMResponse<EventPass>>;
|
|
21352
21349
|
/**
|
|
21353
21350
|
* @category Mutations
|
|
21354
21351
|
* @group Event-Attendee-Passes
|
package/dist/index.d.ts
CHANGED
|
@@ -21340,15 +21340,12 @@ interface CancelEventPassParams extends MutationParams {
|
|
|
21340
21340
|
eventId: string;
|
|
21341
21341
|
passId: string;
|
|
21342
21342
|
sendEmail?: boolean;
|
|
21343
|
-
issueRefund?: boolean;
|
|
21344
|
-
adminRefundAmt?: number;
|
|
21345
|
-
removeReservation?: boolean;
|
|
21346
21343
|
}
|
|
21347
21344
|
/**
|
|
21348
21345
|
* @category Methods
|
|
21349
21346
|
* @group Event-Attendee-Passes
|
|
21350
21347
|
*/
|
|
21351
|
-
declare const CancelEventPass: ({ eventId, passId, sendEmail,
|
|
21348
|
+
declare const CancelEventPass: ({ eventId, passId, sendEmail, adminApiParams, queryClient, }: CancelEventPassParams) => Promise<ConnectedXMResponse<EventPass>>;
|
|
21352
21349
|
/**
|
|
21353
21350
|
* @category Mutations
|
|
21354
21351
|
* @group Event-Attendee-Passes
|
package/dist/index.js
CHANGED
|
@@ -25817,16 +25817,13 @@ var CancelEventPass = async ({
|
|
|
25817
25817
|
eventId,
|
|
25818
25818
|
passId,
|
|
25819
25819
|
sendEmail,
|
|
25820
|
-
issueRefund,
|
|
25821
|
-
adminRefundAmt,
|
|
25822
|
-
removeReservation,
|
|
25823
25820
|
adminApiParams,
|
|
25824
25821
|
queryClient
|
|
25825
25822
|
}) => {
|
|
25826
25823
|
const connectedXM = await GetAdminAPI(adminApiParams);
|
|
25827
25824
|
const { data } = await connectedXM.put(
|
|
25828
25825
|
`/events/${eventId}/passes/${passId}/cancel`,
|
|
25829
|
-
{ sendEmail
|
|
25826
|
+
{ sendEmail }
|
|
25830
25827
|
);
|
|
25831
25828
|
if (queryClient && data.status === "ok") {
|
|
25832
25829
|
if (data.data.ticketId) {
|