@arbiwallet/contracts 1.0.137 → 1.0.139

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/gen/crm_auth.ts CHANGED
@@ -65,6 +65,9 @@ export interface CrmManagerResponse {
65
65
  avatarUrl: string;
66
66
  status: CrmManagerStatus;
67
67
  createdAtUnixMs: number;
68
+ roles: string[];
69
+ permissions: string[];
70
+ isSuperAdmin: boolean;
68
71
  }
69
72
 
70
73
  export interface CrmAuthSessionResponse {
@@ -35,14 +35,16 @@ export interface GetRowsRequest {
35
35
  page: number;
36
36
  limit: number;
37
37
  searchWord: string;
38
- status: string;
38
+ statuses: string[];
39
+ type: string;
39
40
  dateStart: string;
40
41
  dateEnd: string;
41
42
  }
42
43
 
43
44
  export interface GetSumsRequest {
44
45
  searchWord: string;
45
- status: string;
46
+ statuses: string[];
47
+ type: string;
46
48
  dateStart: string;
47
49
  dateEnd: string;
48
50
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbiwallet/contracts",
3
3
  "descriptions": "Generate and manage smart contracts for ArbiWallet",
4
- "version": "1.0.137",
4
+ "version": "1.0.139",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -63,6 +63,9 @@ message CrmManagerResponse {
63
63
  string avatar_url = 7;
64
64
  CrmManagerStatus status = 8;
65
65
  int64 created_at_unix_ms = 9;
66
+ repeated string roles = 10;
67
+ repeated string permissions = 11;
68
+ bool is_super_admin = 12;
66
69
  }
67
70
 
68
71
  message CrmAuthSessionResponse {
@@ -34,16 +34,18 @@ message GetRowsRequest {
34
34
  int32 page = 1;
35
35
  int32 limit = 2;
36
36
  string search_word = 3;
37
- string status = 4;
38
- string date_start = 5;
39
- string date_end = 6;
37
+ repeated string statuses = 4;
38
+ string type = 5;
39
+ string date_start = 6;
40
+ string date_end = 7;
40
41
  }
41
42
 
42
43
  message GetSumsRequest {
43
44
  string search_word = 1;
44
- string status = 2;
45
- string date_start = 3;
46
- string date_end = 4;
45
+ repeated string statuses = 2;
46
+ string type = 3;
47
+ string date_start = 4;
48
+ string date_end = 5;
47
49
  }
48
50
 
49
51
  message JsonResponse {