@connectedxm/admin 1.4.3 → 1.4.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.d.mts CHANGED
@@ -1416,8 +1416,8 @@ interface BaseEventPass {
1416
1416
  }
1417
1417
  interface EventPass extends BaseEventPass {
1418
1418
  addOns: BaseEventAddOn[];
1419
- registrationId: string;
1420
- registration: BaseEventAttendee;
1419
+ attendeeId: string;
1420
+ attendee: BaseEventAttendee;
1421
1421
  payerId: string | null;
1422
1422
  payer: BaseAccount | null;
1423
1423
  amtPaid: number;
@@ -1685,7 +1685,7 @@ interface BaseEventAttendee {
1685
1685
  }
1686
1686
  interface EventAttendee extends BaseEventAttendee {
1687
1687
  payments: BasePayment[];
1688
- purchases: BaseEventPass[];
1688
+ passes: BaseEventPass[];
1689
1689
  coupons: BaseCoupon[];
1690
1690
  createdAt: string;
1691
1691
  updatedAt: string;
@@ -2451,7 +2451,7 @@ interface BaseEventRoomType {
2451
2451
  pricePerNight: boolean;
2452
2452
  image: BaseImage | null;
2453
2453
  passTypes: BaseEventRoomTypePassTypeDetails[];
2454
- addOns: BaseEventRoomTypePassTypeDetails[];
2454
+ addOns: BaseEventRoomTypeAddOnDetails[];
2455
2455
  }
2456
2456
  interface EventRoomType extends BaseEventRoomType {
2457
2457
  sortOrder: number;
package/dist/index.d.ts CHANGED
@@ -1416,8 +1416,8 @@ interface BaseEventPass {
1416
1416
  }
1417
1417
  interface EventPass extends BaseEventPass {
1418
1418
  addOns: BaseEventAddOn[];
1419
- registrationId: string;
1420
- registration: BaseEventAttendee;
1419
+ attendeeId: string;
1420
+ attendee: BaseEventAttendee;
1421
1421
  payerId: string | null;
1422
1422
  payer: BaseAccount | null;
1423
1423
  amtPaid: number;
@@ -1685,7 +1685,7 @@ interface BaseEventAttendee {
1685
1685
  }
1686
1686
  interface EventAttendee extends BaseEventAttendee {
1687
1687
  payments: BasePayment[];
1688
- purchases: BaseEventPass[];
1688
+ passes: BaseEventPass[];
1689
1689
  coupons: BaseCoupon[];
1690
1690
  createdAt: string;
1691
1691
  updatedAt: string;
@@ -2451,7 +2451,7 @@ interface BaseEventRoomType {
2451
2451
  pricePerNight: boolean;
2452
2452
  image: BaseImage | null;
2453
2453
  passTypes: BaseEventRoomTypePassTypeDetails[];
2454
- addOns: BaseEventRoomTypePassTypeDetails[];
2454
+ addOns: BaseEventRoomTypeAddOnDetails[];
2455
2455
  }
2456
2456
  interface EventRoomType extends BaseEventRoomType {
2457
2457
  sortOrder: number;
package/dist/index.js CHANGED
@@ -19508,17 +19508,17 @@ var CancelEventPass = async ({
19508
19508
  queryKey: EVENT_PASS_TYPE_PASSES_QUERY_KEY(eventId, data.data.ticketId)
19509
19509
  });
19510
19510
  }
19511
- if (data.data.registrationId) {
19511
+ if (data.data.attendee) {
19512
19512
  queryClient.invalidateQueries({
19513
19513
  queryKey: EVENT_ATTENDEE_QUERY_KEY(
19514
19514
  eventId,
19515
- data.data.registration.accountId
19515
+ data.data.attendee.accountId
19516
19516
  )
19517
19517
  });
19518
19518
  queryClient.invalidateQueries({
19519
19519
  queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
19520
19520
  eventId,
19521
- data.data.registration.accountId
19521
+ data.data.attendee.accountId
19522
19522
  )
19523
19523
  });
19524
19524
  }
@@ -19688,17 +19688,17 @@ var UpdateEventPass = async ({
19688
19688
  queryKey: EVENT_PASS_TYPE_PASSES_QUERY_KEY(eventId, data.data.ticketId)
19689
19689
  });
19690
19690
  }
19691
- if (data.data.registration.accountId) {
19691
+ if (data.data.attendee.accountId) {
19692
19692
  queryClient.invalidateQueries({
19693
19693
  queryKey: EVENT_ATTENDEE_QUERY_KEY(
19694
19694
  eventId,
19695
- data.data.registration.accountId
19695
+ data.data.attendee.accountId
19696
19696
  )
19697
19697
  });
19698
19698
  queryClient.invalidateQueries({
19699
19699
  queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
19700
19700
  eventId,
19701
- data.data.registration.accountId
19701
+ data.data.attendee.accountId
19702
19702
  )
19703
19703
  });
19704
19704
  }
package/dist/index.mjs CHANGED
@@ -17384,17 +17384,17 @@ var CancelEventPass = async ({
17384
17384
  queryKey: EVENT_PASS_TYPE_PASSES_QUERY_KEY(eventId, data.data.ticketId)
17385
17385
  });
17386
17386
  }
17387
- if (data.data.registrationId) {
17387
+ if (data.data.attendee) {
17388
17388
  queryClient.invalidateQueries({
17389
17389
  queryKey: EVENT_ATTENDEE_QUERY_KEY(
17390
17390
  eventId,
17391
- data.data.registration.accountId
17391
+ data.data.attendee.accountId
17392
17392
  )
17393
17393
  });
17394
17394
  queryClient.invalidateQueries({
17395
17395
  queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
17396
17396
  eventId,
17397
- data.data.registration.accountId
17397
+ data.data.attendee.accountId
17398
17398
  )
17399
17399
  });
17400
17400
  }
@@ -17564,17 +17564,17 @@ var UpdateEventPass = async ({
17564
17564
  queryKey: EVENT_PASS_TYPE_PASSES_QUERY_KEY(eventId, data.data.ticketId)
17565
17565
  });
17566
17566
  }
17567
- if (data.data.registration.accountId) {
17567
+ if (data.data.attendee.accountId) {
17568
17568
  queryClient.invalidateQueries({
17569
17569
  queryKey: EVENT_ATTENDEE_QUERY_KEY(
17570
17570
  eventId,
17571
- data.data.registration.accountId
17571
+ data.data.attendee.accountId
17572
17572
  )
17573
17573
  });
17574
17574
  queryClient.invalidateQueries({
17575
17575
  queryKey: EVENT_ATTENDEE_PASSES_QUERY_KEY(
17576
17576
  eventId,
17577
- data.data.registration.accountId
17577
+ data.data.attendee.accountId
17578
17578
  )
17579
17579
  });
17580
17580
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {