@connectedxm/client 0.5.2 → 0.5.3

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
@@ -474,6 +474,7 @@ interface BasePurchase {
474
474
  createdAt: string;
475
475
  } | null;
476
476
  registrationId: string;
477
+ registration: BaseRegistration;
477
478
  ticketId: string | null;
478
479
  ticket: BaseTicket | null;
479
480
  addOns: BaseEventAddOn[];
@@ -875,10 +876,12 @@ interface Content extends BaseContent {
875
876
  updatedAt: string;
876
877
  }
877
878
  declare const isTypeContent: (content: BaseContent | Content) => content is Content;
878
- interface Registration {
879
+ interface BaseRegistration {
879
880
  id: string;
880
881
  alternateId: number;
881
882
  eventId: string;
883
+ }
884
+ interface Registration extends BaseRegistration {
882
885
  event: RegistrationEventDetails;
883
886
  account: BaseAccount;
884
887
  status: RegistrationStatus;
package/dist/index.d.ts CHANGED
@@ -474,6 +474,7 @@ interface BasePurchase {
474
474
  createdAt: string;
475
475
  } | null;
476
476
  registrationId: string;
477
+ registration: BaseRegistration;
477
478
  ticketId: string | null;
478
479
  ticket: BaseTicket | null;
479
480
  addOns: BaseEventAddOn[];
@@ -875,10 +876,12 @@ interface Content extends BaseContent {
875
876
  updatedAt: string;
876
877
  }
877
878
  declare const isTypeContent: (content: BaseContent | Content) => content is Content;
878
- interface Registration {
879
+ interface BaseRegistration {
879
880
  id: string;
880
881
  alternateId: number;
881
882
  eventId: string;
883
+ }
884
+ interface Registration extends BaseRegistration {
882
885
  event: RegistrationEventDetails;
883
886
  account: BaseAccount;
884
887
  status: RegistrationStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {