@grapadigital/shared-app-modules 0.0.57 → 0.0.59

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/action.d.ts CHANGED
@@ -67,6 +67,7 @@ declare interface ClientInterface extends UserInterface {
67
67
  agencyCommission?: AgencyCommission[];
68
68
  hasAgencyCommission?: boolean;
69
69
  type?: "agency" | "brand";
70
+ niches: Niche[];
70
71
  }
71
72
 
72
73
  declare interface ClusterInterface {
@@ -268,6 +269,12 @@ declare interface NegotiationInterface {
268
269
  isDollarNegotiation: boolean;
269
270
  }
270
271
 
272
+ declare interface Niche {
273
+ id: string;
274
+ name: string;
275
+ parentId?: null | string;
276
+ }
277
+
271
278
  declare interface Note {
272
279
  text: string;
273
280
  owner: string;
package/dist/client.d.ts CHANGED
@@ -10,6 +10,7 @@ export declare interface ClientInterface extends UserInterface {
10
10
  agencyCommission?: AgencyCommission[];
11
11
  hasAgencyCommission?: boolean;
12
12
  type?: "agency" | "brand";
13
+ niches: Niche[];
13
14
  }
14
15
 
15
16
  export declare interface ClusterInterface {
@@ -22,6 +23,12 @@ export declare interface CompanyInterface {
22
23
  document: string;
23
24
  }
24
25
 
26
+ export declare interface Niche {
27
+ id: string;
28
+ name: string;
29
+ parentId?: null | string;
30
+ }
31
+
25
32
  declare interface Range_2 {
26
33
  startValue: number;
27
34
  endValue: number;
@@ -0,0 +1,18 @@
1
+ export declare interface CommissionInterface {
2
+ _id: string;
3
+ email: string;
4
+ role: string;
5
+ value: number;
6
+ installmentNumber: number;
7
+ percentage: number;
8
+ status: StatusInterface;
9
+ type: string;
10
+ title: string;
11
+ sale: string;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+
16
+ export declare type StatusInterface = "pending" | "approved" | "rejected";
17
+
18
+ export { }
@@ -0,0 +1 @@
1
+
package/dist/content.d.ts CHANGED
@@ -67,6 +67,7 @@ declare interface ClientInterface extends UserInterface {
67
67
  agencyCommission?: AgencyCommission[];
68
68
  hasAgencyCommission?: boolean;
69
69
  type?: "agency" | "brand";
70
+ niches: Niche[];
70
71
  }
71
72
 
72
73
  declare interface ClusterInterface {
@@ -268,6 +269,12 @@ declare interface NegotiationInterface {
268
269
  isDollarNegotiation: boolean;
269
270
  }
270
271
 
272
+ declare interface Niche {
273
+ id: string;
274
+ name: string;
275
+ parentId?: null | string;
276
+ }
277
+
271
278
  declare interface Note {
272
279
  text: string;
273
280
  owner: string;
@@ -15,6 +15,7 @@ declare interface ClientInterface extends UserInterface {
15
15
  agencyCommission?: AgencyCommission[];
16
16
  hasAgencyCommission?: boolean;
17
17
  type?: "agency" | "brand";
18
+ niches: Niche[];
18
19
  }
19
20
 
20
21
  declare interface ClusterInterface {
@@ -50,6 +51,12 @@ export declare interface InboxInterface {
50
51
  deliveryDate?: string;
51
52
  }
52
53
 
54
+ declare interface Niche {
55
+ id: string;
56
+ name: string;
57
+ parentId?: null | string;
58
+ }
59
+
53
60
  export declare interface NoteInterface {
54
61
  text: string;
55
62
  owner: string;
package/dist/invoice.d.ts CHANGED
@@ -67,6 +67,7 @@ declare interface ClientInterface extends UserInterface {
67
67
  agencyCommission?: AgencyCommission[];
68
68
  hasAgencyCommission?: boolean;
69
69
  type?: "agency" | "brand";
70
+ niches: Niche[];
70
71
  }
71
72
 
72
73
  declare interface ClusterInterface {
@@ -268,6 +269,12 @@ declare interface NegotiationInterface {
268
269
  isDollarNegotiation: boolean;
269
270
  }
270
271
 
272
+ declare interface Niche {
273
+ id: string;
274
+ name: string;
275
+ parentId?: null | string;
276
+ }
277
+
271
278
  export declare interface Note {
272
279
  text: string;
273
280
  owner: string;
package/dist/payment.d.ts CHANGED
@@ -67,6 +67,7 @@ declare interface ClientInterface extends UserInterface {
67
67
  agencyCommission?: AgencyCommission[];
68
68
  hasAgencyCommission?: boolean;
69
69
  type?: "agency" | "brand";
70
+ niches: Niche[];
70
71
  }
71
72
 
72
73
  declare interface ClusterInterface {
@@ -268,6 +269,12 @@ declare interface NegotiationInterface {
268
269
  isDollarNegotiation: boolean;
269
270
  }
270
271
 
272
+ declare interface Niche {
273
+ id: string;
274
+ name: string;
275
+ parentId?: null | string;
276
+ }
277
+
271
278
  export declare interface Note {
272
279
  text: string;
273
280
  owner: string;
@@ -67,6 +67,7 @@ declare interface ClientInterface extends UserInterface {
67
67
  agencyCommission?: AgencyCommission[];
68
68
  hasAgencyCommission?: boolean;
69
69
  type?: "agency" | "brand";
70
+ niches: Niche[];
70
71
  }
71
72
 
72
73
  declare interface ClusterInterface {
@@ -268,6 +269,12 @@ declare interface NegotiationInterface {
268
269
  isDollarNegotiation: boolean;
269
270
  }
270
271
 
272
+ declare interface Niche {
273
+ id: string;
274
+ name: string;
275
+ parentId?: null | string;
276
+ }
277
+
271
278
  declare interface Note {
272
279
  text: string;
273
280
  owner: string;
package/dist/sale.d.ts CHANGED
@@ -67,6 +67,7 @@ declare interface ClientInterface extends UserInterface {
67
67
  agencyCommission?: AgencyCommission[];
68
68
  hasAgencyCommission?: boolean;
69
69
  type?: "agency" | "brand";
70
+ niches: Niche[];
70
71
  }
71
72
 
72
73
  declare interface ClusterInterface {
@@ -268,6 +269,12 @@ export declare interface NegotiationInterface {
268
269
  isDollarNegotiation: boolean;
269
270
  }
270
271
 
272
+ declare interface Niche {
273
+ id: string;
274
+ name: string;
275
+ parentId?: null | string;
276
+ }
277
+
271
278
  export declare interface Note {
272
279
  text: string;
273
280
  owner: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-app-modules",
3
3
  "private": false,
4
- "version": "0.0.57",
4
+ "version": "0.0.59",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -105,6 +105,10 @@
105
105
  "./interfaces/user": {
106
106
  "import": "./dist/user.d.ts",
107
107
  "types": "./dist/user.d.ts"
108
+ },
109
+ "./interfaces/commission": {
110
+ "import": "./dist/commission.d.ts",
111
+ "types": "./dist/commission.d.ts"
108
112
  }
109
113
  },
110
114
  "type": "module",