@connectedxm/client 0.2.0 → 0.2.2

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
@@ -426,6 +426,7 @@ interface BasePurchase {
426
426
  alternateId: number;
427
427
  location: string | null;
428
428
  usedAt: string | null;
429
+ paid: boolean;
429
430
  transfer: {
430
431
  id: string;
431
432
  email: string;
@@ -1143,6 +1144,7 @@ interface BaseInvoice {
1143
1144
  id: string;
1144
1145
  title: string;
1145
1146
  description: string | null;
1147
+ sentDate: string | null;
1146
1148
  dueDate: string;
1147
1149
  status: InvoiceStatus;
1148
1150
  }
@@ -1155,6 +1157,11 @@ interface Invoice extends BaseInvoice {
1155
1157
  intentId?: string;
1156
1158
  connectionId?: string;
1157
1159
  secret?: string;
1160
+ account: ({
1161
+ email: string;
1162
+ } & BaseAccount) | null;
1163
+ organization: BaseOrganization;
1164
+ notes: string | null;
1158
1165
  }
1159
1166
  interface BaseInvoiceLineItem {
1160
1167
  id: string;
package/dist/index.d.ts CHANGED
@@ -426,6 +426,7 @@ interface BasePurchase {
426
426
  alternateId: number;
427
427
  location: string | null;
428
428
  usedAt: string | null;
429
+ paid: boolean;
429
430
  transfer: {
430
431
  id: string;
431
432
  email: string;
@@ -1143,6 +1144,7 @@ interface BaseInvoice {
1143
1144
  id: string;
1144
1145
  title: string;
1145
1146
  description: string | null;
1147
+ sentDate: string | null;
1146
1148
  dueDate: string;
1147
1149
  status: InvoiceStatus;
1148
1150
  }
@@ -1155,6 +1157,11 @@ interface Invoice extends BaseInvoice {
1155
1157
  intentId?: string;
1156
1158
  connectionId?: string;
1157
1159
  secret?: string;
1160
+ account: ({
1161
+ email: string;
1162
+ } & BaseAccount) | null;
1163
+ organization: BaseOrganization;
1164
+ notes: string | null;
1158
1165
  }
1159
1166
  interface BaseInvoiceLineItem {
1160
1167
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {