@connectedxm/admin 3.0.3 → 3.0.5

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 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, issueRefund, adminRefundAmt, removeReservation }
28926
+ { sendEmail }
28930
28927
  );
28931
28928
  if (queryClient && data.status === "ok") {
28932
28929
  if (data.data.ticketId) {
package/dist/index.d.cts CHANGED
@@ -1602,6 +1602,16 @@ interface BasePayment {
1602
1602
  state: string;
1603
1603
  zip: string;
1604
1604
  captured: boolean;
1605
+ accountId: string;
1606
+ eventId: string | null;
1607
+ registrationId: string | null;
1608
+ passTypeId: string | null;
1609
+ passId: string | null;
1610
+ sessionId: string | null;
1611
+ placeId: string | null;
1612
+ spaceId: string | null;
1613
+ membershipId: string | null;
1614
+ couponId: string | null;
1605
1615
  lineItems: BasePaymentLineItem[];
1606
1616
  createdAt: string;
1607
1617
  }
@@ -1613,7 +1623,6 @@ declare enum PaymentIntegrationType {
1613
1623
  manual = "manual"
1614
1624
  }
1615
1625
  interface Payment extends BasePayment {
1616
- accountId: string;
1617
1626
  account: BaseAccount;
1618
1627
  bypassedId: string | null;
1619
1628
  bypassedBy: BaseUser | null;
@@ -1663,12 +1672,6 @@ interface BasePaymentLineItem {
1663
1672
  deferred: number;
1664
1673
  taxable: boolean;
1665
1674
  paymentId: number;
1666
- eventId: string | null;
1667
- accountId: string | null;
1668
- addOnId: string | null;
1669
- sessionId: string | null;
1670
- placeId: string | null;
1671
- spaceId: string | null;
1672
1675
  passId: string | null;
1673
1676
  packageId: string | null;
1674
1677
  passAddOnId: string | null;
@@ -21340,15 +21343,12 @@ interface CancelEventPassParams extends MutationParams {
21340
21343
  eventId: string;
21341
21344
  passId: string;
21342
21345
  sendEmail?: boolean;
21343
- issueRefund?: boolean;
21344
- adminRefundAmt?: number;
21345
- removeReservation?: boolean;
21346
21346
  }
21347
21347
  /**
21348
21348
  * @category Methods
21349
21349
  * @group Event-Attendee-Passes
21350
21350
  */
21351
- declare const CancelEventPass: ({ eventId, passId, sendEmail, issueRefund, adminRefundAmt, removeReservation, adminApiParams, queryClient, }: CancelEventPassParams) => Promise<ConnectedXMResponse<EventPass>>;
21351
+ declare const CancelEventPass: ({ eventId, passId, sendEmail, adminApiParams, queryClient, }: CancelEventPassParams) => Promise<ConnectedXMResponse<EventPass>>;
21352
21352
  /**
21353
21353
  * @category Mutations
21354
21354
  * @group Event-Attendee-Passes
package/dist/index.d.ts CHANGED
@@ -1602,6 +1602,16 @@ interface BasePayment {
1602
1602
  state: string;
1603
1603
  zip: string;
1604
1604
  captured: boolean;
1605
+ accountId: string;
1606
+ eventId: string | null;
1607
+ registrationId: string | null;
1608
+ passTypeId: string | null;
1609
+ passId: string | null;
1610
+ sessionId: string | null;
1611
+ placeId: string | null;
1612
+ spaceId: string | null;
1613
+ membershipId: string | null;
1614
+ couponId: string | null;
1605
1615
  lineItems: BasePaymentLineItem[];
1606
1616
  createdAt: string;
1607
1617
  }
@@ -1613,7 +1623,6 @@ declare enum PaymentIntegrationType {
1613
1623
  manual = "manual"
1614
1624
  }
1615
1625
  interface Payment extends BasePayment {
1616
- accountId: string;
1617
1626
  account: BaseAccount;
1618
1627
  bypassedId: string | null;
1619
1628
  bypassedBy: BaseUser | null;
@@ -1663,12 +1672,6 @@ interface BasePaymentLineItem {
1663
1672
  deferred: number;
1664
1673
  taxable: boolean;
1665
1674
  paymentId: number;
1666
- eventId: string | null;
1667
- accountId: string | null;
1668
- addOnId: string | null;
1669
- sessionId: string | null;
1670
- placeId: string | null;
1671
- spaceId: string | null;
1672
1675
  passId: string | null;
1673
1676
  packageId: string | null;
1674
1677
  passAddOnId: string | null;
@@ -21340,15 +21343,12 @@ interface CancelEventPassParams extends MutationParams {
21340
21343
  eventId: string;
21341
21344
  passId: string;
21342
21345
  sendEmail?: boolean;
21343
- issueRefund?: boolean;
21344
- adminRefundAmt?: number;
21345
- removeReservation?: boolean;
21346
21346
  }
21347
21347
  /**
21348
21348
  * @category Methods
21349
21349
  * @group Event-Attendee-Passes
21350
21350
  */
21351
- declare const CancelEventPass: ({ eventId, passId, sendEmail, issueRefund, adminRefundAmt, removeReservation, adminApiParams, queryClient, }: CancelEventPassParams) => Promise<ConnectedXMResponse<EventPass>>;
21351
+ declare const CancelEventPass: ({ eventId, passId, sendEmail, adminApiParams, queryClient, }: CancelEventPassParams) => Promise<ConnectedXMResponse<EventPass>>;
21352
21352
  /**
21353
21353
  * @category Mutations
21354
21354
  * @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, issueRefund, adminRefundAmt, removeReservation }
25826
+ { sendEmail }
25830
25827
  );
25831
25828
  if (queryClient && data.status === "ok") {
25832
25829
  if (data.data.ticketId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",