@connectedxm/client 0.2.2 → 0.2.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.d.mts CHANGED
@@ -56,26 +56,26 @@ interface BaseOrganization {
56
56
  id: string;
57
57
  slug: string;
58
58
  name: string;
59
- }
60
- declare enum Currency {
61
- USD = "USD"
62
- }
63
- interface Organization extends BaseOrganization {
64
59
  email: string;
65
- phone: string | null;
66
- website: string | null;
67
60
  address1: string | null;
68
61
  address2: string | null;
69
62
  city: string | null;
70
63
  state: string | null;
71
64
  country: string | null;
72
65
  zip: string | null;
66
+ logo: BaseImage | null;
67
+ logoId: string | null;
68
+ }
69
+ declare enum Currency {
70
+ USD = "USD"
71
+ }
72
+ interface Organization extends BaseOrganization {
73
+ phone: string | null;
74
+ website: string | null;
73
75
  primaryColor: string | null;
74
76
  secondaryColor: string | null;
75
77
  userPoolId: string;
76
78
  userPoolClientId: string;
77
- logo: BaseImage | null;
78
- logoId: string | null;
79
79
  currency: Currency;
80
80
  facebook: string | null;
81
81
  twitter: string | null;
@@ -1142,6 +1142,7 @@ declare enum InvoiceStatus {
1142
1142
  }
1143
1143
  interface BaseInvoice {
1144
1144
  id: string;
1145
+ alternateId: number;
1145
1146
  title: string;
1146
1147
  description: string | null;
1147
1148
  sentDate: string | null;
package/dist/index.d.ts CHANGED
@@ -56,26 +56,26 @@ interface BaseOrganization {
56
56
  id: string;
57
57
  slug: string;
58
58
  name: string;
59
- }
60
- declare enum Currency {
61
- USD = "USD"
62
- }
63
- interface Organization extends BaseOrganization {
64
59
  email: string;
65
- phone: string | null;
66
- website: string | null;
67
60
  address1: string | null;
68
61
  address2: string | null;
69
62
  city: string | null;
70
63
  state: string | null;
71
64
  country: string | null;
72
65
  zip: string | null;
66
+ logo: BaseImage | null;
67
+ logoId: string | null;
68
+ }
69
+ declare enum Currency {
70
+ USD = "USD"
71
+ }
72
+ interface Organization extends BaseOrganization {
73
+ phone: string | null;
74
+ website: string | null;
73
75
  primaryColor: string | null;
74
76
  secondaryColor: string | null;
75
77
  userPoolId: string;
76
78
  userPoolClientId: string;
77
- logo: BaseImage | null;
78
- logoId: string | null;
79
79
  currency: Currency;
80
80
  facebook: string | null;
81
81
  twitter: string | null;
@@ -1142,6 +1142,7 @@ declare enum InvoiceStatus {
1142
1142
  }
1143
1143
  interface BaseInvoice {
1144
1144
  id: string;
1145
+ alternateId: number;
1145
1146
  title: string;
1146
1147
  description: string | null;
1147
1148
  sentDate: string | null;
package/dist/index.js CHANGED
@@ -652,7 +652,7 @@ var Currency = /* @__PURE__ */ ((Currency2) => {
652
652
  return Currency2;
653
653
  })(Currency || {});
654
654
  var isTypeOrganization = (organization) => {
655
- return organization.email !== void 0;
655
+ return organization.createdAt !== void 0;
656
656
  };
657
657
  var isTypeAccountTier = (accountTier) => {
658
658
  return accountTier.description !== void 0;
package/dist/index.mjs CHANGED
@@ -82,7 +82,7 @@ var Currency = /* @__PURE__ */ ((Currency2) => {
82
82
  return Currency2;
83
83
  })(Currency || {});
84
84
  var isTypeOrganization = (organization) => {
85
- return organization.email !== void 0;
85
+ return organization.createdAt !== void 0;
86
86
  };
87
87
  var isTypeAccountTier = (accountTier) => {
88
88
  return accountTier.description !== void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "repository": {