@trii/types 2.10.170 → 2.10.172

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.
@@ -14,6 +14,7 @@ export interface ISubscription {
14
14
  id: string;
15
15
  uid: string;
16
16
  name: string;
17
+ credits: number;
17
18
  plan: ISubscriptionPlan;
18
19
  lastInvoice: string;
19
20
  isTrial: boolean;
@@ -23,14 +24,24 @@ export interface ISubscription {
23
24
  updatedAt?: Date;
24
25
  deletedAt?: Date;
25
26
  }
27
+ export interface shoppingCart {
28
+ items: [];
29
+ }
26
30
  export interface ISubscriptionPlan {
27
31
  usersLimit: number;
28
32
  usersType: "BASIC" | "PRO";
33
+ annualBilling: false;
34
+ nextRenovation: Date;
29
35
  products: ISubscriptionProduct[];
36
+ emailsPack: ISubscriptionProduct;
37
+ smsShortNumberEnabled: boolean;
38
+ apiQrChannelsCount: number;
30
39
  }
31
40
  export interface ISubscriptionProduct {
32
41
  name: string;
42
+ quantity: number;
33
43
  price: number;
44
+ expiresAt: Date;
34
45
  }
35
46
  export interface ISubscriptionInvoicingData {
36
47
  country: string;
@@ -19,4 +19,3 @@ export var InvoiceStatus;
19
19
  /**The customer is unlikely to pay the invoice. Normally, you treat it as bad debt in your accounting process. */
20
20
  InvoiceStatus[InvoiceStatus["UNCOLLECTIBLE"] = 5] = "UNCOLLECTIBLE";
21
21
  })(InvoiceStatus || (InvoiceStatus = {}));
22
- InvoiceStatus.SENT;
@@ -0,0 +1,9 @@
1
+ interface ILabel {
2
+ id?: string | null;
3
+ spaceId?: string | null;
4
+ name?: string | null;
5
+ createdAt?: string | null;
6
+ updatedAt?: string | null;
7
+ deletedAt?: string | null;
8
+ }
9
+ export { ILabel };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './contacts';
2
2
  export * from './segments';
3
+ export * from './Label';
@@ -1,2 +1,3 @@
1
1
  export * from './contacts';
2
2
  export * from './segments';
3
+ export * from './Label';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.170",
3
+ "version": "2.10.172",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",