@arbiwallet/contracts 1.0.261 → 1.0.262
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 +4 -4
- package/gen/crm_manager.ts +13 -13
- package/package.json +1 -1
- package/proto/crm_auth.proto +12 -12
- package/proto/crm_manager.proto +39 -39
package/gen/crm_auth.ts
CHANGED
|
@@ -68,18 +68,18 @@ export interface CrmManagerResponse {
|
|
|
68
68
|
username: string;
|
|
69
69
|
firstName: string;
|
|
70
70
|
lastName: string;
|
|
71
|
-
fullName: string;
|
|
72
71
|
displayName: string;
|
|
73
72
|
avatarUrl: string;
|
|
74
73
|
status: CrmManagerStatus;
|
|
75
74
|
createdAtUnixMs: number;
|
|
76
75
|
roles: string[];
|
|
77
|
-
role: string;
|
|
78
76
|
permissions: string[];
|
|
79
|
-
permissionsVersion: number;
|
|
80
77
|
isSuperAdmin: boolean;
|
|
81
|
-
canCrossOffice: boolean;
|
|
82
78
|
sectionPermissions: SectionPermission[];
|
|
79
|
+
fullName: string;
|
|
80
|
+
role: string;
|
|
81
|
+
permissionsVersion: number;
|
|
82
|
+
canCrossOffice: boolean;
|
|
83
83
|
officeIds: string[];
|
|
84
84
|
}
|
|
85
85
|
|
package/gen/crm_manager.ts
CHANGED
|
@@ -29,21 +29,21 @@ export interface ManagerRecord {
|
|
|
29
29
|
username: string;
|
|
30
30
|
firstName: string;
|
|
31
31
|
lastName: string;
|
|
32
|
-
fullName: string;
|
|
33
32
|
displayName: string;
|
|
34
33
|
avatarUrl: string;
|
|
35
34
|
status: CrmManagerRecordStatus;
|
|
36
|
-
isActive: boolean;
|
|
37
35
|
createdAtUnixMs: number;
|
|
38
|
-
updatedAtUnixMs: number;
|
|
39
36
|
roles: string[];
|
|
40
|
-
role: string;
|
|
41
37
|
permissions: string[];
|
|
42
|
-
permissionsVersion: number;
|
|
43
38
|
isSuperAdmin: boolean;
|
|
44
|
-
canCrossOffice: boolean;
|
|
45
39
|
sectionPermissions: SectionPermission[];
|
|
46
40
|
officeIds: string[];
|
|
41
|
+
fullName: string;
|
|
42
|
+
isActive: boolean;
|
|
43
|
+
updatedAtUnixMs: number;
|
|
44
|
+
role: string;
|
|
45
|
+
permissionsVersion: number;
|
|
46
|
+
canCrossOffice: boolean;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export interface RoleRecord {
|
|
@@ -104,16 +104,16 @@ export interface CreateManagerRequest {
|
|
|
104
104
|
username: string;
|
|
105
105
|
firstName: string;
|
|
106
106
|
lastName: string;
|
|
107
|
-
fullName: string;
|
|
108
107
|
displayName: string;
|
|
109
108
|
avatarUrl: string;
|
|
110
109
|
status: CrmManagerRecordStatus;
|
|
111
|
-
canCrossOffice: boolean;
|
|
112
110
|
roleNames: string[];
|
|
113
|
-
customPermissions: string[];
|
|
114
111
|
sectionPermissions: SectionPermission[];
|
|
115
112
|
officeIds: string[];
|
|
116
113
|
password: string;
|
|
114
|
+
fullName: string;
|
|
115
|
+
canCrossOffice: boolean;
|
|
116
|
+
customPermissions: string[];
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
export interface CreateManagerResponse {
|
|
@@ -128,20 +128,20 @@ export interface UpdateManagerRequest {
|
|
|
128
128
|
username: string;
|
|
129
129
|
firstName: string;
|
|
130
130
|
lastName: string;
|
|
131
|
-
fullName: string;
|
|
132
131
|
displayName: string;
|
|
133
132
|
avatarUrl: string;
|
|
134
133
|
status: CrmManagerRecordStatus;
|
|
135
|
-
canCrossOffice?: boolean | undefined;
|
|
136
134
|
replaceRoles: boolean;
|
|
137
135
|
roleNames: string[];
|
|
138
|
-
replaceCustomPermissions: boolean;
|
|
139
|
-
customPermissions: string[];
|
|
140
136
|
sectionPermissions: SectionPermission[];
|
|
141
137
|
replaceSectionPermissions: boolean;
|
|
142
138
|
replaceOfficeIds: boolean;
|
|
143
139
|
officeIds: string[];
|
|
144
140
|
password: string;
|
|
141
|
+
fullName: string;
|
|
142
|
+
canCrossOffice?: boolean | undefined;
|
|
143
|
+
replaceCustomPermissions: boolean;
|
|
144
|
+
customPermissions: string[];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
export interface UpdateManagerResponse {
|
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.
|
|
4
|
+
"version": "1.0.262",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
package/proto/crm_auth.proto
CHANGED
|
@@ -66,18 +66,18 @@ message CrmManagerResponse {
|
|
|
66
66
|
string username = 3;
|
|
67
67
|
string first_name = 4;
|
|
68
68
|
string last_name = 5;
|
|
69
|
-
string
|
|
70
|
-
string
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
repeated string
|
|
75
|
-
|
|
76
|
-
repeated
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
69
|
+
string display_name = 6;
|
|
70
|
+
string avatar_url = 7;
|
|
71
|
+
CrmManagerStatus status = 8;
|
|
72
|
+
int64 created_at_unix_ms = 9;
|
|
73
|
+
repeated string roles = 10;
|
|
74
|
+
repeated string permissions = 11;
|
|
75
|
+
bool is_super_admin = 12;
|
|
76
|
+
repeated SectionPermission section_permissions = 13;
|
|
77
|
+
string full_name = 14;
|
|
78
|
+
string role = 15;
|
|
79
|
+
int32 permissions_version = 16;
|
|
80
|
+
bool can_cross_office = 17;
|
|
81
81
|
repeated string office_ids = 18;
|
|
82
82
|
}
|
|
83
83
|
|
package/proto/crm_manager.proto
CHANGED
|
@@ -37,21 +37,21 @@ message ManagerRecord {
|
|
|
37
37
|
string username = 3;
|
|
38
38
|
string first_name = 4;
|
|
39
39
|
string last_name = 5;
|
|
40
|
-
string
|
|
41
|
-
string
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
repeated
|
|
48
|
-
string
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
40
|
+
string display_name = 6;
|
|
41
|
+
string avatar_url = 7;
|
|
42
|
+
CrmManagerRecordStatus status = 8;
|
|
43
|
+
int64 created_at_unix_ms = 9;
|
|
44
|
+
repeated string roles = 10;
|
|
45
|
+
repeated string permissions = 11;
|
|
46
|
+
bool is_super_admin = 12;
|
|
47
|
+
repeated SectionPermission section_permissions = 13;
|
|
48
|
+
repeated string office_ids = 14;
|
|
49
|
+
string full_name = 15;
|
|
50
|
+
bool is_active = 16;
|
|
51
|
+
int64 updated_at_unix_ms = 17;
|
|
52
|
+
string role = 18;
|
|
53
|
+
int32 permissions_version = 19;
|
|
54
|
+
bool can_cross_office = 20;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
message RoleRecord {
|
|
@@ -112,16 +112,16 @@ message CreateManagerRequest {
|
|
|
112
112
|
string username = 2;
|
|
113
113
|
string first_name = 3;
|
|
114
114
|
string last_name = 4;
|
|
115
|
-
string
|
|
116
|
-
string
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
repeated string
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
string
|
|
115
|
+
string display_name = 5;
|
|
116
|
+
string avatar_url = 6;
|
|
117
|
+
CrmManagerRecordStatus status = 7;
|
|
118
|
+
repeated string role_names = 8;
|
|
119
|
+
repeated SectionPermission section_permissions = 9;
|
|
120
|
+
repeated string office_ids = 10;
|
|
121
|
+
string password = 11;
|
|
122
|
+
string full_name = 12;
|
|
123
|
+
bool can_cross_office = 13;
|
|
124
|
+
repeated string custom_permissions = 14;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
message CreateManagerResponse {
|
|
@@ -136,20 +136,20 @@ message UpdateManagerRequest {
|
|
|
136
136
|
string username = 3;
|
|
137
137
|
string first_name = 4;
|
|
138
138
|
string last_name = 5;
|
|
139
|
-
string
|
|
140
|
-
string
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
bool
|
|
147
|
-
repeated string
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
bool
|
|
151
|
-
|
|
152
|
-
string
|
|
139
|
+
string display_name = 6;
|
|
140
|
+
string avatar_url = 7;
|
|
141
|
+
CrmManagerRecordStatus status = 8;
|
|
142
|
+
bool replace_roles = 9;
|
|
143
|
+
repeated string role_names = 10;
|
|
144
|
+
repeated SectionPermission section_permissions = 11;
|
|
145
|
+
bool replace_section_permissions = 12;
|
|
146
|
+
bool replace_office_ids = 13;
|
|
147
|
+
repeated string office_ids = 14;
|
|
148
|
+
string password = 15;
|
|
149
|
+
string full_name = 16;
|
|
150
|
+
optional bool can_cross_office = 17;
|
|
151
|
+
bool replace_custom_permissions = 18;
|
|
152
|
+
repeated string custom_permissions = 19;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
message UpdateManagerResponse {
|